Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jdt-core-dev] Can one use the org.eclipse.jdt.core classes outside Eclipse?.

One can use the SWT classes outside eclipse by just having the right
Eclipse .jar files in the classpath.

Is the same possible with the org.eclipse.jdt.core classes?. I.e.
can one do something like:

IPath path_to_java_file = ...
ICompilationUnit compilation_unit = JavaCore.createCompilationUnitFrom
(path_to_java_file);

and/or

IPath path_to_class_file = ...
IClassFile class_file = JavaCore.createClassFileFrom
(path_to_class_file);

outside Eclipse?.

Thanks for any info or pointers.

Roman



Back to the top