| 136 |
|
|
| 137 |
|
|
| 138 |
<target name="jar" |
<target name="jar" |
| 139 |
depends="native-jar, emulation-jar" |
depends="check-emulation, init-jar, native-jar, emulation-jar" |
| 140 |
description="Builds library jar from compiled sources"/> |
description="Builds library jar from compiled sources"/> |
| 141 |
|
|
| 142 |
|
|
| 303 |
|
|
| 304 |
|
|
| 305 |
<target name="native-jar" |
<target name="native-jar" |
| 306 |
depends="compile, init-jar" |
depends="compile" |
| 307 |
unless="build.emulation"> |
unless="build.emulation.true"> |
| 308 |
|
|
| 309 |
<jar destfile="${product.jar}"> |
<jar destfile="${product.jar}"> |
| 310 |
<fileset dir="${build.classes.dir}"/> |
<fileset dir="${build.classes.dir}"/> |
| 313 |
</target> |
</target> |
| 314 |
|
|
| 315 |
|
|
|
<target name="base-jar" |
|
|
depends="compile, init-jar"> |
|
|
|
|
|
</target> |
|
|
|
|
|
|
|
| 316 |
<target name="compile-emulation" |
<target name="compile-emulation" |
| 317 |
depends="init" |
depends="init" |
| 318 |
if="build.emulation"> |
if="build.emulation.true"> |
| 319 |
|
|
| 320 |
<mkdir dir="${build.emulation.dir}"/> |
<mkdir dir="${build.emulation.dir}"/> |
| 321 |
|
|
| 336 |
|
|
| 337 |
|
|
| 338 |
<target name="emulation-jar" |
<target name="emulation-jar" |
| 339 |
depends="init-jar, compile-emulation" |
depends="compile-emulation" |
| 340 |
if="build.emulation"> |
if="build.emulation.true"> |
| 341 |
|
|
| 342 |
|
|
| 343 |
<jar destfile="${product.jar}" duplicate="add"> |
<jar destfile="${product.jar}" duplicate="add"> |
| 506 |
</target> |
</target> |
| 507 |
|
|
| 508 |
|
|
| 509 |
|
<target name="check-emulation"> |
| 510 |
|
<condition property="build.emulation.true"> |
| 511 |
|
<or> |
| 512 |
|
<isset property="build.emulation"/> |
| 513 |
|
<os family="windows"/> |
| 514 |
|
</or> |
| 515 |
|
</condition> |
| 516 |
|
</target> |
| 517 |
|
|
| 518 |
|
|
| 519 |
|
|
| 520 |
<!-- Anthill targets --> |
<!-- Anthill targets --> |
| 521 |
|
|