source: main/trunk/release-kits/build.xml

Last change on this file was 35682, checked in by davidb, 4 days ago

Text/commment/echo/README tidy up

File size: 1.3 KB
Line 
1<?xml version="1.0"?>
2<project name="rk-compilation" default="compile">
3
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>
12 <echo>Failed to detect environment variable JAVACFLAGS.</echo>
13 <echo>Have you source gs3-setup.bash (Unix) or gs3-setup.bat (Windows)?</echo>
14 <echo>This is needed to ensure backward compatible Java class files are generated.</echo>
15 <fail/>
16 </else>
17 </if>
18
19 <target name="compile">
20 <ant dir="shared/core/ant-tasks/greenstone" inheritAll="true">
21 <property name="crypt.jar" value="${basedir}/shared/core/lib/crypt.jar"/>
22 </ant>
23 <ant dir="shared/core/ant-installer" inheritAll="true">
24 <property name="antlib" value="${ant.home}/lib"/>
25 </ant>
26 </target>
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>
35
36</project>
37
Note: See TracBrowser for help on using the repository browser.