User: user57
Date: 01/08/26 21:47:23
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 Changes Path
1.4 +6 -1 jboss-j2ee/build.sh
Index: build.sh
===================================================================
RCS file: /cvsroot/jboss/jboss-j2ee/build.sh,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- build.sh 2001/08/26 07:00:29 1.3
+++ build.sh 2001/08/27 04:47:23 1.4
@@ -8,7 +8,7 @@
## ##
### ====================================================================== ###
-# $Id: build.sh,v 1.3 2001/08/26 07:00:29 user57 Exp $
+# $Id: build.sh,v 1.4 2001/08/27 04:47:23 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.6 +7 -13 jboss-j2ee/build.xml
Index: build.xml
===================================================================
RCS file: /cvsroot/jboss/jboss-j2ee/build.xml,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- build.xml 2001/08/26 07:00:29 1.5
+++ build.xml 2001/08/27 04:47:23 1.6
@@ -10,7 +10,7 @@
<!-- -->
<!-- ====================================================================== -->
-<!-- $Id: build.xml,v 1.5 2001/08/26 07:00:29 user57 Exp $ -->
+<!-- $Id: build.xml,v 1.6 2001/08/27 04:47:23 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="yyyyMMddHHmm"/>
</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