Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Virgo » Virgo Nano + p2 + profile
Virgo Nano + p2 + profile [message #810441] Thu, 01 March 2012 05:05 Go to next message
Mixa Alekseev is currently offline Mixa AlekseevFriend
Messages: 10
Registered: February 2011
Junior Member
How to run my eclipse-product uses the e4 (juno) environment?
I created a p2 update site and try to add it:
1) drop in pickup - which leads to a conflict of versions
2) I tried to add it through the mechanism of p2 - result 1)
3) I tried to create a profile p2 command: 'provinstall my.feature 1.0 myprofile' -
GoGo StringIndexOutOfBoundsException: String index out of range: -1
Maybe I did not understand the meaning of p2-profile?
Outside virgo product works (the part that does not use the spring)


Sorry for my bad English.
Re: Virgo Nano + p2 + profile [message #810519 is a reply to message #810441] Thu, 01 March 2012 07:33 Go to previous messageGo to next message
Borislav Kapukaranov is currently offline Borislav KapukaranovFriend
Messages: 80
Registered: September 2010
Member
Hi Mixa,

There are two supported ways of installing from p2 update sites:
1) via the p2 commands:
provaddrepo <your p2repo>
provinstall <your_feature> <version>
- optionally you can specify the profile here (VIRGOProfile), but I wouldn't recommend that: just use the default one.

2) via the Eclipse p2 director
http://help.eclipse.org/indigo/index.jsp?topic=/org.eclipse.platform.doc.isv/guide/p2_director.html
http://www.eclipse.org/virgo/documentation/virgo-documentation-3.5.0.M02/docs/virgo-user-guide/htmlsingle/virgo-user-guide.html#using-director

Dropping anything in pickup won't result in a p2 install.

I'd like see what's wrong in your usecase. Is it possible to share your update site so I can test installing from it?

Best Regards
Borislav

[Updated on: Thu, 01 March 2012 07:37]

Report message to a moderator

Re: Virgo Nano + p2 + profile [message #810680 is a reply to message #810519] Thu, 01 March 2012 12:19 Go to previous message
Mixa Alekseev is currently offline Mixa AlekseevFriend
Messages: 10
Registered: February 2011
Junior Member
I install org.eclipse.core.runtime_3.8.0.v20110920-2042 (download.eclipse.org/releases/juno/201202030900)
osgi> provinstall org.eclipse.pde.core 3.8.0.v20120118-1658
Installation complete for org.eclipse.pde.core 3.8.0.v20120118-1658
osgi> confapply
gogo: IllegalStateException: The System Bundle was updated. The framework must be restarted to finalize the configuration change

I restart virgo - result:
!ENTRY org.eclipse.equinox.cm 4 0 2012-03-01 20:53:52.124
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: The bundle "org.eclipse.equinox.cm_1.0.300.v20101204 [42]" could not be resolved. Reason: Missing Constraint: Import-Package: org.osgi.service.cm; version="[1.3.0,1.4.0)"
	at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolverError(AbstractBundle.java:1327)
	at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolutionFailureException(AbstractBundle.java:1311)
	at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:323)
	at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:389)
	at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1131)
	at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:559)
	at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:544)
	at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:457)
	at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:243)
	at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:438)
	at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:1)
	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
	at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)

!ENTRY org.eclipse.equinox.ds 4 0 2012-03-01 20:53:52.203
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: The bundle "org.eclipse.equinox.ds_1.3.0.v20110124-0830 [45]" could not be resolved. Reason: Missing Constraint: Import-Package: org.osgi.service.component; version="[1.1.0,1.2.0)"
	at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolverError(AbstractBundle.java:1327)
	at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolutionFailureException(AbstractBundle.java:1311)
	at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:323)
	at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:389)
	at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1131)
	at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:559)
	at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:544)
	at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:457)
	at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:243)
	at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:438)
	at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:1)
	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
	at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)

Basically I need to satisfy dependency "org.eclipse.osgi_3.8.0.v20120123-1419"


Sorry for my bad English.
Previous Topic:Advice on solution architecture needed
Next Topic:How to disable necessaries log stoped in virgo tomcat server
Goto Forum:
  


Current Time: Sat Dec 20 20:20:45 GMT 2014

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

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