java - Adding a new OSGI bundle to local p2 repository -


i have created new osgi bundle existing jar file. have local p2 repository set target platform in eclipse. directly copied osgi bundle local p2 repository. build says cannot find new osgi plugin. manually added new entry in artifacts.xml new bundle well. still no luck. can please me resolve issue?

you can use p2.publisher that.

example:

java -jar <eclipsedirectory>/plugins/org.eclipse.equinox.launcher_<version>.jar    -application org.eclipse.equinox.p2.publisher.featuresandbundlespublisher    -metadatarepository file:/<yourlocalrepo>    -artifactrepository file:/<yourlocalrepo>    -source <location sub-directory named plugin and/or features >    -publishartifacts 

you need replace eclipsedirectory , version of equinox launcher bundle. information here eclipse wiki


Comments

Popular posts from this blog

android - Gradle sync Error:Configuration with name 'default' not found -

java - Andrioid studio start fail: Fatal error initializing 'null' -

html - jQuery UI Sortable - Remove placeholder after item is dropped -