You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by mb...@apache.org on 2008/04/03 15:58:44 UTC
svn commit: r644319 - /commons/sandbox/functor/trunk/build.xml
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" />
Re: svn commit: r644319 - /commons/sandbox/functor/trunk/build.xml
Posted by Matt Benson <gu...@yahoo.com>.
--- sebb <se...@gmail.com> wrote:
> On 03/04/2008, Matt Benson <gu...@yahoo.com>
> wrote:
> >
> > --- sebb <se...@gmail.com> wrote:
> >
> >
> > > On 03/04/2008, Matt Benson
> <gu...@yahoo.com>
> > > wrote:
> > > >
> > > > --- Stefan Bodewig <bo...@apache.org>
> wrote:
> > > >
> > > > > On Thu, 03 Apr 2008, <mb...@apache.org>
> > > wrote:
> > > > >
> > > > > > + <available property="dom.available"
> > > > > classname="w3c.dom.Node" />
> > > > >
> > > > > I think you mean org.w3c.dom.Node (missing
> > > "org.").
> > > >
> > > >
> > > > Yeah, that and a little more BS. I've almost
> got
> > > it
> > > > now... but thanks! :)
> > > >
> > >
> > > The report phase is now working on Java 1.4.
> > >
> > > Still some problems with Java 1.3.1 - I think
> it may
> > > depend on having
> > > the correct xalan version available.
> >
> >
> > Sorry, Seb--I meant to explain that: you have to
> make
> > sure your xml-apis are compatible with the xalan
> you
> > drop in. Specifically, org.w3c.dom.TypeInfo was
> the
> > class that was missing before I upgraded the
> xml-apis
> > in my Ant 1.6.5 installation. I presume you
> could
> > probably locate an earlier Xalan that was
> compatible
> > with the xml-apis that shipped with 1.6.5, but
> that's
> > only a guess.
> >
>
> Just tried with xalan 2.6.0 (which seemed to be of
> roughly the correct
> vintage) and it works.
>
Thanks for running that down. The universe being the
place that it is I'm sure it would have come up on
user@ant.a.o next week. ;)
-Matt
> >
> > -Matt
> >
> > >
> > > > -Matt
> > > >
> > > >
> > > > >
> > > > > Stefan
> > > > >
> > > > >
> > > >
> > >
> >
>
---------------------------------------------------------------------
> > > > > 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
> > > >
> > > >
> > >
> > >
> >
>
---------------------------------------------------------------------
> > > 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
> >
> >
>
>
---------------------------------------------------------------------
> 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
Re: svn commit: r644319 - /commons/sandbox/functor/trunk/build.xml
Posted by sebb <se...@gmail.com>.
On 03/04/2008, Matt Benson <gu...@yahoo.com> wrote:
>
> --- sebb <se...@gmail.com> wrote:
>
>
> > On 03/04/2008, Matt Benson <gu...@yahoo.com>
> > wrote:
> > >
> > > --- Stefan Bodewig <bo...@apache.org> wrote:
> > >
> > > > On Thu, 03 Apr 2008, <mb...@apache.org>
> > wrote:
> > > >
> > > > > + <available property="dom.available"
> > > > classname="w3c.dom.Node" />
> > > >
> > > > I think you mean org.w3c.dom.Node (missing
> > "org.").
> > >
> > >
> > > Yeah, that and a little more BS. I've almost got
> > it
> > > now... but thanks! :)
> > >
> >
> > The report phase is now working on Java 1.4.
> >
> > Still some problems with Java 1.3.1 - I think it may
> > depend on having
> > the correct xalan version available.
>
>
> Sorry, Seb--I meant to explain that: you have to make
> sure your xml-apis are compatible with the xalan you
> drop in. Specifically, org.w3c.dom.TypeInfo was the
> class that was missing before I upgraded the xml-apis
> in my Ant 1.6.5 installation. I presume you could
> probably locate an earlier Xalan that was compatible
> with the xml-apis that shipped with 1.6.5, but that's
> only a guess.
>
Just tried with xalan 2.6.0 (which seemed to be of roughly the correct
vintage) and it works.
>
> -Matt
>
> >
> > > -Matt
> > >
> > >
> > > >
> > > > Stefan
> > > >
> > > >
> > >
> >
> ---------------------------------------------------------------------
> > > > 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
> > >
> > >
> >
> >
> ---------------------------------------------------------------------
> > 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
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org
Re: svn commit: r644319 - /commons/sandbox/functor/trunk/build.xml
Posted by Matt Benson <gu...@yahoo.com>.
--- sebb <se...@gmail.com> wrote:
> On 03/04/2008, Matt Benson <gu...@yahoo.com>
> wrote:
> >
> > --- Stefan Bodewig <bo...@apache.org> wrote:
> >
> > > On Thu, 03 Apr 2008, <mb...@apache.org>
> wrote:
> > >
> > > > + <available property="dom.available"
> > > classname="w3c.dom.Node" />
> > >
> > > I think you mean org.w3c.dom.Node (missing
> "org.").
> >
> >
> > Yeah, that and a little more BS. I've almost got
> it
> > now... but thanks! :)
> >
>
> The report phase is now working on Java 1.4.
>
> Still some problems with Java 1.3.1 - I think it may
> depend on having
> the correct xalan version available.
Sorry, Seb--I meant to explain that: you have to make
sure your xml-apis are compatible with the xalan you
drop in. Specifically, org.w3c.dom.TypeInfo was the
class that was missing before I upgraded the xml-apis
in my Ant 1.6.5 installation. I presume you could
probably locate an earlier Xalan that was compatible
with the xml-apis that shipped with 1.6.5, but that's
only a guess.
-Matt
>
> > -Matt
> >
> >
> > >
> > > Stefan
> > >
> > >
> >
>
---------------------------------------------------------------------
> > > 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
> >
> >
>
>
---------------------------------------------------------------------
> 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
Re: svn commit: r644319 - /commons/sandbox/functor/trunk/build.xml
Posted by sebb <se...@gmail.com>.
On 03/04/2008, Matt Benson <gu...@yahoo.com> wrote:
>
> --- Stefan Bodewig <bo...@apache.org> wrote:
>
> > On Thu, 03 Apr 2008, <mb...@apache.org> wrote:
> >
> > > + <available property="dom.available"
> > classname="w3c.dom.Node" />
> >
> > I think you mean org.w3c.dom.Node (missing "org.").
>
>
> Yeah, that and a little more BS. I've almost got it
> now... but thanks! :)
>
The report phase is now working on Java 1.4.
Still some problems with Java 1.3.1 - I think it may depend on having
the correct xalan version available.
> -Matt
>
>
> >
> > Stefan
> >
> >
> ---------------------------------------------------------------------
> > 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
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org
Re: svn commit: r644319 - /commons/sandbox/functor/trunk/build.xml
Posted by Matt Benson <gu...@yahoo.com>.
--- Stefan Bodewig <bo...@apache.org> wrote:
> On Thu, 03 Apr 2008, <mb...@apache.org> wrote:
>
> > + <available property="dom.available"
> classname="w3c.dom.Node" />
>
> I think you mean org.w3c.dom.Node (missing "org.").
Yeah, that and a little more BS. I've almost got it
now... but thanks! :)
-Matt
>
> Stefan
>
>
---------------------------------------------------------------------
> 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
Re: svn commit: r644319 - /commons/sandbox/functor/trunk/build.xml
Posted by Stefan Bodewig <bo...@apache.org>.
On Thu, 03 Apr 2008, <mb...@apache.org> wrote:
> + <available property="dom.available" classname="w3c.dom.Node" />
I think you mean org.w3c.dom.Node (missing "org.").
Stefan
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org
Re: svn commit: r644319 - /commons/sandbox/functor/trunk/build.xml
Posted by Matt Benson <gu...@yahoo.com>.
--- sebb <se...@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
> <mb...@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
Re: svn commit: r644319 - /commons/sandbox/functor/trunk/build.xml
Posted by sebb <se...@gmail.com>.
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, mbenson@apache.org <mb...@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