User: starksm
Date: 01/06/24 18:21:39
Modified: src/examples/build build.xml
Log:
Start adding the chapter 1 examples.
Take the jboss.dist property from the JBOSS_DIST environment variable
by default.
Add the servlet.jar location assuming JBOSS_DIST points to a JBoss/Tomcat
bundle distribution
Revision Changes Path
1.4 +18 -5 manual/src/examples/build/build.xml
Index: build.xml
===================================================================
RCS file: /cvsroot/jboss/manual/src/examples/build/build.xml,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- build.xml 2001/06/24 09:59:00 1.3
+++ build.xml 2001/06/25 01:21:39 1.4
@@ -13,7 +13,13 @@
<project name="CMP" default="main" basedir="../">
- <property name="jboss.dist" value="${jboss.home}"/>
+ <property name="env" environment="env" />
+ <!-- Override with your JBoss server dist location if the JBOSS_DIST env var is
not set -->
+ <property name="jboss.dist" value="${env.JBOSS_DIST}"/>
+ <!-- Override with your web server servlet jar location. The default assumes
that
+ JBOSS_DIST points to a JBoss/Tomcat bundle distribution
+ -->
+ <property name="servlet.jar"
value="${env.JBOSS_DIST}/../tomcat/lib/servlet.jar"/>
<property name="src.dir" value="${basedir}"/>
<property name="build.dir" value="${basedir}/build-examples"/>
<property name="dist.dir" value="${basedir}/../../dist-examples"/>
@@ -79,11 +85,18 @@
<antcall target="cmp-cd-dist" />
-->
</target>
-
-
- <!--
*************************************************************************** -->
+
+ <!--
*************************************************************************** -->
+ <!-- Chapter 1 - First Steps -->
+ <target name="intro-interest-compile" depends="init">
+ <ant antfile="org/jboss/docs/interest/build.xml" target="compile">
+ </ant>
+ </target>
+
- <!-- Chapter 4 - CMP -->
+
+ <!--
*************************************************************************** -->
+ <!-- Chapter 4 - CMP -->
<target name="cmp-cd-compile" depends="init">
<ant antfile="org/jboss/docs/cmp/cd/build/build-cmp-cd-compile.xml"
target="main">
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development