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

[jira] Closed: (MASSEMBLY-152) Support Ant token

     [ http://jira.codehaus.org/browse/MASSEMBLY-152?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John Casey closed MASSEMBLY-152.
--------------------------------

    Resolution: Fixed

Patch applied. Thanks!

> Support Ant token
> -----------------
>
>                 Key: MASSEMBLY-152
>                 URL: http://jira.codehaus.org/browse/MASSEMBLY-152
>             Project: Maven 2.x Assembly Plugin
>          Issue Type: Improvement
>    Affects Versions: 2.2-beta-1
>         Environment: Maven 2.0.4
>            Reporter: Rémy Sanlaville
>            Assignee: John Casey
>            Priority: Critical
>             Fix For: 2.2-beta-2
>
>         Attachments: ant-token-fix.diff
>
>
> For the moment Maven 2.x Assembly Plugin support only maven token (${token})
> But I need to share some properties file with ant and maven.
> So It would be nice to also add Ant token support (@token@)
> For the version 2.1, I can give a patch
> The version 2.2-SNAPSHOT seems to be all refactoring and I don't have a patch for the moment.
> I think we have to look at the method private String filter( String rawContents ) of the org.apache.maven.plugin.assembly.format.FileFormatter class. But I don't know how the RegexBasedInterpolator class works.
> Thanks

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