Path resolution in Eclipse [message #121809] |
Tue, 25 November 2003 13:14  |
Eclipse User |
|
|
|
Originally posted by: meshcheryakovsemen.hotmail.com
How to determine if the absolute path is workspace- or filesystem-absolute?
For example,
<classpathentry kind="lib" path="/lib/xml-apis.jar"/>
Thanks,
-- Sam
It's better to view source code than comments to it.
|
|
|
|
|
Re: Path resolution in Eclipse [message #123700 is a reply to message #123514] |
Tue, 02 December 2003 07:08  |
Eclipse User |
|
|
|
I'm not sure what is not well formalized. Please post to eclipse.platform if
you find that IPath is confusing.
> It's better to view source code than comments to it.
Or you can see the source :-)
Jerome
"smesh" <meshcheryakovsemen@hotmail.com> wrote in message
news:bqgg2c$598$1@eclipse.org...
> Jerome,
>
> I've explored some sources:
> - IContainer.findMember(IPath) (not IWorkspaceRoot:)
> - JavaModel.getTarget(IContainer container, IPath path, boolean
> checkResourceExistence)
> - http://dev.eclipse.org/bugs/show_bug.cgi?id=22517
>
> It seems that path (url, uri, etc.) concept in Eclipse 2.x is not well
> formalized.
> I had no time to start with Eclipse 3.x yet. Will it overcome this gap?
>
> Thanks,
> -- Sam
> It's better to view source code than comments to it.
>
> "Jerome Lanneluc" <jerome_lanneluc@fr.ibm.com> wrote in message
> news:bq1uqq$r22$1@eclipse.org...
> > Use IWorkspaceRoot.findMember(IPath). If it returns a non null value,
then
> > the path is a workspace path.
> >
> > Jerome
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.04980 seconds