logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From h...@apache.org
Subject cvs commit: jakarta-log4j-sandbox build.properties.sample build.xml
Date Thu, 01 May 2003 13:56:40 GMT
hoju        2003/05/01 06:56:40

  Modified:    .        build.properties.sample build.xml
  Log:
  Changes allowing things to build normally in the presence of the new chainsaw stuff.  If
one wants to build chainsaw and it associated libraries, then use chainsaw-build.xml.  Also
allowed for one to override properties using properties files in $user.home.  See property
file includes at the top of build.xml for info.  Also added build.* property options to build.properties.sample
to be used by javac.
  
  Jake
  
  Revision  Changes    Path
  1.5       +6 -0      jakarta-log4j-sandbox/build.properties.sample
  
  Index: build.properties.sample
  ===================================================================
  RCS file: /home/cvs/jakarta-log4j-sandbox/build.properties.sample,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- build.properties.sample	13 Apr 2003 06:46:32 -0000	1.4
  +++ build.properties.sample	1 May 2003 13:56:40 -0000	1.5
  @@ -4,6 +4,12 @@
   # properties below to reflect the locations of the resources in your
   # development environment.
   
  +# set these to your requirements to be passed to the javac command
  +build.debug=on
  +build.deprecation=off
  +build.optimize=on
  +build.verbose=off
  +
   # log4j jar REQUIRED
   log4j.jar=./build-libs/log4j-1.2.8.jar
   
  
  
  
  1.7       +27 -14    jakarta-log4j-sandbox/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-log4j-sandbox/build.xml,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- build.xml	20 Mar 2003 07:17:34 -0000	1.6
  +++ build.xml	1 May 2003 13:56:40 -0000	1.7
  @@ -7,11 +7,14 @@
   <!-- NOTE: all directories are relative to jakarta-log4j-sandbox/      -->
   <!-- the parent of build/                                              -->
   <!-- ================================================================= -->
  -<project name="log4j" default="build" basedir="." >
  +<project name="log4j-sandbox" default="build" basedir="." >
   
   
     <!-- The build.properties file defines the parth to local jar files -->
  +  <property file="${user.home}/.${ant.project.name}-build.properties"/>
  +  <property file="${user.home}/.build.properties"/>
     <property file="build.properties"/>
  +  <property file="build.properties.sample"/>
   
     <property name="version" value="0.1alpha"/>
   
  @@ -85,24 +88,34 @@
   
     <target name="build" depends="init, build.core, build.servlet"/>
   
  -	<target name="build.core" depends="init">
  -		<mkdir dir="${javac.dest}" />
  -		<javac srcdir="${java.source.dir}"
  -			     destdir="${javac.dest}"
  -			     includes="**/*.java"
  -			     excludes="**/servlet/*.java"
  -			     deprecation="${deprecation}"
  -			     debug="on">
  +  <target name="build.core" depends="init">
  +    <mkdir dir="${javac.dest}" />
  +    <javac srcdir="${java.source.dir}"
  +            destdir="${javac.dest}"
  +            debug="${build.debug}"
  +            deprecation="${build.deprecation}"
  +            optimize="${build.optimize}"
  +            verbose="${build.verbose}">
  +      <include name="**/*.java"/>
  +      <exclude name="**/servlet/**/*.java"/>
  +      <!--build excludes below via chainsaw-build.xml-->
  +      <exclude name="**/chainsaw/**/*.java"/>
  +      <exclude name="**/net/**/*.java"/>
  +      <exclude name="**/spi/**/*.java"/>
  +      <exclude name="**/xml/**/*.java"/>
         <classpath refid="compile.classpath"/>
       </javac>
     </target>
   
     <target name="build.servlet" depends="init, servlet" if="servlet23-present">
  -    <javac deprecation="${deprecation}"
  -           srcdir="${java.source.dir}"
  -	         destdir="${javac.dest}"
  -	         includes="**/servlet/*.java">
  -			<classpath refid="compile.classpath"/>
  +    <javac srcdir="${java.source.dir}"
  +            destdir="${javac.dest}"
  +            debug="${build.debug}"
  +            deprecation="${build.deprecation}"
  +            optimize="${build.optimize}"
  +            verbose="${build.verbose}">
  +      <include name="**/servlet/**/*.java"/>
  +      <classpath refid="compile.classpath"/>
       </javac>
     </target>
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: log4j-dev-help@jakarta.apache.org


Mime
View raw message