This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

ANT: deploying and undeploying to Tomcat  RSS feed

 
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: 5856
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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!