User: user57
Date: 02/03/07 18:45:48
Modified: . build.xml
Log:
o added simplewebapp for simple deployment demo for j2ee config
Revision Changes Path
1.4 +50 -9 netboot-demo/build.xml
Index: build.xml
===================================================================
RCS file: /cvsroot/jboss/netboot-demo/build.xml,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- build.xml 8 Mar 2002 01:45:22 -0000 1.3
+++ build.xml 8 Mar 2002 02:45:48 -0000 1.4
@@ -12,7 +12,7 @@
<!-- -->
<!-- ====================================================================== -->
-<!-- $Id: build.xml,v 1.3 2002/03/08 01:45:22 user57 Exp $ -->
+<!-- $Id: build.xml,v 1.4 2002/03/08 02:45:48 user57 Exp $ -->
<project default="main" name="JBoss/NetBoot Demo">
@@ -88,11 +88,15 @@
<!-- Where source files live -->
<property name="source.etc" value="${module.source}/etc"/>
<property name="source.docs" value="${module.source}/docs"/>
+ <property name="source.web" value="${module.source}/web"/>
+ <property name="source.metadata" value="${module.source}/metadata"/>
<!-- Where build generated files will go -->
<property name="build.lib" value="${module.output}/lib"/>
<property name="build.etc" value="${module.output}/etc"/>
<property name="build.docs" value="${module.output}/docs"/>
+ <property name="build.web" value="${module.output}/web"/>
+ <property name="build.metadata" value="${module.output}/metadata"/>
<!-- The combined thirdparty classpath -->
<path id="thirdparty.classpath">
@@ -120,7 +124,7 @@
<target name="compile"
description="Compile all source files."
- depends="compile-etc, compile-docs, compile-bootstrap-binaries,
compile-base"/>
+ depends="compile-etc, compile-metadata, compile-web, compile-docs,
compile-bootstrap-binaries, compile-base"/>
<!-- Compile etc bits -->
<target name="compile-etc" depends="init">
@@ -132,6 +136,26 @@
</copy>
</target>
+ <!-- Compile web bits -->
+ <target name="compile-web" depends="init">
+ <mkdir dir="${build.web}"/>
+ <copy todir="${build.web}" filtering="yes">
+ <fileset dir="${source.web}">
+ <include name="**"/>
+ </fileset>
+ </copy>
+ </target>
+
+ <!-- Compile metadata bits -->
+ <target name="compile-metadata" depends="init">
+ <mkdir dir="${build.metadata}"/>
+ <copy todir="${build.metadata}" filtering="yes">
+ <fileset dir="${source.metadata}">
+ <include name="**"/>
+ </fileset>
+ </copy>
+ </target>
+
<!-- Compile static docs -->
<target name="compile-docs" depends="init">
<mkdir dir="${build.docs}"/>
@@ -242,13 +266,6 @@
<mkdir dir="${build.lib}"/>
- <!-- jboss-netboot-demo-base.zip -->
- <zip zipfile="${build.lib}/jboss-netboot-demo-base.zip">
- <fileset dir="${module.output}/base">
- <include name="**"/>
- </fileset>
- </zip>
-
<!-- jboss-netboot.zip -->
<zip zipfile="${build.lib}/jboss-netboot.zip">
<fileset dir="${module.output}/bootstrap">
@@ -262,6 +279,30 @@
<include name="**"/>
</tar>
<gzip src="${build.lib}/jboss-netboot.tar"
zipfile="${build.lib}/jboss-netboot.tgz"/>
+
+ <!-- simplewebapp.war -->
+ <war warfile="${build.lib}/simplewebapp.war"
+ webxml="${build.metadata}/simplewebapp-web.xml">
+ <fileset dir="${build.web}/simplewebapp">
+ <include name="**/*"/>
+ </fileset>
+ </war>
+
+ <!-- simplewebapp.ear -->
+ <ear earfile="${build.lib}/simplewebapp.ear"
+ appxml="${build.metadata}/simplewebapp-application.xml">
+ <fileset dir="${build.lib}">
+ <include name="simplewebapp.war"/>
+ </fileset>
+ </ear>
+
+ <!-- jboss-netboot-demo-base.zip -->
+ <zip zipfile="${build.lib}/jboss-netboot-demo-base.zip">
+ <fileset dir="${module.output}/base">
+ <include name="**"/>
+ </fileset>
+ </zip>
+
</target>
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development