[JBoss-dev] CVS update: manual/src/examples/build build.xml

2002-04-18 Thread Tobias Frech

  User: gropi   
  Date: 02/04/18 12:43:28

  Modified:src/examples/build build.xml
  Log:
  Make interest example work again with these versions:
  JBoss 2.4.5RC1, 2.4.5_Tomcat-4.0.3, 2.4.5_Jetty-4.0.0
  JBoss 3.0.0RC1, 3.0.0RC1_Jetty
  
  Revision  ChangesPath
  3.1   +27 -3 manual/src/examples/build/build.xml
  
  Index: build.xml
  ===
  RCS file: /cvsroot/jboss/manual/src/examples/build/build.xml,v
  retrieving revision 3.0
  retrieving revision 3.1
  diff -u -r3.0 -r3.1
  --- build.xml 18 Nov 2001 20:10:42 -  3.0
  +++ build.xml 18 Apr 2002 19:43:28 -  3.1
  @@ -21,6 +21,15 @@
   property name=src.resources value=${basedir}/resources/
   property name=build.dir value=${basedir}/build-examples/
   property name=dist.dir value=${basedir}/../../dist-examples/
  + 
  +target name=validate-deploy
  +!-- Look for the deployment dir. Differs between 2.x and 3.x 
  + --
  +!-- First look for JBoss 2.x --
  +available property=deploy.dir value=${jboss.dist}/deploy 
file=${jboss.dist}/deploy type=dir/
  +!-- Then check for JBoss 3.x (will override previous one if found) --
  +available property=deploy.dir 
value=${jboss.dist}/server/default/deploy file=${jboss.dist}/server/default/deploy 
type=dir/
  +/target
   
   target name=validate-servlet
   !-- Override with your web server servlet jar location. 
  @@ -31,6 +40,8 @@
   available property=servlet.jar 
value=${env.JBOSS_DIST}/../jetty/lib/javax.servlet.jar 
file=${env.JBOSS_DIST}/../jetty/lib/javax.servlet.jar/
   available property=servlet.jar 
value=${env.JBOSS_DIST}/../catalina/common/lib/servlet.jar 
file=${env.JBOSS_DIST}/../catalina/common/lib/servlet.jar/
   available property=servlet.jar 
value=${env.JBOSS_DIST}/../catalina/common/lib/servlet.jar 
file=${env.TOMCAT_HOME}/lib/servlet.jar/
  +!-- JBoss 3.0.x --
  +available property=servlet.jar 
value=${env.JBOSS_DIST}/lib/javax.servlet.jar 
file=${env.JBOSS_DIST}/lib/javax.servlet.jar/
   property name=servlet.jar value=COULD_NOT_FIND_SERVLET_JAR/
   
   path id=base.path_22
  @@ -49,16 +60,29 @@
   pathelement location=${jboss.dist}/client/jnp-client.jar/
   pathelement location=${servlet.jar}/
   /path
  +path id=base.path_30
  +pathelement location=${jboss.dist}/client/jboss-j2ee.jar/
  +pathelement location=${jboss.dist}/client/jboss-common-client.jar/
  +pathelement location=${jboss.dist}/client/log4j.jar/
  +pathelement location=${jboss.dist}/client/jbosssx-client.jar/
  +pathelement location=${jboss.dist}/client/jboss-client.jar/
  +pathelement location=${jboss.dist}/client/jnp-client.jar/
  +pathelement location=${servlet.jar}/
  +/path
  +
   /target
   
  -target name=validate-jboss depends=validate-servlet
  +target name=validate-jboss depends=validate-servlet,validate-deploy
  +!-- JBoss 2.2.x --
   available property=classpath_id value=base.path_22 
file=${jboss.dist}/client/ejb.jar /
  +!-- JBoss 2.4.x --
   available property=classpath_id value=base.path_24 
file=${jboss.dist}/client/jboss-j2ee.jar /
  -
  +!-- JBoss 3.0.x --
  +available property=classpath_id value=base.path_30 
file=${jboss.dist}/client/jboss-common-client.jar /
   /target
   
   target name=fail_if_not_valid unless=classpath_id
  -fail message=jboss.dist=${jboss.dist} is not a valid JBOSS_DIST 
directory. If using a bundled JBoss version set JBOSS_DIST to the jboss/ subdir./
  +fail message=jboss.dist=${jboss.dist} is not a valid JBOSS_DIST 
directory. Please make sure the JBOSS_DIST environment variable is set properly. If 
you are using a bundled JBoss 2.x version please set JBOSS_DIST to the jboss/ 
subdir./
   /target
   
   target name=init depends=validate-jboss,fail_if_not_valid
  
  
  

___
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development



[JBoss-dev] CVS update: manual/src/examples/build build.xml readme.txt

2001-11-18 Thread Tobias Frech

  User: gropi   
  Date: 01/11/18 11:14:20

  Modified:src/examples/build Tag: 2.0 build.xml readme.txt
  Log:
  Let the major cvs revision number reflect the release number of JBoss
  the documentation is meant for.
  
  Revision  ChangesPath
  No   revision
  
  
  No   revision
  
  
  2.0   +0 -0  manual/src/examples/build/build.xml
  
  
  
  
  2.0   +0 -0  manual/src/examples/build/readme.txt
  
  
  
  

___
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development



[JBoss-dev] CVS update: manual/src/examples/build build.xml

2001-10-02 Thread Tobias Frech

  User: gropi   
  Date: 01/10/02 01:54:27

  Modified:src/examples/build build.xml
  Log:
  Use a more flexible schema to determine the location of servlet.jar
  
  Revision  ChangesPath
  1.15  +34 -24manual/src/examples/build/build.xml
  
  Index: build.xml
  ===
  RCS file: /cvsroot/jboss/manual/src/examples/build/build.xml,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- build.xml 2001/09/05 21:58:01 1.14
  +++ build.xml 2001/10/02 08:54:27 1.15
  @@ -16,42 +16,52 @@
   property 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=src.resources value=${basedir}/resources/
   property name=build.dir value=${basedir}/build-examples/
   property name=dist.dir value=${basedir}/../../dist-examples/
  +
  +target name=validate-servlet
  +!-- Override with your web server servlet jar location. 
  + The default assumes that JBOSS_DIST points to a 
  + JBoss/Tomcat bundle distribution
  + --
  +available property=servlet.jar 
value=${env.JBOSS_DIST}/../tomcat/lib/servlet.jar 
file=${env.JBOSS_DIST}/../tomcat/lib/servlet.jar/
  +available property=servlet.jar 
value=${env.JBOSS_DIST}/../jetty/lib/javax.servlet.jar 
file=${env.JBOSS_DIST}/../jetty/lib/javax.servlet.jar/
  +available property=servlet.jar 
value=${env.JBOSS_DIST}/../catalina/common/lib/servlet.jar 
file=${env.JBOSS_DIST}/../catalina/common/lib/servlet.jar/
  +available property=servlet.jar 
value=${env.JBOSS_DIST}/../catalina/common/lib/servlet.jar 
file=${env.TOMCAT_HOME}/lib/servlet.jar/
  +property name=servlet.jar value=COULD_NOT_FIND_SERVLET_JAR/
   
  -path id=base.path_22
  -pathelement location=${jboss.dist}/client/ejb.jar/
  -pathelement location=${jboss.dist}/client/jaas.jar/
  -pathelement location=${jboss.dist}/client/jbosssx-client.jar/
  -pathelement location=${jboss.dist}/client/jboss-client.jar/
  -pathelement location=${jboss.dist}/client/jnp-client.jar/
  -pathelement location=${servlet.jar}/
  -/path
  -path id=base.path_23
  -pathelement location=${jboss.dist}/client/jboss-j2ee.jar/
  -pathelement location=${jboss.dist}/client/jaas.jar/
  -pathelement location=${jboss.dist}/client/jbosssx-client.jar/
  -pathelement location=${jboss.dist}/client/jboss-client.jar/
  -pathelement location=${jboss.dist}/client/jnp-client.jar/
  -pathelement location=${servlet.jar}/
  -/path
  +path id=base.path_22
  +pathelement location=${jboss.dist}/client/ejb.jar/
  +pathelement location=${jboss.dist}/client/jaas.jar/
  +pathelement location=${jboss.dist}/client/jbosssx-client.jar/
  +pathelement location=${jboss.dist}/client/jboss-client.jar/
  +pathelement location=${jboss.dist}/client/jnp-client.jar/
  +pathelement location=${servlet.jar}/
  +/path
  +path id=base.path_24
  +pathelement location=${jboss.dist}/client/jboss-j2ee.jar/
  +pathelement location=${jboss.dist}/client/jaas.jar/
  +pathelement location=${jboss.dist}/client/jbosssx-client.jar/
  +pathelement location=${jboss.dist}/client/jboss-client.jar/
  +pathelement location=${jboss.dist}/client/jnp-client.jar/
  +pathelement location=${servlet.jar}/
  +/path
  +/target
   
  -target name=validate
  +target name=validate-jboss depends=validate-servlet
   available property=classpath_id value=base.path_22 
file=${jboss.dist}/client/ejb.jar /
  -available property=classpath_id value=base.path_23 
file=${jboss.dist}/client/jboss-j2ee.jar /
  +available property=classpath_id value=base.path_24 
file=${jboss.dist}/client/jboss-j2ee.jar /
  +
   /target
   
   target name=fail_if_not_valid unless=classpath_id
  -fail message=jboss.dist=${jboss.dist} is not a valid JBoss dist 
directory/
  +fail message=jboss.dist=${jboss.dist} is not a valid JBOSS_DIST 
directory. If using a bundled JBoss version set JBOSS_DIST to the jboss/ subdir./
   /target
   
  -target name=init depends=validate,fail_if_not_valid
  +target name=init depends=validate-jboss,fail_if_not_valid
   property name=classpath refid=${classpath_id} /
   echo message=Using JBoss 

[JBoss-dev] CVS update: manual/src/examples/build build.xml

2001-09-05 Thread Vincent Harcq

  User: vharcq  
  Date: 01/09/05 14:58:01

  Modified:src/examples/build build.xml
  Log:
  Bug 458826, 457149
  Chapter JDBC examples did not work.
  
  Revision  ChangesPath
  1.14  +267 -261  manual/src/examples/build/build.xml
  
  Index: build.xml
  ===
  RCS file: /cvsroot/jboss/manual/src/examples/build/build.xml,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- build.xml 2001/08/15 17:25:08 1.13
  +++ build.xml 2001/09/05 21:58:01 1.14
  @@ -1,261 +1,267 @@
  -?xml version=1.0 encoding=UTF-8 ?
  -!-- 
  - Ant build file for the documentation tutorial code
  - Writer of a chapter with an example have to include a foroward
  - to their build file.  This latest build file suppose arguments 
  - sets here :
  - src.dir : Directory where the source are : manual\src\examples
  - build.dir : Base directory where to store generated files 
(class/ejb/war/...)
  - classpath : Classpath used to make any compilation (set up here by 
verifing 
  - which version of JBoss is used.
  - 
  -  --
  -
  -project name=CMP default=main basedir=../
  -
  -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=src.resources value=${basedir}/resources/
  -property name=build.dir value=${basedir}/build-examples/
  -property name=dist.dir value=${basedir}/../../dist-examples/
  -
  -path id=base.path_22
  -pathelement location=${jboss.dist}/client/ejb.jar/
  -pathelement location=${jboss.dist}/client/jaas.jar/
  -pathelement location=${jboss.dist}/client/jbosssx-client.jar/
  -pathelement location=${jboss.dist}/client/jboss-client.jar/
  -pathelement location=${jboss.dist}/client/jnp-client.jar/
  -pathelement location=${servlet.jar}/
  -/path
  -path id=base.path_23
  -pathelement location=${jboss.dist}/client/jboss-j2ee.jar/
  -pathelement location=${jboss.dist}/client/jaas.jar/
  -pathelement location=${jboss.dist}/client/jbosssx-client.jar/
  -pathelement location=${jboss.dist}/client/jboss-client.jar/
  -pathelement location=${jboss.dist}/client/jnp-client.jar/
  -pathelement location=${servlet.jar}/
  -/path
  -
  -target name=validate
  -available property=classpath_id value=base.path_22 
file=${jboss.dist}/client/ejb.jar /
  -available property=classpath_id value=base.path_23 
file=${jboss.dist}/client/jboss-j2ee.jar /
  -/target
  -
  -target name=fail_if_not_valid unless=classpath_id
  -fail message=jboss.dist=${jboss.dist} is not a valid JBoss dist 
directory/
  -/target
  -
  -target name=init depends=validate,fail_if_not_valid
  -property name=classpath refid=${classpath_id} /
  -echo message=Using JBoss directory=${jboss.dist} /
  -echo message=Using base classpath=${classpath} /
  -echo message=Using Source directory=${src.dir} /
  -echo message=Using Build directory=${build.dir} /
  -/target
  -
  -!-- Clean build and dist --
  -target name=clean depends=init
  - delete dir=${build.dir}/
  - delete dir=${dist.dir}/
  -/target
  -
  - !-- No default Target --
  -target name=main depends=init
  - echo message=Specify which target you want to run. Example: build 
cmp-cd-list /
  -/target
  -
  - !-- Target to create files to store on the Web site --
  - 
  -target name=dist depends=clean
  - mkdir dir=${dist.dir}/
  - !-- Bundle all the sources and build script in one file --
  - zip zipfile=${dist.dir}/documentation-example.zip basedir=${src.dir}/../
  -  includes=examples/** /
  -  tar tarfile=${dist.dir}/documentation-example.tar basedir=${src.dir}/../
  -  includes=examples/** /
  -  gzip src=${dist.dir}/documentation-example.tar 
zipfile=${dist.dir}/documentation-example.tar.gz /
  - !-- Add Chapter specific files here 
  - 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 /
  -/target
  -
  -target name=intro-interest-jar depends=init
  -ant 

[JBoss-dev] CVS update: manual/src/examples/build build.xml

2001-08-15 Thread Sacha Labourey

  User: slaboure
  Date: 01/08/15 10:25:08

  Modified:src/examples/build build.xml
  Log:
  Updated build.xml with support for the appletclient example.
  
  Revision  ChangesPath
  1.13  +18 -0 manual/src/examples/build/build.xml
  
  Index: build.xml
  ===
  RCS file: /cvsroot/jboss/manual/src/examples/build/build.xml,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- build.xml 2001/08/07 21:08:58 1.12
  +++ build.xml 2001/08/15 17:25:08 1.13
  @@ -256,6 +256,24 @@
   ant antfile=org/jboss/docs/javamail/build.xml target=javamail-client /
   /target
   
  + !-- Chapter  Applet Client --
  +
  +target name=howto-appletclient-compile depends=init
  +ant antfile=org/jboss/docs/appletclient/build.xml target=compile /
  +/target
  +
  +target name=howto-appletclient-jar depends=init
  +ant antfile=org/jboss/docs/appletclient/build.xml target=ejb-jar /
  +/target
  +
  +target name=howto-appletclient-deploy depends=init
  +ant antfile=org/jboss/docs/appletclient/build.xml 
target=deploy-ejb-jar /
  +/target
  +
  +target name=howto-appletclient-client depends=init
  +ant antfile=org/jboss/docs/appletclient/build.xml 
target=appletclient-client /
  +/target
  +
!-- Add a new target here --

   /project
  
  
  

___
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development



[JBoss-dev] CVS update: manual/src/examples/build build.xml

2001-08-07 Thread Peter Antman

  User: pra 
  Date: 01/08/07 14:08:58

  Modified:src/examples/build build.xml
  Log:
  Added example code for new JMS chapter
  
  Revision  ChangesPath
  1.12  +261 -165  manual/src/examples/build/build.xml
  
  Index: build.xml
  ===
  RCS file: /cvsroot/jboss/manual/src/examples/build/build.xml,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- build.xml 2001/07/30 18:03:16 1.11
  +++ build.xml 2001/08/07 21:08:58 1.12
  @@ -1,165 +1,261 @@
  -?xml version=1.0 encoding=UTF-8 ?
  -!-- 
  - Ant build file for the documentation tutorial code
  - Writer of a chapter with an example have to include a foroward
  - to their build file.  This latest build file suppose arguments 
  - sets here :
  - src.dir : Directory where the source are : manual\src\examples
  - build.dir : Base directory where to store generated files 
(class/ejb/war/...)
  - classpath : Classpath used to make any compilation (set up here by 
verifing 
  - which version of JBoss is used.
  - 
  -  --
  -
  -project name=CMP default=main basedir=../
  -
  -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=src.resources value=${basedir}/resources/
  -property name=build.dir value=${basedir}/build-examples/
  -property name=dist.dir value=${basedir}/../../dist-examples/
  -
  -path id=base.path_22
  -pathelement location=${jboss.dist}/client/ejb.jar/
  -pathelement location=${jboss.dist}/client/jaas.jar/
  -pathelement location=${jboss.dist}/client/jbosssx-client.jar/
  -pathelement location=${jboss.dist}/client/jboss-client.jar/
  -pathelement location=${jboss.dist}/client/jnp-client.jar/
  -pathelement location=${servlet.jar}/
  -/path
  -path id=base.path_23
  -pathelement location=${jboss.dist}/client/jboss-j2ee.jar/
  -pathelement location=${jboss.dist}/client/jaas.jar/
  -pathelement location=${jboss.dist}/client/jbosssx-client.jar/
  -pathelement location=${jboss.dist}/client/jboss-client.jar/
  -pathelement location=${jboss.dist}/client/jnp-client.jar/
  -pathelement location=${servlet.jar}/
  -/path
  -
  -target name=validate
  -available property=classpath_id value=base.path_22 
file=${jboss.dist}/client/ejb.jar /
  -available property=classpath_id value=base.path_23 
file=${jboss.dist}/client/jboss-j2ee.jar /
  -/target
  -
  -target name=fail_if_not_valid unless=classpath_id
  -fail message=jboss.dist=${jboss.dist} is not a valid JBoss dist 
directory/
  -/target
  -
  -target name=init depends=validate,fail_if_not_valid
  -property name=classpath refid=${classpath_id} /
  -echo message=Using JBoss directory=${jboss.dist} /
  -echo message=Using base classpath=${classpath} /
  -echo message=Using Source directory=${src.dir} /
  -echo message=Using Build directory=${build.dir} /
  -/target
  -
  -!-- Clean build and dist --
  -target name=clean depends=init
  - delete dir=${build.dir}/
  - delete dir=${dist.dir}/
  -/target
  -
  - !-- No default Target --
  -target name=main depends=init
  - echo message=Specify which target you want to run. Example: build 
cmp-cd-list /
  -/target
  -
  - !-- Target to create files to store on the Web site --
  - 
  -target name=dist depends=clean
  - mkdir dir=${dist.dir}/
  - !-- Bundle all the sources and build script in one file --
  - zip zipfile=${dist.dir}/documentation-example.zip basedir=${src.dir}/../
  -  includes=examples/** /
  -  tar tarfile=${dist.dir}/documentation-example.tar basedir=${src.dir}/../
  -  includes=examples/** /
  -  gzip src=${dist.dir}/documentation-example.tar 
zipfile=${dist.dir}/documentation-example.tar.gz /
  - !-- Add Chapter specific files here 
  - 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 /
  -/target
  -
  -target name=intro-interest-jar depends=init
  -ant 

[JBoss-dev] CVS update: manual/src/examples/build build.xml

2001-07-31 Thread Jason Dillon

  User: user57  
  Date: 01/07/31 22:09:26

  Modified:src/examples/build Tag: jboss_buildmagic build.xml
  Log:
   o updated from HEAD
  
  Revision  ChangesPath
  No   revision
  
  
  No   revision
  
  
  1.10.6.1  +165 -161  manual/src/examples/build/build.xml
  
  Index: build.xml
  ===
  RCS file: /cvsroot/jboss/manual/src/examples/build/build.xml,v
  retrieving revision 1.10
  retrieving revision 1.10.6.1
  diff -u -r1.10 -r1.10.6.1
  --- build.xml 2001/06/29 10:44:55 1.10
  +++ build.xml 2001/08/01 05:09:26 1.10.6.1
  @@ -1,161 +1,165 @@
  -?xml version=1.0 encoding=UTF-8 ?
  -!-- 
  - Ant build file for the documentation tutorial code
  - Writer of a chapter with an example have to include a foroward
  - to their build file.  This latest build file suppose arguments 
  - sets here :
  - src.dir : Directory where the source are : manual\src\examples
  - build.dir : Base directory where to store generated files 
(class/ejb/war/...)
  - classpath : Classpath used to make any compilation (set up here by 
verifing 
  - which version of JBoss is used.
  - 
  -  --
  -
  -project name=CMP default=main basedir=../
  -
  -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=src.resources value=${basedir}/resources/
  -property name=build.dir value=${basedir}/build-examples/
  -property name=dist.dir value=${basedir}/../../dist-examples/
  -
  -path id=base.path_22
  -pathelement location=${jboss.dist}/client/ejb.jar/
  -pathelement location=${jboss.dist}/client/jaas.jar/
  -pathelement location=${jboss.dist}/client/jbosssx-client.jar/
  -pathelement location=${jboss.dist}/client/jboss-client.jar/
  -pathelement location=${jboss.dist}/client/jnp-client.jar/
  -pathelement location=${servlet.jar}/
  -/path
  -path id=base.path_23
  -pathelement location=${jboss.dist}/client/jboss-j2ee.jar/
  -pathelement location=${jboss.dist}/client/jaas.jar/
  -pathelement location=${jboss.dist}/client/jbosssx-client.jar/
  -pathelement location=${jboss.dist}/client/jboss-client.jar/
  -pathelement location=${jboss.dist}/client/jnp-client.jar/
  -pathelement location=${servlet.jar}/
  -/path
  -
  -target name=validate
  -available property=classpath_id value=base.path_22 
file=${jboss.dist}/client/ejb.jar /
  -available property=classpath_id value=base.path_23 
file=${jboss.dist}/client/jboss-j2ee.jar /
  -/target
  -
  -target name=fail_if_not_valid unless=classpath_id
  -fail message=jboss.dist=${jboss.dist} is not a valid JBoss dist 
directory/
  -/target
  -
  -target name=init depends=validate,fail_if_not_valid
  -property name=classpath refid=${classpath_id} /
  -echo message=Using JBoss directory=${jboss.dist} /
  -echo message=Using base classpath=${classpath} /
  -echo message=Using Source directory=${src.dir} /
  -echo message=Using Build directory=${build.dir} /
  -/target
  -
  -!-- Clean build and dist --
  -target name=clean depends=init
  - delete dir=${build.dir}/
  - delete dir=${dist.dir}/
  -/target
  -
  - !-- No default Target --
  -target name=main depends=init
  - echo message=Specify which target you want to run. Example: build 
cmp-cd-list /
  -/target
  -
  - !-- Target to create files to store on the Web site --
  - 
  -target name=dist depends=clean
  - mkdir dir=${dist.dir}/
  - !-- Bundle all the sources and build script in one file --
  - zip zipfile=${dist.dir}/documentation-example.zip basedir=${src.dir}/../
  -  includes=examples/** /
  -  tar tarfile=${dist.dir}/documentation-example.tar basedir=${src.dir}/../
  -  includes=examples/** /
  -  gzip src=${dist.dir}/documentation-example.tar 
zipfile=${dist.dir}/documentation-example.tar.gz /
  - !-- Add Chapter specific files here 
  - 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 /
  -

[JBoss-dev] CVS update: manual/src/examples/build build.xml

2001-07-30 Thread Scott M Stark

  User: starksm 
  Date: 01/07/30 11:03:16

  Modified:src/examples/build build.xml
  Log:
  Update the interest example to include the interest servlet and add
  an ear target
  
  Revision  ChangesPath
  1.11  +165 -161  manual/src/examples/build/build.xml
  
  Index: build.xml
  ===
  RCS file: /cvsroot/jboss/manual/src/examples/build/build.xml,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- build.xml 2001/06/29 10:44:55 1.10
  +++ build.xml 2001/07/30 18:03:16 1.11
  @@ -1,161 +1,165 @@
  -?xml version=1.0 encoding=UTF-8 ?
  -!-- 
  - Ant build file for the documentation tutorial code
  - Writer of a chapter with an example have to include a foroward
  - to their build file.  This latest build file suppose arguments 
  - sets here :
  - src.dir : Directory where the source are : manual\src\examples
  - build.dir : Base directory where to store generated files 
(class/ejb/war/...)
  - classpath : Classpath used to make any compilation (set up here by 
verifing 
  - which version of JBoss is used.
  - 
  -  --
  -
  -project name=CMP default=main basedir=../
  -
  -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=src.resources value=${basedir}/resources/
  -property name=build.dir value=${basedir}/build-examples/
  -property name=dist.dir value=${basedir}/../../dist-examples/
  -
  -path id=base.path_22
  -pathelement location=${jboss.dist}/client/ejb.jar/
  -pathelement location=${jboss.dist}/client/jaas.jar/
  -pathelement location=${jboss.dist}/client/jbosssx-client.jar/
  -pathelement location=${jboss.dist}/client/jboss-client.jar/
  -pathelement location=${jboss.dist}/client/jnp-client.jar/
  -pathelement location=${servlet.jar}/
  -/path
  -path id=base.path_23
  -pathelement location=${jboss.dist}/client/jboss-j2ee.jar/
  -pathelement location=${jboss.dist}/client/jaas.jar/
  -pathelement location=${jboss.dist}/client/jbosssx-client.jar/
  -pathelement location=${jboss.dist}/client/jboss-client.jar/
  -pathelement location=${jboss.dist}/client/jnp-client.jar/
  -pathelement location=${servlet.jar}/
  -/path
  -
  -target name=validate
  -available property=classpath_id value=base.path_22 
file=${jboss.dist}/client/ejb.jar /
  -available property=classpath_id value=base.path_23 
file=${jboss.dist}/client/jboss-j2ee.jar /
  -/target
  -
  -target name=fail_if_not_valid unless=classpath_id
  -fail message=jboss.dist=${jboss.dist} is not a valid JBoss dist 
directory/
  -/target
  -
  -target name=init depends=validate,fail_if_not_valid
  -property name=classpath refid=${classpath_id} /
  -echo message=Using JBoss directory=${jboss.dist} /
  -echo message=Using base classpath=${classpath} /
  -echo message=Using Source directory=${src.dir} /
  -echo message=Using Build directory=${build.dir} /
  -/target
  -
  -!-- Clean build and dist --
  -target name=clean depends=init
  - delete dir=${build.dir}/
  - delete dir=${dist.dir}/
  -/target
  -
  - !-- No default Target --
  -target name=main depends=init
  - echo message=Specify which target you want to run. Example: build 
cmp-cd-list /
  -/target
  -
  - !-- Target to create files to store on the Web site --
  - 
  -target name=dist depends=clean
  - mkdir dir=${dist.dir}/
  - !-- Bundle all the sources and build script in one file --
  - zip zipfile=${dist.dir}/documentation-example.zip basedir=${src.dir}/../
  -  includes=examples/** /
  -  tar tarfile=${dist.dir}/documentation-example.tar basedir=${src.dir}/../
  -  includes=examples/** /
  -  gzip src=${dist.dir}/documentation-example.tar 
zipfile=${dist.dir}/documentation-example.tar.gz /
  - !-- Add Chapter specific files here 
  - 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 /
  -/target
  -
  -target name=intro-interest-jar 

[JBoss-dev] CVS update: manual/src/examples/build build.xml readme.txt

2001-07-05 Thread Scott M Stark

  User: starksm 
  Date: 01/07/05 12:52:28

  Added:   src/examples/build Tag: Branch_2_2 build.xml readme.txt
  Log:
  Merge the main examples to the 2.2 branch
  
  Revision  ChangesPath
  No   revision
  
  
  No   revision
  
  
  1.10.2.1  +0 -0  manual/src/examples/build/build.xml
  
  Index: build.xml
  ===
  RCS file: /cvsroot/jboss/manual/src/examples/build/build.xml,v
  retrieving revision 1.10
  retrieving revision 1.10.2.1
  diff -u -r1.10 -r1.10.2.1
  
  
  
  1.2.2.1   +0 -0  manual/src/examples/build/readme.txt
  
  Index: readme.txt
  ===
  RCS file: /cvsroot/jboss/manual/src/examples/build/readme.txt,v
  retrieving revision 1.2
  retrieving revision 1.2.2.1
  diff -u -r1.2 -r1.2.2.1
  
  
  

___
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development



[JBoss-dev] CVS update: manual/src/examples/build build.xml

2001-06-29 Thread gropi

  User: gropi   
  Date: 01/06/29 03:44:56

  Modified:src/examples/build build.xml
  Log:
  JBoss 2.2.2 compliance updates by Francois Charoy
  
  Revision  ChangesPath
  1.10  +161 -139  manual/src/examples/build/build.xml
  
  Index: build.xml
  ===
  RCS file: /cvsroot/jboss/manual/src/examples/build/build.xml,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- build.xml 2001/06/26 22:23:15 1.9
  +++ build.xml 2001/06/29 10:44:55 1.10
  @@ -1,139 +1,161 @@
  -?xml version=1.0 encoding=UTF-8 ?
  -!-- 
  - Ant build file for the documentation tutorial code
  - Writer of a chapter with an example have to include a foroward
  - to their build file.  This latest build file suppose arguments 
  - sets here :
  - src.dir : Directory where the source are : manual\src\examples
  - build.dir : Base directory where to store generated files 
(class/ejb/war/...)
  - classpath : Classpath used to make any compilation (set up here by 
verifing 
  - which version of JBoss is used.
  - 
  -  --
  -
  -project name=CMP default=main basedir=../
  -
  -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=src.resources value=${basedir}/resources/
  -property name=build.dir value=${basedir}/build-examples/
  -property name=dist.dir value=${basedir}/../../dist-examples/
  -
  -path id=base.path_22
  -pathelement location=${jboss.dist}/client/ejb.jar/
  -pathelement location=${jboss.dist}/client/jaas.jar/
  -pathelement location=${jboss.dist}/client/jbosssx-client.jar/
  -pathelement location=${jboss.dist}/client/jboss-client.jar/
  -pathelement location=${jboss.dist}/client/jnp-client.jar/
  -pathelement location=${servlet.jar}/
  -/path
  -path id=base.path_23
  -pathelement location=${jboss.dist}/client/jboss-j2ee.jar/
  -pathelement location=${jboss.dist}/client/jaas.jar/
  -pathelement location=${jboss.dist}/client/jbosssx-client.jar/
  -pathelement location=${jboss.dist}/client/jboss-client.jar/
  -pathelement location=${jboss.dist}/client/jnp-client.jar/
  -pathelement location=${servlet.jar}/
  -/path
  -
  -target name=validate
  -available property=classpath_id value=base.path_22 
file=${jboss.dist}/client/ejb.jar /
  -available property=classpath_id value=base.path_23 
file=${jboss.dist}/client/jboss-j2ee.jar /
  -/target
  -
  -target name=fail_if_not_valid unless=classpath_id
  -fail message=jboss.dist=${jboss.dist} is not a valid JBoss dist 
directory/
  -/target
  -
  -target name=init depends=validate,fail_if_not_valid
  -property name=classpath refid=${classpath_id} /
  -echo message=Using JBoss directory=${jboss.dist} /
  -echo message=Using base classpath=${classpath} /
  -echo message=Using Source directory=${src.dir} /
  -echo message=Using Build directory=${build.dir} /
  -/target
  -
  -!-- Clean build and dist --
  -target name=clean depends=init
  - delete dir=${build.dir}/
  - delete dir=${dist.dir}/
  -/target
  -
  - !-- No default Target --
  -target name=main depends=init
  - echo message=Specify which target you want to run. Example: build 
cmp-cd-list /
  -/target
  -
  - !-- Target to create files to store on the Web site --
  - 
  -target name=dist depends=clean
  - mkdir dir=${dist.dir}/
  - !-- Bundle all the sources and build script in one file --
  - zip zipfile=${dist.dir}/documentation-example.zip basedir=${src.dir}/../
  -  includes=examples/** /
  -  tar tarfile=${dist.dir}/documentation-example.tar basedir=${src.dir}/../
  -  includes=examples/** /
  -  gzip src=${dist.dir}/documentation-example.tar 
zipfile=${dist.dir}/documentation-example.tar.gz /
  - !-- Add Chapter specific files here 
  - 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 /
  -/target
  -
  -target name=intro-interest-jar depends=init
  -ant 

[JBoss-dev] CVS update: manual/src/examples/build build.xml

2001-06-26 Thread vharcq

  User: vharcq  
  Date: 01/06/26 15:23:15

  Modified:src/examples/build build.xml
  Log:
  As Scott mention, no need to pass parameters, it's magic
  
  Revision  ChangesPath
  1.9   +6 -28 manual/src/examples/build/build.xml
  
  Index: build.xml
  ===
  RCS file: /cvsroot/jboss/manual/src/examples/build/build.xml,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- build.xml 2001/06/25 07:10:10 1.8
  +++ build.xml 2001/06/26 22:23:15 1.9
  @@ -108,11 +108,7 @@
   !-- 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
  - property name=classpath value=${classpath}/
  - property name=src.dir value=${src.dir}/
  - property name=build.dir value=${build.dir}/
  -/ant
  +ant antfile=org/jboss/docs/cmp/cd/build/build-cmp-cd-compile.xml 
target=main /
   /target
   
   target name=cmp-cd-dist depends=cmp-cd-compile
  @@ -120,40 +116,22 @@
   /target
   
   target name=cmp-cd-list depends=init
  -ant antfile=org/jboss/docs/cmp/cd/build/build-client.xml target=main
  - property name=classpath value=${classpath}/
  - property name=src.dir value=${build.dir}/
  - property name=build.dir value=${build.dir}/
  - property name=client value=List/
  -/ant
  +ant antfile=org/jboss/docs/cmp/cd/build/build-client.xml target=main /
   /target
   
   target name=cmp-cd-upload depends=init
  -ant antfile=org/jboss/docs/cmp/cd/build/build-client.xml target=main
  - property name=classpath value=${classpath}/
  - property name=src.dir value=${build.dir}/
  - property name=build.dir value=${build.dir}/
  - property name=client value=Upload/
  -/ant
  +ant antfile=org/jboss/docs/cmp/cd/build/build-client.xml target=main /
   /target
   
   target name=cmp-cd-remove depends=init
  -ant antfile=org/jboss/docs/cmp/cd/build/build-client.xml target=main
  - property name=classpath value=${classpath}/
  - property name=src.dir value=${build.dir}/
  - property name=build.dir value=${build.dir}/
  - property name=client value=Remove/
  -/ant
  +ant antfile=org/jboss/docs/cmp/cd/build/build-client.xml target=main /
   /target
   
  +!-- 
*** --
!-- Chapter 5 - JAWS --

   target name=cmp-jaws-compile depends=init
  -ant antfile=org/jboss/docs/cmp/jaws/build/build-cmp-jaws-compile.xml 
target=main
  - property name=classpath value=${classpath}/
  - property name=src.dir value=${src.dir}/
  - property name=build.dir value=${build.dir}/
  -/ant
  +ant antfile=org/jboss/docs/cmp/jaws/build/build-cmp-jaws-compile.xml 
target=main /
   /target
   
!-- Add a new target here --
  
  
  

___
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development



[JBoss-dev] CVS update: manual/src/examples/build build.xml

2001-06-24 Thread vharcq

  User: vharcq  
  Date: 01/06/24 02:59:00

  Modified:src/examples/build build.xml
  Log:
  Chapter 5 : added ONE example
  Match the doco with the example.
  
  Revision  ChangesPath
  1.3   +9 -0  manual/src/examples/build/build.xml
  
  Index: build.xml
  ===
  RCS file: /cvsroot/jboss/manual/src/examples/build/build.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- build.xml 2001/06/23 11:27:11 1.2
  +++ build.xml 2001/06/24 09:59:00 1.3
  @@ -124,6 +124,15 @@
   /ant
   /target
   
  + !-- Chapter 5 - JAWS --
  + 
  +target name=cmp-jaws-compile depends=init
  +ant antfile=org/jboss/docs/cmp/jaws/build/build-cmp-jaws-compile.xml 
target=main
  + property name=classpath value=${classpath}/
  + property name=src.dir value=${src.dir}/
  + property name=build.dir value=${build.dir}/
  +/ant
  +/target
   
!-- Add a new target here --

  
  
  

___
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development



[JBoss-dev] CVS update: manual/src/examples/build build.xml

2001-06-24 Thread starksm

  User: starksm 
  Date: 01/06/24 18:41:39

  Modified:src/examples/build build.xml
  Log:
  Add the deploy and client targets for the intro chapter
  
  Revision  ChangesPath
  1.5   +9 -3  manual/src/examples/build/build.xml
  
  Index: build.xml
  ===
  RCS file: /cvsroot/jboss/manual/src/examples/build/build.xml,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- build.xml 2001/06/25 01:21:39 1.4
  +++ build.xml 2001/06/25 01:41:39 1.5
  @@ -89,12 +89,18 @@
   !-- 
*** --
   !-- Chapter 1 - First Steps --
   target name=intro-interest-compile depends=init
  -ant antfile=org/jboss/docs/interest/build.xml target=compile
  -/ant
  +ant antfile=org/jboss/docs/interest/build.xml target=compile /
   /target
   
  +target name=intro-interest-deploy depends=init
  +ant antfile=org/jboss/docs/interest/build.xml target=deploy-ejb-jar /
  +/target
  +
  +target name=intro-interest-client depends=init
  +ant antfile=org/jboss/docs/interest/build.xml target=interest-client /
  +/target
  +
   
  - 
   !-- 
*** --
   !-- Chapter 4 - CMP --

  
  
  

___
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development



[JBoss-dev] CVS update: manual/src/examples/build build.xml

2001-06-24 Thread starksm

  User: starksm 
  Date: 01/06/24 21:38:25

  Modified:src/examples/build build.xml
  Log:
  Create the example dist archives with a basedir of examples.
  
  Revision  ChangesPath
  1.6   +5 -5  manual/src/examples/build/build.xml
  
  Index: build.xml
  ===
  RCS file: /cvsroot/jboss/manual/src/examples/build/build.xml,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- build.xml 2001/06/25 01:41:39 1.5
  +++ build.xml 2001/06/25 04:38:25 1.6
  @@ -76,11 +76,11 @@
   target name=dist depends=clean
mkdir dir=${dist.dir}/
!-- Bundle all the sources and build script in one file --
  - zip zipfile=${dist.dir}/documentation-example.zip
  -  basedir=${src.dir}
  - /
  - tar tarfile=${dist.dir}/documentation-example.tar 
basedir=${src.dir}/
  - gzip src=${dist.dir}/documentation-example.tar 
zipfile=${dist.dir}/documentation-example.tar.gz /
  + zip zipfile=${dist.dir}/documentation-example.zip basedir=${src.dir}/../
  +  includes=examples/** /
  +  tar tarfile=${dist.dir}/documentation-example.tar basedir=${src.dir}/../
  +  includes=examples/** /
  +  gzip src=${dist.dir}/documentation-example.tar 
zipfile=${dist.dir}/documentation-example.tar.gz /
!-- Add Chapter specific files here 
antcall target=cmp-cd-dist /
--
  
  
  

___
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development



[JBoss-dev] CVS update: manual/src/examples/build build.xml

2001-06-24 Thread starksm

  User: starksm 
  Date: 01/06/24 22:29:49

  Modified:src/examples/build build.xml
  Log:
  Add a seperate ejb-jar step to the interest example
  
  Revision  ChangesPath
  1.7   +4 -0  manual/src/examples/build/build.xml
  
  Index: build.xml
  ===
  RCS file: /cvsroot/jboss/manual/src/examples/build/build.xml,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- build.xml 2001/06/25 04:38:25 1.6
  +++ build.xml 2001/06/25 05:29:49 1.7
  @@ -92,6 +92,10 @@
   ant antfile=org/jboss/docs/interest/build.xml target=compile /
   /target
   
  +target name=intro-interest-jar depends=init
  +ant antfile=org/jboss/docs/interest/build.xml target=ejb-jar /
  +/target
  +
   target name=intro-interest-deploy depends=init
   ant antfile=org/jboss/docs/interest/build.xml target=deploy-ejb-jar /
   /target
  
  
  

___
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development