craigmcc    02/03/09 14:39:19

  Modified:    webapps/tomcat-docs/appdev build.xml.txt
  Log:
  Add a "list" target for conveniently determining whether or not the app
  you are building has been installed yet or not.
  
  Make the "reload" target depend on "compile", so that the typical development
  cycle becomes:
   - Modify files as required
   - "ant reload"
   - Test modified app
  
  Revision  Changes    Path
  1.6       +24 -2     jakarta-tomcat-4.0/webapps/tomcat-docs/appdev/build.xml.txt
  
  Index: build.xml.txt
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-4.0/webapps/tomcat-docs/appdev/build.xml.txt,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- build.xml.txt     14 Feb 2002 07:06:36 -0000      1.5
  +++ build.xml.txt     9 Mar 2002 22:39:19 -0000       1.6
  @@ -18,7 +18,7 @@
                                image files), including the WEB-INF subdirectory
                                and its configuration file contents.
   
  -     $Id: build.xml.txt,v 1.5 2002/02/14 07:06:36 craigmcc Exp $
  +     $Id: build.xml.txt,v 1.6 2002/03/09 22:39:19 craigmcc Exp $
   -->
   
   
  @@ -144,6 +144,7 @@
   -->
   
     <taskdef name="install" classname="org.apache.catalina.ant.InstallTask"/>
  +  <taskdef name="list"    classname="org.apache.catalina.ant.ListTask"/>
     <taskdef name="reload"  classname="org.apache.catalina.ant.ReloadTask"/>
     <taskdef name="remove"  classname="org.apache.catalina.ant.RemoveTask"/>
   
  @@ -390,6 +391,27 @@
   
   
   
  +<!-- ====================== List Target =================================== -->
  +
  +<!--
  +
  +  The "list" target asks the specified Tomcat 4 installation to list the
  +  currently running web applications, either loaded at startup time or
  +  installed dynamically.  It is useful to determine whether or not the
  +  application you are currently developing has been installed.
  +
  +-->
  +
  +  <target name="list"
  +   description="List installed applications on servlet container">
  +
  +    <list    url="${manager.url}"
  +        username="${manager.username}"
  +        password="${manager.password}"/>
  +
  +  </target>
  +
  +
   <!-- ==================== Prepare Target ================================== -->
   
   <!--
  @@ -439,7 +461,7 @@
   
   -->
   
  -  <target name="reload"
  +  <target name="reload" depends="compile"
      description="Reload application on servlet container">
   
       <reload url="${manager.url}"
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to