You are viewing a plain text version of this content. The canonical link for it is here.
Posted to taglibs-dev@jakarta.apache.org by ba...@apache.org on 2007/03/22 18:56:16 UTC

svn commit: r521376 - in /jakarta/taglibs/trunks-proper: build.xml common.xml

Author: bayard
Date: Thu Mar 22 10:56:15 2007
New Revision: 521376

URL: http://svn.apache.org/viewvc?view=rev&rev=521376
Log:
Switching from the deprecated <style> task to <xslt>. Welcome to 2002. 

Modified:
    jakarta/taglibs/trunks-proper/build.xml
    jakarta/taglibs/trunks-proper/common.xml

Modified: jakarta/taglibs/trunks-proper/build.xml
URL: http://svn.apache.org/viewvc/jakarta/taglibs/trunks-proper/build.xml?view=diff&rev=521376&r1=521375&r2=521376
==============================================================================
--- jakarta/taglibs/trunks-proper/build.xml (original)
+++ jakarta/taglibs/trunks-proper/build.xml Thu Mar 22 10:56:15 2007
@@ -47,7 +47,7 @@
       </fileset>
     </copy>
     <!-- Create dynamically generated documentation -->
-    <style basedir="src/doc" destdir="${build.dir}/doc"
+    <xslt basedir="src/doc" destdir="${build.dir}/doc"
            extension=".html" style="src/doc/stylesheets/taglibs.xsl"
            includes="*.xml" excludes="project.xml"/>
   </target>

Modified: jakarta/taglibs/trunks-proper/common.xml
URL: http://svn.apache.org/viewvc/jakarta/taglibs/trunks-proper/common.xml?view=diff&rev=521376&r1=521375&r2=521376
==============================================================================
--- jakarta/taglibs/trunks-proper/common.xml (original)
+++ jakarta/taglibs/trunks-proper/common.xml Thu Mar 22 10:56:15 2007
@@ -100,11 +100,11 @@
 <!--
     <antcall target="checkRequiredClass">
        <param name="class" value="org.apache.xerces.framework.XMLParser"/>
-       <param name="fail.message" value="xerces is required for the &lt;style&gt; task in the &quot;documentation&quot; target. please install xerces.jar in ANT_HOME/lib"/>
+       <param name="fail.message" value="xerces is required for the &lt;xslt&gt; task in the &quot;documentation&quot; target. please install xerces.jar in ANT_HOME/lib"/>
     </antcall>
     <antcall target="checkRequiredClass">
        <param name="class" value="org.apache.xalan.xslt.Stylesheet"/>
-       <param name="fail.message" value="xalan is required for the &lt;style&gt; task in the &quot;documentation&quot; target. please install xalan.jar in ANT_HOME/lib"/>
+       <param name="fail.message" value="xalan is required for the &lt;xslt&gt; task in the &quot;documentation&quot; target. please install xalan.jar in ANT_HOME/lib"/>
     </antcall>
 -->
     <antcall target="${checkRequirements.post}"/>
@@ -141,12 +141,12 @@
     <!-- See if there is any documentation web app documents -->
     <available file="${doc.src}/web" property="documentation.present"/>
     <!-- Generate a manifest for the jar and war files -->
-    <style in="${xml.src}/${taglib.name}.xml"
+    <xslt in="${xml.src}/${taglib.name}.xml"
            destdir="${build.dir}/${taglib.name}"
            out="${build.dir}/${taglib.name}/${taglib.name}.mf"
            style="${manifest.xsl}">
       <param name="release" expression="${release}"/>
-    </style>
+    </xslt>
     <antcall target="${prepare.post}"/>
     <property name="prepare.done" value="true"/>
   </target>
@@ -162,12 +162,12 @@
     </copy>
     <!-- intro.xml isn't part of the documentation application,
          this is just a handy place to build it for the web site. -->
-    <style in="${xml.src}/intro.xml"  
+    <xslt in="${xml.src}/intro.xml"  
            destdir="${build.doc}"   
            out="${build.doc}/intro.html"
            style="${taglibs.xsl}">
       <param name="prefix" expression="../../"/>
-    </style>
+    </xslt>
     <antcall target="copy.documentation"/>
     <uptodate property="javadoc.uptodate"
               targetfile="${build.doc}/javadoc/index.html">
@@ -251,7 +251,7 @@
       <replacevalue><![CDATA[&lt;/html&gt;</document>]]></replacevalue>
     </replace>     
     <!-- now style the .txt files as .html files -->
-    <style basedir="${build.examples}"
+    <xslt basedir="${build.examples}"
            destdir="${build.examples}"
            includes="**/*.txt"
            style="${taglib-doc.dir}/examples.xsl"/>
@@ -387,25 +387,25 @@
   </target>
 
   <target name="template-tld11" depends="prepare" unless="gen-docs.present">
-    <style in="${xml.src}/${taglib.name}.xml"
+    <xslt in="${xml.src}/${taglib.name}.xml"
            destdir="${build.examples}/WEB-INF"
            out="${build.examples}/WEB-INF/taglibs-${taglib.name}.tld"
            style="${tld11.xsl}"/>
   </target>
 
   <target name="template-tld12" depends="prepare" if="jsp12.present">
-    <style in="${xml.src}/${taglib.name}.xml"
+    <xslt in="${xml.src}/${taglib.name}.xml"
            destdir="${build.examples}/WEB-INF"
            out="${build.examples}/WEB-INF/taglibs-${taglib.name}.tld"
            style="${tld12.xsl}"/>
   </target>
 
   <target name="template-docs" depends="prepare" if="template.present">
-    <style in="${xml.src}/${taglib.name}.xml"
+    <xslt in="${xml.src}/${taglib.name}.xml"
            destdir="${build.doc}"
            out="${build.doc}/index.html"
            style="${taglib-doc.xsl}"/>
-    <style in="${xml.src}/${taglib.name}.xml"
+    <xslt in="${xml.src}/${taglib.name}.xml"
            destdir="${build.doc}"
            out="${build.doc}/changes.html"          
            style="${changes-doc.xsl}"/>
@@ -425,18 +425,18 @@
        -->
 
   <target name="gen-tld" depends="prepare" if="gen-docs.present">
-    <style in="${xml.src}/${taglib.name}.xml"   
+    <xslt in="${xml.src}/${taglib.name}.xml"   
            destdir="${build.examples}/WEB-INF"
            out="${build.examples}/WEB-INF/taglibs-${taglib.name}.tld"
            style="../taglib-doc-kit/xml/tld.xsl"/>
   </target>
 
   <target name="gen-docs" depends="prepare" if="gen-docs.present">
-    <style in="${xml.src}/${taglib.name}.xml"   
+    <xslt in="${xml.src}/${taglib.name}.xml"   
            destdir="${build.doc}"           
            out="${build.doc}/index.html"
            style="../taglib-doc-kit/xml/taglib-doc.xsl"/> 
-    <style in="doc/web/changes.xml"
+    <xslt in="doc/web/changes.xml"
            destdir="${build.doc}" 
            out="${build.doc}/changes.html"
            style="${taglibs.xsl}"/>   



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