ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Henri Gomez <hgo...@apache.org>
Subject Re: iSeries support
Date Thu, 07 Nov 2002 14:33:28 GMT
Stefan Bodewig wrote:
> On Thu, 07 Nov 2002, Henri Gomez <hgomez@apache.org> wrote:
> 
> 
>>How do I run the tests ?
> 
> 
> ./build.sh test

ok

> You need JUnit and there is a recent version of it in Ant's CVS.

ok (conducting first the test on linux give me some errors in 
XmlValidate of about.xml:

exec => -classpath 
bootstrap/lib/optional.jar:bootstrap/lib/nodeps.jar:bootstrap/lib/ant-xslp.jar:bootstrap/lib/ant-xalan2.jar:bootstrap/lib/ant-xalan1.jar:bootstrap/lib/ant-weblogic.jar:bootstrap/lib/ant-vaj.jar:bootstrap/lib/ant-trax.jar:bootstrap/lib/ant-swing.jar:bootstrap/lib/ant-stylebook.jar:bootstrap/lib/ant-starteam.jar:bootstrap/lib/ant-oro.jar:bootstrap/lib/ant-netrexx.jar:bootstrap/lib/ant-netcomp.jar:bootstrap/lib/ant-log4j.jar:bootstrap/lib/ant-junit.jar:bootstrap/lib/ant-jmf.jar:bootstrap/lib/ant-jdepend.jar:bootstrap/lib/ant-javamail.jar:bootstrap/lib/ant.jar:bootstrap/lib/ant-jakarta-regexp.jar:bootstrap/lib/ant-jai.jar:bootstrap/lib/ant-icontract.jar:bootstrap/lib/ant-commons-logging.jar:bootstrap/lib/ant-bsf.jar:bootstrap/lib/ant-bcel.jar:bootstrap/lib/ant-apache-resolver.jar:bootstrap/lib/ant-antlr.jar:lib/xercesImpl.jar:lib/xml-apis.jar:bootstrap/lib/ant.jar:lib/optional/junit.jar::/home/root:/opt/IBMJava2-131/lib/tools.jar

-Dant.home=bootstrap org.apache.tools.ant.Main -emacs test
Buildfile: build.xml

check_for_optional_packages:

xml-check:

dump-sys-properties:
java.vm.info=J2RE 1.3.1 IBM build cxia32131-20020622 (JIT enabled: jitc)
java.vm.name=Classic VM
java.vm.vendor=IBM Corporation
java.vm.version=1.3.1
os.arch=x86
os.name=Linux
os.version=2.4.9-34
file.encoding=ISO-8859-1
user.language=en

run-which:

dump-info:

prepare:

build:
Copying 2 files to /home/root/jakarta-ant/build/classes

compile-tests:

probe-offline:

run-tests:
Testsuite: org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunnerTest
Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0.047 sec

Testsuite: org.apache.tools.ant.taskdefs.optional.junit.JUnitClassLoaderTest
Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.001 sec

Testsuite: 
org.apache.tools.ant.taskdefs.optional.junit.JUnitVersionHelperTest
Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 0.013 sec

Testsuite: org.apache.tools.ant.taskdefs.optional.PropertyFileTest
Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.346 sec

Testsuite: org.apache.tools.ant.taskdefs.optional.depend.DependTest
Tests run: 9, Failures: 0, Errors: 0, Time elapsed: 23.747 sec

Testsuite: org.apache.tools.ant.taskdefs.optional.EchoPropertiesTest
Tests run: 12, Failures: 0, Errors: 0, Time elapsed: 2.065 sec

------------- Standard Output ---------------
-- listing properties --
java.assistive=ON
java.runtime.name=Java(TM) 2 Runtime Environment, Stand...
sun.boot.library.path=/opt/IBMJava2-131/jre/bin
java.vm.version=1.3.1
ant.java.version=1.3
java.vm.vendor=IBM Corporation
java.vendor.url=http://www.ibm.com/
path.separator=:
java.vm.name=Classic VM
file.encoding.pkg=sun.io
java.vm.specification.name=Java Virtual Machine Specification
user.dir=/home/root/jakarta-ant
java.runtime.version=1.3.1
java.fullversion=J2RE 1.3.1 IBM build cxia32131-200206...
java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment
basedir=/home/root/jakarta-ant/src/etc/testca...
os.arch=x86
java.io.tmpdir=/tmp
line.separator=

java.vm.specification.vendor=Sun Microsystems Inc.
java.awt.fonts=
os.name=Linux
ant.home=bootstrap
ant.project.name=test
java.library.path=/opt/IBMJava2-131/jre/bin:/opt/IBMJav...
test.property=isSet
java.specification.name=Java Platform API Specification
java.class.version=46.0
invokedviajava=
os.version=2.4.9-34
ant.file=/home/root/jakarta-ant/src/etc/testca...
user.home=/home/root
b.set=false
user.timezone=Europe/Paris
java.awt.printerjob=sun.awt.motif.PSPrinterJob
java.specification.version=1.3
build.tests=build/testcases
file.encoding=ISO-8859-1
tests-classpath.value=/home/root/jakarta-ant/build/classes:...
user.name=root
java.class.path=bootstrap/lib/optional.jar:bootstrap/...
java.vm.specification.version=1.0
java.home=/opt/IBMJava2-131/jre
java.specification.vendor=Sun Microsystems Inc.
user.language=en
java.vm.info=J2RE 1.3.1 IBM build cxia32131-200206...
java.version=1.3.1
java.ext.dirs=/opt/IBMJava2-131/jre/lib/ext
sun.boot.class.path=/opt/IBMJava2-131/jre/lib/rt.jar:/opt...
java.vendor=IBM Corporation
a.set=true
file.separator=/
java.vendor.url.bug=
java.compiler=jitc
sun.io.unicode.encoding=UnicodeLittle
user.region=US
-- listing properties --
java.assistive=ON
java.runtime.name=Java(TM) 2 Runtime Environment, Stand...
sun.boot.library.path=/opt/IBMJava2-131/jre/bin
java.vm.version=1.3.1
ant.java.version=1.3
java.vm.vendor=IBM Corporation
java.vendor.url=http://www.ibm.com/
path.separator=:
java.vm.name=Classic VM
file.encoding.pkg=sun.io
java.vm.specification.name=Java Virtual Machine Specification
user.dir=/home/root/jakarta-ant
java.runtime.version=1.3.1
java.fullversion=J2RE 1.3.1 IBM build cxia32131-200206...
java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment
basedir=/home/root/jakarta-ant/src/etc/testca...
os.arch=x86
java.io.tmpdir=/tmp
line.separator=

java.vm.specification.vendor=Sun Microsystems Inc.
java.awt.fonts=
os.name=Linux
ant.home=bootstrap
ant.project.name=test
java.library.path=/opt/IBMJava2-131/jre/bin:/opt/IBMJav...
test.property=isSet
java.specification.name=Java Platform API Specification
java.class.version=46.0
invokedviajava=
os.version=2.4.9-34
ant.file=/home/root/jakarta-ant/src/etc/testca...
user.home=/home/root
b.set=false
user.timezone=Europe/Paris
java.awt.printerjob=sun.awt.motif.PSPrinterJob
java.specification.version=1.3
build.tests=build/testcases
file.encoding=ISO-8859-1
tests-classpath.value=/home/root/jakarta-ant/build/classes:...
user.name=root
java.class.path=bootstrap/lib/optional.jar:bootstrap/...
java.vm.specification.version=1.0
java.home=/opt/IBMJava2-131/jre
java.specification.vendor=Sun Microsystems Inc.
user.language=en
java.vm.info=J2RE 1.3.1 IBM build cxia32131-200206...
java.version=1.3.1
java.ext.dirs=/opt/IBMJava2-131/jre/lib/ext
sun.boot.class.path=/opt/IBMJava2-131/jre/lib/rt.jar:/opt...
java.vendor=IBM Corporation
a.set=true
file.separator=/
java.vendor.url.bug=
java.compiler=jitc
sun.io.unicode.encoding=UnicodeLittle
user.region=US
-- listing properties --
java.assistive=ON
java.runtime.name=Java(TM) 2 Runtime Environment, Stand...
sun.boot.library.path=/opt/IBMJava2-131/jre/bin
java.vm.version=1.3.1
ant.java.version=1.3
java.vm.vendor=IBM Corporation
java.vendor.url=http://www.ibm.com/
path.separator=:
java.vm.name=Classic VM
file.encoding.pkg=sun.io
java.vm.specification.name=Java Virtual Machine Specification
user.dir=/home/root/jakarta-ant
java.runtime.version=1.3.1
java.fullversion=J2RE 1.3.1 IBM build cxia32131-200206...
java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment
basedir=/home/root/jakarta-ant/src/etc/testca...
os.arch=x86
java.io.tmpdir=/tmp
line.separator=

java.vm.specification.vendor=Sun Microsystems Inc.
java.awt.fonts=
os.name=Linux
ant.home=bootstrap
ant.project.name=test
java.library.path=/opt/IBMJava2-131/jre/bin:/opt/IBMJav...
test.property=isSet
java.specification.name=Java Platform API Specification
java.class.version=46.0
invokedviajava=
os.version=2.4.9-34
ant.file=/home/root/jakarta-ant/src/etc/testca...
user.home=/home/root
b.set=false
user.timezone=Europe/Paris
java.awt.printerjob=sun.awt.motif.PSPrinterJob
java.specification.version=1.3
build.tests=build/testcases
file.encoding=ISO-8859-1
tests-classpath.value=/home/root/jakarta-ant/build/classes:...
user.name=root
java.class.path=bootstrap/lib/optional.jar:bootstrap/...
java.vm.specification.version=1.0
java.home=/opt/IBMJava2-131/jre
java.specification.vendor=Sun Microsystems Inc.
user.language=en
java.vm.info=J2RE 1.3.1 IBM build cxia32131-200206...
java.version=1.3.1
java.ext.dirs=/opt/IBMJava2-131/jre/lib/ext
sun.boot.class.path=/opt/IBMJava2-131/jre/lib/rt.jar:/opt...
java.vendor=IBM Corporation
a.set=true
file.separator=/
java.vendor.url.bug=
java.compiler=jitc
sun.io.unicode.encoding=UnicodeLittle
user.region=US
------------- ---------------- ---------------
Testsuite: org.apache.tools.ant.taskdefs.optional.XmlValidateTest
Tests run: 7, Failures: 0, Errors: 5, Time elapsed: 1.976 sec

Testcase: 
testXmlCatalogNested(org.apache.tools.ant.taskdefs.optional.XmlValidateTest): 
Caused an ERROR
Could not validate document 
/home/root/jakarta-ant/src/etc/testcases/taskdefs/optional/xml/about.xml
file:/home/root/jakarta-ant/src/etc/testcases/taskdefs/optional/xmlvalidate.xml:29: 
Could not validate document 
/home/root/jakarta-ant/src/etc/testcases/taskdefs/optional/xml/about.xml
	at 
org.apache.tools.ant.taskdefs.optional.XMLValidateTask.doValidate(XMLValidateTask.java:416)
	at 
org.apache.tools.ant.taskdefs.optional.XMLValidateTask.execute(XMLValidateTask.java:292)
	at org.apache.tools.ant.Task.perform(Task.java:348)
	at org.apache.tools.ant.Target.execute(Target.java:309)
	at org.apache.tools.ant.Target.performTasks(Target.java:336)
	at org.apache.tools.ant.Project.executeTarget(Project.java:1331)
	at org.apache.tools.ant.BuildFileTest.executeTarget(BuildFileTest.java:254)
	at 
org.apache.tools.ant.taskdefs.optional.XmlValidateTest.testXmlCatalogNested(XmlValidateTest.java:139)
	at java.lang.reflect.Method.invoke(Native Method)
	at junit.framework.TestCase.runTest(TestCase.java:154)
	at junit.framework.TestCase.runBare(TestCase.java:127)
	at junit.framework.TestResult$1.protect(TestResult.java:106)
	at junit.framework.TestResult.runProtected(TestResult.java:124)
	at junit.framework.TestResult.run(TestResult.java:109)
	at junit.framework.TestCase.run(TestCase.java:118)
	at junit.framework.TestSuite.runTest(TestSuite.java:208)
	at junit.framework.TestSuite.run(TestSuite.java:203)

....


--
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