aspose file tools*
The moose likes Ant, Maven and Other Build Tools and the fly likes ANT: deploying and undeploying to Tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "ANT: deploying and undeploying to Tomcat" Watch "ANT: deploying and undeploying to Tomcat" New topic
Author

ANT: deploying and undeploying to Tomcat

miguel lisboa
Ranch Hand

Joined: Feb 08, 2004
Posts: 1281
i must be doing something wrong, since the same reference path sometimes works and sometimes doesnt

here is a part of my ant build file:

the undeploy target works perfectly
my Question is: why, on my last target, do i have to write the whole path (in order to get it working), instead of using the "CATALINA_HOME" way?
when i use the catalina it assumes that catalina is a subfolder under my current dir

not sure if i was clear enough
can someone please give me a hand at this?

thanks in advance


java amateur
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5776
    
    7

It would have been more helpful if you have posted the build.xml that doesn't work. Looking at what you did post, line 9 has a typo, if line 13 had the same typo then I can see why it would misbehave.


JBoss In Action
miguel lisboa
Ranch Hand

Joined: Feb 08, 2004
Posts: 1281
Peter Johnson wrote:(...) Looking at what you did post, line 9 has a typo, if line 13 had the same typo then I can see why it would misbehave.

you got it right!
i corrected the errors, used and all works fine now

thank you, Peter
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: ANT: deploying and undeploying to Tomcat
 
Similar Threads
trouble with path
reload not working
UnDeploy task is not working properly
Ant: Problem with Undeploy Task with Tomcat 6
Ant Build Failed for uninstall