Problems with Swordfish Headless Build [message #532160] |
Fri, 07 May 2010 07:16  |
Eclipse User |
|
|
|
Hello!
I'm trying to do Headless Build with Eclipse SDK 3.5.2 and Swordfish. Everything wen't ok until I received message "[java] [eclipse.fetch] Could not retrieve feature.xml and/or build.properties: Cannot use javahl nor command line svn client." in the console.
Any idea why this is happening? I think I have everything needed installed in my Eclipse so what is this problem?
Thanks in advance
Jari
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: Problems with Swordfish Headless Build [message #578856 is a reply to message #532540] |
Mon, 10 May 2010 10:02  |
Eclipse User |
|
|
|
Sorry, as we had some problems with timeouts on the Eclipse HTTP server in the past, we cached the orbit bundles on our local build server.
But you can simply replace sop-bp02.servicebackbone.org:8088 by download.eclipse.org and it should work.
|
|
|
Re: Problems with Swordfish Headless Build [message #578862 is a reply to message #578856] |
Tue, 11 May 2010 01:38  |
Eclipse User |
|
|
|
Ok. These address settings seems to be defined in the org.eclipse.swordfish.build\tmp\fetch_org.eclipse.swordfish. third-parties.feature.xml which is fetched during the third parties build.
Is there some workaround to change that address. Where do I need to change it?
Regards
Jari
|
|
|
|
|
|
|
|
Re: Problems with Swordfish Headless Build [message #578970 is a reply to message #533192] |
Mon, 17 May 2010 08:40  |
Eclipse User |
|
|
|
Hello
I tried to run the Headless Build with -Dlocal=true but come up with errors like:
[java] [eclipse.buildScript] Some inter-plug-in dependencies have not beensatisfied.
[java] [eclipse.buildScript] Bundle org.eclipse.jdt.apt.pluggable.core:
[java] [eclipse.buildScript] Missing Constraint: Bundle-RequiredExecutionEnvironment: JavaSE-1.6
[java] [eclipse.buildScript] Unsatisfied import package org.eclipse.jdt.internal.compiler.tool_0.0.0.
[java] [eclipse.buildScript] Unsatisfied import package org.eclipse.jdt.internal.compiler.apt.dispatch_0.0.0.
[java] [eclipse.buildScript] Unsatisfied import package org.eclipse.jdt.internal.compiler.apt.model_0.0.0.
[java] [eclipse.buildScript] Unsatisfied import package org.eclipse.jdt.internal.compiler.apt.util_0.0.0.
[java] [eclipse.buildScript] Bundle org.eclipse.jdt.compiler.apt:
[java] [eclipse.buildScript] Missing Constraint: Bundle-RequiredExecutionEnvironment: JavaSE-1.6
[java] [eclipse.buildScript] Unsatisfied import package org.eclipse.jdt.internal.compiler.tool_0.0.0.
[java] [eclipse.buildScript] Bundle org.eclipse.jdt.compiler.tool:
[java] [eclipse.buildScript] Missing Constraint: Bundle-RequiredExecutionEnvironment: JavaSE-1.6
[java] [eclipse.buildScript] Bundle org.tigris.subversion.subclipse.core:
[java] [eclipse.buildScript] Another singleton version selected: org.tigris.subversion.subclipse.core_1.6.10
[java] [eclipse.buildScript] Bundle org.tigris.subversion.subclipse.ui:
[java] [eclipse.buildScript] Another singleton version selected: org.tigris.subversion.subclipse.ui_1.6.10
[java]
[java] BUILD FAILED
[java] C:\Documents and Settings\user\workspace_soa\org.eclipse.swordf
ish.build\tmp\eclipse\plugins\org.eclipse.pde.build_3.5.2.R3 5x_20100114\scripts\
build.xml:35: The following error occurred while executing this line:
[java] C:\Documents and Settings\user\workspace_soa\org.eclipse.swordf
ish.build\tmp\eclipse\plugins\org.eclipse.pde.build_3.5.2.R3 5x_20100114\scripts\
build.xml:91: The following error occurred while executing this line:
[java] C:\Documents and Settings\user\workspace_soa\org.eclipse.swordf
ish.build\tmp\eclipse\plugins\org.eclipse.pde.build_3.5.2.R3 5x_20100114\template
s\headless-build\customTargets.xml:12: The following error occurred while execut
ing this line:
[java] C:\Documents and Settings\user\workspace_soa\org.eclipse.swordf
ish.build\tmp\eclipse\plugins\org.eclipse.pde.build_3.5.2.R3 5x_20100114\template
s\headless-build\allElements.xml:16: The following error occurred while executin
g this line:
[java] C:\Documents and Settings\user\workspace_soa\org.eclipse.swordf
ish.build\tmp\eclipse\plugins\org.eclipse.pde.build_3.5.2.R3 5x_20100114\scripts\
genericTargets.xml:106: Unable to find feature: org.eclipse.swordfish.build.feat
ure.
[java]
[java] Total time: 4 seconds
BUILD FAILED
C:\Documents and Settings\user\workspace_soa\org.eclipse.swordfish.build\bu
ild.xml:275: The following error occurred while executing this line:
C:\Documents and Settings\user\workspace_soa\org.eclipse.swordfish.build\bu
ild.xml:230: Java returned: 13
Total time: 3 minutes 16 seconds
Everything went well with the third parties build. Is there something wrong with my java version or is it something else?
Thanks and regards
Jari
|
|
|
Re: Problems with Swordfish Headless Build [message #578987 is a reply to message #533899] |
Wed, 19 May 2010 01:55  |
Eclipse User |
|
|
|
Hi Jari,
it might be a problem of path lengths under your winDOS (path > 254 characters).
In such cases you might get pretty surprising errors.
HTH
Jürgen
BTW: As we had massive problems with accessing the orbit again, we had to switch back to our local Tomcat. :( So in case you check out / update you might have to adapt the orbitBundles.map files in RT / Tooling
|
|
|
|
Re: Problems with Swordfish Headless Build [message #579016 is a reply to message #579002] |
Fri, 21 May 2010 02:34  |
Eclipse User |
|
|
|
Maybe I'm missing something obvious... ?!
This looks like the build feature cannot be found:
[java] C:\Documents and Settings\user\workspace_soa\org.eclipse.swordf
ish.build\tmp\eclipse\plugins\org.eclipse.pde.build_3.5.2.R3 5x_20100114\scripts\
genericTargets.xml:106: Unable to find feature: org.eclipse.swordfish.build.feat
ure.
So which projects did you actually check out?
For the remote build, it's enough to check out
rt/org.eclipse.swordfish.build
rt/org.eclipse.swordfish.bundles
third-parties/org.eclipse.swordfish.third-parties.site
But for a local build, you'll need at least the other projects from rt/ to build runtime (and to build tooling locally, you'll need all project in tools/)
The local build will copy your projects to a temp folder before the actual building starts and thus mimic an svn fetch.
Have a look at org.eclipse.swordfish.build/tmp to see which features and bundles have been copied from your checkout area to the build area.
HTH
Jürgen
|
|
|
Re: Problems with Swordfish Headless Build [message #579035 is a reply to message #579016] |
Sun, 23 May 2010 16:01  |
Eclipse User |
|
|
|
Hello Jürgen
The problem was infact that I didn't have those needed checkouts from repository (all from rt and tools). Now I'm past that issue but there are still some problems.
In pde.build.internal section my ant build is complaining following now:
[java] C:\Documents and Settings\user\workspace_soa\org.eclipse.swordf
ish.build\tmp\eclipse\plugins\org.eclipse.pde.build_3.5.2.R3 5x_20100114\scripts\genericTargets.xml:106: Unable to find plug-in: org.eclipse.equinox.p2.ql_0.0.0.
Please check the error log for more details.
Where can I found the correct plugin and where to place it? Or is there some workaround to get past this problem?
Thanks and regards
Jari
|
|
|
|
|
Re: Problems with Swordfish Headless Build [message #579091 is a reply to message #536046] |
Thu, 27 May 2010 09:47  |
Eclipse User |
|
|
|
Jari,
this is not related to Swordfish in any way. You just need a Helio Eclipse SDK.
Have a look at the download site of the eclipse project (http://download.eclipse.org/eclipse/downloads/) and choose the latest 3.6 Stream Stable Builds. Currently it is 3.6 RC2. Of course you can also choose one of the Eclipse packages containing the Plugin Development Environment (PDE). Of course I recommend the SOA package :) To get Helios versions of the packages go to the Eclipse download page (http://www.eclipse.org/downloads/) and then click on the "Development Builds" tab. There you find the latest development versions of the packages, currently RC1.
Regards,
Zsolt
|
|
|
Re: Problems with Swordfish Headless Build [message #579143 is a reply to message #579091] |
Tue, 01 June 2010 13:46  |
Eclipse User |
|
|
|
Hello!
I have now tried to do the third.parties build with Helios and struggling again with that one :) I think there are some timeouts when the build is downloading those svn stuff from download.eclipse.org. Any ideas how to get it working?
Are there any tutorial for Creating Headless Build with Helios or is there are possibility to do it still with Galileo if I check out the old files from somewhere?
Thanks and regards
Jari
|
|
|