Web App Libraries - Deployment issue [message #153019] |
Tue, 20 December 2005 08:39  |
Eclipse User |
|
|
|
Hi there,
i face a problem which seems to be a very common one. The WTP behaviour of handling web application libraries.
As far as i found information yet, they always have to be placed (copied) into the WEB-INF/lib directory :(
As we are working with a maven like project setup (but only based on ant) we have to resolve dependencies to libraries dynamically (at the moment handeled by ant tasks). Libraries are stored in a local cache just like the MAVEN_REPO.
To ease up the setup of plugins using our own project setup we are creating several templates of .classpath, .project, .wtmodules and perhaps .runtime -- btw we are working with eclipse 3.1, wtp sdk 0.7.0.
Everything works so far with those modified eclipse specific project configuration files. The only thing missing is the tomcat integration wich fails because of those missing dynamically added library. All of them are added to .classpath like the following example:
<classpathentry kind="lib" path="C:/Dokumente und Einstellungen/snwiem/.repository/jakarta-regexp/jakarta-rege xp-1.3.jar "/>
On build time those libraries are handled correctly but they are not deployed into the .deployables/.../WEB-INF/lib.
So finally my question is: Is there a chance to configure the wtp module for that kind of problem or is the handling of the WEB-INF/lib directory hard-coded into the plugin ?
Another idea would be a specific build (in .project) which copies the libraries from the repository into the .deployabled/../WEB-INF/lib ?
Would be nice to hear from anyone soon.
Take care
Sebastian
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03930 seconds