|Forcing existing project into WTP [message #520273]
||Thu, 11 March 2010 19:14
Registered: March 2010
I have a rather complicated project setup with many wars and a non-traditional layout of the j2ee project. |
I am using ant to do the builds. I am trying to get rid of the build deploy test cycle which takes a long time. So I am thinking of moving my project to WTP.
I managed to make one of my java projects into WTP by adding dynamic web project facet. And I have added multiple source files and directories to the .component file. Its unable to deploy and I am slowly trying to get it to pick up classes by modifying the file
For a start the file looks like this
<?xml version="1.0" encoding="UTF-8"?>
<project-modules id="moduleCoreId" project-version="1.5.0">
<wb-resource deploy-path="/" source-path="/j2ee_apps/myproj.war/web-app"/>
<wb-resource deploy-path="/WEB-INF" source-path="/j2ee-apps/myproj.war/web-app/WEB-INF"/>
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/java"/>
<wb-resource deploy-path="/WEB-INF/lib" source-path="/j2ee-apps/myproj.war/web-app/WEB-INF/lib"/>
<wb-resource deploy-path="/WEB-INF/lib" source-path="/online.ear/onlinelib/classes.jar"/>
<property name="context-root" value="myproj"/>
Can someone point me to good documentation on the .component file and how it interacts with the .classpath.
I am going to have to build this by hand since the project structure we have is rather loopy.
Powered by FUDForum
. Page generated in 0.02029 seconds