Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » P2 dev » Adding p2 to a non-p2 installation
Adding p2 to a non-p2 installation [message #528520] Tue, 20 April 2010 19:30
Patrick Paulin is currently offline Patrick Paulin
Messages: 39
Registered: July 2009
Location: Madison, Wisconsin
Member
Is it possible to use the p2 director to install into an RCP app that was exported and installed without p2 (just unzipped from an archive)?

I'm attempting to do this, and the director appears to complete successfully. It creates a p2 directory and modifies the config.ini file, etc. The only problem is that the new bundles are placed into the OSGi cache, not the plugins directory.

The config.ini osgi.bundles entry actually references the cache directly, like this:

osgi.bundles=reference\:file\:../configuration/org.eclipse.o sgi/bundles/69/data/-1275408139/plugins/com.myapp.mybundle_1.0.0.1004201500-8150.jar@4

And the update actually works, until the cache is cleared anyway... Has anybody encountered this behavior before?

Thanks,

--- Patrick Paulin
patrick@modumind.com

Previous Topic:Eclipse 3.5 has "Find and Install..." and "Manage Configuration..." menus disabl
Next Topic:Using "include required software" when defining a Target Platform Definition with a P2 co
Goto Forum:
  


Current Time: Fri Oct 31 11:38:57 GMT 2014

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

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