• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ANT: deploying and undeploying to Tomcat

 
miguel lisboa
Ranch Hand
Posts: 1281
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
miguel lisboa
Ranch Hand
Posts: 1281
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic