|
126 | 126 | <delete dir="${lsp.build.dir}" /> |
127 | 127 | <delete dir="vscode/node_modules" /> |
128 | 128 | <delete dir="vscode/out" /> |
129 | | - <ant dir="nbcode" target="clean" inheritall="false" inheritrefs="false"/> |
| 129 | + <ant dir="nbcode" target="clean" inheritall="false" inheritrefs="false"> |
| 130 | + <property name="nbplatform.default.netbeans.dest.dir" location="${nbplatform.default.netbeans.dest.dir}" /> |
| 131 | + <property name="nbplatform.default.harness.dir" location="${nbplatform.default.harness.dir}" /> |
| 132 | + <property name="nbantext.jar" location="${nbantext.jar}" /> |
| 133 | + </ant> |
130 | 134 | </target> |
131 | 135 |
|
132 | 136 | <property name="netbeans.l10n.dir" location="netbeans-l10n"/> |
133 | 137 | <property name="nbcode.l10n.dir" location="nbcode/l10n"/> |
134 | 138 | <property name="vscode.nbcode.extra.dir" location="vscode/nbcode/extra"/> |
135 | 139 |
|
136 | | - <target name="build-l10n-ant-ext-jar"> |
| 140 | + <target name="build-l10n-ant-ext-jar" unless="disable.netbeans.l10n"> |
137 | 141 | <ant dir="${netbeans.l10n.dir}/l10nantext" inheritall="false" inheritrefs="false"> |
138 | 142 | <property name="file.reference.ant.jar" value="${ant.home}/lib/ant.jar"/> |
139 | 143 | </ant> |
|
160 | 164 | </fileset> |
161 | 165 | </delete> |
162 | 166 | </target> |
163 | | - <target name="clean-l10n-bundles"> |
| 167 | + <target name="clean-l10n-bundles" unless="disable.netbeans.l10n"> |
164 | 168 | <delete dir="${netbeans.l10n.dir}/l10nantext/build"/> |
165 | 169 | <delete dir="${netbeans.l10n.dir}/l10nantext/dist"/> |
166 | 170 | <ant target="clean-l10n"> |
|
174 | 178 | <property name="disable.netbeans.l10n" value="true"/> |
175 | 179 | </target> |
176 | 180 | <target name="build-l10n-bundles" depends="clean-l10n-bundles,build-l10n-ant-ext-jar" description="builds l10n language bundles for vs code extension" |
177 | | - unless="${disable.netbeans.l10n}"> |
| 181 | + unless="disable.netbeans.l10n"> |
178 | 182 | <ant target="build-l10n"> |
179 | 183 | <property name="locale" value="ja" description="japanese"/> |
180 | 184 | </ant> |
|
298 | 302 | <condition value="true" property="should-apply"> |
299 | 303 | <and> |
300 | 304 | <istrue value="${has-l10n-patches}"/> |
301 | | - <isfalse value="${disable.netbeans.l10n}"/> |
| 305 | + <not> |
| 306 | + <istrue value="${disable.netbeans.l10n}"/> |
| 307 | + </not> |
302 | 308 | </and> |
303 | 309 | </condition> |
304 | 310 | <ant target="git-patch"> |
|
347 | 353 | <condition value="true" property="should-apply"> |
348 | 354 | <and> |
349 | 355 | <istrue value="${has-l10n-patches}"/> |
350 | | - <isfalse value="${disable.netbeans.l10n}"/> |
| 356 | + <not> |
| 357 | + <istrue value="${disable.netbeans.l10n}"/> |
| 358 | + </not> |
351 | 359 | </and> |
352 | 360 | </condition> |
353 | 361 | <ant target="git-un-patch"> |
|
0 commit comments