Jörg Schaible
2018-08-23 14:11:03 UTC
Hi,
we have a strange effect in our build. We have two product files
configured for the materialize-product goal of the tycho-p2-director
plugin and support 3 OS targets.
The generated ini files for one product are correct for all target OSes,
but the ini files for the other product are "invalid" for all OSes, e.g.
Windows:
============ %< ===================
-startup
plugins/org.eclipse.equinox.launcher_1.4.0.v20161219-1356.jar
--launcher.library
plugins/
org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.551.v20171108-1834
-nl
de
--launcher.library
/data/head/temp/products/target/products/com.bpminspire.designer/win32/
win32/x86_64/plugins/
org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.551.v20171108-1834
-startup
/data/head/temp/products/target/products/com.bpminspire.designer/win32/
win32/x86_64/plugins/org.eclipse.equinox.launcher_1.4.0.v20161219-1356.jar
-vmargs
-Xms512m
-Xmx1024m
--add-modules=ALL-SYSTEM
============ %< ===================
The entries for startup and launcher.library are contained twice and the
second entries with the absolute paths from the build server clobber the
first (correct) ones, when the application tries to start. Obviously the
start fails.
We compared the two product files and cannot find any relevant difference.
Any idea, what causes those entries with absolute paths in the generated
ini files?
Regards,
Jörg
we have a strange effect in our build. We have two product files
configured for the materialize-product goal of the tycho-p2-director
plugin and support 3 OS targets.
The generated ini files for one product are correct for all target OSes,
but the ini files for the other product are "invalid" for all OSes, e.g.
Windows:
============ %< ===================
-startup
plugins/org.eclipse.equinox.launcher_1.4.0.v20161219-1356.jar
--launcher.library
plugins/
org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.551.v20171108-1834
-nl
de
--launcher.library
/data/head/temp/products/target/products/com.bpminspire.designer/win32/
win32/x86_64/plugins/
org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.551.v20171108-1834
-startup
/data/head/temp/products/target/products/com.bpminspire.designer/win32/
win32/x86_64/plugins/org.eclipse.equinox.launcher_1.4.0.v20161219-1356.jar
-vmargs
-Xms512m
-Xmx1024m
--add-modules=ALL-SYSTEM
============ %< ===================
The entries for startup and launcher.library are contained twice and the
second entries with the absolute paths from the build server clobber the
first (correct) ones, when the application tries to start. Obviously the
start fails.
We compared the two product files and cannot find any relevant difference.
Any idea, what causes those entries with absolute paths in the generated
ini files?
Regards,
Jörg