Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 333815

Summary: confusing behavior when 'output dir' passed to configuro -o contains a dot '.' char
Product: [Technology] RTSC Reporter: Chris Ring <cring>
Component: ToolsAssignee: Dave Russo <d-russo>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: d-russo, dfriedland
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Chris Ring CLA 2011-01-09 19:52:40 EST
A dot '.' char is a special character in XDC.  If configuro is passed a folder name with a '.' in it (e.g. "configuro -o foo.bar"), strange errors ensue (a pkg with a nested namespace is created and "things in the generated pkg get confused").

It's probably ok to restrict output folder to not having a '.' in it, but configuro should validate the outdir arg early - perhaps for '.' and other reserved chars - and provide a meaningful error.
Comment 1 Dave Russo CLA 2012-01-12 18:38:31 EST
the configuro output directory name is constrained to be a valid package name.  It must, therefore be a valid C identified name.

Unfortunately, this constraint is not checked and, as a result bizarre errors (from the user's point of view) result.
Comment 2 Dave Russo CLA 2012-01-12 19:43:23 EST
fixed by adding additional check of generated package name in mkpkg.xdt (r1609, for xdctools 3.24).
Comment 3 Dave Russo CLA 2016-01-12 00:48:56 EST
closing bugs that have been in resolved state for more than a year
Comment 4 Dave Russo CLA 2016-02-17 18:42:38 EST
in fixed state for more than one year