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?

If anyone is interested in tracking this issue until the move to version of ECF (i.e. the 'optional on org.eclipse.core.net but not really'), see bug:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=216478

Scott

Timothy Webb wrote:
Thanks, the optional flag was indeed the trick. Once I asked for optional bundles to be included, the add required picked up 3 additional bundles and the launch configuration worked as expected.

Cheers,
Tim

On Jan 30, 2008, at 10:48 AM, DJ Houghton wrote:

We've recently updated ECF to a new version and it brings in the core.net
bundle. Try updating your launch config to add this new bundle with the
"add required bundles" button.

(yes, ECF's dependency on core.net is optional but not really yet... this
will be fixed in the next release of ECF)


equinox-dev-bounces@xxxxxxxxxxx wrote on 01/30/2008 11:41:59 AM:

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

_______________________________________________
equinox-dev mailing list
equinox-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/equinox-dev

_______________________________________________
equinox-dev mailing list
equinox-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/equinox-dev



Back to the top