Here are the commands, that i use create the product.
First i build my product with:
|java -jar <path to
eclipse>/plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
-application org.eclipse.ant.core.antRunner -buildfile <path to build
file>/plugins/org.eclipse.pde.build_3.7.0.v20110512-1320/scripts/productBuild/productBuild.xml
-Dbuilder=<location of the build configuration>|
After the product was created i install the product with:
|eclipse -nosplash -application org.eclipse.equinox.p2.director
-repository file:<location of the repository> -installIU
myEclipseProduct -destination <location of the new created product>
-profile MyEclipseProduct -profileProperties
org.eclipse.update.install.features=true -bundlepool <location of the
new created product> -p2.os win32 -p2.ws win32 -p2.arch x86 -roaming -vm
/usr/lib64/java/bin/java -vmargs -Declipse.p2.data.area="<location of
the new created product>/p2"
|
In the first step (build the product) the features and plugins are
copied insight the build configuration, at the second step, installing a
product via the p2 director the product was installed. The needed
repository directory was created during the first step.
For installing the product with ganymede i have used |-application
org.eclipse.equinox.p2.director.app.application -installIU
myEclipseProduct.ide |and works fine. Simple change the name of the p2
director application to |-application org.eclipse.equinox.p2.director
|in indigo doesn't work, because the name of the product can't be
found. In ganymede build the name of my product was myProduct.ide and in
indigo, it couldn't be found. run the p2 director with -list option
shows that the product was split-ed.
What i'm doing wron with the migration of the p2 install?
|
|
The links don't seem to refer to anything related to creating installs.
Could you please double check?
On 2011-07-19, at 11:16 AM, Boian Tomov wrote:
Hi,
i'm try to migrate my current eclipse product from ganymede (3.4) to Indigo.
The problem is, when i run the p2 installer (described in
http://help.eclipse.org/indigo/index.jsp?topic=%2Forg.eclipse.jdt.doc.isv%2Fguide%2Fjdt_apt_building_with_apt.htm
- Installing a complete product ),
the p2 director ends very short successfully and the result folder contains
only the p2 folder, the plugins folder and artifacts.xml.
I shorter look in the result, showed that the product executable file, the
features folder are missing.
The installation repository contains all needed plugins and features, and was
build such in the documentation
(http://help.eclipse.org/indigo/index.jsp?topic=%2Forg.eclipse.jdt.doc.isv%2Fguide%2Fjdt_apt_building_with_apt.htm)
The same scenario has worked fine in Ganymede, but no more in indigo. Maybe i
miss some steps?
Thank you in advantage.
Regards,
Boian
_______________________________________________
p2-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/p2-dev
_______________________________________________
p2-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/p2-dev
_______________________________________________
p2-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/p2-dev