Issue Details (XML | Word | Printable)

Key: MULE-3891
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Ross Mason
Reporter: Ross Mason
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Mule

Project archetype does not handle artifact names with "-" in them

Created: 28/Oct/08 01:41 AM   Updated: 11/Dec/08 02:03 AM
Component/s: Tools
Affects Version/s: 2.1.1
Fix Version/s: 2.1.3, 2.2

Time Tracking:
Not Specified

Labels:
User impact: Low
Affects Docs: Yes


 Description  « Hide
These characters need to be removed (along with others) and the next character becomes capitalized.

i.e. batch-trading becomes BatchTrading when used as a stem for class names



 All   Comments   Work Log   Change History   Transitions   FishEye      Sort Order: Ascending order - Click to sort in descending order
Ross Mason added a comment - 11/Dec/08 02:03 AM
Fixed: http://fisheye.codehaus.org/changelog/mule/?cs=13609

The artifactId can contain characters such as underscore or hyphen, however, the plug-in will convert the name into a usable form suitable for Java. For example, if the argument is specified as -DartifactId=My#Awesome-Mule_Project, the project will be created in a directory of that name, but the project name will be MyAwesomeMuleProject and the package name will be com.foo.myawesomemuleproject