[ http://jira.codehaus.org/browse/MASSEMBLY-127?page=all ]
John Casey closed MASSEMBLY-127.
--------------------------------
Assignee: John Casey
Resolution: Fixed
fixed in refactor. Added IT to confirm this.
> <files><file>... <fileMode> processing is busted
> ------------------------------------------------
>
> Key: MASSEMBLY-127
> URL: http://jira.codehaus.org/browse/MASSEMBLY-127
> Project: Maven 2.x Assembly Plugin
> Issue Type: Bug
> Affects Versions: 2.2
> Reporter: Jason Dillon
> Assigned To: John Casey
> Fix For: 2.2
>
> Attachments: MASSEMBLY-127.diff
>
>
> The processing of <fileMode> for <files><file> is busted.
> For example, this will not set the right perms:
> {code:xml}
> <files>
> <file>
> <source>${basedir}/src/var/config/config.xml</source>
> <outputDirectory>var/config</outputDirectory>
> <filtered>true</filtered>
> <fileMode>0644</fileMode>
> </file>
> </files>
> {code}
> The problem is a missing {{, 8}} in the Integer.parseInt() code when calling
> archiver.addFile().
--
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