You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Frederic (JIRA)" <ji...@codehaus.org> on 2008/10/29 20:29:53 UTC

[jira] Issue Comment Edited: (ARCHETYPE-191) Ability to filter filenames (rename files) during project generation

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

frederic.tardif edited comment on ARCHETYPE-191 at 10/29/08 2:29 PM:
--------------------------------------------------------------

I am still not able to enjoy the new feature...

First, to enable it, I uderstand that i must configure the plugin against 2.0-alpha-4 in the pom of my archetype???

and then, I configure in my archetype.xml something like:
<resource filtered="true">src/main/config/setup/__artifactId__.properties</resource>    

but it still does not replace the token with generating the file.

Any Idea?

      was (Author: frederic.tardif):
    I am still not able to enjoy the new feature...

First, to enable it, I uderstand that i must configure the plugin against 2.0-alpha-4 in the pom of ,y archetype???

and then, I configure in my archetype.xml something like:
<resource filtered="true">src/main/config/setup/__artifactId__.properties</resource>    

but it still does not replace the token with generating the file.

Any Idea?
  
> Ability to filter filenames (rename files) during project generation
> --------------------------------------------------------------------
>
>                 Key: ARCHETYPE-191
>                 URL: http://jira.codehaus.org/browse/ARCHETYPE-191
>             Project: Maven Archetype
>          Issue Type: New Feature
>          Components: Generator
>    Affects Versions: 2.0-alpha-3
>            Reporter: Wendy Smoak
>             Fix For: 2.0-alpha-4
>
>         Attachments: ReplaceAnyContextPropertyEnhancement-v2.patch, ReplaceAnyContextPropertyEnhancement.patch
>
>
> When generating a new project from an archetype, I need to filter not only values within files, but the names of the files themselves.
> For example, in .NET projects, the project files (.sln, .csproj) match the name of the solution or project rather than having a fixed name like Maven's pom.xml does.
> Another user raised a similar issue on the mailing list, the ability to filter in the name of Java source code files.
> See:  http://www.nabble.com/Archetype%2C-define-file-name-ts18430983.html

-- 
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