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

  Modified:    jetty    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      contrib/jetty/build.sh
  
  Index: build.sh
  ===================================================================
  RCS file: /cvsroot/jboss/contrib/jetty/build.sh,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- build.sh  2001/08/26 07:00:30     1.3
  +++ build.sh  2001/08/27 04:47:23     1.4
  @@ -106,6 +106,11 @@
        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.4       +7 -13     contrib/jetty/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /cvsroot/jboss/contrib/jetty/build.xml,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- build.xml 2001/08/26 07:00:30     1.3
  +++ build.xml 2001/08/27 04:47:23     1.4
  @@ -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

Reply via email to