|
|
Re: IPackageFragment -> Output location [message #137054 is a reply to message #137042] |
Mon, 26 January 2004 05:11  |
Eclipse User |
|
|
|
Thanks very much, thats what I was looking for!
Jochen
Jerome Lanneluc wrote:
> IPackageFragment pkg = ...
> IPackageFragmentRoot root = (IPackageFragmentRoot) pkg.getParent();
> IClasspathEntry cpEntry = root.getRawClasspathEntry();
> IPath output = cpEntry.getOutputLocation();
> if (output == null) {
> IJavaProject project = (IJavaProject) root.getParent();
> output = project.getOutputLocation();
> }
>
> Jerome
>
> "Jochen Kressin" <jkressin@kressin.info> a écrit dans le message de news:
> bv19hv$qq9$1@eclipse.org...
>
>>Hi,
>>
>>is there any easy way to get the ouput location of an IPackageFragment,
>>e.g. as an IPath?
>>
>>Thanks,
>>
>>Jochen
>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.04142 seconds