You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@creadur.apache.org by "Philipp Ottlinger (JIRA)" <ji...@apache.org> on 2018/10/03 19:56:00 UTC
[jira] [Assigned] (RAT-228) Test failures in antunit does not break
the maven build / ANT does not seem to recognize additional licenses
[ https://issues.apache.org/jira/browse/RAT-228?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Philipp Ottlinger reassigned RAT-228:
-------------------------------------
Assignee: Philipp Ottlinger
> Test failures in antunit does not break the maven build / ANT does not seem to recognize additional licenses
> ------------------------------------------------------------------------------------------------------------
>
> Key: RAT-228
> URL: https://issues.apache.org/jira/browse/RAT-228
> Project: Apache Rat
> Issue Type: Bug
> Components: antlib
> Affects Versions: 0.12
> Reporter: Philipp Ottlinger
> Assignee: Philipp Ottlinger
> Priority: Blocker
> Fix For: 0.13
>
>
> When I was working on RAT-226 I realized that there's a test failure within the apache-rat-tasks submodule:
> {code}
> cd apache-rat-tasks
> mvn clean test
> [INFO] --- maven-antrun-plugin:1.7:run (default) @ apache-rat-tasks ---
> [INFO] Executing tasks
> main:
> allTests:
> [au:antunit] Build File: /home/user/ws/rat-trunk/apache-rat-tasks/src/test/resources/antunit/report-bad-configurations.xml
> [au:antunit] Tests run: 10, Failures: 0, Errors: 0, Time elapsed: 0,291 sec
> [au:antunit] Target: testNoStylesheet took 0,003 sec
> [au:antunit] Target: testNoResources took 0,001 sec
> [au:antunit] Target: testSubstringMatcherRequiresFamilyName took 0,087 sec
> [au:antunit] Target: testFullTextMatcherRequiresFamilyName took 0,024 sec
> [au:antunit] Target: testUnusedStylesheet took 0,042 sec
> [au:antunit] Target: testFullTextMatcherRequiresText took 0,019 sec
> [au:antunit] Target: testSubstringMatcherRequiresFamilyCategory took 0,023 sec
> [au:antunit] Target: testSubstringMatcherRequiresPattern took 0,026 sec
> [au:antunit] Target: testNoLicenseMatchers took 0,001 sec
> [au:antunit] Target: testFullTextMatcherRequiresFamilyCategory took 0,016 sec
> [mkdir] Created dir: /home/user/ws/rat-trunk/apache-rat-tasks/target/testoutput/dest
> allTests:
> [au:antunit] Build File: /home/user/ws/rat-trunk/apache-rat-tasks/src/test/resources/antunit/report-normal-operation.xml
> [au:antunit] Tests run: 11, Failures: 0, Errors: 6, Time elapsed: 1,293 sec
> [au:antunit] Target: testFullTextMatcherNotApprovedSentToFile caused an ERROR
> [au:antunit] at line 209, column 55
> [au:antunit] Message: The following error occurred while executing this line:
> [au:antunit] /home/user/ws/rat-trunk/apache-rat-tasks/src/test/resources/antunit/report-normal-operation.xml:282: expected report to contain '!YASL1 /home/user/ws/rat-trunk/apache-rat-tasks/src/test/resources/antunit/report-normal-operation.xml' but was '
> [au:antunit] *****************************************************
> [au:antunit] Summary
> [au:antunit] -------
> [au:antunit] Generated at: 2017-02-06T23:12:54+01:00
> [au:antunit]
> [au:antunit] Notes: 0
> [au:antunit] Binaries: 0
> [au:antunit] Archives: 0
> [au:antunit] Standards: 1
> [au:antunit]
> [au:antunit] Apache Licensed: 0
> [au:antunit] Generated Documents: 0
> [au:antunit]
> [au:antunit] JavaDocs are generated, thus a license header is optional.
> [au:antunit] Generated files do not require license headers.
> [au:antunit]
> [au:antunit] 1 Unknown Licenses
> [au:antunit]
> [au:antunit] *****************************************************
> [au:antunit]
> [au:antunit] Files with unapproved licenses:
> [au:antunit]
> [au:antunit] /home/user/ws/rat-trunk/apache-rat-tasks/src/test/resources/antunit/report-normal-operation.xml
> [au:antunit]
> [au:antunit] *****************************************************
> [au:antunit]
> [au:antunit] *****************************************************
> [au:antunit] Files with Apache License headers will be marked AL
> [au:antunit] Binary files (which do not require any license headers) will be marked B
> [au:antunit] Compressed archives will be marked A
> [au:antunit] Notices, licenses etc. will be marked N
> [au:antunit] !????? /home/user/ws/rat-trunk/apache-rat-tasks/src/test/resources/antunit/report-normal-operation.xml
> [au:antunit]
> [au:antunit] *****************************************************
> [au:antunit]
> [au:antunit] Printing headers for text files without a valid license header...
> [au:antunit]
> [au:antunit] =====================================================
> [au:antunit] == File: /home/user/ws/rat-trunk/apache-rat-tasks/src/test/resources/antunit/report-normal-operation.xml
> [au:antunit] =====================================================
> [au:antunit] <?xml version='1.0'?>
> [au:antunit] <!--
> [au:antunit]
> [au:antunit] Licensed to the Apache Software Foundation (ASF) under one *
> [au:antunit] or more contributor license agreements. See the NOTICE file *
> [au:antunit] distributed with this work for additional information *
> [au:antunit] regarding copyright ownership. The ASF licenses this file *
> [au:antunit] to you under the Apache License, Version 2.0 (the *
> [au:antunit] "License"); you may not use this file except in compliance *
> [au:antunit] with the License. You may obtain a copy of the License at *
> [au:antunit] *
> [au:antunit] http://www.apache.org/licenses/LICENSE-2.0 *
> [au:antunit] *
> [au:antunit] Unless required by applicable law or agreed to in writing, *
> [au:antunit] software distributed under the License is distributed on an *
> [au:antunit] "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY *
> [au:antunit] KIND, either express or implied. See the License for the *
> [au:antunit] specific language governing permissions and limitations *
> [au:antunit] under the License. *
> [au:antunit]
> [au:antunit] -->
> [au:antunit]
> [au:antunit] <project name='report-normal-operation'
> [au:antunit] default="allTests"
> [au:antunit] xmlns:au="antlib:org.apache.ant.antunit"
> [au:antunit] xmlns:rat="antlib:org.apache.rat.anttasks">
> [au:antunit]
> [au:antunit] <property name="output.dir" location="../../../../target/testoutput"/>
> [au:antunit] <mkdir dir="/home/user/ws/rat-trunk/apache-rat-tasks/target/testoutput/dest"/>
> [au:antunit] <path id="all-classes-needed-for-tests">
> [au:antunit] <pathelement location="/home/user/ws/rat-trunk/apache-rat-tasks/target/classes" />
> [au:antunit] <pathelement path="/home/user/ws/rat-trunk/apache-rat-tasks/target/test-classes:/home/user/ws/rat-trunk/apache-rat-tasks/target/classes:/home/user/.m2/repository/org/apache/rat/apache-rat-core/0.13-SNAPSHOT/apache-rat-core-0.13-SNAPSHOT.jar:/home/user/.m2/repository/org/apache/rat/apache-rat-api/0.13-SNAPSHOT/apache-rat-api-0.13-SNAPSHOT.jar:/home/user/.m2/repository/commons-collections/commons-collections/3.2.2/commons-collections-3.2.2.jar:/home/user/.m2/repository/commons-lang/commons-lang/2.6/commons-lang-2.6.jar:/home/user/.m2/repository/commons-io/commons-io/2.2/commons-io-2.2.jar:/home/user/.m2/repository/org/apache/commons/commons-compress/1.11/commons-compress-1.11.jar:/home/user/.m2/repository/commons-cli/commons-cli/1.3.1/commons-cli-1.3.1.jar:/home/user/.m2/repository/org/apache/ant/ant/1.9.9/ant-1.9.9.jar:/home/user/.m2/repository/org/apache/ant/ant-launcher/1.9.9/ant-launcher-1.9.9.jar:/home/user/.m2/repository/org/apache/ant/ant-antunit/1.3/ant-antunit-1.3.jar:/home/user/.m2/repository/junit/junit/4.12/junit-4.12.jar:/home/user/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar:/home/user/.m2/repository/org/apache/ant/ant-testutil/1.9.7/ant-testutil-1.9.7.jar" />
> [au:antunit] <pathelement location="/home/user/ws/rat-trunk/apache-rat-tasks/target/testoutput/dest" />
> [au:antunit] </path>
> [au:antunit]
> [au:antunit] <taskdef uri="antlib:org.apache.ant.antunit"
> [au:antunit] resource="org/apache/ant/antunit/antlib.xml"
> [au:antunit] classpathref="all-classes-needed-for-tests"
> [au:antunit] loaderref="testloader"/>
> [au:antunit]
> [au:antunit] <taskdef uri="antlib:org.apache.rat.anttasks"
> [au:antunit] resource="org/apache/rat/anttasks/antlib.xml"
> [au:antunit] classpathref="all-classes-needed-for-tests"
> [au:antunit] loaderref="testloader"/>
> [au:antunit]
> [au:antunit] <target name="setUp">
> [au:antunit] <pathconvert dirsep="/" property="file.name">
> [au:antunit] <path>
> [au:antunit] <pathelement location="/home/user/ws/rat-trunk/apache-rat-tasks/src/test/resources/antunit/report-normal-operation.xml"/>
> [au:antunit] </path>
> [au:antunit] '
> [au:antunit] took 0,101 sec
> [au:antunit] Target: testFullTextMatcherSentToFileNoMatch took 0,094 sec
> [au:antunit] Target: testFullTextMatcherApprovedSentToFile caused an ERROR
> [au:antunit] at line 227, column 55
> [au:antunit] Message: The following error occurred while executing this line:
> [au:antunit] /home/user/ws/rat-trunk/apache-rat-tasks/src/test/resources/antunit/report-normal-operation.xml:282: expected report to contain ' YASL1 /home/user/ws/rat-trunk/apache-rat-tasks/src/test/resources/antunit/report-normal-operation.xml' but was '
> [au:antunit] *****************************************************
> [au:antunit] Summary
> [au:antunit] -------
> [au:antunit] Generated at: 2017-02-06T23:12:54+01:00
> [au:antunit]
> [au:antunit] Notes: 0
> [au:antunit] Binaries: 0
> [au:antunit] Archives: 0
> [au:antunit] Standards: 1
> [au:antunit]
> [au:antunit] Apache Licensed: 0
> [au:antunit] Generated Documents: 0
> [au:antunit]
> [au:antunit] JavaDocs are generated, thus a license header is optional.
> [au:antunit] Generated files do not require license headers.
> [au:antunit]
> [au:antunit] 1 Unknown Licenses
> [au:antunit]
> [au:antunit] *****************************************************
> [au:antunit]
> [au:antunit] Files with unapproved licenses:
> [au:antunit]
> [au:antunit] /home/user/ws/rat-trunk/apache-rat-tasks/src/test/resources/antunit/report-normal-operation.xml
> [au:antunit]
> [au:antunit] *****************************************************
> [au:antunit]
> [au:antunit] *****************************************************
> [au:antunit] Files with Apache License headers will be marked AL
> [au:antunit] Binary files (which do not require any license headers) will be marked B
> [au:antunit] Compressed archives will be marked A
> [au:antunit] Notices, licenses etc. will be marked N
> [au:antunit] !????? /home/user/ws/rat-trunk/apache-rat-tasks/src/test/resources/antunit/report-normal-operation.xml
> [au:antunit]
> [au:antunit] *****************************************************
> [au:antunit]
> [au:antunit] Printing headers for text files without a valid license header...
> [au:antunit]
> [au:antunit] =====================================================
> [au:antunit] == File: /home/user/ws/rat-trunk/apache-rat-tasks/src/test/resources/antunit/report-normal-operation.xml
> [au:antunit] =====================================================
> [au:antunit] <?xml version='1.0'?>
> [au:antunit] <!--
> [au:antunit]
> [au:antunit] Licensed to the Apache Software Foundation (ASF) under one *
> [au:antunit] or more contributor license agreements. See the NOTICE file *
> [au:antunit] distributed with this work for additional information *
> [au:antunit] regarding copyright ownership. The ASF licenses this file *
> [au:antunit] to you under the Apache License, Version 2.0 (the *
> [au:antunit] "License"); you may not use this file except in compliance *
> [au:antunit] with the License. You may obtain a copy of the License at *
> [au:antunit] *
> [au:antunit] http://www.apache.org/licenses/LICENSE-2.0 *
> [au:antunit] *
> [au:antunit] Unless required by applicable law or agreed to in writing, *
> [au:antunit] software distributed under the License is distributed on an *
> [au:antunit] "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY *
> [au:antunit] KIND, either express or implied. See the License for the *
> [au:antunit] specific language governing permissions and limitations *
> [au:antunit] under the License. *
> [au:antunit]
> [au:antunit] -->
> [au:antunit]
> [au:antunit] <project name='report-normal-operation'
> [au:antunit] default="allTests"
> [au:antunit] xmlns:au="antlib:org.apache.ant.antunit"
> [au:antunit] xmlns:rat="antlib:org.apache.rat.anttasks">
> [au:antunit]
> [au:antunit] <property name="output.dir" location="../../../../target/testoutput"/>
> [au:antunit] <mkdir dir="/home/user/ws/rat-trunk/apache-rat-tasks/target/testoutput/dest"/>
> [au:antunit] <path id="all-classes-needed-for-tests">
> [au:antunit] <pathelement location="/home/user/ws/rat-trunk/apache-rat-tasks/target/classes" />
> [au:antunit] <pathelement path="/home/user/ws/rat-trunk/apache-rat-tasks/target/test-classes:/home/user/ws/rat-trunk/apache-rat-tasks/target/classes:/home/user/.m2/repository/org/apache/rat/apache-rat-core/0.13-SNAPSHOT/apache-rat-core-0.13-SNAPSHOT.jar:/home/user/.m2/repository/org/apache/rat/apache-rat-api/0.13-SNAPSHOT/apache-rat-api-0.13-SNAPSHOT.jar:/home/user/.m2/repository/commons-collections/commons-collections/3.2.2/commons-collections-3.2.2.jar:/home/user/.m2/repository/commons-lang/commons-lang/2.6/commons-lang-2.6.jar:/home/user/.m2/repository/commons-io/commons-io/2.2/commons-io-2.2.jar:/home/user/.m2/repository/org/apache/commons/commons-compress/1.11/commons-compress-1.11.jar:/home/user/.m2/repository/commons-cli/commons-cli/1.3.1/commons-cli-1.3.1.jar:/home/user/.m2/repository/org/apache/ant/ant/1.9.9/ant-1.9.9.jar:/home/user/.m2/repository/org/apache/ant/ant-launcher/1.9.9/ant-launcher-1.9.9.jar:/home/user/.m2/repository/org/apache/ant/ant-antunit/1.3/ant-antunit-1.3.jar:/home/user/.m2/repository/junit/junit/4.12/junit-4.12.jar:/home/user/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar:/home/user/.m2/repository/org/apache/ant/ant-testutil/1.9.7/ant-testutil-1.9.7.jar" />
> [au:antunit] <pathelement location="/home/user/ws/rat-trunk/apache-rat-tasks/target/testoutput/dest" />
> [au:antunit] </path>
> [au:antunit]
> [au:antunit] <taskdef uri="antlib:org.apache.ant.antunit"
> [au:antunit] resource="org/apache/ant/antunit/antlib.xml"
> [au:antunit] classpathref="all-classes-needed-for-tests"
> [au:antunit] loaderref="testloader"/>
> [au:antunit]
> [au:antunit] <taskdef uri="antlib:org.apache.rat.anttasks"
> [au:antunit] resource="org/apache/rat/anttasks/antlib.xml"
> [au:antunit] classpathref="all-classes-needed-for-tests"
> [au:antunit] loaderref="testloader"/>
> [au:antunit]
> [au:antunit] <target name="setUp">
> [au:antunit] <pathconvert dirsep="/" property="file.name">
> [au:antunit] <path>
> [au:antunit] <pathelement location="/home/user/ws/rat-trunk/apache-rat-tasks/src/test/resources/antunit/report-normal-operation.xml"/>
> [au:antunit] </path>
> [au:antunit] '
> [au:antunit] took 0,067 sec
> [au:antunit] Target: testFullTextMatcherExpandsProperties caused an ERROR
> [au:antunit] at line 270, column 59
> [au:antunit] Message: The following error occurred while executing this line:
> [au:antunit] /home/user/ws/rat-trunk/apache-rat-tasks/src/test/resources/antunit/report-normal-operation.xml:282: expected report to contain '!YASL1 /home/user/ws/rat-trunk/apache-rat-tasks/src/test/resources/antunit/report-bad-configurations.xml' but was '
> [au:antunit] *****************************************************
> [au:antunit] Summary
> [au:antunit] -------
> [au:antunit] Generated at: 2017-02-06T23:12:54+01:00
> [au:antunit]
> [au:antunit] Notes: 0
> [au:antunit] Binaries: 0
> [au:antunit] Archives: 0
> [au:antunit] Standards: 1
> [au:antunit]
> [au:antunit] Apache Licensed: 0
> [au:antunit] Generated Documents: 0
> [au:antunit]
> [au:antunit] JavaDocs are generated, thus a license header is optional.
> [au:antunit] Generated files do not require license headers.
> [au:antunit]
> [au:antunit] 1 Unknown Licenses
> [au:antunit]
> [au:antunit] *****************************************************
> [au:antunit]
> [au:antunit] Files with unapproved licenses:
> [au:antunit]
> [au:antunit] /home/user/ws/rat-trunk/apache-rat-tasks/src/test/resources/antunit/report-bad-configurations.xml
> [au:antunit]
> [au:antunit] *****************************************************
> [au:antunit]
> [au:antunit] *****************************************************
> [au:antunit] Files with Apache License headers will be marked AL
> [au:antunit] Binary files (which do not require any license headers) will be marked B
> [au:antunit] Compressed archives will be marked A
> [au:antunit] Notices, licenses etc. will be marked N
> [au:antunit] !????? /home/user/ws/rat-trunk/apache-rat-tasks/src/test/resources/antunit/report-bad-configurations.xml
> [au:antunit]
> [au:antunit] *****************************************************
> [au:antunit]
> [au:antunit] Printing headers for text files without a valid license header...
> [au:antunit]
> [au:antunit] =====================================================
> [au:antunit] == File: /home/user/ws/rat-trunk/apache-rat-tasks/src/test/resources/antunit/report-bad-configurations.xml
> [au:antunit] =====================================================
> [au:antunit] <?xml version='1.0'?>
> [au:antunit] <!--
> [au:antunit]
> [au:antunit] Licensed to the Apache Software Foundation (ASF) under one *
> [au:antunit] or more contributor license agreements. See the NOTICE file *
> [au:antunit] distributed with this work for additional information *
> [au:antunit] regarding copyright ownership. The ASF licenses this file *
> [au:antunit] to you under the Apache License, Version 2.0 (the *
> [au:antunit] "License"); you may not use this file except in compliance *
> [au:antunit] with the License. You may obtain a copy of the License at *
> [au:antunit] *
> [au:antunit] http://www.apache.org/licenses/LICENSE-2.0 *
> [au:antunit] *
> [au:antunit] Unless required by applicable law or agreed to in writing, *
> [au:antunit] software distributed under the License is distributed on an *
> [au:antunit] "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY *
> [au:antunit] KIND, either express or implied. See the License for the *
> [au:antunit] specific language governing permissions and limitations *
> [au:antunit] under the License. *
> [au:antunit]
> [au:antunit] -->
> [au:antunit]
> [au:antunit] <project default="allTests"
> [au:antunit] name='report-bad-configurations'
> [au:antunit] xmlns:au="antlib:org.apache.ant.antunit"
> [au:antunit] xmlns:rat="antlib:org.apache.rat.anttasks">
> [au:antunit]
> [au:antunit] <taskdef uri="antlib:org.apache.ant.antunit"
> [au:antunit] resource="org/apache/ant/antunit/antlib.xml"
> [au:antunit] classpath="/home/user/ws/rat-trunk/apache-rat-tasks/target/test-classes:/home/user/ws/rat-trunk/apache-rat-tasks/target/classes:/home/user/.m2/repository/org/apache/rat/apache-rat-core/0.13-SNAPSHOT/apache-rat-core-0.13-SNAPSHOT.jar:/home/user/.m2/repository/org/apache/rat/apache-rat-api/0.13-SNAPSHOT/apache-rat-api-0.13-SNAPSHOT.jar:/home/user/.m2/repository/commons-collections/commons-collections/3.2.2/commons-collections-3.2.2.jar:/home/user/.m2/repository/commons-lang/commons-lang/2.6/commons-lang-2.6.jar:/home/user/.m2/repository/commons-io/commons-io/2.2/commons-io-2.2.jar:/home/user/.m2/repository/org/apache/commons/commons-compress/1.11/commons-compress-1.11.jar:/home/user/.m2/repository/commons-cli/commons-cli/1.3.1/commons-cli-1.3.1.jar:/home/user/.m2/repository/org/apache/ant/ant/1.9.9/ant-1.9.9.jar:/home/user/.m2/repository/org/apache/ant/ant-launcher/1.9.9/ant-launcher-1.9.9.jar:/home/user/.m2/repository/org/apache/ant/ant-antunit/1.3/ant-antunit-1.3.jar:/home/user/.m2/repository/junit/junit/4.12/junit-4.12.jar:/home/user/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar:/home/user/.m2/repository/org/apache/ant/ant-testutil/1.9.7/ant-testutil-1.9.7.jar" />
> [au:antunit]
> [au:antunit] <taskdef uri="antlib:org.apache.rat.anttasks" resource="org/apache/rat/anttasks/antlib.xml">
> [au:antunit] <classpath>
> [au:antunit] <pathelement location="/home/user/ws/rat-trunk/apache-rat-tasks/target/classes" />
> [au:antunit] <pathelement path='/home/user/ws/rat-trunk/apache-rat-tasks/target/test-classes:/home/user/ws/rat-trunk/apache-rat-tasks/target/classes:/home/user/.m2/repository/org/apache/rat/apache-rat-core/0.13-SNAPSHOT/apache-rat-core-0.13-SNAPSHOT.jar:/home/user/.m2/repository/org/apache/rat/apache-rat-api/0.13-SNAPSHOT/apache-rat-api-0.13-SNAPSHOT.jar:/home/user/.m2/repository/commons-collections/commons-collections/3.2.2/commons-collections-3.2.2.jar:/home/user/.m2/repository/commons-lang/commons-lang/2.6/commons-lang-2.6.jar:/home/user/.m2/repository/commons-io/commons-io/2.2/commons-io-2.2.jar:/home/user/.m2/repository/org/apache/commons/commons-compress/1.11/commons-compress-1.11.jar:/home/user/.m2/repository/commons-cli/commons-cli/1.3.1/commons-cli-1.3.1.jar:/home/user/.m2/repository/org/apache/ant/ant/1.9.9/ant-1.9.9.jar:/home/user/.m2/repository/org/apache/ant/ant-launcher/1.9.9/ant-launcher-1.9.9.jar:/home/user/.m2/repository/org/apache/ant/ant-antunit/1.3/ant-antunit-1.3.jar:/home/user/.m2/repository/junit/junit/4.12/junit-4.12.jar:/home/user/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar:/home/user/.m2/repository/org/apache/ant/ant-testutil/1.9.7/ant-testutil-1.9.7.jar' />
> [au:antunit] </classpath>
> [au:antunit] </taskdef>
> [au:antunit]
> [au:antunit] <target name="allTests">
> [au:antunit] <au:antunit xmlns:au="antlib:org.apache.ant.antunit"
> [au:antunit] failonerror="false" errorproperty="antunit.failed">
> [au:antunit] <file file="/home/user/ws/rat-trunk/apache-rat-tasks/src/test/resources/antunit/report-normal-operation.xml"/>
> [au:antunit] <au:plainlistener />
> [au:antunit] </au:antunit>
> [au:antunit] </target>
> [au:antunit]
> [au:antunit] <target name="testNoResources">
> [au:antunit] <au:expectfailure expectedMessage="at least one file">
> [au:antunit] <rat:report/>
> [au:antunit] </au:expectfailure>
> [au:antunit] '
> [au:antunit] took 0,084 sec
> [au:antunit] Target: testXMLReportSentToFile took 0,061 sec
> [au:antunit] Target: testSubstringMatcherApprovedSentToFile caused an ERROR
> [au:antunit] at line 173, column 55
> [au:antunit] Message: The following error occurred while executing this line:
> [au:antunit] /home/user/ws/rat-trunk/apache-rat-tasks/src/test/resources/antunit/report-normal-operation.xml:282: expected report to contain ' YASL1 /home/user/ws/rat-trunk/apache-rat-tasks/src/test/resources/antunit/report-normal-operation.xml' but was '
> [au:antunit] *****************************************************
> [au:antunit] Summary
> [au:antunit] -------
> [au:antunit] Generated at: 2017-02-06T23:12:54+01:00
> [au:antunit]
> [au:antunit] Notes: 0
> [au:antunit] Binaries: 0
> [au:antunit] Archives: 0
> [au:antunit] Standards: 1
> [au:antunit]
> [au:antunit] Apache Licensed: 0
> [au:antunit] Generated Documents: 0
> [au:antunit]
> [au:antunit] JavaDocs are generated, thus a license header is optional.
> [au:antunit] Generated files do not require license headers.
> [au:antunit]
> [au:antunit] 1 Unknown Licenses
> [au:antunit]
> [au:antunit] *****************************************************
> [au:antunit]
> [au:antunit] Files with unapproved licenses:
> [au:antunit]
> [au:antunit] /home/user/ws/rat-trunk/apache-rat-tasks/src/test/resources/antunit/report-normal-operation.xml
> [au:antunit]
> [au:antunit] *****************************************************
> [au:antunit]
> [au:antunit] *****************************************************
> [au:antunit] Files with Apache License headers will be marked AL
> [au:antunit] Binary files (which do not require any license headers) will be marked B
> [au:antunit] Compressed archives will be marked A
> [au:antunit] Notices, licenses etc. will be marked N
> [au:antunit] !????? /home/user/ws/rat-trunk/apache-rat-tasks/src/test/resources/antunit/report-normal-operation.xml
> [au:antunit]
> [au:antunit] *****************************************************
> .....
> {code}
> It's not clear how long the problem has been there but it does not have to do with upgrading to the latest compatible ant.
> Can anyone with more ANT-foo help? Maybe it's just a configuration issue?
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)