Changeset 35634 for main/trunk/release-kits
- Timestamp:
- 2021-10-18T22:51:14+13:00 (3 years ago)
- Location:
- main/trunk/release-kits
- Files:
-
- 2 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/release-kits/build.xml
r21593 r35634 2 2 <project name="rk-compilation" default="compile"> 3 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 <property name="compile.javac.flags" value=""/> 13 </else> 14 </if> 15 4 16 <target name="compile"> 5 <ant dir="shared/core/ant-tasks/greenstone" inheritAll=" false">17 <ant dir="shared/core/ant-tasks/greenstone" inheritAll="true"> 6 18 <property name="crypt.jar" value="${basedir}/shared/core/lib/crypt.jar"/> 7 19 </ant> 8 <ant dir="shared/core/ant-installer" inheritAll=" false">20 <ant dir="shared/core/ant-installer" inheritAll="true"> 9 21 <property name="antlib" value="${ant.home}/lib"/> 10 22 </ant> -
main/trunk/release-kits/shared/core/ant-installer/build.xml
r21384 r35634 1 1 <?xml version="1.0"?> 2 2 <!-- 3 This is a normal Ant build file to build the release for sourceforge 4 --> 3 This is a normal Ant build file to build the release for sourceforge 4 5 Subsequently adapted to add in the 'compile.javac.flags' set in 6 the parent Greenstone Release Kit directory above to control 7 the target version of class files produced 8 --> 9 5 10 <project name="Installation Build" default="build"> 6 11 … … 111 116 112 117 <echo message="*** Building ant-installer.jar ***"/> 113 <mkdir dir="./lib"/> 114 <javac destdir="${prepareDir}/classes" srcdir="src" classpathref="project.cp" debug="true"/> 118 119 <mkdir dir="./lib"/> 120 121 <javac includeantruntime="false" 122 srcdir="src" 123 destdir="${prepareDir}/classes" 124 classpathref="project.cp" 125 debug="true"> 126 <compilerarg line="${compile.javac.flags}"/> 127 </javac> 128 115 129 <jar file="./lib/ant-installer.jar" whenempty="fail"> 116 130 <fileset dir="./src/resources"> … … 131 145 </jar> 132 146 </target> 147 148 <target name="_ant-installer-ext.jar"> 149 <echo message="*** *** Building ant-installer-ext.jar *** *** "/> 150 <echo message="*** ***"/> 151 <mkdir dir="${prepareDir}/classes_ext"/> 133 152 134 <target name="_ant-installer-ext.jar"> 135 <echo message="*** *** Building ant-installer-ext.jar *** *** "/> 136 <echo message="*** ***"/> 137 <mkdir dir="${prepareDir}/classes_ext"/> 138 <javac destdir="${prepareDir}/classes_ext" srcdir="src_ext" classpathref="project.ext.cp" debug="true"/> 139 <jar file="./lib/ant-installer-ext.jar" whenempty="fail"> 153 <javac includeantruntime="false" 154 srcdir="src_ext" 155 destdir="${prepareDir}/classes_ext" 156 classpathref="project.ext.cp" 157 debug="true"> 158 <compilerarg line="${compile.javac.flags}"/> 159 </javac> 160 161 <jar file="./lib/ant-installer-ext.jar" whenempty="fail"> 140 162 <fileset dir="./src/resources"> 141 163 <include name="LICENSE-ant-install.txt"/>
Note:
See TracChangeset
for help on using the changeset viewer.