ceki        2004/01/23 09:38:50

  Modified:    .        build.properties.sample build.xml
  Log:
  
  Building the log4j site depends only on logging-site
  
  Revision  Changes    Path
  1.14      +0 -5      logging-log4j/build.properties.sample
  
  Index: build.properties.sample
  ===================================================================
  RCS file: /home/cvs/logging-log4j/build.properties.sample,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- build.properties.sample   22 Dec 2003 18:53:41 -0000      1.13
  +++ build.properties.sample   23 Jan 2004 17:38:50 -0000      1.14
  @@ -30,11 +30,6 @@
   # Available from http://jalopy.sourceforge.net/
   jalopy.lib=d:/development/code-opensource/other/jalopy-b10/lib
   
  -# jakarta-site2 module is used to transform xml files to html using
  -# Anakia. You do not need to worry about this property unless you
  -# intend to build the log4j web site yourself.
  -jakarta-site2=../jakarta-site2
  -
   # The templates for the creation of the web-pages are inherited 
   # from the parent project.
   logging-site=../logging-site
  
  
  
  1.91      +8 -17     logging-log4j/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/logging-log4j/build.xml,v
  retrieving revision 1.90
  retrieving revision 1.91
  diff -u -r1.90 -r1.91
  --- build.xml 21 Jan 2004 23:35:53 -0000      1.90
  +++ build.xml 23 Jan 2004 17:38:50 -0000      1.91
  @@ -88,8 +88,8 @@
     </path>
   
     <!-- Construct classpath for building the html pages-->
  -  <path id="site2.classpath">
  -    <fileset dir="${jakarta-site2}/lib">
  +  <path id="site.classpath">
  +    <fileset dir="${logging-site}/lib">
         <include name="*.jar"/>
       </fileset>
     </path>
  @@ -625,23 +625,23 @@
     <!-- ============================================== -->
     <!-- Build the site files using Anakia              -->
     <!-- ============================================== -->
  -  <target name="prepareSite2">
  +  <target name="prepareSite">
       <available classname="org.apache.velocity.anakia.AnakiaTask"
         property="AnakiaTask.present">
  -      <classpath refid="site2.classpath"/>
  +      <classpath refid="site.classpath"/>
       </available>
     </target>
   
  -  <target name="checkSite2" depends="prepareSite2" unless="AnakiaTask.present">
  +  <target name="checkSite" depends="prepareSite" unless="AnakiaTask.present">
       <echo>
         AnakiaTask is not present! Please check to make sure that
         velocity.jar is in your classpath.
       </echo>
     </target>
   
  -  <target name="site2" depends="checkSite2" if="AnakiaTask.present">
  +  <target name="site" depends="checkSite" if="AnakiaTask.present">
       <taskdef name="anakia" classname="org.apache.velocity.anakia.AnakiaTask">
  -      <classpath refid="site2.classpath"/>
  +      <classpath refid="site.classpath"/>
       </taskdef>
    
       <mkdir dir="${docs.dest}/css"/>  
  @@ -657,22 +657,13 @@
         templatePath="${logging-site}/src/xdocs/stylesheets">
       </anakia>
   
  -    <anakia basedir="${xdocs.src}" destdir="${docs.dest}/"
  -      extension=".html"
  -      style="site.vsl"
  -      projectFile="stylesheets/lf5.xml"
  -      excludes="**/stylesheets/**, empty.xml"
  -      includes="lf5/*.xml"
  -      lastModifiedCheck="true"
  -      templatePath="${jakarta-site2}/xdocs/stylesheets">
  -    </anakia>
     </target>
   
   
    <!-- ================================================================= -->
    <!-- Build a complete distribution. Results go to ${dist.images}       -->
    <!-- ================================================================= -->
  -  <target name="dist" depends="init, clean, javadoc, jar, site2">
  +  <target name="dist" depends="init, clean, javadoc, jar, site">
   
       <delete verbose="true">
         <fileset dir=".">
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to