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

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.


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

 I can’t figure out if Tycho supports packaging a plug-in classes in distinct subfolders, as specified in this sample
source.. = src/com/acme/hello/
output.. = classes/
bin.includes = META-INF/,\
jars.compile.order = .,\
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?
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