简体   繁体   中英

Export Eclipse plugIn

I wrote my first eclipse plugin and I can export it by Export->deplyable plugin and fragments. I'm looking for a way to export it as .jar file by command line or Ant file (i want to add it to build proccess of some componenets)

i will appricate ant help with that!!

To do this, you will need to look into "Headless PDE Builds."

Take a look at the Eclipse PDE (Plug-in Development Environment), specifically the headless build (aka, building without going through the IDE): http://www.eclipse.org/pde/pde-build/ . Also, there is http://wiki.eclipse.org/PDE/Build .

Lars Vogel has some really good material on this subject from which I also learned (Thanks Lars!): http://www.vogella.de/articles/EclipsePDEBuild/article.html . As an additional note, his Eclipse RCP, Plugin, and OSGi development page has some really good articles as well: http://www.vogella.de/eclipse.html .

Also, if you would like to export for multiple platforms, be sure to download the delta pack for the version of Eclipse you are using (eg, if using Eclipse 3.6.2, download the Eclipse Delta Pack version 3.6.2).

If you need to access any SVN repositories from within your scripts (eg, Ant), use the SVN pde-build plugin at http://svn-pde-build.sourceforge.net/ .

Lastly, run a web search containing items like "PDE headless build". There are several links to sites that cover PDE building, customizing, and execution.

Sorry for not having a detailed list of instructions but the above links should help get you on the right path.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM