Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » SeMantic Information Logistics Architecture (SMILA) » Deploying SMILA with Eclipse 3.6
Deploying SMILA with Eclipse 3.6 [message #552699] Fri, 13 August 2010 08:34 Go to next message
SMILANewBee is currently offline SMILANewBeeFriend
Messages: 42
Registered: August 2010
Member
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 #552717 is a reply to message #552699] Fri, 13 August 2010 09:17 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: juergen.schumacher.attensity.com

Hi,

> I have problems to deploy SMILA with Eclipse 3.6. The start parameters=
=

> for the make.xml file are as follows:
>
> [...]
> -DpdeBuildPluginVersion=3D3.6.0.v20100603
> -DequinoxLauncherPluginVersion=3D1.1.0.v20100503

I'm using these settings and it works for me:

-DpdeBuildPluginVersion=3D3.6.0.v20100603
-DequinoxLauncherPluginVersion=3D1.1.0.v20100507

Do you really have a ...03 version of the launcher plugin installed?

Cheers,
J=C3=BCrgen.
Re: Deploying SMILA with Eclipse 3.6 [message #552737 is a reply to message #552717] Fri, 13 August 2010 10:31 Go to previous messageGo to next message
SMILANewBee is currently offline SMILANewBeeFriend
Messages: 42
Registered: August 2010
Member
This works a little better, but I get the following error message:

BUILD FAILED
        [java] ${root}/SMILADeployTest3.6/eclipse/plugins/org.eclipse.pde.build_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.build_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-9SA0FwxFv6x089WEf-TWh11].

Re: Deploying SMILA with Eclipse 3.6 [message #552760 is a reply to message #552737] Fri, 13 August 2010 12:11 Go to previous messageGo to next message
Eclipse UserFriend
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 #552765 is a reply to message #552760] Fri, 13 August 2010 13:07 Go to previous messageGo to next message
SMILANewBee is currently offline SMILANewBeeFriend
Messages: 42
Registered: August 2010
Member
Thank you very much. That's help a lot. But one problem remains Sad. 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 #552787 is a reply to message #552765] Fri, 13 August 2010 13:33 Go to previous messageGo to next message
Eclipse UserFriend
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 #553015 is a reply to message #552787] Mon, 16 August 2010 05:35 Go to previous messageGo to next message
SMILANewBee is currently offline SMILANewBeeFriend
Messages: 42
Registered: August 2010
Member
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.
Re: Deploying SMILA with Eclipse 3.6 [message #553640 is a reply to message #553015] Wed, 18 August 2010 09:38 Go to previous message
Eclipse UserFriend
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 10:31 Go to previous message
SMILANewBee is currently offline SMILANewBeeFriend
Messages: 42
Registered: August 2010
Member
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 12:11 Go to previous message
Eclipse UserFriend
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 13:07 Go to previous message
SMILANewBee is currently offline SMILANewBeeFriend
Messages: 42
Registered: August 2010
Member
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 13:33 Go to previous message
Eclipse UserFriend
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 #565104 is a reply to message #552787] Mon, 16 August 2010 05:35 Go to previous message
SMILANewBee is currently offline SMILANewBeeFriend
Messages: 42
Registered: August 2010
Member
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.
Re: Deploying SMILA with Eclipse 3.6 [message #565132 is a reply to message #565104] Wed, 18 August 2010 09:38 Go to previous message
Eclipse UserFriend
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.
Previous Topic:Units of performance measurement
Next Topic:WebCrawler and URL-Parser
Goto Forum:
  


Current Time: Thu Mar 28 23:39:40 GMT 2024

Powered by FUDForum. Page generated in 0.04250 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top