Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » IMP » Create a p2 repositories for IMP packages(Need to create p2 repositories for the IMP as I am using maven tyco for building my eclipse plugins)
Create a p2 repositories for IMP packages [message #799836] Thu, 16 February 2012 11:18 Go to next message
Dyutimoy Sarkar is currently offline Dyutimoy SarkarFriend
Messages: 1
Registered: February 2012
Junior Member

I am using maven3 and tyco plugins to build eclipse plugins.
Our plugins have dependency with bundles available in IMP update site.

Because maven tyco resolves from p2 repository and IMP project does not have p2 metadata, maven is not able to resolve the dependencies.

I tried the following steps

./eclipse.exe -debug -consolelog -nosplash -verbose -application org.eclipse.equinox.p2.publisher.FeaturesAndBundlesPublisher -metadataRepository S:\p2repo" -artifactRepository S:\repo -source D:\build_material\new -compress -append -publishArtifacts

I got the following exception.

Any help will be greatly appreciated. If some one can point me to p2 repository for IMP Bundles will solve my problem Smile

!ENTRY 4 0 2012-02-16 02:56:59.123
!MESSAGE Repository not modifiable: S:%5Crepo
java.lang.UnsupportedOperationException: Repository not modifiable: S:%5CViews%5Crepo
at org.eclipse.equinox.internal.provisional.spi.p2.repository.AbstractRepository.assertModifiable(
at org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository.<init>(
at org.eclipse.equinox.internal.provisional.spi.p2.artifact.repository.SimpleArtifactRepositoryFactory.create(
at org.eclipse.equinox.internal.p2.artifact.repository.ArtifactRepositoryManager.factoryCreate(
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.doCreateRepository(
at org.eclipse.equinox.internal.p2.artifact.repository.ArtifactRepositoryManager.createRepository(
at org.eclipse.equinox.p2.publisher.Publisher.createArtifactRepository(
at org.eclipse.equinox.p2.publisher.AbstractPublisherApplication.initializeRepositories(
at org.eclipse.equinox.p2.publisher.AbstractPublisherApplication.initialize(
at org.eclipse.equinox.p2.publisher.AbstractPublisherApplication.start(
at Source)

Re: Create a p2 repositories for IMP packages [message #899524 is a reply to message #799836] Wed, 01 August 2012 09:43 Go to previous message
Wolfgang Geck is currently offline Wolfgang GeckFriend
Messages: 4
Registered: August 2012
Junior Member
P2 is so fragile! Try this modification but leave the -source argument to avoid another problem:)

./eclipse.exe -debug -consolelog -nosplash -verbose -application org.eclipse.equinox.p2.publisher.FeaturesAndBundlesPublisher -metadataRepository file:\\S:\p2repo" -artifactRepository file:\\S:\repo -source D:\build_material\new -compress -append -publishArtifacts
Previous Topic:As is Project?
Next Topic:Forum closure.
Goto Forum:

Current Time: Sat Nov 17 06:58:44 GMT 2018

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

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

Back to the top