For files and directory names, you can use the syntax in your archetype
file structure:
__rootArtifactId__-mytest.txt

The archetype:generate will replace the double-underscore with the
actual value of rootArtifactId.

NB: I have had problems recently  with that structure when there are
multiple instances of that syntax in one given path:

proj/__rootArtifactId__Module1/src/main/resources/__rootArtifactId__Module1.properties

the folder name at the top of the hierarchy gets interpolated correctly,
but not the properties file below in the structure.

I have seen a few JIRAs that seem related to that but not exactly that
particular issue ( http://jira.codehaus.org/browse/ARCHETYPE-191 )
I can forge a use/test case illustrating the issue and create a new JIRA
if other users have been facing the same issue.

-Olivier

On Sat, 2010-01-09 at 05:23 -0800, mirekSz wrote:

> I hava the same problems. Could you explain how to resolve it
> 
> Best regards
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to