Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [equinox-dev] [prov] Trick to using repo optimizer?


I expect the problem is that you need to ask the org.eclipse.core.net plug-in to the launch configuration. The dependency was introduced by the latest release of ECF.

        - Dave



[equinox-dev] [prov] Trick to using repo optimizer?

Tim Webb to: Equinox development mailing list
01/30/2008 08:43 AM

Sent by: equinox-dev-bounces@xxxxxxxxxxx

Please respond to Equinox development mailing list <equinox-dev@xxxxxxxxxxx>







Is there a trick to using the repo optimizer for p2 to generate the pack200 files?  When I run the optimize OSGi app off of HEAD, I receive the following error.  Validating the bundle hierarchy seems to show no issues.  I've tried running the workspace off of 3.4M4 as well as the latest integration build.
 
Thanks,
Tim
 
osgi> !SESSION 2008-01-30 10:32:31.658 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.5.0_11
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments: -application org.eclipse.equinox.p2.artifact.optimizers.pack200optimizer -artifactRepository file:d:/prov/repo
Command-line arguments: -dev file:C:/devel/genuitec/.metadata/.plugins/org.eclipse.pde.core/optimizer/dev.properties -console -consolelog -application org.eclipse.equinox.p2.artifact.optimizers.pack200optimizer -artifactRepository file:d:/prov/repo -console
!ENTRY org.eclipse.osgi 4 0 2008-01-30 10:32:35.377
!MESSAGE Application error
!STACK 1

java.lang.NoClassDefFoundError: org.eclipse.core.net.proxy.IProxyService
at org.eclipse.ecf.internal.provider.filetransfer.Activator.getProxyService(

Activator.java:91)
at org.eclipse.ecf.provider.filetransfer.retrieve.AbstractRetrieveFileTransfer.setupProxies(
AbstractRetrieveFileTransfer.java:540)
at org.eclipse.ecf.provider.filetransfer.retrieve.AbstractRetrieveFileTransfer.sendRetrieveRequest(
AbstractRetrieveFileTransfer.java:488)
at org.eclipse.ecf.provider.filetransfer.retrieve.AbstractRetrieveFileTransfer.sendRetrieveRequest(
AbstractRetrieveFileTransfer.java:309)
at org.eclipse.ecf.provider.filetransfer.retrieve.MultiProtocolRetrieveAdapter.sendRetrieveRequest(
MultiProtocolRetrieveAdapter.java:95)
at org.eclipse.equinox.internal.p2.artifact.repository.ECFTransport.transfer(
ECFTransport.java:106)
at org.eclipse.equinox.internal.p2.artifact.repository.ECFTransport.download(
ECFTransport.java:67)
at org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepositoryFactory.load(
SimpleArtifactRepositoryFactory.java:44)
at org.eclipse.equinox.internal.p2.artifact.repository.ArtifactRepositoryManager.loadRepository(
ArtifactRepositoryManager.java:305)
at org.eclipse.equinox.internal.p2.artifact.repository.ArtifactRepositoryManager.loadRepository(
ArtifactRepositoryManager.java:287)
at org.eclipse.equinox.internal.p2.artifact.repository.ArtifactRepositoryManager.createRepository(
ArtifactRepositoryManager.java:148)
at org.eclipse.equinox.internal.p2.artifact.repository.ArtifactRepositoryManager.restoreDownloadCache(
ArtifactRepositoryManager.java:401)
at org.eclipse.equinox.internal.p2.artifact.repository.ArtifactRepositoryManager.restoreRepositories(
ArtifactRepositoryManager.java:462)
at org.eclipse.equinox.internal.p2.artifact.repository.ArtifactRepositoryManager.getRepository(
ArtifactRepositoryManager.java:238)
at org.eclipse.equinox.internal.p2.artifact.repository.ArtifactRepositoryManager.loadRepository(
ArtifactRepositoryManager.java:281)
at org.eclipse.equinox.internal.p2.artifact.optimizers.pack200.Application.setupRepository(
Application.java:47)
at org.eclipse.equinox.internal.p2.artifact.optimizers.pack200.Application.start(
Application.java:35)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(
EclipseAppHandle.java:193)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(
EclipseAppLauncher.java:106)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(
EclipseAppLauncher.java:76)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(
EclipseStarter.java:362)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(
EclipseStarter.java:175)
at sun.reflect.NativeMethodAccessorImpl.invoke0(
Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(
Main.java:561)
at org.eclipse.equinox.launcher.Main.basicRun(
Main.java:501)
at org.eclipse.equinox.launcher.Main.run(
Main.java:1239)
at org.eclipse.equinox.launcher.Main.main(
Main.java:1215)
 _______________________________________________
equinox-dev mailing list
equinox-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/equinox-dev


Back to the top