We are currently using MyEclipse to deploy our projects to Tomcat during development. We would like to dump MyEclipse and switch to WTP. I am using Eclipse 3.7.
Our project layout has a 'web' project and a 'modules' project.
I would like to be able to have each project have its own ivy file declaring its dependencies using IvyDE to create an Eclipse Library of those jars depended upon and have those jars deployed to WEB-INF/lib and the classes from each project deployed to WEB-INF/classes.
I have tried declaring the 'modules' project as a "Utility Module" and the jars from its ivy.xml file as as a part of the Deployment Assembly to WEB-INF/lib and then adding the 'modules' projects to the Deployment Assembly of the 'web' project but what I get is a jar called 'modules.jar' in the WEB-INF/lib of the 'web' project that has the jars for the 'modules' project in its (i.e. modules.jar) WEB-INF/lib directory.
Is it possible to get WTP to deploy from the application structure I have to the deployment layout I want or would I have to reorganize my two projects into one? If so, how would I do it?
I don't know if this will help, I don't understand your question fully.
You can tell ivyDe to download all jars to a specific directory.
put the relative Path to your WEB-INF/lib into the retrieve pattern like:
resources/WEB-INF/lib/[artifact]-[type]-[revision].[ext]
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With