<files><file>... <fileMode> processing is busted
------------------------------------------------
Key: MASSEMBLY-127
URL: http://jira.codehaus.org/browse/MASSEMBLY-127
Project: Maven 2.x Assembly Plugin
Type: Bug
Versions: 2.2
Reporter: Jason Dillon
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