I'd like to set up an Eclipse P2 Repository with the Ptolemy II bundles that we use in Triquetrum.
See https://wiki.eclipse.org/Triquetrum/Ptolemy/osgi-2-0#The_Ptolemy_II_osgi-2-0_p2_repository
The Ptolemy II bundles are in a branch, to check it out read/write:
svn co https://repo.eecs.berkeley.edu/svn/projects/eal/ptII/branches/osgi-2-0
read-only:
svn co https://repo.eecs.berkeley.edu/svn-anon/projects/eal/ptII/branches/osgi-2-0
See Osgi2-0 for how to build.
Then we export all the bundles.
- In Eclipse, select all the packages
- Right click and select Export
- In the Select window, expand Plug-in Development and Deployable plug-ins and fragments
- Click Next
- In the Deployable plug-ins and fragments window, browse to a directory and click Finish
- The directory will contain:
bash-3.2$ ls ~/src/tmp/plugins/
diva_11.0.0.201601252109.jar
org.ptolemy.actor.gui.test_10.1.0.201601252109.jar
org.ptolemy.commons_11.0.0.201601252109.jar
org.ptolemy.core.test.actor_11.0.0.201601252109.jar
org.ptolemy.core.test_11.0.0.201601252109.jar
org.ptolemy.testsupport_11.0.0.201601252109.jar
ptolemy.actor.lib.gui_11.0.0.201601252109.jar
ptolemy.actor.lib_11.0.0.201601252109.jar
ptolemy.core_11.0.0.201601252109.jar
ptolemy.domains.process_11.0.0.201601252109.jar
ptolemy.domains.sdf_11.0.0.201601252109.jar
ptolemy.gui_11.0.0.201601252109.jar
ptolemy.moml_11.0.0.201601252109.jar
bash-3.2$
See http://eclipsesource.com/blogs/2012/10/25/how-to-package-your-own-p2-repository-featuresandbundlespublisher/, which says to run Features And Bundles Publisher Application:
(