Hi,

On Wed, Sep 14, 2011 at 7:51 PM, Max Rydahl Andersen <max.andersen@redhat.com> wrote:
Hi guys,

I get that an absolute folder is relevant to know where "/" gets resolved (normally deduced from web content in WTP projects).
The absolute folder is nice to set when not using WTP projects.

But when is the relative folder relevant to set ? Can't think of a good use case beyond your project layout is really screwed ;)
The use case may be as follows:
1) Eclipse folder structure:
DynamicMyAdminProject
|--WebContent
   |--foo.jsp
StaticMyAdminProject
|--static
   |--bar.gif

2) Runtime folder structure:
|--foo.jsp
|--static
   |--bar.gif

3) foo.jsp has a relative link to bar.gif:
<img src="static/bar.gif">

/max
http://about.me/maxandersen




_______________________________________________
jbosstools-dev mailing list
jbosstools-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jbosstools-dev