Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [p2-dev] Still trouble with my update...

You should be able to get the p2 source using the "importing the plugin from repository" option.

On 2011-06-17, at 12:11 PM, Thomas Kratz wrote:

I'm on plain try and error now.

I've added 
IMetadataRepositoryManager mgr = (IMetadataRepositoryManager)agent.getService(IMetadataRepositoryManager.SERVICE_NAME);
try {
mgr.refreshRepository(uri, new NullProgressMonitor());

which gives me http requests when i run the product in the ide.

the deployed product instead says
org.eclipse.equinox.p2.core.ProvisionException: No repository found at http://www.eiswind.de/buchmanager/repository.
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.fail(AbstractRepositoryManager.java:393)
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.basicRefreshRepository(AbstractRepositoryManager.java:198)
at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.refreshRepository(MetadataRepositoryManager.java:100)
at de.eiswind.mango.client.core.p2.UpdateManager.executeUpdate(UpdateManager.java:175)

what would be the best way to get the p2 M7 sources into my ide? sadly I can't find them in the 4.1SDK

Hope I'm not spamming .
_______________________________________________
p2-dev mailing list
p2-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/p2-dev


Back to the top