是的,如果使用p2.director,则可以指定存储库位置
例如,这是一个脚本片段,我使用该脚本从Ganymede存储库的本地副本安装eclipse(Ganymede)
./eclipse -nosplash -consolelog -debug -vm "${VM}" -application org.eclipse.equinox.p2.director.app.application -metadataRepository file:${SHARED_REPOSITORY_DIR} -artifactRepository file:${SHARED_REPOSITORY_DIR} -installIU "${4-org.eclipse.sdk.ide}" -destination "${3}" -profile "${1}" -profileProperties org.eclipse.update.install.features=true -bundlepool ${SHARED_BUNDLEPOOL_DIR} -p2.os linux -p2.ws gtk -p2.arch "${2}" -vmargs -Xms64m -Xmx1024m -XX:MaxPermSize=256m -Declipse.p2.data.area=${SHARED_P2_DIR}以下是一些使用p2导演的链接
http://eclipse.dzone.com/articles/understanding-eclipse-p2-provi
http://wiki.eclipse.org/Equinox_p2_director_application



