Simple way to convert a java application which uses JDT to a java plugin? [message #717498] |
Sat, 20 August 2011 23:24  |
Eclipse User |
|
|
|
Hi,
I am creating a java application using JDT and COFOJA in eclipse 3.6.1. It creates the code for the empty method from method contracts. How can convert my java application to the java eclipse plugin?
1) Execution of java application starts from static void main() method. What about execution starting point in plugin?
2) Do I need to change my application code which is already ready to convert it to the plugin? and all my output I am displaying in console using System's println, so whether the system.out.println code written will display it as plugin output?
3) What about the different jar files that I added to the build path and the class path which is set already. How do I take care about this in eclipse? Will it require significant changes?
Kindly have a look at the attached files.
Thanks and regards
ContractToCode.java : main file with public static void main
Heuristic.java: methods from this being called from main file.
MyVisitor.java: visitor pattern file to parse methods, annotations (contracts)
InputFacto.java : input file to main file for processing contracts and adding body to method.
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03593 seconds