Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » P2 » Use a version in installui in a headless installation
Use a version in installui in a headless installation [message #727406] Wed, 21 September 2011 08:11
Missing name Missing name is currently offline Missing name Missing name
Messages: 2
Registered: September 2011
Junior Member
Hi,

I install several feature into an eclipse package via a headless installation.

Cause i am not allowed to post URLs, i removed the http-beginnings).

c:/eclipse/eclipse.exe -application org.eclipse.equinox.p2.director -repository download.eclipse.org/releases/indigo -installIU org.eclipse.ocl.ecore,org.eclipse.team.svn.feature.group,org.eclipse.xtext.sdk.feature.group -destination c:/eclipse

Through the change to xtext 2.0.1, i changed the update site to the project update site (download.eclipse.org/modeling/tmf/updates/releases) itself and install it in a seperate call.

c:/eclipse/eclipse.exe -application org.eclipse.equinox.p2.director -repository download.eclipse.org/releases/indigo -installIU org.eclipse.ocl.ecore,org.eclipse.team.svn.feature.group -destination c:/eclipse

c:/eclipse/eclipse.exe -application org.eclipse.equinox.p2.director -repository download.eclipse.org/modeling/tmf/updates/releases/ -installIU org.eclipse.xtext.sdk.feature.group -destination c:/eclipse

the second call doesn't work, because on the Eclipse Xtext update site, there are two versions available (2.0.0 and 2.0.1). So i tried to add the documented (-installIU: a comma separated list of IUs to install. Each entry in the list is in the form <id> [ '/' <version> ].)
But neither
-installIU org.eclipse.xtext.sdk.feature.group/2.0.1 nor
-installIU org.eclipse.xtext.sdk.feature.group/2.0.1xxx (full version) worked. I get the following error:

!SESSION 2011-09-21 09:41:51.860 -----------------------------------------------
eclipse.buildId=I20110613-1736
java.version=1.6.0_21
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=de_AT
Framework arguments: -application org.eclipse.equinox.p2.director -repository download.eclipse.org/modeling/tmf/updates/releases/ -installIU org.eclipse.xtext.sdk.feature.group/2.0.1 -destination c:/eclipse
Command-line arguments: -os win32 -ws win32 -arch x86_64 -application org.eclipse.equinox.p2.director -repository download.eclipse.org/modeling/tmf/updates/releases/ -installIU org.eclipse.xtext.sdk.feature.group/2.0.1 -destination c:/eclipse

!ENTRY org.eclipse.equinox.p2.director.app 4 0 2011-09-21 09:42:31.165
!MESSAGE The installable unit org.eclipse.xtext.sdk.feature.group/2.0.1 has not been found.

Thanks for any idea!

Previous Topic:Uninstalling features in p2 does not uninstall plugins
Next Topic:p2 ant mirror task should fails on error
Goto Forum:
  


Current Time: Sat Oct 25 03:49:11 GMT 2014

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

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