Opened 12 years ago
Closed 12 years ago
#5032 closed enhancement (fixed)
apache-ant-1.9.4
| Reported by: | Fernando de Oliveira | Owned by: | Pierre Labastie |
|---|---|---|---|
| Priority: | normal | Milestone: | 7.6 |
| Component: | BOOK | Version: | SVN |
| Severity: | normal | Keywords: | |
| Cc: |
Change History (3)
comment:1 by , 12 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → assigned |
comment:2 by , 12 years ago
Note:
See TracTickets
for help on using tickets.

I have a build error:
compile-tests: Created dir: /sources/apache-ant/apache-ant-1.9.4/build/testcases Compiling 308 source files to /sources/apache-ant/apache-ant-1.9.4/build/testcases warning: [options] bootstrap class path not set in conjunction with -source 1.5 /sources/apache-ant/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 1 warning BUILD FAILED /sources/apache-ant/apache-ant-1.9.4/build.xml:1082: The following error occurred while executing this line: /sources/apache-ant/apache-ant-1.9.4/build.xml:1502: Compile failed; see the compiler error output for details. Total time: 7 seconds ... Failed Building Ant Distribution ! Bootstrap FAILEDCopying hamcrest-core-1.3.jar to lib/optional allows the tests to pass. If nobody has a better solution, I'll modify the book accordingly (the junit page needs to be modified too)