Re: Ant test failures on Java 9

2018-03-01 Thread Stefan Bodewig
On 2018-03-01, Gintautas Grigelionis wrote:

> Build File: .../src/tests/antunit/taskdefs/copy-test.xml
> Tests run: 26, Failures: 0, Errors: 2, Time elapsed: 8,59 sec

Passes for me locally as well as on Jenkins

https://builds.apache.org/view/A-D/view/Ant/job/Ant-Build-Matrix-master-Linux/OS=xenial,jdk=JDK%201.9%20(latest)/lastCompletedBuild/testReport/

Stefan

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



Re: Ant test failures on Java 9

2018-02-28 Thread Jaikiran Pai

I just tried locally both with Java 8 and 9:

java version "9.0.1"
Java(TM) SE Runtime Environment (build 9.0.1+11)
Java HotSpot(TM) 64-Bit Server VM (build 9.0.1+11, mixed mode)


They pass for me:

[au:antunit] Tests run: 26, Failures: 0, Errors: 0, Time elapsed: 9.175 sec
[au:antunit] Target: testQuiet took 0.005 sec
[au:antunit] Target: testMissingFileUsingFileAttribute took 0.001 sec
[au:antunit] Target: testMappedResourcesMultipleFalse took 0.026 sec
[au:antunit] Target: testMissingFilesetRoot took 0.003 sec
[au:antunit] Target: testCopyOverReadOnlyFile took 2.04 sec
[au:antunit] Target: test-with-some-resources-mapped-away took 0.008 sec
[au:antunit] Target: testIncludeEmptyDirsDefaultsToTrue took 0.022 sec
[au:antunit] Target: testNotModifiedSelector took 0.066 sec
[au:antunit] Target: testResourceWithoutNameWithMergeMapper took 0.411 sec
[au:antunit] Target: testMappedResourcesMultipleTrue took 0.02 sec
[au:antunit] Target: testMappedResources took 0.009 sec
[au:antunit] Target: testFilteredCopyOverReadOnlyFile took 2.008 sec
[au:antunit] Target: testFilteredCopyOverReadOnlyFileWithOverwrite took 
0.005 sec

[au:antunit] Target: testForcedFilteredCopyOverReadOnlyFile took 2.013 sec
[au:antunit] Target: testCopyDoesntDeleteReadonlyTargetWhenCopyFails 
took 0.002 sec

[au:antunit] Target: testFailOnURLConnectionError took 0.003 sec
[au:antunit] Target: testForcedCopyOverReadOnlyFile took 2.009 sec
[au:antunit] Target: testCopyFileFlatten took 0.004 sec
[au:antunit] Target: testResourceWithoutName took 0.126 sec
[au:antunit] Target: testForcedCopyOverReadOnlyFileWithOverwrite took 
0.002 sec

[au:antunit] Target: testMissingFileUsingFilesetInclude took 0.002 sec
[au:antunit] Target: testMissingFileUsingFilesetFilename took 0.001 sec
[au:antunit] Target: testCopyFileInResourcesFlatten took 0.002 sec
[au:antunit] Target: testCopyWithResourceAndFile took 0.011 sec
[au:antunit] Target: testCopyOverReadOnlyFileWithOverwrite took 0.002 sec
[au:antunit] Target: testForcedFilteredCopyOverReadOnlyFileWithOverwrite 
took 0.002 sec


BUILD SUCCESSFUL
Total time: 25 seconds

-Jaikiran


On 01/03/18 1:05 PM, Gintautas Grigelionis wrote:

I see following in my builds against master

Build File: .../src/tests/antunit/taskdefs/copy-test.xml
Tests run: 26, Failures: 0, Errors: 2, Time elapsed: 8,59 sec
...
Target: test-with-some-resources-mapped-away  caused an ERROR
 at line 471, column 29
 Message: Can't copy a resource without a name if the mapper doesn't
provide one.
 took 0,005 sec
...
Target: testResourceWithoutName  caused an ERROR
 at line 89, column 29
 Message: Can't copy a resource without a name if the mapper doesn't
provide one.
 took 0,133 sec
...

Gintas




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