java - Eclipse Plugin auto update installation -
new eclipse plugin world , happened create on hello world plugin. able give friends telling them drop exported jar (that exported project) in dropin folder, works well. want upload jar web location (say on github) , want them install using eclipse-> install new software-> add -> archive option (i think how should let them install internal usage) . tried n number of things without success , simple approach tried archive local jar disk through eclipse-> install new software-> add -> archive-> local option, error "no software site found @ jar:file:/{location jar folder}/hello-world_1.0.0.0.2015xxxx.jar!/. wish edit location?" message . guidance appreciated.
plugin.xmlmy jar folder structure: meta-inf,icons,lib,plugin.xml,hello testing on same eclipse were-in dropin method works.
to able install , update first need create feature project links plug-in. @ first should use export... > deployable feature, select feature , set generate p2 repository under options. can generate directory first. contain:
folder/ +plugins/ +features/ +p2/ -artifacts.jar -content.jar
you can use local site install from, , when upload online location, update site.
once fed manual exporting, learn maven, tycho , automatic update site creation , upload ;-)
Comments
Post a Comment