Many thanks for your replies. It really helped a lot!
Now that I have added the requred jars, I am able to create a
CompilationUnit object from the source code.
I dont know how to extract the method & parameter names & variable names
from a CompilationUnit object.
Please advice how can I do it.
Thanks & Regards,
Fayezin
"Olivier Thomann" <olivier_thomann@xxxxxxxxxx> wrote in message
news:eqojka$9ki$1@xxxxxxxxxxxxxxxxxxxx
Fayezin Islam a écrit :
I get this error during compilation (maybe its asking for the runtime?)-
The type org.eclipse.core.runtime.IProgressMonitor cannot be resolved. It
is indirectly referenced from required .class files I am using the
org.eclipse.jdt.core_3.2.1.v_677_r32x.jar in my buildpath.
If its the wrong one, please advise which one to use?
Can you please help me solve this problem?
It can run inside a standalone application as long as you are not using
Javamodel element (IJavaProject, ICompilationUnit).
Even if you don't use any java element, you need to put some jars on the
classpath in order to find some classes required to resolve some
signatures.
--
Olivier