|
|
|
Re: How to create ICompilationUnit from source [message #212090 is a reply to message #210684] |
Thu, 11 August 2005 04:43  |
Eclipse User |
|
|
|
Sorry. Invoking org.eclipse.jdt.core code outside a running Eclipse instance is not supported.
Marcel Stör wrote:
> "Jerome Lanneluc" <jerome_lanneluc@fr.ibm.com> schrieb im Newsbeitrag
> news:d95vou$ktn$1@news.eclipse.org...
>
>>You can use: IPackageFragment#createCompilationUnit(String, String, ...)
>>Note this is the first topic of 'Manipulating Java code' of the JDT
>
> Programmer's Guide in Help.
>
> It's not that I didn't know that...
> My problem is a bit more tricky, though. Our Swing application is running
> outside Eclipse i.e. it's not a plugin. Still, I would like to invoke
> Eclipse' "Organize imports" feature for a given String that represents a
> Java class.
>
|
|
|
Powered by
FUDForum. Page generated in 0.04034 seconds