tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject RE: ant deploy task?
Date Wed, 19 Feb 2003 18:03:08 GMT
url is your manager app's url, e.g. http://localhost:8080/manager

"This Guy Thinks He Knows Everything"
"This Guy Thinks He Knows What He Is Doing"

-----Original Message-----
From: Wendy Smoak [] 
Sent: February 19, 2003 12:55 PM
To: 'Tomcat Users List'
Subject: ant deploy task?

What's the least amount of work I can do to deploy a new version of my
webapp?  I've been cheating and developing directly under the webapps
directory.  Now I've moved to a separate directory structure and am building
a .war file which gets copied over to webapps.

Since Tomcat auto-expands the war file, I find I have to delete the
directory and restart in order to get the new version in place.

I found an ant task named 'deploy' but it doesn't seem to be apparently
requires another .jar file, and I'm having no luck finding that with Google.
It isn't, as far as I can tell, a core ant task:

W:\java\bendev>ant deploy
Buildfile: build.xml
file:W:/java/bendev/build.xml:136: Could not create task or type of type:
Ant could not find the task or a class this task relies upon.

<target name="deploy" depends="">
  <deploy url="" path="${context}"
    username="wendy" password="password" />

I'm also not sure how this is going to work... Tomcat is on the same machine
so right now I'm just copying the war file over.  Would it be better to use
the 'install' or 'restart' tasks instead?  


Wendy Smoak
Applications Systems Analyst, Sr.
Arizona State University PA Information Resources Management

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message