You are viewing a plain text version of this content. The canonical link for it is here.
Posted to watchdog-dev@jakarta.apache.org by mo...@apache.org on 2002/07/29 18:28:57 UTC

cvs commit: jakarta-watchdog-4.0/latka-scratch build.properties.sample build.xml runLatka.bat.sample

morgand     2002/07/29 09:28:57

  Added:       latka-scratch build.properties.sample build.xml
                        runLatka.bat.sample
  Log:
  build script, property sample and run script sample
  
  Revision  Changes    Path
  1.1                  jakarta-watchdog-4.0/latka-scratch/build.properties.sample
  
  Index: build.properties.sample
  ===================================================================
  lib=/lib/maven-repo
  jdom.jar=${lib}/jdom.jar
  latka.jar=/cvs/jakarta/jakarta-commons/latka/target/jakarta-commons-latka-1.0-dev.jar
  regexp.jar=${lib}/jakarta-regexp.jar
  jaxp.jar=/lib/jaxp-1.1/jaxp.jar
  
  
  
  1.1                  jakarta-watchdog-4.0/latka-scratch/build.xml
  
  Index: build.xml
  ===================================================================
  <project name="Build Watchdog Test Suite" default="compile" basedir=".">
  
    <!-- Load user property definition overrides -->
    <property file="build.properties"/>
    <property file="${user.home}/build.properties"/>
    
    <property name="watchdog.build"      value="build"/>
    
    <!-- Establish compilation classpath -->
    <path id="compile.classpath">
      <pathelement location="${latka.jar}"/>
      <pathelement location="${jdom.jar}"/>
      <pathelement location="${regexp.jar}"/>
      <pathelement location="${jaxp.jar}"/>
    </path>
  
    <!-- ===================== Prepare Directories ========================= -->
    <target name="prepare">
  
      <mkdir dir="${watchdog.build}"/>
      <mkdir dir="${watchdog.build}/classes"/>
  
    </target>
  
    <!-- ======================== Compile Classes ========================== -->
    <target name="compile" depends="prepare"
     description="Compile all classes">
  
      <!-- Clients -->
      <javac srcdir="src/java"
            destdir="${watchdog.build}/classes">
        <classpath refid="compile.classpath"/>
      </javac>
  
    </target>
  
  
  </project>
  
  
  
  1.1                  jakarta-watchdog-4.0/latka-scratch/runLatka.bat.sample
  
  Index: runLatka.bat.sample
  ===================================================================
  java -classpath "build/classes;/cvs/jakarta/jakarta-commons/latka/target/jakarta-commons-latka-1.0-dev.jar;/lib/maven-repo/log4j.jar;src/resources;/lib/maven-repo/jdom.jar;/lib/maven-repo/jakarta-regexp.jar;/lib/maven-repo/commons-httpclient.jar" org.apache.watchdog.Watchdog
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>