Skip to content

Instantly share code, notes, and snippets.

@roberto-filho
Created January 22, 2015 11:44
Show Gist options
  • Save roberto-filho/eb84987b9d64414feb10 to your computer and use it in GitHub Desktop.
Save roberto-filho/eb84987b9d64414feb10 to your computer and use it in GitHub Desktop.
create p2 repository
if [ -z $ECLIPSE_HOME ]; then
ECLIPSE_HOME=$1
fi
HOME=$(pwd)
#echo $HOME/libs-compiled
java -jar $ECLIPSE_HOME/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -application org.eclipse.equinox.p2.publisher.FeaturesAndBundlesPublisher -metadataRepository file:$HOME/libs-compiled -artifactRepository file:$HOME/libs-compiled -source $HOME/libs -configs gtk.linux.x86 -compress -publishArtifacts
$ECLIPSE_HOME/eclipse -debug -consolelog -nosplash -verbose -application org.eclipse.equinox.p2.publisher.CategoryPublisher -metadataRepository file:$HOME/libs-compiled -categoryDefinition file:$HOME/libs/category.xml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment