Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Flexible project structure...
Flexible project structure... [message #197701] Tue, 31 July 2007 15:19
nw60312 is currently offline nw60312
Messages: 14
Registered: July 2009
Junior Member
Hi - We are trying to use the flexible project structure to deploy a
shared WebContent structure from a utlity project. I edited the
..component file as follows:

<wb-resource deploy-path="/" source-path="/SharedWebContent"/>
<wb-resource deploy-path="/" source-path="/WebContent"/>

This works fine if in the web application I create a linked folder to
the shared resources. The problem here is that Eclipse stores abosolute
paths for the linked resources. This doesn't work in our environment. I
don't see any way to use workspace path variables to make this work, am
I missing something here?

If I try to use relative paths is seems to silently fail (shared content
doesn't get published). This doesn't work:


<wb-resource deploy-path="/" source-path="../UtilProject/WebContent"/>
<wb-resource deploy-path="/" source-path="/WebContent"/>

Any thoughts?

Thanks!

-Nate
Previous Topic:Well, I installed WTP 1.5 ...
Next Topic:How to upgrade to WTP 2.0 (Calisto to Europa)
Goto Forum:
  


Current Time: Tue Sep 02 13:05:58 EDT 2014

Powered by FUDForum. Page generated in 0.01583 seconds