Skip to content

Commit 743ae7d

Browse files
committed
Fix srcdir for the jrcs build target.
Since the old srcdir was a parent of the actual source root, Ant got confused and always rebuilt jrcs, also in incremental builds when jrcs hadn't been changed. Now, incremental builds will only rebuild it if something has changed in the jrcs code.
1 parent 1320cd4 commit 743ae7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -722,7 +722,7 @@ Copyright (c) 2005, 2011, Oracle and/or its affiliates. All rights reserved.
722722
<!-- Build our patched JRCS library. -->
723723
<target name="jrcs" depends="-pre-pre-compile">
724724
<mkdir dir="${build.dir}/jrcs"/>
725-
<javac srcdir="jrcs/src" destdir="${build.dir}/jrcs"
725+
<javac srcdir="jrcs/src/main/java" destdir="${build.dir}/jrcs"
726726
nowarn="on" source="1.4"/>
727727
<jar destfile="${file.reference.jrcs.jar}">
728728
<fileset dir="${build.dir}/jrcs" includes="**/*.class"/>

0 commit comments

Comments
 (0)