From: <vh...@us...> - 2001-06-22 21:53:18
|
User: vharcq Date: 01/06/22 14:53:18 Added: src/examples/org/jboss/docs/cmp/cd/build build-cmp-cd-compile.xml Removed: src/examples/org/jboss/docs/cmp/cd/build build.xml Log: Proposal to handle Ant script to build/deploy/run the examples shown in the manual Revision Changes Path 1.1 manual/src/examples/org/jboss/docs/cmp/cd/build/build-cmp-cd-compile.xml Index: build-cmp-cd-compile.xml =================================================================== <?xml version="1.0" encoding="UTF-8" ?> <!-- An Ant build file for the CMP tutorial code --> <project name="CMP CD Compile" default="main" basedir="./"> <property name="build.classes.dir" value="${build.dir}/cmp-cd/classes"/> <property name="build.ejb.dir" value="${build.dir}/cmp-cd/ejb"/> <target name="main" depends=""> <mkdir dir="${build.classes.dir}"/> <mkdir dir="${build.ejb.dir}"/> <javac srcdir="${src.dir}" destdir="${build.classes.dir}" classpath="${classpath}" debug="on" deprecation="on" optimize="off" includes="org/jboss/docs/cmp/cd/**" /> <mkdir dir="${build.classes.dir}/META-INF"/> <copy file="${src.dir}/org/jboss/docs/cmp/cd/resources/ejb-jar.xml" tofile="${build.classes.dir}/META-INF/ejb-jar.xml" /> <copy file="${src.dir}/org/jboss/docs/cmp/cd/resources/jboss.xml" tofile="${build.classes.dir}/META-INF/jboss.xml" /> <jar jarfile="${build.ejb.dir}/cd.jar" basedir="${build.classes.dir}" includes="META-INF/**,org/jboss/docs/cmp/cd/**" /> </target> </project> |