Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipse-dev] Problem with export plugin to archive file on linux (eclipse >= 3.1m5)


This seems to be related to bug 86767.
I added your mail to it.

PaScaL



snpe <snpe@xxxxxxxxxx>
Sent by: eclipse-dev-bounces@xxxxxxxxxxx

03/29/2005 01:32 AM

Please respond to
"General development mailing list of the Eclipse project."

To
eclipse-dev@xxxxxxxxxxx
cc
Subject
[eclipse-dev] Problem with export plugin to archive file on linux        (eclipse >= 3.1m5)





Hello,
 I can't export plugin project in archive file on linux
(eclipse > 3.1m5 - last cvs don't work, too)
 I see that build make ant task liek this (tarGz format)

<exec executable="tar" dir="${assemblyTempDir}">
 <arg line="-cvf ${tarargs} ${archiveFullPath} ${archivePrefix} "/>
</exec>
<move file="${archiveFullPath}" tofile="${assemblyTempDir}/${collectingFolder}/tmp.tar"/>
<gzip src="" zipfile="${archiveFullPath}"/>

This call tar command like this :

tar -cvf myplugin.tar.gz

and it doesn't work (list files/directory missing)

This work (have point on the end) :

tar -cvf myplugin.tar.gz .

and ant task like :

<exec executable="tar" dir="${assemblyTempDir}">
 <arg line="-cvf ${tarargs} ${archiveFullPath} ${archivePrefix} ."/>
</exec>

...

or change exec, move and gzip with tar task :

<tar destfile="${archiveFullPath}" compression="gzip" basedir="${assemblyTempDir}" />

I think that enough change line 426 in org.eclipse.pde.internal.build.AssembleConfigScriptGenerator

from
parameters.add("-cvf " + getPropertyFormat(PROPERTY_TAR_ARGS) + ' ' + getPropertyFormat(PROPERTY_ARCHIVE_FULLPATH) + ' ' + getPropertyFormat(PROPERTY_ARCHIVE_PREFIX) + ' '); //$NON-NLS-1$
to
parameters.add("-cvf " + getPropertyFormat(PROPERTY_TAR_ARGS) + ' ' + getPropertyFormat(PROPERTY_ARCHIVE_FULLPATH) + ' ' + getPropertyFormat(PROPERTY_ARCHIVE_PREFIX) + " . "); //$NON-NLS-1$

regards
Haris Peco
_______________________________________________
eclipse-dev mailing list
eclipse-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/eclipse-dev


Back to the top