[ 
http://jira.codehaus.org/browse/MOJO-1497?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=208553#action_208553
 ] 

Andreas Sewe commented on MOJO-1497:
------------------------------------

I am not exactly sure what softlinks are, but when I extract the archive using 
{{tar xf}}, the output does not contain any _symbolic_ links. (FWIW, my 
{{tar(1)}} identifies itself as {{bsdtar 2.6.2 - libarchive 2.6.2}}.)

Now, one fact in favor of my long-pathname theory is that the files ending up 
in the root directory are precisely those with the longest pathnames. Here's a 
list of the offending files together with the length of the path (starting at 
102 characters):

{quote}
102 
classpath-0.97.2/examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/TreeNode.java
104 
classpath-0.97.2/examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/DemoTester.java
104 
classpath-0.97.2/examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/DirectTest.java
104 
classpath-0.97.2/external/relaxngDatatype/org/relaxng/datatype/helpers/ParameterlessDatatypeBuilder.java
105 
classpath-0.97.2/examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/DemoServant.java
105 
classpath-0.97.2/examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/RequestTest.java
108 
classpath-0.97.2/examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/TreeNodeHelper.java
108 
classpath-0.97.2/examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/TreeNodeHolder.java
109 
classpath-0.97.2/examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/StructureToPass.java
109 
classpath-0.97.2/examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/_DemoTesterStub.java
111 
classpath-0.97.2/examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/StructureToReturn.java
113 
classpath-0.97.2/examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/_DemoTesterImplBase.java
114 
classpath-0.97.2/examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/WeThrowThisException.java
115 
classpath-0.97.2/examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/StructureToPassHelper.java
115 
classpath-0.97.2/examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/StructureToPassHolder.java
117 
classpath-0.97.2/examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/StructureToReturnHelper.java
117 
classpath-0.97.2/examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/StructureToReturnHolder.java
120 
classpath-0.97.2/examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/WeThrowThisExceptionHelper.java
{quote}

All files with pathnames shorter than 99 characters have made it to the correct 
directory. So the limit seems to be in the vicinity of [99,102].

I hope this helps.

> 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