[This question is coming from RCP and Platform newsgroup, and as PW
suggested, I ask it here right not]
Hello,
I have seen and used several Galileo-based RCP applications, built using
DeltaPack, which are packaged with launchers for several platforms
(Linux, win, osx), and I can successfully use their application in
command line using "java -jar org.eclipse.equinox.launcher_*.jar
-application [app]" .
For a RCP build purpose, I would like to have a single Galileo base with
DeltaPack that I could use to call org.eclipse.ant.core.antRunner
application on any platform. This is the same thing as what I am able to
do with my previous RCP examples. However, I always get a
NoClassDefFound (org/eclipse/swt/SWTError while loading
AbstractUIPlugin) when trying to call this antRunner on any system
except Linux. As far as I remember, the same trick was working with
Ganymede.
How can I get the expected behaviour of a multi-platform Eclipse to
invoke antRunner? I imagine it is related to p2 and/or target platform
definition, but I may be totally wrong ;)
Thanks in advance
Mickael
PS: I tried with forcing -os win32 -ws win32 -arch x86, but nothing changed
PPS: the trace under windows clearly shows that the Equinox launcher
unsuccessfully tries to activate linux/gtk bundles.