commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Benson <gudnabr...@yahoo.com>
Subject Re: svn commit: r644319 - /commons/sandbox/functor/trunk/build.xml
Date Thu, 03 Apr 2008 14:29:36 GMT

--- sebb <sebbaz@gmail.com> wrote:

> 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

Even after adding Xalan to the mix?  :|

-Matt

> 
> On 03/04/2008, mbenson@apache.org
> <mbenson@apache.org> 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:
> dev-unsubscribe@commons.apache.org
> For additional commands, e-mail:
> dev-help@commons.apache.org
> 
> 



      ____________________________________________________________________________________
You rock. That's why Blockbuster's offering you one month of Blockbuster Total Access, No
Cost.  
http://tc.deals.yahoo.com/tc/blockbuster/text5.com

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message