ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rm Beer <rmbe...@gmail.com>
Subject ERROR compile with build.sh, not read the parameters.
Date Mon, 02 Feb 2015 18:57:42 GMT
I use a source code for linux and all settings variable for shell.

This line put in command shell:

./build.sh -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/ExecuteWatchdogTest.java:143:
error: cannot access Matcher
                        throw new AssumptionViolatedException("process
interrupted in thread", e);
                              ^
  class file for org.hamcrest.Matcher not found
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.
1 error
4 warnings

BUILD FAILED
/src/ant-apache/apache-ant-1.9.4/build.xml:1082: The following error
occurred while executing this line:
/src/ant-apache/apache-ant-1.9.4/build.xml:1502: Compile failed; see the
compiler error output for details.

i need a solution for this problem.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message