Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Flexible project structure...
Flexible project structure... [message #197701] Tue, 31 July 2007 19:19
nw60312 is currently offline nw60312Friend
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?


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 Apr 20 14:53:54 GMT 2021

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

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

Back to the top