Community
Participate
Working Groups
Running the p2 director app on macosx searches for plugins and folders inside Eclipse.app/Contents/MacOS/[plugins|features]. Here's a part of the stack trace along with the command line. It's looking for plugins inside the wrong directory (/Volumes/data/workspaces/twist/eclipse/eclipse/Eclipse.app/Contents/MacOS/plugins/org.eclipse.osgi_3.4.2.R34x_v20080826-1230.jar) instead of (/Volumes/data/workspaces/twist/eclipse/eclipse/plugins/org.eclipse.osgi_3.4.2.R34x_v20080826-1230.jar) A work around is to create symlinks for plugins and features into the Eclipse.app/Contents/MacOS folder + /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/bin/java -Declipse.p2.data.area=/Volumes/data/workspaces/twist/artifacts-3.4/p2 -Xmx768m -cp /Volumes/data/workspaces/twist/eclipse/eclipse/plugins/org.eclipse.equinox.launcher_1.0.101.R34x_v20080819.jar org.eclipse.equinox.launcher.Main -data /tmp/test-workspace-twist -nosplash -consoleLog -debug -application org.eclipse.equinox.p2.director.app.application -destination /Volumes/data/workspaces/twist/artifacts-3.4 -bundlepool /Volumes/data/workspaces/twist/artifacts-3.4 -metadataRepository file:/Volumes/data/workspaces/twist/build/src/repo -artifactRepository file:/Volumes/data/workspaces/twist/build/src/repo -metadataRepositoryName 'Twist Update Site' -artifactRepositoryName 'Twist Artifacts' -installIU com.thoughtworks.twist.eclipse.ui.product -version 1.0.0.4000-dev -profile TwistProfile -profileProperties org.eclipse.update.install.features=true -p2.os macosx -p2.ws carbon -p2.arch x86 -roaming Install location: file:/Volumes/data/workspaces/twist/eclipse/eclipse/ Configuration file: file:/Volumes/data/workspaces/twist/eclipse/eclipse/configuration/config.ini loaded Configuration location: file:/Volumes/data/workspaces/twist/eclipse/eclipse/configuration/ Framework located: file:/Volumes/data/workspaces/twist/eclipse/eclipse/plugins/org.eclipse.osgi_3.4.2.R34x_v20080826-1230.jar Framework classpath: file:/Volumes/data/workspaces/twist/eclipse/eclipse/plugins/org.eclipse.osgi_3.4.2.R34x_v20080826-1230.jar Debug options: file:/Volumes/data/workspaces/twist/build/.options not found Time to load bundles: 38 location=file:/Volumes/data/workspaces/twist/eclipse/eclipse/Eclipse.app/Contents/MacOS/plugins/org.eclipse.osgi_3.4.2.R34x_v20080826-1230.jar java.util.zip.ZipException: No such file or directory at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.<init>(ZipFile.java:203) at java.util.jar.JarFile.<init>(JarFile.java:132) at java.util.jar.JarFile.<init>(JarFile.java:97) at org.eclipse.equinox.internal.frameworkadmin.utils.Utils.getOSGiManifest(Utils.java:266) at org.eclipse.equinox.internal.frameworkadmin.utils.Utils.getManifestMainAttributes(Utils.java:248) at org.eclipse.equinox.internal.frameworkadmin.utils.Utils.getClausesManifestMainAttributes(Utils.java:244) at org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxBundlesState.isSystemBundle(EquinoxBundlesState.java:176) at org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxBundlesState.getSystemBundleFromBundleInfos(EquinoxBundlesState.java:139) at org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxBundlesState.getSystemBundleFromBundleInfos(EquinoxBundlesState.java:148)
Are you trying to create a new install or adding something on top of an existing one?
(In reply to comment #1) > Are you trying to create a new install or adding something on top of an > existing one? I'm creating a new install by pulling in a product IU.
Just as an FYI the command line arguments are also pasted in comment 0
Your command line seems to contain unnecessary arguments but is also lacking some. Please take a look at the section on "installing a complete product" http://help.eclipse.org/ganymede/index.jsp?topic=/org.eclipse.platform.doc.isv/guide/p2_director.html
*** This bug has been marked as a duplicate of bug 57349 ***