From: Julien V. <vi...@us...> - 2004-03-17 23:08:44
|
User: vietj Date: 04/03/17 14:59:16 Modified: common build.xml Log: added an ant task that creates exploded/nested archives from ear,jar,sar,zip,war Revision Changes Path 1.9 +11 -2 nukes/common/build.xml Index: build.xml =================================================================== RCS file: /cvsroot/jboss/nukes/common/build.xml,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- build.xml 1 Mar 2004 18:33:04 -0000 1.8 +++ build.xml 17 Mar 2004 22:59:16 -0000 1.9 @@ -8,7 +8,7 @@ <!ENTITY targets SYSTEM "../tools/etc/buildfragments/targets.ent"> ]> -<!-- $Id: build.xml,v 1.8 2004/03/01 18:33:04 vietj Exp $ --> +<!-- $Id: build.xml,v 1.9 2004/03/17 22:59:16 vietj Exp $ --> <!--+======================================================================+--> <!--| Nukes (The OpenSource CMS) Build File |--> @@ -67,11 +67,11 @@ <fileset dir="${jboss.home}/lib" includes="jboss-common.jar"/> <fileset dir="${jboss.home}/server/default/lib" includes="log4j.jar"/> <fileset dir="${jboss.home}/server/default/lib" includes="jboss-j2ee.jar"/> + <path refid="apache.ant.classpath"/> <path refid="dom4j.dom4j.classpath"/> <path refid="javassist.classpath"/> </path> - <path id="javac.classpath"> <pathelement location="${build.classes}"/> </path> @@ -114,6 +114,15 @@ <!-- Add module specific elements here. --> </target> + <target name="explode" depends="output"> + <path id="toto"> + <path refid="javac.classpath"/> + <pathelement location="${build.lib}/nukes-common-lib.jar"/> + </path> + <taskdef classname="org.jboss.nukes.common.ant.Explode" name="explode" classpathref="toto"/> + <explode file="essai/nukes-jboss.ear" todir="essai/output" name="nukes-jboss-exploded.ear"/> + </target> + <target name="generate-parsers" depends="init"> <mkdir dir="${build.gen.classes}/org/jboss/nukes/common/template"/> <javacc |