Deploying SMILA with Eclipse 3.6 [message #552699] |
Fri, 13 August 2010 04:34  |
Eclipse User |
|
|
|
Hi,
I have problems to deploy SMILA with Eclipse 3.6. The start parameters for the make.xml file are as follows:
-DbuildDirectory=${root}/SMILADeployTest3.6/smilaHome/eclips e.build
-Declipse.home=${root}/SMILADeployTest3.6/eclipse
-Dbuilder=${workspace_loc:/SMILA.builder}
-Declipse.running=true
-DpdeBuildPluginVersion=3.6.0.v20100603
-DequinoxLauncherPluginVersion=1.1.0.v20100503
-Dos=linux
-Dws=gtk
-Darch=x86
-Dlib.dir=${root}/SMILADeployTest3.6/additional_resources/li b
The error message is as follows:
build.core:
[echo] -buildfile ${root}/SMILADeployTest3.6/eclipse/plugins/org.eclipse.pde.build_3.6.0.v20100603/scripts/productBuild/productBuild.xml
[java] Exception in thread "main" java.lang.NoClassDefFoundError: org/eclipse/equinox/launcher/Main
[java] Caused by: java.lang.ClassNotFoundException: org.eclipse.equinox.launcher.Main
[java] at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
[java] at java.security.AccessController.doPrivileged(Native Method)
[java] at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
[java] at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
[java] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
[java] at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
[java] Could not find the main class: org.eclipse.equinox.launcher.Main. Program will exit.
|
|
|
|
|
Re: Deploying SMILA with Eclipse 3.6 [message #552760 is a reply to message #552737] |
Fri, 13 August 2010 08:11   |
Eclipse User |
|
|
|
Originally posted by: juergen.schumacher.attensity.com
Am 13.08.2010, 12:31 Uhr, schrieb SMILANewBee <nils.thieme@unister.de>:
> This works a little better, but I get the following error message:
>
> BUILD FAILED
> [java] =
> ${root}/SMILADeployTest3.6/eclipse/plugins/org.eclipse.pde.b uild_3.6.0=
..v20100603/scripts/productBuild/productBuild.xml:39: =
> The following error occurred while executing this line:
> [java] =
> ${root}/SMILADeployTest3.6/eclipse/plugins/org.eclipse.pde.b uild_3.6.0=
..v20100603/scripts/productBuild/productBuild.xml:69: =
> Unable to find feature "org.eclipse.rcp" with version in range =
> [3.5.0.v20090519-9SA0FwxFv6x089WEf-TWh11,3.5.0.v20090519-9SA 0FwxFv6x08=
9WEf-TWh11].
You're right, I forgot this: You have to remove the version constraint f=
or =
the RCP feature in
org.eclipse.smila.product/SMILA.product (open it in Eclipse, go to tab =
Dependencies, select
org.eclipse.rcp, click Properties... on the right and delete the version=
).
If you're using the SMILA trunk: I've committed the change to the =
repository (-;
Cheers,
J=C3=BCrgen.
|
|
|
|
|
|
Re: Deploying SMILA with Eclipse 3.6 [message #553640 is a reply to message #553015] |
Wed, 18 August 2010 05:38  |
Eclipse User |
|
|
|
Originally posted by: juergen.schumacher.attensity.com
Am 16.08.2010, 07:35 Uhr, schrieb SMILANewBee <nils.thieme@unister.de>:
> Oh no. The ${root} is only a substitution for the prefix of my path. In
> the configuration there is no such variable, the path there is expanded.
Sorry, then I do not understand this. Did you try to get the build running
with a Eclipse 3.5 before? You can set this up in parallel and should be
able to
switch between Eclipse 3.5 and 3.6 by changing only the values of
eclipse.home,
pdeBuildPluginVersion and equinoxLauncherPluginVersion.
I assume that you also adapted the configs property in
SMILA.builder/build.properties
so that it matches your platform? PLease, check the instructions on
http://wiki.eclipse.org/SMILA/Development_Guidelines/Howto_b uild_a_SMILA-Distribution
again.
Regards,
Juergen.
|
|
|
Re: Deploying SMILA with Eclipse 3.6 [message #564964 is a reply to message #552717] |
Fri, 13 August 2010 06:31  |
Eclipse User |
|
|
|
This works a little better, but I get the following error message:
BUILD FAILED
[java] ${root}/SMILADeployTest3.6/eclipse/plugins/org.eclipse.pde.b uild_3.6.0.v20100603/scripts/productBuild/productBuild.xml:3 9: The following error occurred while executing this line:
[java] ${root}/SMILADeployTest3.6/eclipse/plugins/org.eclipse.pde.b uild_3.6.0.v20100603/scripts/productBuild/productBuild.xml:6 9: Unable to find feature "org.eclipse.rcp" with version in range [3.5.0.v20090519-9SA0FwxFv6x089WEf-TWh11,3.5.0.v20090519-9SA 0FwxFv6x089WEf-TWh11].
|
|
|
Re: Deploying SMILA with Eclipse 3.6 [message #565022 is a reply to message #564964] |
Fri, 13 August 2010 08:11  |
Eclipse User |
|
|
|
Originally posted by: juergen.schumacher.attensity.com
Am 13.08.2010, 12:31 Uhr, schrieb SMILANewBee <nils.thieme@unister.de>:
> This works a little better, but I get the following error message:
>
> BUILD FAILED
> [java] =
> ${root}/SMILADeployTest3.6/eclipse/plugins/org.eclipse.pde.b uild_3.6.0=
..v20100603/scripts/productBuild/productBuild.xml:39: =
> The following error occurred while executing this line:
> [java] =
> ${root}/SMILADeployTest3.6/eclipse/plugins/org.eclipse.pde.b uild_3.6.0=
..v20100603/scripts/productBuild/productBuild.xml:69: =
> Unable to find feature "org.eclipse.rcp" with version in range =
> [3.5.0.v20090519-9SA0FwxFv6x089WEf-TWh11,3.5.0.v20090519-9SA 0FwxFv6x08=
9WEf-TWh11].
You're right, I forgot this: You have to remove the version constraint f=
or =
the RCP feature in
org.eclipse.smila.product/SMILA.product (open it in Eclipse, go to tab =
Dependencies, select
org.eclipse.rcp, click Properties... on the right and delete the version=
).
If you're using the SMILA trunk: I've committed the change to the =
repository (-;
Cheers,
J=C3=BCrgen.
|
|
|
Re: Deploying SMILA with Eclipse 3.6 [message #565042 is a reply to message #552760] |
Fri, 13 August 2010 09:07  |
Eclipse User |
|
|
|
Thank you very much. That's help a lot. But one problem remains :(. This is the error message:
${root}/SMILADeployTest3.6/smilaHome/eclipse.build/CI.SMILA- incubation not found.
The message is thrown building final application.
|
|
|
Re: Deploying SMILA with Eclipse 3.6 [message #565098 is a reply to message #565042] |
Fri, 13 August 2010 09:33  |
Eclipse User |
|
|
|
Originally posted by: juergen.schumacher.attensity.com
Am 13.08.2010, 15:07 Uhr, schrieb SMILANewBee <nils.thieme@unister.de>:
> Thank you very much. That's help a lot. But one problem remains :(. Th=
is =
> is the error message:
>
> ${root}/SMILADeployTest3.6/smilaHome/eclipse.build/CI.SMILA- incubation=
=
> not found.
>
> The message is thrown building final application.
On my machine the build runs without problems, including tests.
It looks like ${root} is not expanded to a real path. Is it really set =
(and exported)
as an environment variable before you start the make.xml? Or where shoul=
d =
it come from?
Regards,
J=C3=BCrgen.
|
|
|
|
Re: Deploying SMILA with Eclipse 3.6 [message #565132 is a reply to message #565104] |
Wed, 18 August 2010 05:38  |
Eclipse User |
|
|
|
Originally posted by: juergen.schumacher.attensity.com
Am 16.08.2010, 07:35 Uhr, schrieb SMILANewBee <nils.thieme@unister.de>:
> Oh no. The ${root} is only a substitution for the prefix of my path. In
> the configuration there is no such variable, the path there is expanded.
Sorry, then I do not understand this. Did you try to get the build running
with a Eclipse 3.5 before? You can set this up in parallel and should be
able to
switch between Eclipse 3.5 and 3.6 by changing only the values of
eclipse.home,
pdeBuildPluginVersion and equinoxLauncherPluginVersion.
I assume that you also adapted the configs property in
SMILA.builder/build.properties
so that it matches your platform? PLease, check the instructions on
http://wiki.eclipse.org/SMILA/Development_Guidelines/Howto_b uild_a_SMILA-Distribution
again.
Regards,
Juergen.
|
|
|
Powered by
FUDForum. Page generated in 0.26721 seconds