Rev | Line | |
---|
[18970] | 1 | <?xml version="1.0"?>
|
---|
| 2 | <project name="rk-compilation" default="compile">
|
---|
| 3 |
|
---|
[35634] | 4 | <taskdef name="if" classname="ise.antelope.tasks.IfTask" classpath="${basedir}/shared/core/lib/AntelopeTasks_3.4.2.jar"/>
|
---|
| 5 |
|
---|
| 6 | <property environment="env"/>
|
---|
| 7 |
|
---|
| 8 | <if>
|
---|
| 9 | <bool><isset property="env.JAVACFLAGS"/></bool>
|
---|
| 10 | <property name="compile.javac.flags" value="${env.JAVACFLAGS}"/>
|
---|
| 11 | <else>
|
---|
[35682] | 12 | <echo>Failed to detect environment variable JAVACFLAGS.</echo>
|
---|
[36199] | 13 | <echo>Have you run 'source rk-setup.bash' (Unix) or 'rk-setup.bat' (Windows)?</echo>
|
---|
[35682] | 14 | <echo>This is needed to ensure backward compatible Java class files are generated.</echo>
|
---|
| 15 | <fail/>
|
---|
| 16 | </else>
|
---|
[35634] | 17 | </if>
|
---|
| 18 |
|
---|
[18970] | 19 | <target name="compile">
|
---|
[35634] | 20 | <ant dir="shared/core/ant-tasks/greenstone" inheritAll="true">
|
---|
[21523] | 21 | <property name="crypt.jar" value="${basedir}/shared/core/lib/crypt.jar"/>
|
---|
[18970] | 22 | </ant>
|
---|
[35634] | 23 | <ant dir="shared/core/ant-installer" inheritAll="true">
|
---|
[21384] | 24 | <property name="antlib" value="${ant.home}/lib"/>
|
---|
| 25 | </ant>
|
---|
[18970] | 26 | </target>
|
---|
[21593] | 27 | <target name="clean">
|
---|
| 28 | <ant dir="shared/core/ant-tasks/greenstone" inheritAll="false" target="clean">
|
---|
| 29 | <property name="crypt.jar" value="${basedir}/shared/core/lib/crypt.jar"/>
|
---|
| 30 | </ant>
|
---|
| 31 | <ant dir="shared/core/ant-installer" inheritAll="false" target="clean">
|
---|
| 32 | <property name="antlib" value="${ant.home}/lib"/>
|
---|
| 33 | </ant>
|
---|
| 34 | </target>
|
---|
[18970] | 35 |
|
---|
| 36 | </project>
|
---|
| 37 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.