You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by wg...@apache.org on 2005/07/11 21:19:45 UTC

svn commit: r210186 - in /jakarta/velocity/core/trunk: build/build.xml xdocs/stylesheets/project-website.xml xdocs/stylesheets/project.xml

Author: wglass
Date: Mon Jul 11 12:19:43 2005
New Revision: 210186

URL: http://svn.apache.org/viewcvs?rev=210186&view=rev
Log:
made property to differentiate docs for website and distribution; fixed DVSL/Tools links

Added:
    jakarta/velocity/core/trunk/xdocs/stylesheets/project-website.xml
Modified:
    jakarta/velocity/core/trunk/build/build.xml
    jakarta/velocity/core/trunk/xdocs/stylesheets/project.xml

Modified: jakarta/velocity/core/trunk/build/build.xml
URL: http://svn.apache.org/viewcvs/jakarta/velocity/core/trunk/build/build.xml?rev=210186&r1=210185&r2=210186&view=diff
==============================================================================
--- jakarta/velocity/core/trunk/build/build.xml (original)
+++ jakarta/velocity/core/trunk/build/build.xml Mon Jul 11 12:19:43 2005
@@ -39,6 +39,10 @@
   <property name="docs.dest" value="../docs"/>
   <property name="docs.src" value="../xdocs"/>
 
+  <!-- set to "project" for distribution and "project-website" -->
+  <!-- when building docs for web site -->
+  <property name="docs.project" value="project.xml"/>
+
   <!-- jars explicitly needed for bulding 'dep jar' -->    
   <property name="log.jar" value="lib/logkit-1.0.1.jar"/>
   <property name="oro.jar" value="lib/oro.jar"/>
@@ -677,14 +681,19 @@
        #######################################################
        #
        #  Now using Anakia to transform our XML documentation
-       #  to HTML.
-        
+       #  to HTML.  
+       #
+       #  using project file: ${docs.project}
+       #
+       #  Note: set property "docs.project" to "project.xml"
+       #  for distribution and "project-website.xml" for
+       #  website.
        #######################################################
       </echo>
 
       <anakia basedir="${docs.src}" destdir="${docs.dest}/"
            extension=".html" style="./site.vsl"
-           projectFile="stylesheets/project.xml"
+           projectFile="stylesheets/${docs.project}"
            excludes="**/stylesheets/** empty.xml"
            includes="**/*.xml"
            lastModifiedCheck="true"
@@ -707,13 +716,6 @@
           </fileset>
       </copy>
 
-      <!-- copy product docs into versioned folder -->
-      <copy todir="${docs.dest}/${docsfolder}" filtering="no">
-          <fileset dir="${docs.dest}/docs">
-              <include name="*.html"/>
-          </fileset>
-      </copy>
-        
   </target>
   
   

Added: jakarta/velocity/core/trunk/xdocs/stylesheets/project-website.xml
URL: http://svn.apache.org/viewcvs/jakarta/velocity/core/trunk/xdocs/stylesheets/project-website.xml?rev=210186&view=auto
==============================================================================
--- jakarta/velocity/core/trunk/xdocs/stylesheets/project-website.xml (added)
+++ jakarta/velocity/core/trunk/xdocs/stylesheets/project-website.xml Mon Jul 11 12:19:43 2005
@@ -0,0 +1,63 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<!-- should be same file as project.xml but have link to -->
+<!-- 1.4 version of docs -->
+
+<project name="Velocity"
+          href="http://jakarta.apache.org/velocity/">
+
+    <title>Velocity</title>
+    <logo   href="/images/newlogo.png">Velocity</logo>
+
+    <body>
+    <menu name="Velocity">
+        <item name="Home"                     href="/index.html"/>
+        <item name="Overview"                 href="/overview.html"/>
+        <item name="Getting Started"          href="/getting-started.html"/>
+        <item name="Web Applications"         href="/webapps.html"/>
+        <item name="Download"                 href="http://jakarta.apache.org/site/downloads/downloads_velocity.html"/>
+        <item name="FAQ (Wiki)"               href="http://wiki.apache.org/jakarta-velocity/VelocityFAQ"/>
+    </menu>
+    <menu name="Docs (Velocity 1.4)">
+        <item name="User's Guide"             href="http://jakarta.apache.org/velocity/docs14/user-guide.html"/>
+        <item name="Developer's Guide"        href="http://jakarta.apache.org/velocity/docs14/developer-guide.html"/>
+        <item name="VTL Reference Guide"      href="http://jakarta.apache.org/velocity/docs14/vtl-reference-guide.html"/>
+        <item name="Anakia : XML->doc tool"   href="http://jakarta.apache.org/velocity/docs14/anakia.html"/>
+        <item name="Texen : text generation"  href="http://jakarta.apache.org/velocity/docs14/texen.html"/>
+        <item name="Veltag : JSP taglib"      href="http://jakarta.apache.org/velocity/docs14/veltag.html"/>
+        <item name="Javadoc"                  href="http://jakarta.apache.org/velocity/docs14/api/index.html"/>
+        <item name="Change Log"               href="http://jakarta.apache.org/velocity/docs14/changes.html"/>
+        <item name="License"                  href="http://jakarta.apache.org/velocity/docs14/license.html"/>
+    </menu>
+    <menu name="Sub Projects">
+        <item name="Velocity Tools"           href="http://jakarta.apache.org/velocity/tools/index.html"/>
+        <item name="DVSL : XML transformation"  href="http://jakarta.apache.org/velocity/dvsl/index.html"/>
+    </menu>
+    <menu name="Community">
+        <item name="Wiki"                     href="http://wiki.apache.org/jakarta-velocity/"/>
+        <item name="Recent News"              href="http://wiki.apache.org/jakarta-velocity/VelocityNews"/>
+        <item name="Powered By Velocity"      href="http://wiki.apache.org/jakarta-velocity/PoweredBy"/>
+        <item name="IDE/Editor Plugins"       href="http://wiki.apache.org/jakarta-velocity/DevTools"/>
+        <item name="Articles and Books"       href="http://wiki.apache.org/jakarta-velocity/Articles"/>
+        <item name="Get Involved"             href="http://wiki.apache.org/jakarta-velocity/GetInvolved"/>
+        <item name="Mailing Lists"            href="http://jakarta.apache.org/site/mail.html"/>
+    </menu>
+    <menu name="Developers">
+        <item name="Source Code Repository"   href="http://www.apache.org/dev/version-control.html"/>
+        <item name="Building from Source"     href="/build.html"/>
+        <item name="Nightly Snapshots"        href="http://cvs.apache.org/snapshots/velocity/"/>
+        <item name="Road Map"                 href="http://wiki.apache.org/jakarta-velocity/RoadMap"/>
+        <item name="Coding Standards"         href="http://wiki.apache.org/jakarta-velocity/CodeStandards"/>    
+        <item name="Documentation Guidelines" href="http://wiki.apache.org/jakarta-velocity/DocumentationGuidelines"/>    
+        <item name="Issues"                   href="http://issues.apache.org/bugzilla/enter_bug.cgi?product=Velocity"/>
+        <item name="List of Committers"       href="/committers.html"/>
+    </menu>
+    <menu name="Translations">
+        <item name="Site (Japanese)"          href="http://www.jajakarta.org/velocity/"/>
+        <item name="User's Guide (Finnish)"   href="/translations/user-guide_fi.html"/>
+        <item name="User's Guide (French)"    href="/translations/user-guide_fr.html"/>
+        <item name="User's Guide (Spanish)"   href="/translations/user-guide_es.html"/>
+    </menu>
+    </body>
+</project>
+

Modified: jakarta/velocity/core/trunk/xdocs/stylesheets/project.xml
URL: http://svn.apache.org/viewcvs/jakarta/velocity/core/trunk/xdocs/stylesheets/project.xml?rev=210186&r1=210185&r2=210186&view=diff
==============================================================================
--- jakarta/velocity/core/trunk/xdocs/stylesheets/project.xml (original)
+++ jakarta/velocity/core/trunk/xdocs/stylesheets/project.xml Mon Jul 11 12:19:43 2005
@@ -14,20 +14,20 @@
         <item name="Download"                 href="http://jakarta.apache.org/site/downloads/downloads_velocity.html"/>
         <item name="FAQ (Wiki)"               href="http://wiki.apache.org/jakarta-velocity/VelocityFAQ"/>
     </menu>
-    <menu name="Docs (Velocity 1.4)">
-        <item name="User's Guide"             href="/docs14/user-guide.html"/>
-        <item name="Developer's Guide"        href="/docs14/developer-guide.html"/>
-        <item name="VTL Reference Guide"      href="/docs14/vtl-reference-guide.html"/>
-        <item name="Anakia : XML->doc tool"   href="/docs14/anakia.html"/>
-        <item name="Texen : text generation"  href="/docs14/texen.html"/>
-        <item name="Veltag : JSP taglib"      href="/docs14/veltag.html"/>
-        <item name="Javadoc"                  href="/docs14/api/index.html"/>
-        <item name="Change Log"               href="/docs14/changes.html"/>
-        <item name="License"                  href="/docs14/license.html"/>
+    <menu name="Docs">
+        <item name="User's Guide"             href="/docs/user-guide.html"/>
+        <item name="Developer's Guide"        href="/docs/developer-guide.html"/>
+        <item name="VTL Reference Guide"      href="/docs/vtl-reference-guide.html"/>
+        <item name="Anakia : XML->doc tool"   href="/docs/anakia.html"/>
+        <item name="Texen : text generation"  href="/docs/texen.html"/>
+        <item name="Veltag : JSP taglib"      href="/docs/veltag.html"/>
+        <item name="Javadoc"                  href="/docs/api/index.html"/>
+        <item name="Change Log"               href="/docs/changes.html"/>
+        <item name="License"                  href="/docs/license.html"/>
     </menu>
     <menu name="Sub Projects">
-        <item name="Velocity Tools"           href="/tools/index.html"/>
-        <item name="DVSL : XML transformation"  href="/dvsl/index.html"/>
+        <item name="Velocity Tools"           href="http://jakarta.apache.org/velocity/tools/index.html"/>
+        <item name="DVSL : XML transformation"  href="http://jakarta.apache.org/velocity/dvsl/index.html"/>
     </menu>
     <menu name="Community">
         <item name="Wiki"                     href="http://wiki.apache.org/jakarta-velocity/"/>



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