[Pfc-prolog-cvs] prolix build.xml,1.31,1.32
Status: Beta
Brought to you by:
ivanfrade
From: <iva...@us...> - 2003-07-13 20:46:28
|
Update of /cvsroot/pfc-prolog/prolix In directory sc8-pr-cvs1:/tmp/cvs-serv22491 Modified Files: build.xml Log Message: Added dummy interpreter to cvs Index: build.xml =================================================================== RCS file: /cvsroot/pfc-prolog/prolix/build.xml,v retrieving revision 1.31 retrieving revision 1.32 diff -C2 -d -r1.31 -r1.32 *** build.xml 13 Jul 2003 16:30:37 -0000 1.31 --- build.xml 13 Jul 2003 20:46:25 -0000 1.32 *************** *** 161,164 **** --- 161,168 ---- </path> + <path id="dummy.path"> + <pathelement location="${lib.dir}/prolix-interpreter-interface.jar"/> + </path> + <!-- =================================================================== --> <!-- Generates the necessary EJB classes and deployment descriptors --> *************** *** 496,503 **** to JBOSS_HOME/server/default/lib ? --> <target name="deploy-server" depends="jar"> ! <!-- FIXME VI commented while test struts ! <copy file="${dist.dir}/prolix-beans.jar" todir="${jboss.deploy}"/> ! --> ! <copy file="${dist.dir}/${war.file}" todir="${jboss.deploy}" /> </target> --- 500,507 ---- to JBOSS_HOME/server/default/lib ? --> <target name="deploy-server" depends="jar"> ! <!-- FIXME VI commented while test struts --> ! ! <copy file="${dist.dir}/prolix-beans.jar" todir="${jboss.deploy}"/> ! <copy file="${dist.dir}/${war.file}" todir="${jboss.deploy}" /> </target> *************** *** 570,573 **** --- 574,605 ---- </target> + + + <!-- =================================================================== --> + <!-- Builds dummy and copy to lib dir and to JBOSS --> + <!-- =================================================================== --> + + <target name="dummy"> + <mkdir dir="${build.classes.dir}"/> + <mkdir dir="${dist.dir}"/> + <javac + srcdir="${src.dir}" + destdir="${build.classes.dir}" + includes="org/asturlinux/frade/dummy/*.java" + classpathref="dummy.path" + > + </javac> + + <jar jarfile="${dist.dir}/${interpreter}" + basedir="${build.classes.dir}" + includes="**/dummy/*.class" + /> + <copy file="${dist.dir}/${interpreter}" + todir="${lib.dir}" /> + <!-- + <copy file="${dist.dir}/${interpreter}" + todir="${jboss.home}/server/default/lib"/> + --> + </target> </project> |