[JBoss-dev] CVS update: jbosssx build.sh build.xml

2001-09-03 Thread Jason Dillon

  User: user57  
  Date: 01/09/03 22:08:08

  Modified:.build.sh build.xml
  Log:
   o module release is now a control module pull
   o removed min targets
  
  Revision  ChangesPath
  1.7   +4 -1  jbosssx/build.sh
  
  Index: build.sh
  ===
  RCS file: /cvsroot/jboss/jbosssx/build.sh,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- build.sh  2001/08/28 04:53:11 1.6
  +++ build.sh  2001/09/04 05:08:08 1.7
  @@ -8,12 +8,15 @@
   ##  ##
   ### == ###
   
  -# $Id: build.sh,v 1.6 2001/08/28 04:53:11 user57 Exp $
  +# $Id: build.sh,v 1.7 2001/09/04 05:08:08 user57 Exp $
   
   PROGNAME=`basename $0`
   DIRNAME=`dirname $0`
   GREP=grep
   ROOT=/
  +
  +# Ignore user's ANT_HOME if it is set
  +ANT_HOME=
   
   # the default search path for ant
   ANT_SEARCH_PATH=\
  
  
  
  1.7   +12 -75jbosssx/build.xml
  
  Index: build.xml
  ===
  RCS file: /cvsroot/jboss/jbosssx/build.xml,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- build.xml 2001/08/27 09:01:37 1.6
  +++ build.xml 2001/09/04 05:08:08 1.7
  @@ -10,9 +10,9 @@
   !----
   !-- == --
   
  -!-- $Id: build.xml,v 1.6 2001/08/27 09:01:37 user57 Exp $ --
  +!-- $Id: build.xml,v 1.7 2001/09/04 05:08:08 user57 Exp $ --
   
  -project default=main
  +project default=main name=JBoss/Security
   
 !-- == --
 !-- Initialization --
  @@ -239,6 +239,7 @@
 !-- Override JUnit defaults --
 property name=junit.timeout value=24/ !-- 4 minutes --
 property name=junit.batchtest.todir value=${build.reports}/
  +  property name=junit.jvm.options value=-Ddummy/
   
 !-- RMIC should generate stubs compatible with Java 1.2+ --
 property name=rmic.stubVersion value=1.2/
  @@ -257,27 +258,9 @@
 !-- Where release generated files will go --
 property name=release.id value=${module.name}-${module.version}-${build.id}/
 property name=release.root value=${module.release}/${release.id}/
  +  property name=release.archive.basename 
value=${module.release}/${release.id}/
   
  -  property name=release.bin value=${release.root}/bin/
  -  property name=release.client value=${release.root}/client/
  -  property name=release.conf value=${release.root}/conf/
  -  property name=release.conf.default value=${release.conf}/default/
  -  property name=release.db value=${release.root}/db/
  -  property name=release.deploy value=${release.root}/deploy/
  -  property name=release.deploy.lib value=${release.deploy}/lib/
  -  property name=release.lib value=${release.root}/lib/
  -  property name=release.lib.ext value=${release.lib}/ext/
  -  property name=release.log value=${release.root}/log/
  -  property name=release.tmp value=${release.root}/tmp/
  -
  -  !-- Documentation and examples --
  -  property name=release.docs value=${release.root}/docs/
  -  property name=release.examples value=${release.docs}/examples/
  -  property name=release.api value=${release.docs}/api/
  -  property name=release.module.docs value=${release.docs}/${module.name}/
  -  property name=release.module.api value=${release.api}/${module.name}/
   
  -
 !-- == --
 !-- Compile--
 !-- == --
  @@ -317,10 +300,6 @@
  classpath refid=javac.classpath/
  include name=${javac.includes}/
  exclude name=${javac.excludes}/
  -
  -   !-- Currently needs HSQL
  -   exclude name=org/jboss/test/**/
  -   --
   /javac
 /target
   
  @@ -488,59 +467,20 @@
 !-- Builds a release distribution. --
 !-- == --
   
  -  target name=release depends=all, release-dependencies
  +  target name=release depends=all
  description=Builds a release distribution.
  -!-- Copy the generated libraries (lib/ext) --
  -mkdir dir=${release.lib.ext}/
  -copy todir=${release.lib.ext} filtering=no
  -  fileset dir=${build.jars}
  - include name=jbosssx.jar/
  - include name=jaas.jar/
  -  /fileset
  -/copy
  -
  -!-- Copy the generated libraries (client) --
  -mkdir dir=${release.client}/
  -copy todir=${release.client} filtering=no
  -  fileset dir=${build.jars}
  - include 

[JBoss-dev] CVS update: jbosssx build.sh build.xml

2001-08-26 Thread Jason Dillon

  User: user57  
  Date: 01/08/26 21:47:24

  Modified:.build.sh build.xml
  Log:
   o Added a build.log, which will be created as a dependency of init unless
 buildlog-disabled is set.  This contains all info  higher messages from
 the build system.
   o build.sh will now cd to $DIRNAME, so you don't have to be in the same
 directory with build.sh for it to work.
  
  Revision  ChangesPath
  1.4   +6 -1  jbosssx/build.sh
  
  Index: build.sh
  ===
  RCS file: /cvsroot/jboss/jbosssx/build.sh,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- build.sh  2001/08/26 07:00:31 1.3
  +++ build.sh  2001/08/27 04:47:24 1.4
  @@ -8,7 +8,7 @@
   ##  ##
   ### == ###
   
  -# $Id: build.sh,v 1.3 2001/08/26 07:00:31 user57 Exp $
  +# $Id: build.sh,v 1.4 2001/08/27 04:47:24 user57 Exp $
   
   PROGNAME=`basename $0`
   DIRNAME=`dirname $0`
  @@ -105,6 +105,11 @@
die Ant version $ANT_VERSION is required to build.
fi
   fi
  +
  +# change to the directory where the script lives so folks do not have
  +# to be in the same dir to run the build without specifying the build
  +# file. 
  +cd $DIRNAME
   
   export ANT ANT_HOME
   exec $ANT $ANT_OPTIONS $@
  
  
  
  1.5   +7 -13 jbosssx/build.xml
  
  Index: build.xml
  ===
  RCS file: /cvsroot/jboss/jbosssx/build.xml,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- build.xml 2001/08/26 07:00:31 1.4
  +++ build.xml 2001/08/27 04:47:24 1.5
  @@ -10,7 +10,7 @@
   !----
   !-- == --
   
  -!-- $Id: build.xml,v 1.4 2001/08/26 07:00:31 user57 Exp $ --
  +!-- $Id: build.xml,v 1.5 2001/08/27 04:47:24 user57 Exp $ --
   
   project default=main
   
  @@ -46,18 +46,8 @@
 property name=module.release value=${module.output}/
 property file=${module.root}/local.properties/
   
  -  !-- 
  - |  Initialize the build system.
  - |
  - |  o Sets the timestamp and build.number properties
  - |  o Installs property defaults
  - |  o Displays some module information
  - |  o Resolves properties for psuedo late-binding
  - |  o Installs filters for each property
  - |
  - |  This target will not run once the initialized-already property is set.
  ---
  -  target name=init unless=initialized-already
  +  !-- Initialize the build system. --
  +  target name=init unless=initialized-already depends=init-buildlog
   tstamp
 format property=build.number pattern=MMddHHmm/
   /tstamp
  @@ -70,6 +60,10 @@
   resolver force=${buildmagic.resolveproperties.force}/
   propertyfilter all=${buildmagic.propertyfilter.all}/
   property name=initialized-already value=true/
  +  /target
  +
  +  target name=init-buildlog unless=buildlog-disabled
  +record name=${basedir}/build.log append=no loglevel=info/
 /target
   
   
  
  
  

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



[JBoss-dev] CVS update: jbosssx build.sh build.xml

2001-08-01 Thread Jason Dillon

  User: user57  
  Date: 01/08/01 15:01:55

  Modified:.Tag: jboss_buildmagic build.sh build.xml
  Log:
   o using explict classpath to load buildmagic-tasks.jar to allow the usage of
 any install of ant v1.3.  note, that this locks the module  plugin
 structure relative to the tools directory.
  
  Revision  ChangesPath
  No   revision
  
  
  No   revision
  
  
  1.1.2.4   +21 -33jbosssx/Attic/build.sh
  
  Index: build.sh
  ===
  RCS file: /cvsroot/jboss/jbosssx/Attic/build.sh,v
  retrieving revision 1.1.2.3
  retrieving revision 1.1.2.4
  diff -u -r1.1.2.3 -r1.1.2.4
  --- build.sh  2001/08/01 06:28:41 1.1.2.3
  +++ build.sh  2001/08/01 22:01:55 1.1.2.4
  @@ -23,7 +23,7 @@
   ##  ##
   ### == ###
   
  -# $Id: build.sh,v 1.1.2.3 2001/08/01 06:28:41 user57 Exp $
  +# $Id: build.sh,v 1.1.2.4 2001/08/01 22:01:55 user57 Exp $
   
   PROGNAME=`basename $0`
   DIRNAME=`dirname $0`
  @@ -87,39 +87,27 @@
   # if there is a build config file. then source it
   maybe_source $DIRNAME/build.conf $HOME/.build.conf
   
  -# try our best to find ANT
  -if [ x$ANT = x ]; then
  - found=
  - 
  - if [ x$ANT_HOME != x ]; then
  - ANT=$ANT_HOME/bin/ant
  - if [ -x $ANT ]; then
  - found=true
  - fi
  - else
  - # try the search path
  - ANT=`search $ANT_SEARCH_PATH`
  - target=build
  - _cwd=`pwd`
  -
  - while [ x$ANT = x ]  [ $cwd != $ROOT ]; do
  - cd ..
  - cwd=`pwd`
  - ANT=`search $ANT_SEARCH_PATH`
  - done
  -
  - # make sure we get back
  - cd $_cwd
  -
  - if [ $cwd != $ROOT ]; then
  - found=true
  - fi
  - fi
  +# try the search path
  +ANT=`search $ANT_SEARCH_PATH`
  +target=build
  +_cwd=`pwd`
  +
  +while [ x$ANT = x ]  [ $cwd != $ROOT ]; do
  + cd ..
  + cwd=`pwd`
  + ANT=`search $ANT_SEARCH_PATH`
  +done
   
  - # complain if we did not find anything
  - if [ $found != true ]; then
  - die Could not locate Ant; check \$ANT or \$ANT_HOME.
  - fi
  +# make sure we get back
  +cd $_cwd
  +
  +if [ $cwd != $ROOT ]; then
  + found=true
  +fi
  +
  +# complain if we did not find anything
  +if [ $found != true ]; then
  + die Could not locate Ant; check \$ANT or \$ANT_HOME.
   fi
   
   # make sure we have one
  
  
  
  1.1.2.9   +8 -5  jbosssx/Attic/build.xml
  
  Index: build.xml
  ===
  RCS file: /cvsroot/jboss/jbosssx/Attic/build.xml,v
  retrieving revision 1.1.2.8
  retrieving revision 1.1.2.9
  diff -u -r1.1.2.8 -r1.1.2.9
  --- build.xml 2001/08/01 03:21:18 1.1.2.8
  +++ build.xml 2001/08/01 22:01:55 1.1.2.9
  @@ -10,7 +10,7 @@
   !----
   !-- == --
   
  -!-- $Id: build.xml,v 1.1.2.8 2001/08/01 03:21:18 user57 Exp $ --
  +!-- $Id: build.xml,v 1.1.2.9 2001/08/01 22:01:55 user57 Exp $ --
   
   project default=main
   
  @@ -20,11 +20,14 @@
   
 !-- 
|  Load Buildmagic Ant extentions. 
  - |
  - |  To keep the build system as simple as possible these extension tasks
  - |  must already be on the ant or system classpath.
   --
  -  taskdef name=taskdef classname=planet57.tools.buildmagic.task.Taskdef/
  +  property name=planet57.buildmagic.root
  + value=../tools/planet57/buildmagic/
  +  property name=planet57.buildmagic.lib 
  + value=${planet57.buildmagic.root}/lib/
  +  taskdef name=taskdef 
  +classname=planet57.tools.buildmagic.task.Taskdef
  +classpath=${planet57.buildmagic.lib}/buildmagic-tasks.jar/
 taskdef resource=planet57/tools/buildmagic/task/autoload.properties/
   
 !--
  
  
  

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



[JBoss-dev] CVS update: jbosssx build.sh build.xml config.xml

2001-07-28 Thread Jason Dillon

  User: user57  
  Date: 01/07/28 19:13:41

  Modified:.Tag: jboss_buildmagic build.sh build.xml config.xml
  Log:
   o updated all modules to use new simplified configuration
  
  Revision  ChangesPath
  No   revision
  
  
  No   revision
  
  
  1.1.2.2   +45 -15jbosssx/Attic/build.sh
  
  Index: build.sh
  ===
  RCS file: /cvsroot/jboss/jbosssx/Attic/build.sh,v
  retrieving revision 1.1.2.1
  retrieving revision 1.1.2.2
  diff -u -r1.1.2.1 -r1.1.2.2
  --- build.sh  2001/07/28 01:44:33 1.1.2.1
  +++ build.sh  2001/07/29 02:13:41 1.1.2.2
  @@ -23,14 +23,21 @@
   ##  ##
   ### == ###
   
  -# $Id: build.sh,v 1.1.2.1 2001/07/28 01:44:33 user57 Exp $
  +# $Id: build.sh,v 1.1.2.2 2001/07/29 02:13:41 user57 Exp $
   
   PROGNAME=`basename $0`
   DIRNAME=`dirname $0`
   GREP=grep
  +ROOT=/
   
  -# the default search path for ant
  -ANT_SEARCH_PATH=../tools/apache/ant ../tools/ant ./tools/apache/ant ./tools/ant 
./ant
  +# the default search path for buildmagic/ant
  +ANT_SEARCH_PATH=\
  +tools/planet57/buildmagic \
  +tools/buildmagic \
  +buildmagic \
  +tools/apache/ant \
  +tools/ant \
  +ant
   
   # the default build file name
   ANT_BUILD_FILE=build.xml
  @@ -60,6 +67,19 @@
   done
   }
   
  +search() {
  +search=$*
  +for d in $search; do
  + ANT_HOME=`pwd`/$d
  + ANT=$ANT_HOME/bin/ant
  + if [ -x $ANT ]; then
  + # found one
  + echo $ANT
  + break
  + fi
  +done
  +}
  +
   #
   # Main function.
   #
  @@ -69,22 +89,32 @@
   
   # try our best to find ANT
   if [ x$ANT = x ]; then
  - if [ x$ANT_HOME = x ]; then
  - search=$ANT_SEARCH_PATH
  - else
  - search=$ANT_HOME
  - fi
  -
found=
  - for d in $search; do
  - ANT_HOME=$d
  + 
  + if [ x$ANT_HOME != x ]; then
ANT=$d/bin/ant
if [ -x $ANT ]; then
  - # found one
found=true
  - break
fi
  - done
  + else
  + # try the search path
  + ANT=`search $ANT_SEARCH_PATH`
  + target=build
  + _cwd=`pwd`
  +
  + while [ x$ANT = x ]  [ $cwd != $ROOT ]; do
  + cd ..
  + cwd=`pwd`
  + ANT=`search $ANT_SEARCH_PATH`
  + done
  +
  + # make sure we get back
  + cd $_cwd
  +
  + if [ $cwd != $ROOT ]; then
  + found=true
  + fi
  + fi
   
# complain if we did not find anything
if [ $found != true ]; then
  @@ -105,7 +135,7 @@
fi
   fi
   
  -export ANT
  +export ANT ANT_HOME
   exec $ANT $ANT_OPTIONS $@
   }
   
  
  
  
  1.1.2.2   +204 -142  jbosssx/Attic/build.xml
  
  Index: build.xml
  ===
  RCS file: /cvsroot/jboss/jbosssx/Attic/build.xml,v
  retrieving revision 1.1.2.1
  retrieving revision 1.1.2.2
  diff -u -r1.1.2.1 -r1.1.2.2
  --- build.xml 2001/07/28 01:44:33 1.1.2.1
  +++ build.xml 2001/07/29 02:13:41 1.1.2.2
  @@ -9,25 +9,8 @@
   !--  See terms of license at http://www.gnu.org.   --
   !----
   !-- == --
  -!----
  -!--  Configuration Files (in order of precedence): --
  -!----
  -!--${module.root}/build.xml* (this file)   --
  -!--${project.config}/override.properties   --
  -!--${module.root}/override.properties  --
  -!--${user.home}/.buildmagic.properties --
  -!--${user.home}/.ant.properties--
  -!--${project.config}/local.properties  --
  -!--${module.root}/local.properties --
  -!--${project.config}/config.properties --
  -!--${module.root}/config.properties--
  -!--${module.root}/config.xml*  --
  -!----
  -!--* Required  --
  -!----
  -!-- == --
   
  -!-- 

[JBoss-dev] CVS update: jbosssx build.sh build.xml config.xml

2001-07-27 Thread Jason Dillon

  User: user57  
  Date: 01/07/27 18:44:33

  Added:   .Tag: jboss_buildmagic build.sh build.xml config.xml
  Log:
   o hooked up jbosssx (still needs work, but you knew that already)
  
  Revision  ChangesPath
  No   revision
  
  
  No   revision
  
  
  1.1.2.1   +116 -0jbosssx/Attic/build.sh
  
  
  
  
  1.1.2.1   +390 -0jbosssx/Attic/build.xml
  
  
  
  
  1.1.2.1   +209 -0jbosssx/Attic/config.xml
  
  
  
  

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