Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Just including root files of a feature

Hello Tobias,

I reproduced the problem in a minimal project (as minimal as I was able to keep it) and opened a bug report [1].

I observed that while Tycho 0.14.1 behaves as described in my original post, Tycho 0.16.0 denies the build claiming that specifying "bin.includes" values is required. According to [2] this is not a correct assumption...

Regards
Timo

[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=401216
[2] http://help.eclipse.org/juno/index.jsp?topic=%2Forg.eclipse.pde.doc.user%2Ftasks%2Fpde_rootfiles.htm


2013/2/19 Oberlies, Tobias <tobias.oberlies@xxxxxxx>

So the problem is that an empty/missing bin.includes in the feature.xml is not treated as “don’t include any files”?

 

The bin.includes handling was made more strict in 0.14.0, but this may have only been for bundles, not for features. So you could have discovered a bug. If you can reproduce it in a minimal project (one feature, one product), please open a bug report.

 

Regards

Tobias

 

From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] On Behalf Of Timo Rohrberg
Sent: Dienstag, 19. Februar 2013 09:22
To: Tycho user list
Subject: [tycho-user] Just including root files of a feature

 

Hello everybody,

I would like to ship my application with a complete JRE. Thus, I created a feature project which contains the JREs for Win32 and Win64 in separate folders:

- win32.win32.x86/jre

- win32.win32.x86_64/jre


Then, I make the jre subfolders to be included in the final application's root directory by specifying the following in the features build.properties:

root.win32.win32.x86 = win32.win32.x86
root.win32.win32.x86_64 = win32.win32.x86_64

The "JRE feature project" is then included in the product definition for which Tycho materializes the product via the tycho-p2-director-plugin.

Everything works fine so far... BUT the "JRE feature project" itself is included in the final application's "features" directory and contains the two JRE subdirectories with content again. Thus, I am actually shipping the JRE three times with my application which unnecessarily bloats the build result.

According to [1], my "JRE feature" should not be included in the final build result as it does not specify a "bin.includes" property in its build.properties, but just the "root" properties as stated above.

Is this a problem of Tycho or am I wrong with anything? Ah yes, for compatibility issues, I am still using Tycho 0.14.1. Was there anything fixed with newer versions related to that issue?

I appreciate your help.


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



Back to the top