[jboss-cvs] jboss-portal/tools/etc/buildfragments ...

Sohil Shah sohil.shah at jboss.com
Tue Aug 8 17:48:12 EDT 2006


  User: sshah   
  Date: 06/08/08 17:48:12

  Modified:    tools/etc/buildfragments  buildmagic.ent
  Log:
  added conditional setup of jboss.home property
  
  Revision  Changes    Path
  1.16      +7 -2      jboss-portal/tools/etc/buildfragments/buildmagic.ent
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: buildmagic.ent
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-portal/tools/etc/buildfragments/buildmagic.ent,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -b -r1.15 -r1.16
  --- buildmagic.ent	8 Aug 2006 20:54:54 -0000	1.15
  +++ buildmagic.ent	8 Aug 2006 21:48:12 -0000	1.16
  @@ -1,4 +1,4 @@
  -<!-- $Id: buildmagic.ent,v 1.15 2006/08/08 20:54:54 claprun Exp $ -->
  +<!-- $Id: buildmagic.ent,v 1.16 2006/08/08 21:48:12 sshah Exp $ -->
   
   <!-- ================================================================== -->
   <!-- Initialization                                                     -->
  @@ -81,7 +81,12 @@
   
     <!-- Setup the JBoss environment -->
     <property environment="env"/>
  -  <property name="jboss.home" value="${env.JBOSS_HOME}"/>
  +
  +  <condition property="jboss.home" value="${env.JBOSS_HOME}">
  +	  <not>
  +	  	<isset property="jboss.home"/>
  +	  </not>
  +  </condition>
   
     <!-- Setup the build.log -->
     <call target="_buildmagic:init:buildlog" unless="init-buildlog.disable"/>
  
  
  



More information about the jboss-cvs-commits mailing list