|
2 | 2 | <project name="Java Mode" default="build">
|
3 | 3 |
|
4 | 4 | <property name="generated"
|
5 |
| - value="${basedir}/generated/processing/mode/java/preproc" /> |
| 5 | + value="${basedir}/generated/processing/mode/java/preproc" /> |
6 | 6 | <mkdir dir="${generated}" />
|
7 | 7 |
|
8 | 8 | <property name="grammars"
|
9 |
| - value="${basedir}/src/processing/mode/java/preproc" /> |
| 9 | + value="${basedir}/src/processing/mode/java/preproc" /> |
10 | 10 |
|
11 | 11 | <property name="antlr_jar"
|
12 |
| - value="${basedir}/mode/antlr-4.7.2-complete.jar" /> |
| 12 | + value="${basedir}/mode/antlr-4.7.2-complete.jar" /> |
13 | 13 |
|
14 | 14 | <property name="mode_jar"
|
15 | 15 | value="${basedir}/mode/JavaMode.jar" />
|
|
24 | 24 | <delete file="${mode_jar}" />
|
25 | 25 | <delete>
|
26 | 26 | <fileset dir="${generated}">
|
27 |
| - <include name="*.java" /> |
28 |
| - <include name="*.tokens" /> |
29 |
| - <include name="*.txt" /> |
30 |
| - <include name="*.g" /> |
31 |
| - <include name="*.smap" /> |
32 |
| - <include name="*.properties" /> |
| 27 | + <include name="*.java" /> |
| 28 | + <include name="*.tokens" /> |
| 29 | + <include name="*.txt" /> |
| 30 | + <include name="*.g" /> |
| 31 | + <include name="*.smap" /> |
| 32 | + <include name="*.properties" /> |
33 | 33 | </fileset>
|
34 | 34 | </delete>
|
35 | 35 | </target>
|
|
140 | 140 | <mkdir dir="@{destdir}" />
|
141 | 141 |
|
142 | 142 | <!-- in some cases, pde.jar was not getting built
|
143 |
| - https://github.com/processing/processing/issues/1792 --> |
| 143 | + https://github.com/processing/processing/issues/1792 --> |
144 | 144 | <delete file="${mode_jar}" />
|
145 | 145 |
|
146 | 146 | <!-- env used to set classpath below -->
|
147 | 147 | <property environment="env" />
|
148 | 148 |
|
149 |
| - <javac source="11" |
150 |
| - target="11" |
151 |
| - destdir="@{destdir}" |
152 |
| - excludes="**/tools/format/**" |
153 |
| - encoding="UTF-8" |
154 |
| - includeAntRuntime="false" |
155 |
| - debug="on" |
156 |
| - nowarn="true" |
157 |
| - compiler="modern"> |
| 149 | + <javac source="17" |
| 150 | + target="17" |
| 151 | + destdir="@{destdir}" |
| 152 | + excludes="**/tools/format/**" |
| 153 | + encoding="UTF-8" |
| 154 | + includeAntRuntime="false" |
| 155 | + debug="on" |
| 156 | + nowarn="true" |
| 157 | + compiler="modern"> |
158 | 158 | <src path="@{srcdir}" />
|
159 | 159 | <src path="generated" />
|
160 | 160 | <classpath refid="@{classpath}"/>
|
|
0 commit comments