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

2001-08-02 Thread Jason Dillon

  User: user57  
  Date: 01/08/01 23:25:49

  Modified:.Tag: jboss_buildmagic build.xml config.xml
  Log:
   o hooked up junit for each module's tests target, though it still needs
 some fine tuning as to which classes to test.
   o looked into junitreport again, but that task is a pile of...
  
  Revision  ChangesPath
  No   revision
  
  
  No   revision
  
  
  1.1.2.7   +63 -12jbosscx/Attic/build.xml
  
  Index: build.xml
  ===
  RCS file: /cvsroot/jboss/jbosscx/Attic/build.xml,v
  retrieving revision 1.1.2.6
  retrieving revision 1.1.2.7
  diff -u -r1.1.2.6 -r1.1.2.7
  --- build.xml 2001/08/01 22:01:53 1.1.2.6
  +++ build.xml 2001/08/02 06:25:49 1.1.2.7
  @@ -10,7 +10,7 @@
   !----
   !-- == --
   
  -!-- $Id: build.xml,v 1.1.2.6 2001/08/01 22:01:53 user57 Exp $ --
  +!-- $Id: build.xml,v 1.1.2.7 2001/08/02 06:25:49 user57 Exp $ --
   
   project default=main
   
  @@ -18,17 +18,25 @@
 !-- Basic module configuration --
 !-- == --
   
  +  !--
  + |  Give users a chance to use a different Buildmagic.
  +--
  +  property file=${user.home}/.buildmagic.properties/
  +
 !-- 
|  Load Buildmagic Ant extentions. 
   --
  -  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/
  +  property name=planet57.buildmagic.root 
value=${basedir}/../tools/planet57/buildmagic/
  +  property name=planet57.buildmagic.lib value=${planet57.buildmagic.root}/lib/
  +  path id=planet57.buildmagic.classpath
  +fileset dir=${planet57.buildmagic.lib}
  +  include name=**/*.jar/
  +/fileset
  +  /path
  +  taskdef name=taskdef classname=planet57.tools.buildmagic.task.Taskdef
  +classpathref=planet57.buildmagic.classpath/
  +  taskdef classpathref=planet57.buildmagic.classpath
  +resource=planet57/tools/buildmagic/task/autoload.properties/
   
 !--
|  Setup the basic module roots.
  @@ -355,6 +363,52 @@
   
   
 !-- == --
  +  !-- Run tests  --
  +  !-- == --
  +
  +  target name=tests depends=tests-junit
  +   description=Execute all tests./
  +
  +  target name=tests-junit depends=jars
  +mkdir dir=${build.reports}/
  +junit dir=${module.output}
  +printsummary=${junit.printsummary} 
  +haltonerror=${junit.haltonerror} 
  +haltonfailure=${junit.haltonfailure} 
  +fork=${junit.fork}
  +timeout=${junit.timeout}
  +jvm=${junit.jvm}
  +
  +  !-- junit.jvm.options must have a valid value --
  +  jvmarg value=${junit.jvm.options}/
  +  sysproperty key=jbosstest.deploy.dir file=${build.jars}/
  +
  +  classpath
  +pathelement location=${build.classes}/
  +path refid=javac.classpath/
  +path refid=apache.ant.classpath/
  +path refid=apache.ant.ext.classpath/
  +  /classpath
  +
  +  formatter type=${junit.formatter.type}
  +  usefile=${junit.formatter.usefile}/
  +
  +  batchtest todir=${build.reports}
  +  haltonerror=${junit.batchtest.haltonerror} 
  +  haltonfailure=${junit.batchtest.haltonfailure} 
  +  fork=${junit.batchtest.fork}
  +
  +fileset dir=${build.classes}
  +  include name=**/Test*.class/
  +  include name=**/*Test.class/
  +  include name=**/AllJUnitTests.class/
  +/fileset
  +  /batchtest
  +/junit
  +  /target
  +
  +
  +  !-- == --
 !-- Cleans up generated stuff  --
 !-- == --
   
  @@ -401,8 +455,5 @@
   
 target name=min depends=compile
  description=Builds a minimal subset./
  -
  -  target name=tests depends=init
  -   description=Execute all tests./
   
   /project
  
  
  
  1.1.2.5   +27 -2 jbosscx/Attic/config.xml
  
  Index: config.xml
  ===
  RCS file: /cvsroot/jboss/jbosscx/Attic/config.xml,v
  retrieving revision 1.1.2.4
  retrieving revision 1.1.2.5
  diff -u 

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

2001-07-30 Thread Jason Dillon

  User: user57  
  Date: 01/07/30 19:29:10

  Modified:.Tag: jboss_buildmagic build.xml config.xml
  Log:
   o Updated some modules from HEAD
   o Converted most modules to new release style (except plugins and manual)
   o Most modules produce the correct binary structure.
   o short of the manual and valid testsuite jars the system will build now.
  
  Revision  ChangesPath
  No   revision
  
  
  No   revision
  
  
  1.1.2.4   +47 -64jbosscx/Attic/build.xml
  
  Index: build.xml
  ===
  RCS file: /cvsroot/jboss/jbosscx/Attic/build.xml,v
  retrieving revision 1.1.2.3
  retrieving revision 1.1.2.4
  diff -u -r1.1.2.3 -r1.1.2.4
  --- build.xml 2001/07/29 04:57:40 1.1.2.3
  +++ build.xml 2001/07/31 02:29:10 1.1.2.4
  @@ -10,9 +10,9 @@
   !----
   !-- == --
   
  -!-- $Id: build.xml,v 1.1.2.3 2001/07/29 04:57:40 user57 Exp $ --
  +!-- $Id: build.xml,v 1.1.2.4 2001/07/31 02:29:10 user57 Exp $ --
   
  -project name=jboss-connector default=main
  +project default=main
   
 !-- == --
 !-- Basic module configuration --
  @@ -229,8 +229,8 @@
 target name=jars depends=compile description=Builds all jar files.
   mkdir dir=${build.jars}/
   
  -!-- Build the module jar --
  -jar jarfile=${build.jars}/${module.name}.jar
  +!-- Build jbosscx.jar --
  +jar jarfile=${build.jars}/jbosscx.jar
 fileset dir=${build.classes}
   include name=**/
 /fileset
  @@ -296,78 +296,60 @@
   
   
 !-- == --
  -  !-- Release/Install file copying.  --
  +  !-- Builds a release distribution. --
 !-- == --
   
  -  !--
  - |  This target is a helper for release and install to consolidate the
  - |  task logic required to copy files.
  -   --
  -  target name=copy-files
  -!-- Copy the generated libraries --
  -mkdir dir=${to.lib}/
  -copy todir=${to.lib} filtering=no
  -  fileset dir=${from.lib}
  - include name=**/*/
  +  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=jbosscx.jar/
 /fileset
   /copy
   
  -!-- Copy the generated javadocs --
  -mkdir dir=${to.api}/
  -copy todir=${to.api} filtering=no
  -  fileset dir=${from.api}
  +!-- Copy the generated javadocs (docs/api/module) --
  +mkdir dir=${release.module.api}/
  +copy todir=${release.module.api} filtering=no
  +  fileset dir=${build.api}
include name=**/*/
 /fileset
   /copy
 /target
  -
   
  -  !-- == --
  -  !-- Builds a release distribution. --
  -  !-- == --
  -
  -  target name=release 
  -   depends=all
  -   description=Builds a release distribution.
  -!-- Copy the files to release --
  -antcall target=copy-files
  -  param name=to.lib value=${release.lib}/
  -  param name=from.lib value=${build.jars}/
  -  param name=to.api value=${release.api}/
  -  param name=from.api value=${build.api}/
  -/antcall
  -
  -!-- Build a jar for the release --
  +  target name=release-archive-prepare depends=release
   mkdir dir=${module.release}/
  -mkdir dir=${module.output}/
  -jar jarfile=${module.output}/${module.name}-${build.id}.jar
  +property name=release.archive.basename
  +   value=${module.release}/${release.id}/
  +  /target
  +
  +  target name=release-zip depends=release-archive-prepare
  +   description=Builds a ZIP release distribution.
  +zip zipfile=${release.archive.basename}.zip
 fileset dir=${module.release}
  -include name=**/
  +include name=${release.id}/**/
 /fileset
  -/jar
  +/zip
 /target
   
  -
  -  !-- == --
  -  !-- Install release files into project output. --
  -  !-- == --
  +  target name=release-tar depends=release-archive-prepare
  +   description=Builds a TAR release distribution.
  +tar tarfile=${release.archive.basename}.tar longfile=gnu
  +