Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Support for subfolders in plug-in jars

I have created defect https://bugs.eclipse.org/bugs/show_bug.cgi?id=374794 with a sample project.

Cheers,
Franck

-----Original Message-----
From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] On Behalf Of Sievers, Jan
Sent: Friday, March 16, 2012 9:43 AM
To: Tycho user list
Subject: Re: [tycho-user] Support for subfolders in plug-in jars

looks like a bug.
Open a bugreport [1] and attach a sample project to reproduce the issue.

Regards
Jan

[1] https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Tycho&rep_platform=All&op_sys=All 

-----Original Message-----
From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] On Behalf Of Mangin, Franck
Sent: Donnerstag, 15. März 2012 16:57
To: Tycho user list
Subject: Re: [tycho-user] Support for subfolders in plug-in jars

I actually had a second look at the generated jar, and I am afraid Tycho is generating incorrect output for the build.properties file I quoted earlier.
The bundle jar contains all classes at the root, plus an internal jar without the .jar extension that also contains all the bundle's classes.
I will file a defect unless someone sees something I missed...

Franck

-----Original Message-----
From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] On Behalf Of Sievers, Jan
Sent: Thursday, March 15, 2012 2:17 PM
To: Tycho user list
Subject: Re: [tycho-user] Support for subfolders in plug-in jars

short answer:

don't use nested dirs or jars unless you absolutely have to.

longer answer:

This may or may not work, I did not try it. If you want to hide internal classes, just use OSGi package visibility (Export-Package).
Compiling against non-exported packages is a compilation error in tycho by default.

Regards
Jan

From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] On Behalf Of Mangin, Franck
Sent: Donnerstag, 15. März 2012 13:54
To: tycho-user@xxxxxxxxxxx
Subject: [tycho-user] Support for subfolders in plug-in jars

Hi,
 I can’t figure out if Tycho supports packaging a plug-in classes in distinct subfolders, as specified in this sample build.properties:
 
source.. = src/com/acme/hello/
output.. = classes/
bin.includes = META-INF/,\
               .,\
               internal/
jars.compile.order = .,\
                     internal/
source.internal/ = src/com/acme/internal/
 
When built using PDE this creates a jar with the hello classes are at the root of the jar, while the internal classes are in an internal folder in that jar. Is that possible with Tycho?
 
Thanks!
Franck
This email and any files transmitted with it are confidential, proprietary
and intended solely for the individual or entity to whom they are addressed.
If you have received this email in error please delete it immediately.

_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user

This email and any files transmitted with it are confidential, proprietary
and intended solely for the individual or entity to whom they are addressed.
If you have received this email in error please delete it immediately.

_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user

This email and any files transmitted with it are confidential, proprietary
and intended solely for the individual or entity to whom they are addressed.
If you have received this email in error please delete it immediately.


Back to the top