Discussion:
[tycho-user] Unix Symbolic Link
DELHELLE Anthony
2017-06-08 15:35:04 UTC
Permalink
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
--
232 avenue Napoleon BONAPARTE 92500 RUEIL MALMAISON
Capital EUR 219 300,00 - RCS Nanterre B 408 832 301 - TVA FR 09 408 832 301 00027
DELHELLE Anthony
2017-06-20 16:49:24 UTC
Permalink
Hello,



Little up. Should I report a bug ?



Thanks.



Anthony



De : tycho-user-***@eclipse.org
[mailto:tycho-user-***@eclipse.org] 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




--

232 avenue Napoleon BONAPARTE 92500 RUEIL MALMAISON

Capital EUR 219 300,00 - RCS Nanterre B 408 832 301 - TVA FR 09 408 832 301
Sievers, Jan
2017-06-21 08:06:41 UTC
Permalink
can you be more specific about the problem?

Jan

On 20.06.17, 18:49, "tycho-user-***@eclipse.org on behalf of DELHELLE Anthony" <tycho-user-***@eclipse.org on behalf of ***@tech-advantage.com> wrote:

Hello,

Little up. Should I report a bug ?

Thanks.

Anthony

De : tycho-user-***@eclipse.org [mailto:tycho-user-***@eclipse.org]
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
DELHELLE Anthony
2017-06-21 11:34:01 UTC
Permalink
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-***@eclipse.org [mailto:tycho-user-***@eclipse.org]
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-***@eclipse.org on behalf of DELHELLE
Anthony" <tycho-user-***@eclipse.org on behalf of
***@tech-advantage.com> wrote:

Hello,

Little up. Should I report a bug ?

Thanks.

Anthony

De : tycho-user-***@eclipse.org [mailto:tycho-user-***@eclipse.org]
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-***@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from
this list, visit https://dev.eclipse.org/mailman/listinfo/tycho-user

--

232 avenue Napoleon BONAPARTE 92500 RUEIL MALMAISON

Capital EUR 219 300,00 - RCS Nanterre B 408 832 301 - TVA FR 09 408 832 301
Sievers, Jan
2017-06-22 07:26:48 UTC
Permalink
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-***@eclipse.org on behalf of DELHELLE Anthony" <tycho-user-***@eclipse.org on behalf of ***@tech-advantage.com> 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-***@eclipse.org [mailto:tycho-user-***@eclipse.org]
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-***@eclipse.org on behalf of DELHELLE
Anthony" <tycho-user-***@eclipse.org on behalf of
***@tech-advantage.com> wrote:

Hello,

Little up. Should I report a bug ?

Thanks.

Anthony

De : tycho-user-***@eclipse.org [mailto:tycho-user-***@eclipse.org]
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-***@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from
this list, visit https://dev.eclipse.org/mailman/listinfo/tycho-user
--
232 avenue Napoleon BONAPARTE 92500 RUEIL MALMAISON

Capital EUR 219 300,00 - RCS Nanterre B 408 832 301 - TVA FR 09 408 832 301
Justin Georgeson
2017-06-22 14:29:36 UTC
Permalink
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-----
On Behalf Of Sievers, Jan
Sent: Thursday, June 22, 2017 2:27 AM
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
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
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.
- 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 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
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
Hello,
Little up. Should I report a bug ?
Thanks.
Anthony
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
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
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.
Loading...