|Re: WTP and static resources in utility projects [message #232409 is a reply to message #232375]
||Fri, 12 June 2009 07:01
| Alex Tanaev
Registered: July 2009
Kevin Dean wrote:|
> Alex Tanaev wrote:
>>Yes, I experimented with a link, and it seems to work. There is just a
>>small annoying thing: I manage to make it work with linked resources and
>>variables, but this requires an absolute path. It is OK, but may be there
>>is a way to specify links not as 'relative to a path variable', but as
>>'relative to this project'?
> Sort of. When you go into the Java build path, select "Link Source..."
> and then choose "Variables". From there, you can create a variable (e.g.
> WSRoot) that refers to your workspace root. You can use this variable as
> the basis for your linked source no matter where your workspace is
Well, this is exactly what I was doing.
My question was: is it possible to define a linked resource _without_
defining a variable with absolute path.
Look, .project has now something like
1. I was hoping there is some "predefined" variable referring to the
current workspace root. Apparently not, so I have to define CURRENT_WA as
a variable referring to my workspace root.
2. But maybe locationURI syntax has some other way to refer to the current
workspace root? After all, it has a special way to refer to variables, so
may be, just may be...
Powered by FUDForum
. Page generated in 0.04157 seconds