[jboss-cvs] jboss-seam ...

Shane Bryzak sbryzak at redhat.com
Wed Apr 18 23:13:48 EDT 2007


  User: sbryzak2
  Date: 07/04/18 23:13:48

  Modified:    jboss-seam    build.xml
  Added:       jboss-seam    build.properties.sample
  Removed:     jboss-seam    build.properties
  Log:
  allows us to maintain our own build.properties
  
  Revision  Changes    Path
  1.181     +17 -0     jboss-seam/build.xml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: build.xml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/build.xml,v
  retrieving revision 1.180
  retrieving revision 1.181
  diff -u -b -r1.180 -r1.181
  --- build.xml	18 Apr 2007 12:06:28 -0000	1.180
  +++ build.xml	19 Apr 2007 03:13:48 -0000	1.181
  @@ -6,6 +6,23 @@
   	<!-- Allow this to be overriden by others importing this project. -->
   	<dirname property="imported.basedir" file="${ant.file.Seam}" />
   
  +  <!-- If build.properties doesn't exist, create it by copying build.properties.sample -->
  +  <condition property="copy.default.properties">
  +    <and>
  +      <available file="${imported.basedir}/build.properties.sample" />
  +      <not>
  +        <available file="${imported.basedir}/build.properties" />
  +      </not>
  +    </and>
  +  </condition>
  +  
  +  <copy todir="${imported.basedir}">
  +    <fileset dir="${imported.basedir}">
  +      <include name="build.properties.sample" if="copy.default.properties" />
  +    </fileset>
  +    <globmapper from="build.properties.sample" to="build.properties" />
  +  </copy>  
  +
   	<!-- Give user a chance to override without editing this file or typing -D -->
   	<property file="${imported.basedir}/build.properties" />
   
  
  
  
  1.1      date: 2007/04/19 03:13:48;  author: sbryzak2;  state: Exp;jboss-seam/build.properties.sample
  
  Index: build.properties.sample
  ===================================================================
  tomcat.home = C:\\Tomcat-5.5
  #jboss.home = /Applications/jboss-4.0.5.GA
  jboss.home = /Users/emmanuel/projects/as/4.2/build/output/jboss-4.2.0.GA
  
  



More information about the jboss-cvs-commits mailing list