User: user57  
  Date: 02/02/27 23:35:35

  Modified:    tasks/src/resources/org/jboss/tools/buildmagic common.xml
  Log:
   o less verbose init
  
  Revision  Changes    Path
  1.4       +10 -18    
buildmagic/tasks/src/resources/org/jboss/tools/buildmagic/common.xml
  
  Index: common.xml
  ===================================================================
  RCS file: 
/cvsroot/jboss/buildmagic/tasks/src/resources/org/jboss/tools/buildmagic/common.xml,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- common.xml        28 Feb 2002 07:07:49 -0000      1.3
  +++ common.xml        28 Feb 2002 07:35:34 -0000      1.4
  @@ -1,4 +1,4 @@
  -<!-- $Id: common.xml,v 1.3 2002/02/28 07:07:49 user57 Exp $ -->
  +<!-- $Id: common.xml,v 1.4 2002/02/28 07:35:34 user57 Exp $ -->
   
   <!-- ================================================================== -->
   <!-- Initialization                                                     -->
  @@ -17,9 +17,6 @@
   
     </require>
   
  -  <!-- Perform any setup required if we are a child of another build -->
  -  <call target="_buildmagic:init:child"/>
  -
     <!-- Setup the basic project roots. -->
     <property name="_project.root" value=".."/>
     <path id="project.root"><pathelement location="${_project.root}"/></path>
  @@ -37,9 +34,11 @@
   
     <!-- Setup the module environment. -->
     <property name="module.root" value="${basedir}"/>
  +
     <available file="${module.root}/etc/local.properties-example"
             property="init.have-local-properties"/>
  -  <call target="_buildmagic:init:local-properties"/>
  +  <call target="_buildmagic:init:local-properties" if="init.have-local-properties"/>
  +
     <property file="${module.root}/local.properties"/>
     <property name="module.source" value="${module.root}/src"/>
     <property name="module.output" value="${module.root}/output"/>
  @@ -47,7 +46,7 @@
     <property name="module.thirdparty" value="${module.root}/thirdparty"/>
   
     <!-- Setup the build.log -->
  -  <call target="_buildmagic:init:buildlog"/>
  +  <call target="_buildmagic:init:buildlog" unless="init-buildlog.disable"/>
   
     <!-- Load common properties -->
     <property resource="org/jboss/tools/buildmagic/common.properties"/>
  @@ -60,7 +59,7 @@
     <property name="build.id" value="${build.number}"/>
   
     <!-- Invoke the configure task -->
  -  <call target="configure"/>
  +  <call target="configure" unless="configure.disable"/>
   
     <!-- Load common task properties -->
     <property resource="org/jboss/tools/buildmagic/task.properties"/>
  @@ -69,21 +68,14 @@
     <resolver force="${buildmagic.resolveproperties.force}"/>
     <propertyfilter all="${buildmagic.propertyfilter.all}"/>
   
  -  <!-- Show some information -->
  -  <call target="_buildmagic:init:show-environment"/>
  +  <call target="_buildmagic:init:show-environment" if="init.verbose"/>
   
     <!-- Finish up -->
     <property name="init.disable" value="true"/>
   </target>
   
  -<!-- Perform any setup required if we are a child of another build -->
  -<target name="_buildmagic:init:child" if="init.have-parent">
  -  <!-- Disable the build.log, our parent will catch it -->
  -  <property name="init-buildlog.disable" value="true"/>
  -</target>
  -
   <!-- Install the local.properties example if it is there -->
  -<target name="_buildmagic:init:local-properties" if="init.have-local-properties">
  +<target name="_buildmagic:init:local-properties">
     <!-- Setup the local.properties file as needed -->
     <copy file="${module.root}/etc/local.properties-example"
           tofile="${module.root}/local.properties" filtering="yes"/>
  @@ -91,13 +83,13 @@
   </target>
   
   <!-- Initialize the build.log -->
  -<target name="_buildmagic:init:buildlog" unless="init-buildlog.disable">
  +<target name="_buildmagic:init:buildlog">
     <record name="${basedir}/build.log" append="no"/>
     <property name="init-buildlog.disable" value="true" system="true"/>
   </target>
   
   <!-- Show the running environment if -Dinit.verbose=true -->
  -<target name="_buildmagic:init:show-environment" if="init.verbose">
  +<target name="_buildmagic:init:show-environment">
     <echo><![CDATA[
   project.root:    ${project.root}
   module.root:     ${module.root}
  
  
  

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

Reply via email to