httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From erikab...@apache.org
Subject svn commit: r581329 - /httpd/site/trunk/build.xml
Date Tue, 02 Oct 2007 18:06:28 GMT
Author: erikabele
Date: Tue Oct  2 11:06:27 2007
New Revision: 581329

URL: http://svn.apache.org/viewvc?rev=581329&view=rev
Log:
Reformat build.xml for better readability, no changes in functionality.

Modified:
    httpd/site/trunk/build.xml

Modified: httpd/site/trunk/build.xml
URL: http://svn.apache.org/viewvc/httpd/site/trunk/build.xml?rev=581329&r1=581328&r2=581329&view=diff
==============================================================================
--- httpd/site/trunk/build.xml (original)
+++ httpd/site/trunk/build.xml Tue Oct  2 11:06:27 2007
@@ -1,7 +1,7 @@
 <project name="site" default="docs" basedir=".">
 
     <!-- Initialization properties -->
-    <property name="project.name"   value="httpd-site"/>
+    <property name="project.name" value="httpd-site"/>
     <property name="docs.src" value="./xdocs"/>
     <property name="docs.dest" value="./docs"/>
 
@@ -13,7 +13,7 @@
 
     <target name="prepare">
         <available classname="org.apache.velocity.anakia.AnakiaTask" 
-            property="AnakiaTask.present">
+                   property="AnakiaTask.present">
             <classpath refid="classpath"/>
         </available>
     </target>
@@ -25,30 +25,33 @@
         </echo>
     </target>
 
-    <target name="docs" depends="prepare-error,vulnerabilitydb" if="AnakiaTask.present">
-        <taskdef name="anakia" classname="org.apache.velocity.anakia.AnakiaTask">
+    <target name="docs"
+            depends="prepare-error,vulnerabilitydb" if="AnakiaTask.present">
+        <taskdef name="anakia"
+                 classname="org.apache.velocity.anakia.AnakiaTask">
             <classpath refid="classpath"/>
         </taskdef>
+
         <anakia basedir="${docs.src}" destdir="${docs.dest}/"
-             extension=".html" style="./site.vsl"
-             projectFile="stylesheets/project.xml"
-          excludes="**/stylesheets/** empty.xml **/test/flood/* **/vulnerabilities-httpd.xml"
-             includes="**/*.xml"
-             lastModifiedCheck="true"
-             templatePath="${docs.src}/stylesheets"
-        >
-        </anakia>
+                extension=".html" style="./site.vsl"
+                projectFile="stylesheets/project.xml"
+                excludes="**/stylesheets/**
+                          **/test/flood/*
+                          **/vulnerabilities-httpd.xml
+                          empty.xml"
+                includes="**/*.xml"
+                lastModifiedCheck="true"
+                templatePath="${docs.src}/stylesheets"/>
 
         <anakia basedir="${docs.src}" 
-             destdir="${docs.dest}"
-             extension=".html" style="./site.vsl"
-             projectFile="stylesheets/flood.xml"
-             excludes="**/stylesheets/** empty.xml"
-             includes="test/flood/*.xml"
-             lastModifiedCheck="true"
-             templatePath="${docs.src}/stylesheets"
-        >
-        </anakia>
+                destdir="${docs.dest}"
+                extension=".html" style="./site.vsl"
+                projectFile="stylesheets/flood.xml"
+                excludes="**/stylesheets/**
+                          empty.xml"
+                includes="test/flood/*.xml"
+                lastModifiedCheck="true"
+                templatePath="${docs.src}/stylesheets"/>
 
         <copy todir="${docs.dest}/" filtering="no">
             <fileset dir="${docs.src}/">
@@ -58,25 +61,39 @@
                 <exclude name="**/.#*"/>
             </fileset>
         </copy>
-
     </target>
 
     <target name="vulnerabilitydb">
-      <xslt destdir="${docs.src}/security" in="${docs.src}/security/vulnerabilities-httpd.xml"
out="${docs.src}/security/vulnerabilities_13.xml" style="${docs.src}/stylesheets/securitydb.xsl">
-      <classpath refid="classpath"/>
-      <param name="majorversion" expression="1.3"/>
-    </xslt>
-      <xslt destdir="${docs.src}/security" in="${docs.src}/security/vulnerabilities-httpd.xml"
out="${docs.src}/security/vulnerabilities_20.xml" style="${docs.src}/stylesheets/securitydb.xsl">
-      <classpath refid="classpath"/>
-      <param name="majorversion" expression="2.0"/>
-    </xslt>
-      <xslt destdir="${docs.src}/security" in="${docs.src}/security/vulnerabilities-httpd.xml"
out="${docs.src}/security/vulnerabilities_22.xml" style="${docs.src}/stylesheets/securitydb.xsl">
-      <classpath refid="classpath"/>
-      <param name="majorversion" expression="2.2"/>
-    </xslt>
-      <xslt destdir="${docs.dest}/security" in="${docs.src}/security/vulnerabilities-httpd.xml"
out="${docs.dest}/security/vulnerabilities-oval.xml" style="${docs.src}/stylesheets/httpd-oval.xsl">
-      <classpath refid="classpath"/>
-    </xslt>
+        <xslt destdir="${docs.src}/security"
+              in="${docs.src}/security/vulnerabilities-httpd.xml"
+              out="${docs.src}/security/vulnerabilities_13.xml"
+              style="${docs.src}/stylesheets/securitydb.xsl">
+            <param name="majorversion" expression="1.3"/>
+            <classpath refid="classpath"/>
+        </xslt>
+
+        <xslt destdir="${docs.src}/security"
+              in="${docs.src}/security/vulnerabilities-httpd.xml"
+              out="${docs.src}/security/vulnerabilities_20.xml"
+              style="${docs.src}/stylesheets/securitydb.xsl">
+            <param name="majorversion" expression="2.0"/>
+            <classpath refid="classpath"/>
+        </xslt>
+
+        <xslt destdir="${docs.src}/security"
+              in="${docs.src}/security/vulnerabilities-httpd.xml"
+              out="${docs.src}/security/vulnerabilities_22.xml"
+              style="${docs.src}/stylesheets/securitydb.xsl">
+            <param name="majorversion" expression="2.2"/>
+            <classpath refid="classpath"/>
+        </xslt>
+
+        <xslt destdir="${docs.dest}/security"
+              in="${docs.src}/security/vulnerabilities-httpd.xml"
+              out="${docs.dest}/security/vulnerabilities-oval.xml"
+              style="${docs.src}/stylesheets/httpd-oval.xsl">
+            <classpath refid="classpath"/>
+        </xslt>
   </target>
 
 </project>



Mime
View raw message