ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject cvs commit: jakarta-ant/src/etc/testcases/taskdefs java.xml
Date Sun, 10 Feb 2002 22:30:32 GMT
stevel      02/02/10 14:30:32

  Added:       src/etc/testcases/taskdefs java.xml
  Log:
  java task test build file
  
  Revision  Changes    Path
  1.1                  jakarta-ant/src/etc/testcases/taskdefs/java.xml
  
  Index: java.xml
  ===================================================================
  <?xml version="1.0"?>
  
  <project name="java-test" basedir="." default="">
  
    <property name="app" 
      value="org.apache.tools.ant.taskdefs.JavaTest$$EntryPoint" />
    
    <path id="test.classpath">
      <pathelement location="${build.tests}"/>
    </path>
    
    <target name="noclassname">
      <java/>
    </target>
  
    <target name="jarNoFork">
      <java jar="test.jar" fork="false"/>
    </target>  
    
    
    <target name="jarAndClassname">
      <java jar="test.jar" classname="${app}" />
    </target>
    
    <target name="ClassnameAndjar">
      <java classname="${app}" jar="test.jar"  />
    </target>  
    
    <target name="run">
      <fail unless="tests-classpath.value" /> 
      <java classname="${app}"
        classpath="${tests-classpath.value}"/>
    </target>
  
    <target name="run-fail">
      <java classname="${app}" 
        classpath="tests-classpath.value"
        >
          <arg value="-1"/>
      </java>
    </target>
  
    <target name="run-fail-foe">
      <java classname="${app}"
          classpath="tests-classpath.value"
          failonerror="true">
          <arg value="-1"/>
      </java>
    </target>
  
    <target name="run-fail-foe-fork">
      <java classname="${app}"
          classpath="tests-classpath.value"
          failonerror="true"
          fork="true">
          <arg value="-1"/>
      </java>
    </target>
  
    <target name="runExpectNoFail">
      <java classname="${app}"
          classpath="tests-classpath.value"
          failonerror="true">
          <arg value="-1"/>
      </java>
    </target>
  
  </project>
  
  
  

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message