Changeset 20089
- Timestamp:
- 2009-07-27T16:00:54+12:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
greenstone3/trunk/build.xml
r20085 r20089 498 498 <!-- ========== Web app Targets ================================ --> 499 499 500 <target name="prepare-web" depends="init ,configure-java-version">500 <target name="prepare-web" depends="init"> 501 501 <mkdir dir="${web.home}/applet"/> 502 502 <mkdir dir="${web.home}/logs"/> … … 556 556 <echo>deactivating xalan.jar</echo> 557 557 <delete file="${web.lib}/xalan.jar"/> 558 <!-- should we be deleting common/endorsed/xalan.jar on mac?? --> 558 559 </target> 559 560 … … 648 649 649 650 <!-- this target downloads and installs Tomcat --> 650 <!-- we download tomcat and the compat module - its needed for 1.4, and doesn't seem to harm 1.5 --> 651 <target name="prepare-tomcat" depends="init,setup-proxy" if="tomcat.islocal"> 651 <!-- we download tomcat (version 6 for Java 1.5 and later, version 5 for Java 1.4 plus the 1.4 compatibility package). --> 652 <target name="prepare-tomcat" depends="init,setup-proxy" if="tomcat.islocal" 653 description="downloads the appropriate version of Tomcat (Tomcat 5 if using Java 1.4, Tomcat 6 if using Java 1.5 or higher). If you want to change which version of Java you are using between 1.4 and 1.5/6 then you need to run prepare-tomcat"> 652 654 <if> 653 655 <bool> … … 694 696 </echo> 695 697 698 <!-- this is not strictly a prepare tomcat thing, but if one changes 699 Java, then they need to change tomcat as well, so might as well call 700 it here --> 701 <antcall target="configure-java-version"/> 696 702 <else> 697 703 <echo>Tomcat has been prepared, will not prepare</echo> … … 727 733 </target> 728 734 729 <target name="start-tomcat" description="Startup only Tomcat" depends="init ,configure-java-version" if="tomcat.islocal">735 <target name="start-tomcat" description="Startup only Tomcat" depends="init" if="tomcat.islocal"> 730 736 <property name="tomcat.classpath" refid="local.tomcat.classpath"/> 731 737 <property name="tomcat.path" refid="local.tomcat.path"/> … … 1009 1015 <target name="compile-core" depends="init" 1010 1016 description="Compile only the Greenstone core"> 1011 <if>1012 <!-- Rather than test for tomcat 6, testing here for NOT tomcat 51013 (so that it may hopefully still serve when it becomes tomcat 7) -->1014 <bool><not><equals arg1="5" arg2="${tomcat.version.major}"/></not></bool>1015 <copy file="${web.lib}/xercesImpl.jar" todir="${catalina.home}/lib"/>1016 <copy file="${web.lib}/xml-apis.jar" todir="${catalina.home}/lib"/>1017 </if>1018 1017 <mkdir dir="${build.home}"/> 1019 1018 <javac srcdir="${src.home}" … … 1682 1681 </target> 1683 1682 1683 <!-- ========== Some distribution targets ======================== --> 1684 1684 <target name="remove-source"> 1685 1685 <delete includeEmptyDirs="true"> … … 1727 1727 </target> 1728 1728 1729 <!-- fix up executable permissions for binary release --> 1730 <target name="fix-execute-permissions"> 1731 <echo>Setting binaries to executable</echo> 1732 <chmod dir="." includes="*.sh" perm="775"/> 1733 <chmod dir="bin/script" includes="*" perm="775"/> 1734 <chmod dir="bin" includes="*" perm="775"/> 1735 <!-- if linux --> 1736 <chmod dir="gs2build/bin/linux" includes="*" perm="775"/> 1737 <!-- /if --> 1738 <!-- if mac --> 1739 <chmod dir="gs2build/bin/darwin" includes="*" perm="775"/> 1740 <!-- /if --> 1741 <chmod dir="gs2build/bin/script" includes="**/*" perm="775"/> 1742 <chmod dir="gli" includes="*.sh" perm="775"/> 1743 <chmod file="packages/ant/bin/ant" perm="775"/> 1744 </target> 1745 1746 <!-- fix up executable permissions for source code release --> 1747 <target name="fix-execute-permissions-source"> 1748 <chmod dir="gs2build" includes="**/configure" perm="775"/> 1749 <chmod dir="gs2build/common-src/packages/gdbm/gdbm-1.8.3" includes="mkinstalldirs" perm="775"/> 1750 <chmod file="src/packages/javagdbm/configure" perm="775"/> 1751 <chmod file="src/packages/search4j/configure" perm="775"/> 1752 1753 </target> 1754 1755 1729 1756 <!-- ============= tweaks for making compilation static ========== --> 1730 1757 <target name="tweak-makefiles" depends="init" if="compile.static">
Note:
See TracChangeset
for help on using the changeset viewer.