Buildfile: /Users/lemon/code/ant/build.xml

check-optional-packages:

prepare:

compile:
    [javac] Compiling 1 source file to /Users/lemon/code/ant/build/classes
    [javac] Ignoring source, target and bootclasspath as release has been set

compile-jdk9+:

build:
   [delete] Deleting directory /Users/lemon/code/ant/build/classes/org/apache/tools/ant/taskdefs/optional/junitlauncher/confined
    [javac] Compiling 11 source files to /Users/lemon/code/ant/build/classes
    [javac] Ignoring source, target and bootclasspath as release has been set
    [javac] Creating empty /Users/lemon/code/ant/build/classes/org/apache/tools/ant/taskdefs/optional/junitlauncher/confined/package-info.class
     [copy] Copying 2 files to /Users/lemon/code/ant/build/classes

compile-tests:
    [javac] Compiling 1 source file to /Users/lemon/code/ant/build/testcases
    [javac] Ignoring source, target and bootclasspath as release has been set
    [javac] Note: /Users/lemon/code/ant/src/tests/junit/org/apache/tools/ant/ProjectTest.java uses or overrides a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.

probe-offline:
Following redirect from http://www.apache.org/ to https://www.apache.org/

xml-check:

dump-sys-properties:

run-which:
WARNING: A terminally deprecated method in java.lang.System has been called
WARNING: System::setSecurityManager has been called by org.apache.tools.ant.types.Permissions (file:/usr/local/Cellar/ant/1.10.12/libexec/lib/ant.jar)
WARNING: Please consider reporting this to the maintainers of org.apache.tools.ant.types.Permissions
WARNING: System::setSecurityManager will be removed in a future release
    [which] #---- BEGIN: Which report
    [which] java.class.path=/usr/local/Cellar/ant/1.10.12/libexec/lib/ant-launcher.jar:/usr/local/share/ant:/usr/local/Cellar/ant/1.10.12/libexec/lib/bcel-6.5.0.jar:/usr/local/Cellar/ant/1.10.12/libexec/lib/ant-commons-net.jar:/usr/local/Cellar/ant/1.10.12/libexec/lib/ant-xz.jar:/usr/local/Cellar/ant/1.10.12/libexec/lib/ant-junit4.jar:/usr/local/Cellar/ant/1.10.12/libexec/lib/ant-jai.jar:/usr/local/Cellar/ant/1.10.12/libexec/lib/ant-apache-resolver.jar:/usr/local/Cellar/ant/1.10.12/libexec/lib/ant-jdepend.jar:/usr/local/Cellar/ant/1.10.12/libexec/lib/ant-apache-regexp.jar:/usr/local/Cellar/ant/1.10.12/libexec/lib/ant-apache-log4j.jar:/usr/local/Cellar/ant/1.10.12/libexec/lib/ant-javamail.jar:/usr/local/Cellar/ant/1.10.12/libexec/lib/ant-apache-bcel.jar:/usr/local/Cellar/ant/1.10.12/libexec/lib/ant.jar:/usr/local/Cellar/ant/1.10.12/libexec/lib/ant-netrexx.jar:/usr/local/Cellar/ant/1.10.12/libexec/lib/ant-swing.jar:/usr/local/Cellar/ant/1.10.12/libexec/lib/ant-jsch.jar:/usr/local/Cellar/ant/1.10.12/libexec/lib/ant-junitlauncher.jar:/usr/local/Cellar/ant/1.10.12/libexec/lib/ivy-2.5.0.jar:/usr/local/Cellar/ant/1.10.12/libexec/lib/ant-junit.jar:/usr/local/Cellar/ant/1.10.12/libexec/lib/ant-imageio.jar:/usr/local/Cellar/ant/1.10.12/libexec/lib/ant-launcher.jar:/usr/local/Cellar/ant/1.10.12/libexec/lib/ant-antlr.jar:/usr/local/Cellar/ant/1.10.12/libexec/lib/ant-testutil.jar:/usr/local/Cellar/ant/1.10.12/libexec/lib/ant-apache-oro.jar:/usr/local/Cellar/ant/1.10.12/libexec/lib/ant-jmf.jar:/usr/local/Cellar/ant/1.10.12/libexec/lib/ant-apache-xalan2.jar:/usr/local/Cellar/ant/1.10.12/libexec/lib/ant-apache-bsf.jar:/usr/local/Cellar/ant/1.10.12/libexec/lib/ant-commons-logging.jar
    [which] java.version=17.0.1
    [which] Which.version=Which.java:($Revision: 1.2 $) WhichJar.java:($Revision: 1.2 $)
    [which] java.vendor=Homebrew
    [which] java.runtime.name=OpenJDK Runtime Environment
    [which] file.encoding=UTF-8
    [which] os.name=Mac OS X
    [which] #----   END: Which report

dump-info:

test-init:

junit-single-test-only:
    [junit] WARNING: multiple versions of ant detected in path for junit
    [junit]          file:/Users/lemon/code/ant/build/classes/org/apache/tools/ant/Project.class
    [junit]      and jar:file:/usr/local/Cellar/ant/1.10.12/libexec/lib/ant.jar!/org/apache/tools/ant/Project.class
    [junit] Testsuite: org.apache.tools.ant.ProjectTest
    [junit] Tests run: 12, Failures: 1, Errors: 0, Skipped: 1, Time elapsed: 5.638 sec
    [junit] ------------- Standard Output ---------------
    [junit] bar
    [junit] ------------- ---------------- ---------------
    [junit] ------------- Standard Error -----------------
    [junit] bar
    [junit] ------------- ---------------- ---------------
    [junit]
    [junit] Testcase: testResolveFileWithDriveLetter took 0.033 sec
    [junit] 	SKIPPED: Not DOS or Netware
    [junit] Testcase: testResolveFileWithDriveLetter took 0.035 sec
    [junit] Testcase: testInputHandler took 0.005 sec
    [junit] 	FAILED
    [junit] expected null, but was:<org.apache.tools.ant.input.DefaultInputHandler@61dc03ce>
    [junit] junit.framework.AssertionFailedError: expected null, but was:<org.apache.tools.ant.input.DefaultInputHandler@61dc03ce>
    [junit] 	at org.junit.Assert.fail(Assert.java:88)
    [junit] 	at org.junit.Assert.failNotNull(Assert.java:755)
    [junit] 	at org.junit.Assert.assertNull(Assert.java:737)
    [junit] 	at org.junit.Assert.assertNull(Assert.java:747)
    [junit] 	at org.apache.tools.ant.ProjectTest.testInputHandler(ProjectTest.java:254)
    [junit] 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [junit] 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
    [junit] 	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    [junit] 	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
    [junit] 	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
    [junit] 	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
    [junit] 	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
    [junit] 	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
    [junit] 	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
    [junit] 	at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48)
    [junit] 	at org.junit.rules.ExpectedException$ExpectedExceptionStatement.evaluate(ExpectedException.java:239)
    [junit] 	at org.junit.rules.RunRules.evaluate(RunRules.java:20)
    [junit] 	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
    [junit] 	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
    [junit] 	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
    [junit] 	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
    [junit] 	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
    [junit] 	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
    [junit] 	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
    [junit] 	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
    [junit] 	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
    [junit] 	at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:38)
    [junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:535)
    [junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1197)
    [junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1042)
    [junit]
    [junit] Testcase: testAddTaskDefinition took 0.182 sec
    [junit] Testcase: testTaskDefinitionContainsKey took 0.003 sec
    [junit] Testcase: testDuplicateTargets took 0.043 sec
    [junit] Testcase: testResolveRelativeFile took 0.001 sec
    [junit] Testcase: testOutputDuringMessageLoggedIsSwallowed took 0.003 sec
    [junit] Testcase: testDataTypes took 0.161 sec
    [junit] Testcase: testDuplicateTargetsImport took 0.088 sec
    [junit] Testcase: testNullThrowableMessageLog took 0.001 sec
    [junit] Testcase: testTaskDefinitionContainsValue took 0.001 sec
    [junit] Testcase: testResolveFile took 0.001 sec
    [junit] Test org.apache.tools.ant.ProjectTest FAILED

junit-single-test:

BUILD SUCCESSFUL
Total time: 14 seconds
