Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[orion-dev] Updating the orion server to new builds

Hello all,

While the orion server does not contain any p2 bits, and we are not currently producing a stable p2 repository, it is possible to update to new builds using p2 instead of manually downloading new build zips.

Here is the command line I use to do this:
eclipse -application org.eclipse.equinox.p2.director
        -repository http://build.eclipse.org/eclipse/e4/orion/N201102232000/buildRepo
        -u org.eclipse.orion -i org.eclipse.orion
        -d /eclipse/orion

This command is run using a normal eclipse install, on windows you may want to use "eclipsec".  The repository url will change for each build but has the general form shown above with a changing build id.  The p2 director does not have an "update" argument, so here we uninstalling (-u) the existing version of orion, and installing (-i) a new one.  The -d argument is the location of the orion install we are updating.  The expected console output is something like:

Installing org.eclipse.orion 0.0.2.201102232002.
Uninstalling org.eclipse.orion 0.0.2.201102221029.
Operation completed in 11206 ms.


I have raised https://bugs.eclipse.org/bugs/show_bug.cgi?id=338145, and once we have a stable p2 repo url, I will update the wiki page with instructions on upgrading your orion install this way, as well as updating through PDE's target platform.

-Andrew

Back to the top