ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: ERROR compile with, not read the parameters.
Date Mon, 02 Feb 2015 19:58:57 GMT
On 2015-02-02, Stefan Bodewig wrote:

> On 2015-02-02, Rm Beer wrote:

>> I use a source code for linux and all settings variable for shell.

>> This line put in command shell:

>> ./ -Ddist.dir=/src/ant-apache/apache-ant-1.9.4/Build/
>> -Xlint:deprecation -Xlint:uncheked

>> and getting this result:

>> Note: Some input files use or override a deprecated API.
>> Note: Recompile with -Xlint:deprecation for details.
>> Note: Some input files use unchecked or unsafe operations.
>> Note: Recompile with -Xlint:unchecked for details.

>> with this finish result:

>> /src/ant-apache/apache-ant-1.9.4/src/tests/junit/org/apache/tools/ant/taskdefs/
>> error: cannot access Matcher
>>                         throw new AssumptionViolatedException("process
>> interrupted in thread", e);
>>                               ^
>>   class file for org.hamcrest.Matcher not found

> This means Ant hasn't got hamcrest on its classpath, it should be part
> of lib/optional

so much is true - and it is even part of our git tree.

> Ant ships with junit but not with hamcrest

it is not part of the source distribution, I'm going to fix the build
script for the next release.

In the meantime, the solution for you is to download hamcrest-core - for
and place it in the lib/optional folder.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message