Community
Participate
Working Groups
Build Identifier: 20100617-1415 My apologies, I am willing to provide more information about this if necessary, but to my best understanding the following command: eclipse/eclipse -nosplash -application org.eclipse.equinox.p2.director -repository http://subclipse.tigris.org/update_1.6.x,http://download.eclipse.org/eclipse/updates/3.6 -installIU org.tigris.subversion.subclipse.feature.group -profile epp.package.jee -profileProperties org.eclipse.update.install.features=true Is equivalent to a GUI install of the feature "Subclipse (Required)" under the "Subclipse" category from http://subclipse.tigris.org/update_1.6.x The command line command succeeds, as does the GUI command. However, an analysis of IUs present in the GUI system shows that certain IUs are not installed in the command line version, such as: ch.qos.logback.classic for example. It seems to me, from a naive end-user perspective, that either an error should be output or the install should match a GUI install. Perhaps I am missing something :( Thank you Misha Reproducible: Always
Created attachment 179157 [details] Command line IU profile
Created attachment 179158 [details] GUI install IU profile
Created attachment 179159 [details] Diff between GUI install IU profile and cmdline install IU profile
Neither of the two repositories that you mention provides a ch.qos.logback.classic IU so I'm curious where that IU came from. Did you install into a profile that had other repositories configured?
Created attachment 179168 [details] My installed repositories - is there a way to retrieve this with the eclipse command line executable? Thank you
p.s. I checked: http://webcache.googleusercontent.com/search?q=cache:Br8dwSDF7TMJ:help.eclipse.org/help33/topic/org.eclipse.platform.doc.isv/reference/misc/update_standalone.html+how+to+install+from+command+line+eclipse&hl=en&gl=us&strip=1 http://webcache.googleusercontent.com/search?q=cache:Vd_FoOKyCr8J:help.eclipse.org/galileo/topic/org.eclipse.platform.doc.isv/guide/p2_director.html+p2+director+command+line+eclipse&hl=en&gl=us&strip=1 (sorry I cannot access help.eclipse.org atm it is running _slow_ on my end) but did not see a way to quickly list repos. Thank you Misha
Seems your IDE has several more repositories then you used for the director. In the IDE you also have the 'Contact all update sites during install to find required software' checked. This means that you feed a lot more meta-data into the p2 resolver which in turn causes the install to be slightly different.
This is a known issue that results from a bug in the resolver that got fixed in 3.6.1. *** This bug has been marked as a duplicate of bug 323322 ***
Created attachment 179183 [details] log of install with _all_ repositories included Fyi, when installing using _all_ repositories: eclipse/eclipse -nosplash -application org.eclipse.equinox.p2.director -repository http://subclipse.tigris.org/update_1.6.x,http://download.eclipse.org/eclipse/updates/3.6,http://download.eclipse.org/releases/helios,http://download.eclipse.org/webtools/repository/helios/,http://download.eclipse.org/tools/mylyn/update/helios -installIU org.tigris.subversion.subclipse.feature.group -profile epp.package.jee -profileProperties org.eclipse.update.install.features=true I do get the desired (well not quite - see below) error: Installation failed. An error occurred while collecting items to be installed session context was:(profile=epp.package.jee, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=). No repository found containing: osgi.bundle,ch.qos.logback.classic,0.9.19.v20100519-1505 No repository found containing: osgi.bundle,ch.qos.logback.core,0.9.19.v20100419-1216 No repository found containing: osgi.bundle,ch.qos.logback.slf4j,0.9.19.v20100519-1910 No repository found containing: osgi.bundle,org.eclipse.net4j.jms.api,3.0.0.v20100614-1655 No repository found containing: osgi.bundle,org.slf4j.api,1.5.11.v20100519-1910 Application failed, log file location: /tmp/eclipse/configuration/1284833860440.log However, surprisingly, those IUs seem to be present on the exact same repos: misha@misha-d630:/tmp/eclipse$ ./eclipse -nosplash -application org.eclipse.equinox.p2.director -repository http://subclipse.tigris.org/update_1.6.x,http://download.eclipse.org/eclipse/updates/3.6,http://download.eclipse.org/releases/helios,http://download.eclipse.org/webtools/repository/helios/,http://download.eclipse.org/tools/mylyn/update/helios -list 2>&1 | grep qos ch.qos.logback.classic=0.9.19.v20100519-1505 ch.qos.logback.classic.source=0.9.19.v20100519-1505 ch.qos.logback.core=0.9.19.v20100419-1216 ch.qos.logback.core.source=0.9.19.v20100419-1216 ch.qos.logback.slf4j=0.9.19.v20100519-1910 ch.qos.logback.slf4j.source=0.9.19.v20100519-1910 so I am still stumped. I am trying to download a nightly build to make sure it is indeed fixed per duplicate bug entry but the site is timing out for me :( Thank you Misha
Created attachment 179188 [details] GUI install on nightly build - pre-install repositories and package selected Documenting. On nightly build mysteriously enough I get _more_ IUs with command line vs GUI install
Created attachment 179189 [details] GUI install on nightly build - successful install shown
Created attachment 179190 [details] Log of commandline nightly install that shows install and how .ius.txt files are created from both GUI and command line versions
Created attachment 179191 [details] Commandline install nightly IUs
Created attachment 179192 [details] GUI install on nightly build IUs Diff below: misha@misha-d630:/tmp$ diff nighly.ius.txt nighly.gui.ius.txt 1d0 < a.jre 193d191 < org.eclipse.equinox.servletbridge.extensionbundle Thank you Misha p.s. The ch.qos.* packages have gone away so I hope indeed the problem is fixed. Thank you