ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Jan.Mate...@rzf.fin-nrw.de>
Subject AW: AW: ant java versions
Date Wed, 16 Jan 2008 08:26:57 GMT
> > Strange that there are deprecated warnings even on 1.3 ...
> > But the build works :)
> 
> I'm pretty sure that the tests don't though :(

Java 1.3 ...
build ...

build test

[junit] Testcase:
testHasErrorInCase(org.apache.tools.ant.util.FileUtilsTest):      FAILED
[junit] null
[junit] junit.framework.AssertionFailedError
[junit]     at junit.framework.Assert.fail(Assert.java:47)
[junit]     at junit.framework.Assert.assertTrue(Assert.java:20)
[junit]     at junit.framework.Assert.assertTrue(Assert.java:27)
[junit]     at
org.apache.tools.ant.util.FileUtilsTest.testHasErrorInCase(FileUtilsTest
.java:582)


[au:antunit] Build File:
C:\ant\svn-repository\ant\core\src\tests\antunit\taskdefs\echoxml-test.x
ml
[au:antunit] Tests run: 4, Failures: 0, Errors: 1, Time elapsed: 0,047
sec
[au:antunit] Target: test-ns  caused an ERROR
[au:antunit]    at line 47, column 72
[au:antunit]    Message: Problem: failed to create task or type
antlib:org.apache.ant.antunit:assertResourceContains
[au:antunit] Cause: The name is undefined.
[au:antunit] Action: Check the spelling.
[au:antunit] Action: Check that any custom tasks/types have been
declared.
[au:antunit] Action: Check that any <presetdef>/<macrodef> declarations
have taken place.
[au:antunit]
[au:antunit] The definitions in the namespace
antlib:org.apache.ant.antunit are:
[au:antunit]     antunit
[au:antunit]     assertPropertySet
[au:antunit]     assertLogContains
[au:antunit]     assertPropertyEquals
[au:antunit]     logcapturer
[au:antunit]     logcontent
[au:antunit]     logcontains
[au:antunit]     assertDestIsUptodate
[au:antunit]     assertFilesMatch
[au:antunit]     assertFalse
[au:antunit]     assertFileExists
[au:antunit]     assertFileDoesntExist
[au:antunit]     assertMatches
[au:antunit]     expectfailure
[au:antunit]     assertFilesDiffer
[au:antunit]     assertEquals
[au:antunit]     xmllistener
[au:antunit]     assertPropertyContains
[au:antunit]     assertDestIsOutofdate
[au:antunit]     assertReferenceIsType
[au:antunit]     assertLogDoesntContain
[au:antunit]     assertReferenceSet
[au:antunit]     plainlistener
[au:antunit]     assertTrue
[au:antunit]
[au:antunit]    took 0,016 sec


[au:antunit] Build File:
C:\ant\svn-repository\ant\core\src\tests\antunit\taskdefs\optional\scrip
t\scriptdef-test.xml
[au:antunit] Tests run: 6, Failures: 0, Errors: 6, Time elapsed: 0,047
sec
[au:antunit] Target: testMixedResources  caused an ERROR
[au:antunit]    at line 78, column 9
[au:antunit]    Message: Unable to load a script engine manager
(org.apache.bsf.BSFManager or javax.script.ScriptEngineManager)
[au:antunit]    took 0,015 sec
[au:antunit] Target: testInline  caused an ERROR
[au:antunit]    at line 39, column 9
[au:antunit]    Message: Unable to load a script engine manager
(org.apache.bsf.BSFManager or javax.script.ScriptEngineManager)
[au:antunit]    took 0 sec
[au:antunit] Target: testStringResourceRef  caused an ERROR
[au:antunit]    at line 51, column 9
[au:antunit]    Message: Unable to load a script engine manager
(org.apache.bsf.BSFManager or javax.script.ScriptEngineManager)
[au:antunit]    took 0 sec
[au:antunit] Target: testPropertyResource  caused an ERROR
[au:antunit]    at line 70, column 9
[au:antunit]    Message: Unable to load a script engine manager
(org.apache.bsf.BSFManager or javax.script.ScriptEngineManager)
[au:antunit]    took 0 sec
[au:antunit] Target: testStringResource  caused an ERROR
[au:antunit]    at line 44, column 9
[au:antunit]    Message: Unable to load a script engine manager
(org.apache.bsf.BSFManager or javax.script.ScriptEngineManager)
[au:antunit]    took 0 sec
[au:antunit] Target: testStringResourceInline  caused an ERROR
[au:antunit]    at line 59, column 9
[au:antunit]    Message: Unable to load a script engine manager
(org.apache.bsf.BSFManager or javax.script.ScriptEngineManager)
[au:antunit]    took 0 sec
[au:antunit] Build File:
C:\ant\svn-repository\ant\core\src\tests\antunit\taskdefs\optional\unix\
symlink-test.xml
[au:antunit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0,031
sec


[au:antunit] Build File:
C:\ant\svn-repository\ant\core\src\tests\antunit\taskdefs\propertyhelper
-test.xml
[au:antunit] Tests run: 0, Failures: 0, Errors: 6, Time elapsed: 0,031
sec
[au:antunit]  caused an ERROR
[au:antunit]    at line 6, column 48
[au:antunit]    Message: Unable to load the BSF script engine manager
(org.apache.bsf.BSFManager)
[au:antunit]    took 0,016 sec
[au:antunit]  caused an ERROR
[au:antunit]    at line 6, column 48
[au:antunit]    Message: Unable to load the BSF script engine manager
(org.apache.bsf.BSFManager)
[au:antunit]    took 0,032 sec
[au:antunit]  caused an ERROR
[au:antunit]    at line 6, column 48
[au:antunit]    Message: Unable to load the BSF script engine manager
(org.apache.bsf.BSFManager)
[au:antunit]    took 0,032 sec
[au:antunit]  caused an ERROR
[au:antunit]    at line 6, column 48
[au:antunit]    Message: Unable to load the BSF script engine manager
(org.apache.bsf.BSFManager)
[au:antunit]    took 0,047 sec
[au:antunit]  caused an ERROR
[au:antunit]    at line 6, column 48
[au:antunit]    Message: Unable to load the BSF script engine manager
(org.apache.bsf.BSFManager)
[au:antunit]    took 0,047 sec
[au:antunit]  caused an ERROR
[au:antunit]    at line 6, column 48
[au:antunit]    Message: Unable to load the BSF script engine manager
(org.apache.bsf.BSFManager)
[au:antunit]    took 0,047 sec


[au:antunit] Build File:
C:\ant\svn-repository\ant\core\src\tests\antunit\types\resources\concat-
resource-test.xml
[au:antunit] Tests run: 7, Failures: 1, Errors: 0, Time elapsed: 0,047
sec
[au:antunit] Target: testFixLastLineResources took 0,016 sec
[au:antunit] Target: testReplacement took 0 sec
[au:antunit] Target: testCountEquals1 took 0 sec
[au:antunit] Target: testFiltering took 0,015 sec
[au:antunit] Target: testResources took 0 sec
[au:antunit] Target: testReference took 0 sec
[au:antunit] Target: testEncoding  FAILED
[au:antunit]    at line 55, column 20
[au:antunit]    Message: Assertion failed
[au:antunit]    took 0 sec




Jan

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


Mime
View raw message