You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by bu...@apache.org on 2003/04/26 18:01:28 UTC

DO NOT REPLY [Bug 19347] New: - Add target to build.xml to create doc tarball

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19347>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19347

Add target to build.xml to create doc tarball

           Summary: Add target to build.xml to create doc tarball
           Product: Velocity
           Version: 1.3.1-rc2
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: Build
        AssignedTo: velocity-dev@jakarta.apache.org
        ReportedBy: tcolson@cisco.com


Tiny little patch for build.xml to add in a 'tardocs' target which builds a 
compressed tarball for the docs/xdocs trees. This is just an interim 
convenience so that the docs can be easily published to a web server until the 
jakarta publishing process is figured out. 

Timo


Index: build.xml
===================================================================
RCS file: /home/cvspublic/jakarta-velocity-tools/build.xml,v
retrieving revision 1.13
diff -u -r1.13 build.xml
--- build.xml   26 Apr 2003 01:31:01 -0000      1.13
+++ build.xml   26 Apr 2003 15:55:55 -0000
@@ -280,5 +280,17 @@
   </target>


+  <!-- ================================================================== -->
+  <!-- TAR  A L L  D O C S                                                -->
+  <!-- ================================================================== -->
+  <target name="tardocs"
+    description="Combine all xdocs and docs into a tar ball.">
+
+        <tar destfile="${basedir}/docs.tar.gz"
+        basedir="${basedir}"
+        includes="docs/**,xdocs/**"
+        compression="gzip"
+        />
+        </target>

 </project>

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