Changeset 12235
- Timestamp:
- 2006-07-17T09:58:40+12:00 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl3/build.xml
r12207 r12235 52 52 <property name="src.packages.home" value="${basedir}/src/packages"/> 53 53 <property name="packages.home" value="${basedir}/packages"/> 54 <property name="extensions.home" value="${basedir}/extensions"/>55 54 <!-- this may be set in build.properties, eg if you move the web dir to 56 55 tomcats webapps directory --> … … 117 116 <property name="gs2build.home" value="${basedir}/gs2build"/> 118 117 <property name="gli.home" value="${basedir}/gli"/> 119 <property name="vishnu.home" value="${extensions.home}/vishnu"/>120 118 <property name="mg.home" value="${src.packages.home}/mg"/> 121 119 <property name="mgpp.home" value="${src.packages.home}/mgpp"/> 122 120 <property name="javagdbm.home" value="${src.packages.home}/javagdbm"/> 123 <property name="gsdl-as.home" value="${extensions.home}/gsdl-as"/>124 121 125 122 <!-- ==================== Compilation Control Options ==================== --> … … 220 217 <!-- add comments about using xxx-core, xxx-packages if only want certain parts?? --> 221 218 222 <target name="prepare" depends="accept-properties,init,prepare-core,prepare-packages,prepare- extensions,prepare-gs2building,prepare-tomcat,prepare-axis,prepare-web,prepare-collections"219 <target name="prepare" depends="accept-properties,init,prepare-core,prepare-packages,prepare-gs2building,prepare-tomcat,prepare-axis,prepare-web,prepare-collections" 223 220 description="Use this when you first checkout the code: 'ant prepare install'. This will do some additional cvs checkouts and downloads, so you need to be online to run this."/> 224 221 … … 226 223 description="Install Greenstone 3. Use this when you first checkout the code: 'ant prepare install'."/> 227 224 228 <target name="cvsupdate" depends="init,cvsupdate-packages,cvsupdate- extensions,cvsupdate-core,cvsupdate-gs2building,cvsupdate-web"225 <target name="cvsupdate" depends="init,cvsupdate-packages,cvsupdate-core,cvsupdate-gs2building,cvsupdate-web" 229 226 description="Do a cvs update for all sources. Doesn't recompile the code. You need to be online to run this."/> 230 227 231 <target name="configure-c++" depends="init,configure-packages,configure-core,configure- extensions,configure-gs2building"228 <target name="configure-c++" depends="init,configure-packages,configure-core,configure-gs2building" 232 229 description="Configure any C/C++ package code and gs2building code if necessary"/> 233 230 … … 235 232 description="Configure the installation. Includes setting up config files. Should be re-run if you change the build.properties file."/> 236 233 237 <target name="clean" depends="init,clean-packages,clean- extensions,clean-core,clean-gs2building"234 <target name="clean" depends="init,clean-packages,clean-core,clean-gs2building" 238 235 description="Remove all old compiled code. Includes core, packages and gs2building if necessary"/> 239 236 <target name="clean-windows-c++" depends="init,clean-windows-c++-gs2building,clean-windows-c++-packages" 240 237 description="Remove C++ compiled code for Windows. Requires Microsoft Visual Studio"/> 241 238 242 <target name="compile" depends="init,compile-web,compile-packages,compile-core,compile- extensions,compile-gs2building"239 <target name="compile" depends="init,compile-web,compile-packages,compile-core,compile-gs2building" 243 240 description="Compile all the source code, includes core, packages and gs2building if necessary. Copy jar files and executables to their correct places."/> 244 241 … … 960 957 </target> 961 958 962 <!-- =============== Extensions targets ==================== -->963 964 <target name="prepare-extensions" depends="init"/>965 966 <target name="cvsupdate-extensions" depends="init">967 <cvs command="update -dP" dest="${extensions.home}"/>968 </target>969 970 <target name="configure-extensions"/>971 972 <target name="clean-extensions" depends="init">973 <!-- vishnu : just call the ant target -->974 <ant antfile="${vishnu.home}/build.xml" dir="${vishnu.home}"975 inheritall="false" target="clean">976 <property name="catalina.home" value="${catalina.home}"/>977 </ant>978 <!-- gsdl-as : just call the ant target-->979 <ant antfile="${gsdl-as.home}/build.xml" dir="${gsdl-as.home}"980 inheritall="false" target="clean">981 <property name="catalina.home" value="${catalina.home}"/>982 </ant>983 </target>984 985 <target name="compile-extensions">986 <!-- vishnu -->987 <echo>Compiling Vishnu</echo>988 <ant antfile="${vishnu.home}/build.xml" dir="${vishnu.home}"989 inheritall="false" target="compile">990 <property name="catalina.home" value="${catalina.home}"/>991 </ant>992 993 <!-- gsdl-as -->994 <echo>Compiling GSDL-AS</echo>995 <ant antfile="${gsdl-as.home}/build.xml" dir="${gsdl-as.home}"996 inheritall="false" target="compile">997 <property name="catalina.home" value="${catalina.home}"/>998 </ant>999 </target>1000 1001 959 <!-- ================== gs2building targets ===============--> 1002 960 … … 1300 1258 1301 1259 1260 <target name="prepare-for-dist-2" depends="init"> 1261 <antcall target="configure-c++"/> 1262 </target> 1263 1302 1264 <target name="prepare-for-dist-3" depends="init"> 1303 <antcall target="configure-c++"/>1304 </target>1305 1306 <target name="prepare-for-dist-4" depends="init">1307 1265 <antcall target="compile"/> 1308 1266 <antcall target="clean-packages-c++"/>
Note:
See TracChangeset
for help on using the changeset viewer.