[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.technology.equinox] Re: Using the same Eclipse application on Linux/Windows/Mac...

I also tried with a fresh (never used p2 on it) linux SDK platform + Delta Pack on Windows, and got the same error when starting with command line... (NoClassDefFoundError org/eclipse/ui/SWTError).

Can anyone give me some clues to get Eclipse launcher able to start on any OS ?


Mickael Istria a écrit :
[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.