Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Path resolution in Eclipse
Path resolution in Eclipse [message #164715] Tue, 02 December 2003 11:20 Go to next message
Eclipse UserFriend
Originally posted by: meshcheryakovsemen.hotmail.com

Can somebody give good reference to path/url/<virtual-filesystem?> concept
in Eclipse?

I already saw sources of the following methods
but in this case it's better to have design document.
- IContainer.findMember(IPath);
- JavaModel.getTarget(IContainer container, IPath path, boolean
checkResourceExistence);

Thanks,
-- Sam
It's better to view source code than comments to it.

Jerome Lanneluc" <jerome_lanneluc@fr.ibm.com> wrote
> 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
> > 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
Re: Path resolution in Eclipse [message #164836 is a reply to message #164715] Tue, 02 December 2003 14:28 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: John_Arthorne.oti.com_

Help > help contents > platform plugin developer's guide > programmer's
guide > resources overview > resources and the local file system
--

smesh wrote:
> Can somebody give good reference to path/url/<virtual-filesystem?> concept
> in Eclipse?
Re: Path resolution in Eclipse [message #164996 is a reply to message #164836] Tue, 02 December 2003 17:35 Go to previous message
Eclipse UserFriend
Originally posted by: meshcheryakovsemen.hotmail.com

Thank you, Eclipse help is really a good ref.

Still, I cann't determine: is "/lib/xerces.jar" workspace-relative or
filesystem-relative?

IMHO, help definitions look more like descriptions :)

"Workspace - The central hub for your user's data files is called a
workspace."

"When the resources plug-in is not running, the workspace exists solely in
the local file system and is viewed or manipulated by the user via standard
file-based tools."

I think, there should be something like "Eclipse's virtual filesystem". Will
3.x have it?

Thanks a lot,
-- Sam
It's better to view source code than comments to it.

"John Arthorne" <John_Arthorne@oti.com_> wrote in message
news:3FCCE7F6.5050604@oti.com_...
> Help > help contents > platform plugin developer's guide > programmer's
> guide > resources overview > resources and the local file system
> --
>
> smesh wrote:
> > Can somebody give good reference to path/url/<virtual-filesystem?>
concept
> > in Eclipse?
>
Previous Topic:Incremental Builder, changes to multiple projects
Next Topic:Changing the default JRE in WSAD5.1
Goto Forum:
  


Current Time: Thu May 01 11:41:24 EDT 2025

Powered by FUDForum. Page generated in 0.07578 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top