[
http://jira.codehaus.org/browse/MOJO-1019?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Harlan Iverson updated MOJO-1019:
---------------------------------
Attachment: strip-fix.patch.txt
This patch fixes the issue by creating a temp file and deleting it, similar to
how compress works. It amends the strip test to check that length is positive,
non-zero.
> Using the "strip" option causes compressed files to be empty
> ------------------------------------------------------------
>
> Key: MOJO-1019
> URL: http://jira.codehaus.org/browse/MOJO-1019
> Project: Mojo
> Issue Type: Bug
> Components: javascript-tools
> Environment: java version "1.6.0_03"
> Java(TM) SE Runtime Environment (build 1.6.0_03-b05)
> Java HotSpot(TM) Client VM (build 1.6.0_03-b05, mixed mode, sharing)
> Maven version: 2.0.8
> Java version: 1.6.0_03
> OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"
> Reporter: Harlan Iverson
> Attachments: strip-bug.patch.txt, strip-fix.patch.txt
>
>
> Using the strip option causes compressed files to be empty.
> Apply the attached patch to the war-project in the 'it' directory of the
> plugin, and run 'mvn -Dmaven.test.skip=true clean package' there to reproduce.
--
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
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email