From: Ralf R. <rat...@us...> - 2005-01-28 09:08:18
|
Update of /cvsroot/unicore/unigrids/core/unigrids In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18407/core/unigrids Modified Files: build.xml Log Message: added jar building Index: build.xml =================================================================== RCS file: /cvsroot/unicore/unigrids/core/unigrids/build.xml,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** build.xml 28 Jan 2005 08:46:28 -0000 1.3 --- build.xml 28 Jan 2005 09:08:09 -0000 1.4 *************** *** 3,6 **** --- 3,7 ---- <property name="sourceDir" value="./"/> <property name="outputDir" value="../../bin"/> + <property name="releaseDir" value="../../release"/> <property name="libDir" value="../../lib"/> <property name="wsdlDir" value="../../schema"/> *************** *** 15,18 **** --- 16,24 ---- </path> + <!-- do everything --> + <target name="all" + depends="buildAllStubs, buildJar" + description= "Build the jar from the WSDLs"/> + <!-- compile it --> <target name="compile" depends="init" description="compile all source code"> *************** *** 26,30 **** </target> ! <target name="all"> <antcall target="WSDL2Java-RP"/> <antcall target="WSDL2Java-LT"/> --- 32,50 ---- </target> ! <!-- release the jar --> ! <target name="buildJar" ! depends="compile" ! description= "create jar"> ! <property name="jarName" value="unigridsWSRF.jar"/> ! <echo message="Building ${jarName} in ${releaseDir}" /> ! <jar destfile="${releaseDir}/${jarName}" ! basedir="${outputDir}" ! update="false" ! includes="**/*.class" ! excludes="**/*.wsdd"/> ! </target> ! ! <!-- do all the WSDL2Javas --> ! <target name="buildAllStubs"> <antcall target="WSDL2Java-RP"/> <antcall target="WSDL2Java-LT"/> *************** *** 89,94 **** ! <!-- Include axis ant tasks --> ! <taskdef resource="axis-tasks.properties" classpathref="project.classpath" /> <target name="WSDL2Java" depends="init" --- 109,113 ---- ! <!-- Base wsdl2java --> <target name="WSDL2Java" depends="init" *************** *** 115,126 **** </target> ! <target name="clean" description="Remove all dirs"> <delete dir="${outputDir}" /> </target> <target name="init" description="Create dirs "> <tstamp /> <mkdir dir="${outputDir}" /> </target> </project> --- 134,147 ---- </target> ! <!-- clean output dir --> <target name="clean" description="Remove all dirs"> <delete dir="${outputDir}" /> </target> + <!-- build initial dirs --> <target name="init" description="Create dirs "> <tstamp /> <mkdir dir="${outputDir}" /> + <mkdir dir="${releaseDir}" /> </target> </project> |