deploy to tomcat failure [message #222906] |
Tue, 21 October 2008 18: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
|
|
|
Re: deploy to tomcat failure [message #222931 is a reply to message #222906] |
Wed, 22 October 2008 13:01 |
Larry Isaacs Messages: 1354 Registered: July 2009 |
Senior Member |
|
|
On the Libraries tab of the Java Build Path page of the project's
Properties dialog, how are the jars from libexclude and libinclude
listed. Are their jars individually listed or is there some a library
shown for these folders that contains their jars?
Cheers,
Larry
Dean Hiller wrote:
> 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
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03326 seconds