| deploy to tomcat failure [message #222906] |
Tue, 21 October 2008 14:59  |
Dean Hiller Messages: 46 Registered: July 2009 |
Member |
|
|
I have a project in which the diretory structure was determined by the
buildtemplate project on sourceforge(http://buildtemplate.sourceforge.net)
The directory structure it uses works for war files, jars, and osgi
bundles and is as such for my war file
input/javasrc
input/libexclude - jars that will not be deployed like servlet-api.jar,
junit.jar
input/libinclude - jars needed for deployment like hibernate.jar or
whatever libs are not in common/lib of your tomcat
input/webroot - all the jsps or xhtml, css, and graphics for the web
app(if is a web app).
Now, when I go to deploy to tomcat, I really want to do something like
MyEclipse supports where all jars are deployed to WEB-INF/lib except for
the libexclude jars. Is there a way to do this with WTP or do I need to
stick with MyEclipse still going forward?
I finally figured out that WTP is copying input/webroot/WEB-INF/lib to the
deployment directory, but this sort of violates our company directory
structure which is the same on every project(due to buildtemplate) and it
is the same regardless of building a jar or a war file.
thanks,
Dean
|
|
|