mirror of
https://github.com/corda/corda.git
synced 2025-01-06 05:04:20 +00:00
Compile the annotation tests with the annotations in the class path
Earlier, if the annotations were already up-to-date (but Annotations.class not), the compilation would fail. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This commit is contained in:
parent
dd460ab55e
commit
1960081d1a
2
makefile
2
makefile
@ -1566,7 +1566,7 @@ $(test-dep): $(test-sources) $(test-library)
|
|||||||
@mkdir -p $(test-build)
|
@mkdir -p $(test-build)
|
||||||
files="$(shell $(MAKE) -s --no-print-directory build=$(build) $(test-classes))"; \
|
files="$(shell $(MAKE) -s --no-print-directory build=$(build) $(test-classes))"; \
|
||||||
if test -n "$${files}"; then \
|
if test -n "$${files}"; then \
|
||||||
$(javac) -d $(test-build) -bootclasspath $(boot-classpath) $${files}; \
|
$(javac) -classpath $(test-build) -d $(test-build) -bootclasspath $(boot-classpath) $${files}; \
|
||||||
fi
|
fi
|
||||||
$(javac) -source 1.2 -target 1.1 -XDjsrlimit=0 -d $(test-build) \
|
$(javac) -source 1.2 -target 1.1 -XDjsrlimit=0 -d $(test-build) \
|
||||||
-bootclasspath $(boot-classpath) test/Subroutine.java
|
-bootclasspath $(boot-classpath) test/Subroutine.java
|
||||||
|
Loading…
Reference in New Issue
Block a user