That seems to have fixed the formatter type="xml" error on 1.3.1.

However, the report phase now does not run, even on Java 1.4.2 with Ant 1.7.0

On 03/04/2008, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Author: mbenson
>  Date: Thu Apr  3 06:58:44 2008
>  New Revision: 644319
>
>  URL: http://svn.apache.org/viewvc?rev=644319&view=rev
>  Log:
>  Ant w/ jdk 1.3
>
>  Modified:
>     commons/sandbox/functor/trunk/build.xml
>
>  Modified: commons/sandbox/functor/trunk/build.xml
>  URL: 
> http://svn.apache.org/viewvc/commons/sandbox/functor/trunk/build.xml?rev=644319&r1=644318&r2=644319&view=diff
>  
> ==============================================================================
>  --- commons/sandbox/functor/trunk/build.xml (original)
>  +++ commons/sandbox/functor/trunk/build.xml Thu Apr  3 06:58:44 2008
>  @@ -83,14 +83,30 @@
>
>   <!-- ========== Test Execution Defaults =================================== 
> -->
>
>  +  <available property="dom.available" classname="w3c.dom.Node" />
>  +
>  +  <fileset id="xmlLibs" dir="${ant.home}/lib">
>  +    <include name="xml-apis.jar" unless="dom.available" />
>  +    <include name="xercesImpl.jar" unless="dom.available" />
>  +  </fileset>
>
>    <!-- Construct unit test classpath -->
>    <path id="test.classpath">
>      <pathelement location="${build.home}/classes"/>
>      <pathelement location="${build.home}/test-classes"/>
>      <pathelement location="${test.home}"/>
>  +    <fileset refid="xmlLibs" />
>    </path>
>
>  +  <echo>test.classpath=${toString:test.classpath}</echo>
>  +
>  +  <condition property="junitReport" value="true">
>  +    <and>
>  +      <isset property="dom.available" />
>  +      <available 
> classname="org.apache.xalan.processor.TransformerFactoryImpl"/>
>  +    </and>
>  +  </condition>
>  +
>    <property name="test.entry"             
> value="org.apache.commons.functor.TestAll"/>
>
>    <property name="junit.fork"             value="true" />
>  @@ -196,7 +212,7 @@
>    </target>
>
>
>  -  <target name="run-reports">
>  +  <target name="run-reports" if="junitReport">
>        <junitreport todir="${build.home}/junit-reports">
>            <fileset dir="${build.home}/junit-reports/xml" 
> includes="TEST-*.xml" />
>            <report format="frames" todir="${build.home}/junit-reports" />
>
>
>

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

Reply via email to