Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Unix Symbolic Link

Tycho 0.21 advertised support for symbolic links in product tar archives

https://wiki.eclipse.org/Tycho/Release_Notes/0.21#Packaging

But I haven't found anything about within plugin jars. Looks like Apache commons-compress recognizes symlinks (which doesn't help Anthony's request but could be considered for a Tycho improvement).

https://commons.apache.org/proper/commons-compress/apidocs/org/apache/commons/compress/archivers/zip/ZipArchiveEntry.html#isUnixSymlink%28%29

> -----Original Message-----
> From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx]
> On Behalf Of Sievers, Jan
> Sent: Thursday, June 22, 2017 2:27 AM
> To: Tycho user list <tycho-user@xxxxxxxxxxx>
> Subject: [EXTERNAL] Re: [tycho-user] Unix Symbolic Link
> 
> External Sender: Use caution with links/attachments.
> 
> 
> 
> your sample project zip does not contain symlinks.
> 
> zip format (or jar for that matter) has no official support for symlinks
> 
> 
> 
> if you think it's a bug, open one and supply the sample project as tar.gz
> 
> 
> 
> Be specific about expected vs observed behaviour and for which Tycho version it
> works and from which Tycho version on it no longer works.
> 
> 
> 
> Jan
> 
> 
> 
> On 21.06.17, 13:34, "tycho-user-bounces@xxxxxxxxxxx on behalf of DELHELLE
> Anthony" <tycho-user-bounces@xxxxxxxxxxx on behalf
> ofhttps://urldefense.proofpoint.com/v2/url?u=http-
> 3A__anthony.de&d=DwIGaQ&c=PskvixtEUDK7wuWU-
> tIg6oKuGYBRbrMXk2FZvF0UfTo&r=dLxYM3PBhAqFnkH7uKz_OVZL1uyui4QoEmB
> CjCmEiTk&m=b8Cuc1HKc4NY13xSemiJ8NrVWWAtBdYAIP_DZdxcdEA&s=NoMaY
> hlljyBu0UJylrtV62fky6AhQlPBLbxfIkl9L3E&e= lhelle@xxxxxxxxxxxxxxxxxx>
> wrote:
> 
> 
> 
> Hi,
> 
> 
> 
> After more tests bugs appears with tycho 0.24.
> 
> 
> 
> I have a plugin and a platform specific fragment. In my fragment, I need
> 
> multiple version of a .so library but all versions are pointing, using a
> 
> symbolic link, on the same reel file.
> 
> 
> 
> You will find enclosed a little test to demonstrate the bug :
> 
>   - com.symboliclinks : parent pom
> 
>   - com.symboliclinks.example : host plugin
> 
>   - com.symboliclinks.example.linux64 : linux 64 bits fragment containing a
> 
> .so and symbolic links pointing on it
> 
>   - com.symboliclinks.example.feature : the feature encapsulating the plugin
> 
> and fragment
> 
>   - com.symboliclinks.example.updatesite : the updatesite description
> 
> 
> 
> Run a mvn clean package in root directory, and in the
> 
> com.symboliclinks.example.updatesite/target folder the jar associated to
> 
> com.symboliclinks.example.linux64 will not contains the symbolic links...
> 
> 
> 
> Anthony
> 
> 
> 
> -----Message d'origine-----
> 
> De : tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx]
> 
> De la part de Sievers, Jan
> 
> Envoyé : mercredi 21 juin 2017 10:07
> 
> À : Tycho user list
> 
> Objet : Re: [tycho-user] Unix Symbolic Link
> 
> 
> 
> can you be more specific about the problem?
> 
> 
> 
> Jan
> 
> 
> 
> On 20.06.17, 18:49, "tycho-user-bounces@xxxxxxxxxxx on behalf of DELHELLE
> 
> Anthony" <tycho-user-bounces@xxxxxxxxxxx on behalf of
> https://urldefense.proofpoint.com/v2/url?u=http-
> 3A__anthony.de&d=DwIGaQ&c=PskvixtEUDK7wuWU-
> tIg6oKuGYBRbrMXk2FZvF0UfTo&r=dLxYM3PBhAqFnkH7uKz_OVZL1uyui4QoEmB
> CjCmEiTk&m=b8Cuc1HKc4NY13xSemiJ8NrVWWAtBdYAIP_DZdxcdEA&s=NoMaY
> hlljyBu0UJylrtV62fky6AhQlPBLbxfIkl9L3E&e= lhelle@xxxxxxxxxxxxxxxxxx>
> wrote:
> 
> 
> 
> Hello,
> 
> 
> 
> Little up. Should I report a bug ?
> 
> 
> 
> Thanks.
> 
> 
> 
> Anthony
> 
> 
> 
> De : tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx]
> 
> De la part de DELHELLE Anthony
> 
> Envoyé : jeudi 8 juin 2017 17:35
> 
> À : 'Tycho user list'
> 
> Objet : [tycho-user] Unix Symbolic Link
> 
> 
> 
> 
> 
> 
> 
> Hello,
> 
> 
> 
> I am using the tycho 1.0.0 version which seems to have a bug with the
> 
> symbolic links encapsulation. Previously I was using the 0.21.0 version
> 
> which got the symbolic link bundled within the jar. But with  the 1.0.0
> 
> version  all symbolic links are missing.
> 
> 
> 
> Is this a bug or any clue to avoid this problem ?
> 
> 
> 
> Thanks in advance.
> 
> 
> 
> Anthony
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> _______________________________________________
> 
> tycho-user mailing list
> 
> tycho-user@xxxxxxxxxxx
> 
> To change your delivery options, retrieve your password, or unsubscribe from
> 
> this list, visit https://urldefense.proofpoint.com/v2/url?u=https-
> 3A__dev.eclipse.org_mailman_listinfo_tycho-
> 2Duser&d=DwIGaQ&c=PskvixtEUDK7wuWU-
> tIg6oKuGYBRbrMXk2FZvF0UfTo&r=dLxYM3PBhAqFnkH7uKz_OVZL1uyui4QoEmB
> CjCmEiTk&m=b8Cuc1HKc4NY13xSemiJ8NrVWWAtBdYAIP_DZdxcdEA&s=ZHc7s
> Mgq6jPH5vR5dqxnYTOrjYuD4Yhv1-iT-ycpf6M&e=
> 
> 
> 
> --
> 
> 
> 
> 232 avenue Napoleon BONAPARTE 92500 RUEIL MALMAISON
> 
> 
> 
> Capital EUR 219 300,00 - RCS Nanterre B 408 832 301 - TVA FR 09 408 832 301
> 
> 
> 
> 
> 
> 
> 
> _______________________________________________
> tycho-user mailing list
> tycho-user@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from this
> list, visit https://urldefense.proofpoint.com/v2/url?u=https-
> 3A__dev.eclipse.org_mailman_listinfo_tycho-
> 2Duser&d=DwIGaQ&c=PskvixtEUDK7wuWU-
> tIg6oKuGYBRbrMXk2FZvF0UfTo&r=dLxYM3PBhAqFnkH7uKz_OVZL1uyui4QoEmB
> CjCmEiTk&m=b8Cuc1HKc4NY13xSemiJ8NrVWWAtBdYAIP_DZdxcdEA&s=ZHc7s
> Mgq6jPH5vR5dqxnYTOrjYuD4Yhv1-iT-ycpf6M&e=

----------------------------------------------------------------------
This e-mail, including any attached files, may contain confidential and privileged information for the sole use of the intended recipient.  Any review, use, distribution, or disclosure by others is strictly prohibited.  If you are not the intended recipient (or authorized to receive information for the intended recipient), please contact the sender by reply e-mail and delete all copies of this message.

Back to the top