[jira] Created: (ARCHETYPE-221) Enable format conversion of properties

2008-11-18 Thread Benjamin Papez (JIRA)
Enable format conversion of properties
--

 Key: ARCHETYPE-221
 URL: http://jira.codehaus.org/browse/ARCHETYPE-221
 Project: Maven Archetype
  Issue Type: Improvement
Reporter: Benjamin Papez


I have a use case, where I would need to reformat an existing property and use 
it as default value for another property. If for instance the artifactId is 
my-templates, I would like to automatically suggest creating a file called 
MyTemplates.properties. Using _artifactId_.properties now creates 
my-templates.properties which does not match the Java standard naming 
conventions. So would it somehow be possible to define a format conversion of 
the arifactId property and create another property using this Camel Case 
convention?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Commented: (ARCHETYPE-192) Property replacement for required properties

2008-10-12 Thread Benjamin Papez (JIRA)

[ 
http://jira.codehaus.org/browse/ARCHETYPE-192?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=150619#action_150619
 ] 

Benjamin Papez commented on ARCHETYPE-192:
--

I have a use case, where I would need to reformat an existing property and use 
it as default value for another property. If for instance the artifactId is 
my-templates, I would like to automatically suggest creating a file called 
MyTemplates.properties. Using __artifactId__.properties now creates 
my-templates.properties which does not match the Java standard naming 
conventions. So would it somehow be possible to define a format conversion of 
the arifactId property and create another property using this Camel Case 
convention?

> Property replacement for required properties
> 
>
> Key: ARCHETYPE-192
> URL: http://jira.codehaus.org/browse/ARCHETYPE-192
> Project: Maven Archetype
>  Issue Type: Improvement
>Affects Versions: 2.0-alpha-3
>Reporter: Will Gomes
> Fix For: 2.0-alpha-5
>
>
> It would be nice if one could define default values for required properties 
> using other required properties. 
> For example:
> 
>
>
>
>org.foo.bar.${myModule}.${myApp}
> 
>  
> having resources
> src/main/java
> dao/MyDao.java
> Main.java
> would produce
> org.foo.bar.mymodule.myapp.dao.MyDao.java
> org.foo.bar.mymodule.myapp.Main.java 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira