This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
The moose likes Ant, Maven and Other Build Tools and the fly likes ant:while deploying it says:tomcat/lib does not exist Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Reply Bookmark "ant:while deploying it says:tomcat/lib does not exist" Watch "ant:while deploying it says:tomcat/lib does not exist" New topic
Author

ant:while deploying it says:tomcat/lib does not exist

ihsan kocak
Greenhorn

Joined: Mar 14, 2012
Posts: 28
hi all.my tomcat directory is: d/tomcat7, my build.properties file:

appserver.home=D:\apache-tomcat-7.0.27
appserver.lib=${appserver.home}/lib

deploy.path=${appserver.home}/webapps

tomcat.manager.url=http://localhost:8080/manager
tomcat.manager.username=tomcat
tomcat.manager.password=s3cret
##############endofbuild.properites

it fails in this row of the build.xml:
<taskdef name="install" classname="org.apache.catalina.ant.InstallTask">
<classpath refid="catalina-ant-classpath"/>

the exact error mesage is:
D:\SpringWorkspace\Inventory\apache-tomcat-7.0.27\lib does not exist.

here inventory is my project base in eclipse.i could not understand why it looks into project directory.do you have any ideas?

Best Regards.

Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5575

You need to provide more information. The portion of the build.xml you posted does not contain all of the information about the error. Please post the full build.xml and the full output from running ant. I suspect that your catalina-ant-classpath setting is incorrect.


JBoss In Action
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: ant:while deploying it says:tomcat/lib does not exist
 
Similar Threads
Classpath error
Modifying appserver.home property in build.properties file NOT working
Error The requested resource is not available
Spring coniguration
Error building a Project using Ant