Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Easiest way to convert a java application which uses JDT to java plugin? (How do I convert my java application code which uses JDT in eclipse to a java plugin? any easy way to do it? )
Easiest way to convert a java application which uses JDT to java plugin? [message #717493] Sun, 21 August 2011 02:57
sagar  is currently offline sagar Friend
Messages: 12
Registered: August 2011
Junior Member
I have written a java application which uses JDT and COFOJA to create code for an empty method using contracts. I have several jar files being added to build path of the project and also classpath being set.
How can I covert this application to a java Plugin? any easy way?
Do I need to change my code to make it suitable to work in plugin? Or can I directly use it as it is without any changes?

Kindly see the attached files.

ContractToCode.java : Main file where execution starts, contains main() method

Heuristics.java : methods in this being called by contractToCode.java

MyVisitor.java : visitor pattern to parse methods, annotations in code file.

InputFacto.java : Input file used in ContractToCode.java to create code for an empty method based on contract of the method.

How should I proceed to create a Plugin? and where should I mention jar files in plugin?
Previous Topic:Exporting RCP with jre
Next Topic:Custom Text Editor Plugin
Goto Forum:
  


Current Time: Fri Mar 29 00:20:19 GMT 2024

Powered by FUDForum. Page generated in 0.02903 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top