You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bo...@apache.org on 2010/07/29 08:55:03 UTC

svn commit: r980337 - in /ant/sandbox/antlibs: build.xml foo/

Author: bodewig
Date: Thu Jul 29 06:55:02 2010
New Revision: 980337

URL: http://svn.apache.org/viewvc?rev=980337&view=rev
Log:
remove experiment

Removed:
    ant/sandbox/antlibs/foo/
Modified:
    ant/sandbox/antlibs/build.xml

Modified: ant/sandbox/antlibs/build.xml
URL: http://svn.apache.org/viewvc/ant/sandbox/antlibs/build.xml?rev=980337&r1=980336&r2=980337&view=diff
==============================================================================
--- ant/sandbox/antlibs/build.xml (original)
+++ ant/sandbox/antlibs/build.xml Thu Jul 29 06:55:02 2010
@@ -79,6 +79,29 @@
     <mkdir dir="${antlib.src.root}"/>
   </target>
 
+  <target name="add-top-to-svn" depends="make-dir-layout">
+    <exec executable="svn">
+      <arg value="add"/>
+      <arg value="${antlib.shortname}"/>
+    </exec>
+    <exec executable="svn">
+      <arg value="ps"/>
+      <arg value="svn:externals"/>
+      <arg value="common http://svn.apache.org/repos/asf/ant/antlibs/common/trunk"/>
+      <arg value="${antlib.shortname}"/>
+    </exec>
+    <exec executable="svn">
+      <arg value="commit"/>
+      <arg value="-m"/>
+      <arg value="creating skeleton directory structure for ${antlib.fullname}"/>
+      <arg value="${antlib.shortname}"/>
+    </exec>
+    <exec executable="svn">
+      <arg value="up"/>
+      <arg value="${antlib.shortname}"/>
+    </exec>
+  </target>
+
   <target name="create-artifacts" depends="make-dir-layout,changes,antlib.xml,contributors.xml,build.xml,manual">
     <copy file="http/trunk/common/NOTICE.template"
           tofile="${antlib.trunk}/NOTICE">



Re: svn commit: r980337 - in /ant/sandbox/antlibs: build.xml foo/

Posted by Stefan Bodewig <bo...@apache.org>.
I wanted to automate the craetion of sandbox antlibs when I found Jan's
great build file and tweaked it a little.

Right now I am looking into automatically adding the externals but need
to stop since I'm running out of time - I'll see what I can do later.

>>    <exec executable="svn">
>>      <arg value="commit"/>
>>      <arg value="-m"/>
>>      <arg value="creating skeleton directory structure for ${antlib.fullname}"/>
>>      <arg value="${antlib.shortname}"/>
>>    </exec>
>>    <exec executable="svn">
>>      <arg value="up"/>
>>      <arg value="${antlib.shortname}"/>
>>    </exec>

Currently results in "no such revision", on the "svn up".  My guess is
that the commit hasn't propagated back to the European mirror when I run
the "svn up" so throwing in a <sleep> should help.

Once this is done I can use the commons subdir to copy templates from -
after that I want to

 * add the generated files with proper eol-style but not commit
   anything.
 * add the trunk to the all-trunks directory
 * provide a target for Antlib promotions

Stefan

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