ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From k...@apache.org
Subject svn commit: r991776 - /ant/sandbox/antlibs/promote.xml
Date Thu, 02 Sep 2010 00:15:55 GMT
Author: kevj
Date: Thu Sep  2 00:15:55 2010
New Revision: 991776

URL: http://svn.apache.org/viewvc?rev=991776&view=rev
Log:
add instructions for use

Modified:
    ant/sandbox/antlibs/promote.xml

Modified: ant/sandbox/antlibs/promote.xml
URL: http://svn.apache.org/viewvc/ant/sandbox/antlibs/promote.xml?rev=991776&r1=991775&r2=991776&view=diff
==============================================================================
--- ant/sandbox/antlibs/promote.xml (original)
+++ ant/sandbox/antlibs/promote.xml Thu Sep  2 00:15:55 2010
@@ -18,7 +18,7 @@
   under the License.
 -->
 
-<project default="manually-todo">
+<project default="help">
 
   <presetdef name="svn">
     <exec executable="svn" failonerror="true"/>
@@ -180,7 +180,26 @@
     </svn>
   </target>
 
-  <target name="manually-todo" depends="tag-sandbox,add-to-proper-all-trunks,remove-from-sandbox-trunks,delete-sandbox">
+  <target name="instructions">
+    <echo>
+      promote.xml is used to automatically move an antlib from sandbox to proper.
+      To do this you must have the following setup:
+      - antlibs working copy (from the base directory *NOT all-trunks*)
+      - antlibs sandbox working copy (again from the base directory)
+      - the 'to be promoted' antlib should have the proper svn structure:
+        &lt;to-be-promoted&gt;
+          - trunk
+          - tags
+          - branches (optionally)
+      When you have the correct setup, run:
+        ant -f promote.xml manually-todo
+      from within your antlib sandbox dir and follow the instructions. 
+    </echo>
+  </target>
+
+  <target name="help" depends="instructions"/>
+
+  <target name="manually-todo" depends="instructions,tag-sandbox,add-to-proper-all-trunks,remove-from-sandbox-trunks,delete-sandbox">
     <echo>
       The AntLib directory has been moved and the all-trunks externals have
       been modified.



Mime
View raw message