Changeset 9711 for branches


Ignore:
Timestamp:
2005-04-18T15:31:13+12:00 (19 years ago)
Author:
kjdon
Message:

moved the vishnu stuff into its own build.xml file

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/ant-install-branch/gsdl3/build.xml

    r9697 r9711  
    128128      <include name="*.jar"/>
    129129    </fileset>
     130   
     131    <!-- include the jar files from the packages -->
     132    <pathelement location="${mg.home}/java/mg.jar"/>
     133    <pathelement location="${mgpp.home}/java/mgpp.jar"/>
     134    <pathelement location="${vishnu.home}/build/vishnu.jar"/>
    130135   
    131136    <!-- Include all elements that Tomcat exposes to applications -->
     
    732737      <classpath>
    733738    <path refid="compile.classpath"/>
    734     <!-- need to add in package jar files to classpath -->
    735     <pathelement location="${mg.home}/java/mg.jar"/>
    736     <pathelement location="${mgpp.home}/java/mgpp.jar"/>
    737     <pathelement location="${vishnu.home}/vishnu.jar"/>
    738739      </classpath>
    739740    </javac>
     
    835836    <delete file="${mgpp.home}/jni/org_greenstone_mgpp_MGPPWrapper.h"/>
    836837    <delete file="${mgpp.home}/jni/org_greenstone_mgpp_MGPPPassesWrapper.h"/>
    837     <!-- vishnu -->
    838     <delete dir="${vishnu.home}/src/classes"/>
    839     <delete file="${vishnu.home}/src/vishnu.jar"/>
     838    <!-- vishnu : just call the ant target -->
     839    <ant antfile="${vishnu.home}/build.xml" dir="${vishnu.home}"
     840      inheritall="false" target="clean"/>
    840841
    841842    <!-- gsdl-as : just call the ant target-->
     
    868869      </manifest>
    869870    </jar>
    870     <copy file="${mg.home}/java/mg.jar" todir="${javalib}"/>
    871871    <!-- make the c code -->
    872872    <exec executable="make" os="Linux"
     
    899899      </manifest>
    900900    </jar>
    901     <copy file="${mgpp.home}/java/mgpp.jar" todir="${javalib}"/>
    902901    <!-- c++ code -->
    903902    <exec executable="make" os="Linux"
     
    911910    <!-- vishnu -->
    912911    <echo>Compiling Vishnu</echo>
    913     <mkdir dir="${vishnu.home}/classes"/>
    914     <javac srcdir="${vishnu.home}/src"
    915       destdir="${vishnu.home}/classes"
    916       debug="${compile.debug}"
    917       deprecation="${compile.deprecation}"
    918       optimize="${compile.optimize}">
    919       <classpath>
    920     <path refid="compile.classpath"/>
    921     <pathelement location="${mg.home}/java/mg.jar"/>
    922       </classpath>
    923     </javac>
    924     <jar destfile="${vishnu.home}/vishnu.jar">
    925       <fileset dir="${vishnu.home}/classes"/>
    926       <manifest>
    927     <attribute name="Built-By" value="${user.name}" />
    928       </manifest>
    929     </jar>     
    930     <copy file="${vishnu.home}/vishnu.jar" todir="${javalib}"/>
    931     <copy file="${vishnu.home}/vishnu.jar" todir="${web.lib}"/>
    932     <mkdir dir="${web.classes}/vishnu/server"/>
    933     <copy file="${vishnu.home}/classes/vishnu/server/VisServlet.class"
    934       todir="${web.classes}/vishnu/server"/>
     912    <ant antfile="${vishnu.home}/build.xml" dir="${vishnu.home}"
     913      inheritall="false" target="compile"/>
    935914
    936915    <!-- gsdl-as -->
Note: See TracChangeset for help on using the changeset viewer.