You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by st...@apache.org on 2003/01/17 02:12:43 UTC

cvs commit: xml-axis/java tcpmon.xml

stevel      2003/01/16 17:12:43

  Added:       java     tcpmon.xml
  Log:
  helper build file to run tcpmon, optionally building it. As ant doesnt spawn apps, the build file locks till it finishes, but at least you dont have to worry about classpath setup any more.
  
  Revision  Changes    Path
  1.1                  xml-axis/java/tcpmon.xml
  
  Index: tcpmon.xml
  ===================================================================
  <?xml version="1.0"?>
  <!DOCTYPE project [
          <!ENTITY properties SYSTEM "file:xmls/properties.xml">
          <!ENTITY paths  SYSTEM "file:xmls/path_refs.xml">
  ]>
  
  <project name="tcpmon" default="default" basedir=".">
      <!-- =================================================================== -->
      <description>
      build file to run the tcpmonitor application.
      by default the tool is run; the all task actually builds it first
      </description>
  
      &properties;
  
      <target name="run" description="run tcpmon" >
          <java
              classname="org.apache.axis.utils.tcpmon"
              fork="true"
              failonerror="true">
              <classpath>
                  <fileset dir="${build.lib}" includes="*.jar" />
              </classpath>
              </java>
  
      </target>
  
      <!--build by calling the default target on axis-->
      <target name="build" description="build axis" >
          <ant antfile="build.xml" inheritall="false" />
      </target>
  
      <target name="all" description="build and run tcpmon"
          depends="build,run" />
  
      <target name="default" description="run tcpmon" depends="run" />
  
  </project>