Failure to extract files into correct directory (on truezip:copy out of .tar.gz 
archive)
----------------------------------------------------------------------------------------

                 Key: MOJO-1497
                 URL: http://jira.codehaus.org/browse/MOJO-1497
             Project: Mojo
          Issue Type: Bug
          Components: truezip
         Environment: truezip-maven-plugin 1.0-beta-4
Apache Maven 2.2.0 (r788681; 2009-06-26 15:04:01+0200)
Java version: 1.6.0_17
Java home: /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home
Default locale: en_US, platform encoding: MacRoman
OS name: "mac os x" version: "10.6.2" arch: "x86_64" Family: "mac"

            Reporter: Andreas Sewe
         Attachments: pom.xml

The {{truezip-maven-plugin}} extracts some files into a different directory 
than gzip/tar would. This is illustrated by the attached POM (simply run {{mvn 
generate-sources}}), which first uses the {{wagon-maven-plugin}} to download a 
gzipped tarball (a release of GNU Classpath in this case) and then uses the 
{{truezip-maven-plugin}} to copy its contents out of the archive.

Unfortunately, files below 
{{classpath-0.97.2/examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/}}
 end up in ${project.build.sourceDirectory}, i.e., in the root directory. Maybe 
the path gets too long? (But using shorter paths for 
${project.build.sourceDirectory} and ${basedir} didn't have an effect in my 
experiments. :-()


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


Reply via email to