From: Steve L. <st...@us...> - 2004-06-29 16:03:50
|
Update of /cvsroot/smartfrog/core/components/emailer In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19396/core/components/emailer Modified Files: build.xml Log Message: -New build file for components -uprated common.xml with much more commonality -removed duplicates from the build.xml files of common.xml users Index: build.xml =================================================================== RCS file: /cvsroot/smartfrog/core/components/emailer/build.xml,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** build.xml 22 Jun 2004 09:02:34 -0000 1.3 --- build.xml 29 Jun 2004 16:03:12 -0000 1.4 *************** *** 31,37 **** <property file="build.properties" /> - <!-- this component keeps its test files in a different place from the - rest, for historical reasons (i.e. it is nothing but test) --> - <property name="test.src.dir" location="testcases" /> <property name="emailer.lib.dir" location="lib" description= "place to put third party libraries"/> --- 31,34 ---- *************** *** 47,54 **** <target name="init" depends="init-standard-output-dirs,use-smartfrog-tasks"> ! <property name="target.jar" ! location="${dist.lib.dir}/emailer.jar" /> ! ! <!-- the compile time path includes axis--> <path id="compile.classpath"> --- 44,48 ---- <target name="init" depends="init-standard-output-dirs,use-smartfrog-tasks"> ! <!-- the compile time path includes axis--> <path id="compile.classpath"> *************** *** 65,111 **** </target> ! ! <!-- ========================================================== --> ! <!-- compile --> ! <!-- ========================================================== --> ! <target name="compile" ! depends="verify-smartfrog,init"> ! <depend srcdir="${src.dir}" ! destdir="${build.classes.dir}" ! cache="${build.dir}/depends" ! closure="yes"/> ! <sf-javac ! classpathref="compile.classpath" ! srcdir="${src.dir}" ! destdir="${build.classes.dir}" ! /> ! <copy-useful-files src="${src.dir}" dest="${build.classes.dir}" /> ! </target> ! ! <!-- ========================================================== --> ! <!-- use rmi to generate stubs and skeleton--> ! <!-- ========================================================== --> ! <target name="compile-RMI" depends="compile" ! description="create the RMI classes"> ! <sf-rmic ! base="${build.classes.dir}" ! verify="true" ! includes="**/*.class"> ! <classpath refid="compile.classpath"/> ! </sf-rmic> ! </target> ! <!-- ========================================================== --> <!-- create the jar --> <!-- ========================================================== --> ! <target name="dist" depends="compile" description="create the jar files"> - <jar destfile="${target.jar}" basedir="${build.classes.dir}" includes="**/*"/> - <!--copydir src = "${emailer.lib.dir}" dest= "${dist.lib.dir}" - includes ="**/*.jar" / --> <copy todir = "${dist.lib.dir}"> <fileset dir ="${emailer.lib.dir}" /> </copy> - <!--copy file ="${target.jar}" todir="${smartfrog.dist.lib.dir}"/ --> </target> --- 59,71 ---- </target> ! <!-- ========================================================== --> <!-- create the jar --> <!-- ========================================================== --> ! <target name="dist" depends="common.dist" description="create the jar files"> <copy todir = "${dist.lib.dir}"> <fileset dir ="${emailer.lib.dir}" /> </copy> </target> *************** *** 113,117 **** <!-- default target --> <!-- ========================================================== --> ! <target name="default" depends="compile, compile-RMI, dist" description="default target" /> </project> --- 73,77 ---- <!-- default target --> <!-- ========================================================== --> ! <target name="default" depends="dist" description="default target" /> </project> |