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/08/01 06:16:11 UTC

svn commit: r981140 - in /ant/sandbox/antlibs: all-trunks/ build.xml foo/NOTICE foo/build.xml foo/changes.xml foo/contributors.xml foo/docs/cover.html foo/docs/index.html foo/docs/toc.html foo/src/main/org/apache/ant/foo/antlib.xml foo/version.properties

Author: bodewig
Date: Sun Aug  1 04:16:11 2010
New Revision: 981140

URL: http://svn.apache.org/viewvc?rev=981140&view=rev
Log:
add sandbox antlib without trunk/tags/branches

Added:
    ant/sandbox/antlibs/foo/NOTICE   (with props)
    ant/sandbox/antlibs/foo/build.xml   (with props)
    ant/sandbox/antlibs/foo/changes.xml   (with props)
    ant/sandbox/antlibs/foo/contributors.xml   (with props)
    ant/sandbox/antlibs/foo/docs/cover.html   (with props)
    ant/sandbox/antlibs/foo/docs/index.html   (with props)
    ant/sandbox/antlibs/foo/docs/toc.html   (with props)
    ant/sandbox/antlibs/foo/src/main/org/apache/ant/foo/antlib.xml   (with props)
    ant/sandbox/antlibs/foo/version.properties   (with props)
Modified:
    ant/sandbox/antlibs/all-trunks/   (props changed)
    ant/sandbox/antlibs/build.xml

Propchange: ant/sandbox/antlibs/all-trunks/
------------------------------------------------------------------------------
--- svn:externals (original)
+++ svn:externals Sun Aug  1 04:16:11 2010
@@ -1,5 +1,7 @@
+
 dbpatch http://svn.apache.org/repos/asf/ant/sandbox/antlibs/dbpatch
 debian http://svn.apache.org/repos/asf/ant/sandbox/antlibs/debian/trunk
+foo http://svn.apache.org/repos/asf/ant/sandbox/antlibs/foo
 fscache http://svn.apache.org/repos/asf/ant/sandbox/antlibs/fscache/trunk
 gendoc http://svn.apache.org/repos/asf/ant/sandbox/antlibs/gendoc
 http http://svn.apache.org/repos/asf/ant/sandbox/antlibs/http/trunk

Modified: ant/sandbox/antlibs/build.xml
URL: http://svn.apache.org/viewvc/ant/sandbox/antlibs/build.xml?rev=981140&r1=981139&r2=981140&view=diff
==============================================================================
--- ant/sandbox/antlibs/build.xml (original)
+++ ant/sandbox/antlibs/build.xml Sun Aug  1 04:16:11 2010
@@ -99,7 +99,7 @@
     </sequential>
   </macrodef>
 
-  <target name="add-top-to-svn" depends="make-dir-layout">
+  <target name="-add-top-to-svn" depends="make-dir-layout">
     <svn>
       <arg value="add"/>
       <arg value="${antlib.shortname}"/>
@@ -125,7 +125,7 @@
     </svn>
   </target>
 
-  <target name="create-artifacts" depends="add-top-to-svn,changes,antlib.xml,contributors.xml,build.xml,manual">
+  <target name="create-artifacts" depends="-add-top-to-svn,changes,antlib.xml,contributors.xml,build.xml,manual">
     <copy file="${antlib.trunk}/common/NOTICE.template"
           tofile="${antlib.trunk}/NOTICE">
       <filterset begintoken="[" endtoken="]">
@@ -427,7 +427,33 @@ artifact.version=1.0alpha</echo>
     <add-textfile file="${antlib.trunk}/build.xml"/>
   </target>
 
-  <target name="manually-todo" depends="create-artifacts">
+  <target name="add-to-all-trunks" depends="setup-properties">
+    <svn output="old.externals">
+      <arg value="pg"/>
+      <arg value="svn:externals"/>
+      <arg value="all-trunks"/>
+    </svn>
+    <concat dest="new.externals" fixlastline="true">
+      <file file="old.externals"/>
+      <string>${antlib.shortname} http://svn.apache.org/repos/asf/ant/sandbox/antlibs/${antlib.trunk}
+</string>
+      <filterchain>
+        <sortfilter/>
+      </filterchain>
+    </concat>
+    <svn>
+      <arg value="--file"/>
+      <arg value="new.externals"/>
+      <arg value="ps"/>
+      <arg value="svn:externals"/>
+      <arg value="all-trunks"/>
+    </svn>
+    <delete quiet="true">
+      <fileset dir="." includes="*.externals"/>
+    </delete>
+  </target>
+
+  <target name="manually-todo" depends="create-artifacts,add-to-all-trunks">
     <echo>
       The AntLib directory layout and initial artifacts are created.
       Your next steps are:
@@ -435,8 +461,6 @@ artifact.version=1.0alpha</echo>
       - maybe add others to contributors.xml
       - say something in the manuals cover.html about this AntLib
       - commit the files to svn
-      - modify the svn-properties of trunk-directory and add svn:externals
-      common http://svn.apache.org/repos/asf/ant/antlibs/common/trunk
       - implement the AntLib
       - implement testcases (hopefully using AntUnit)
       - document the AntLib

Added: ant/sandbox/antlibs/foo/NOTICE
URL: http://svn.apache.org/viewvc/ant/sandbox/antlibs/foo/NOTICE?rev=981140&view=auto
==============================================================================
--- ant/sandbox/antlibs/foo/NOTICE (added)
+++ ant/sandbox/antlibs/foo/NOTICE Sun Aug  1 04:16:11 2010
@@ -0,0 +1,6 @@
+   Apache Next iteration of experiment
+   Copyright 2010 The Apache Software Foundation
+
+   This product includes software developed by
+   The Apache Software Foundation (http://www.apache.org/).
+

Propchange: ant/sandbox/antlibs/foo/NOTICE
------------------------------------------------------------------------------
    svn:eol-style = native

Added: ant/sandbox/antlibs/foo/build.xml
URL: http://svn.apache.org/viewvc/ant/sandbox/antlibs/foo/build.xml?rev=981140&view=auto
==============================================================================
--- ant/sandbox/antlibs/foo/build.xml (added)
+++ ant/sandbox/antlibs/foo/build.xml Sun Aug  1 04:16:11 2010
@@ -0,0 +1,25 @@
+<?xml version="1.0"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+  
+  http://www.apache.org/licenses/LICENSE-2.0
+  
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<project default="compile" name="foo">
+
+  <!-- easy way to override properties -->
+  <property file="build.properties"/>
+
+  <import file="common/build.xml"/>
+
+</project>

Propchange: ant/sandbox/antlibs/foo/build.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: ant/sandbox/antlibs/foo/changes.xml
URL: http://svn.apache.org/viewvc/ant/sandbox/antlibs/foo/changes.xml?rev=981140&view=auto
==============================================================================
--- ant/sandbox/antlibs/foo/changes.xml (added)
+++ ant/sandbox/antlibs/foo/changes.xml Sun Aug  1 04:16:11 2010
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<!DOCTYPE document
+[
+<!ELEMENT document (properties?, release+)>
+<!ELEMENT properties (title)>
+<!ELEMENT title (#PCDATA)>
+<!ELEMENT release (action*)>
+<!ELEMENT action (#PCDATA)>
+<!ATTLIST release
+          version CDATA #REQUIRED
+          date CDATA #REQUIRED
+          description CDATA #IMPLIED>
+<!ATTLIST action
+          issue CDATA #IMPLIED
+          type (add|fix|remove|update) #REQUIRED
+          breaks-bwc (true|false) #IMPLIED>
+]
+>
+<document>
+  <properties>
+    <title>Apache AntLib Next iteration of experiment</title>
+  </properties>
+
+  <release version="SVN trunk" date="unpublished">
+    <action type="add">
+      Initial import of Next iteration of experiment
+    </action>
+  </release>
+
+</document>

Propchange: ant/sandbox/antlibs/foo/changes.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: ant/sandbox/antlibs/foo/contributors.xml
URL: http://svn.apache.org/viewvc/ant/sandbox/antlibs/foo/contributors.xml?rev=981140&view=auto
==============================================================================
--- ant/sandbox/antlibs/foo/contributors.xml (added)
+++ ant/sandbox/antlibs/foo/contributors.xml Sun Aug  1 04:16:11 2010
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<!DOCTYPE contributors
+[
+<!ELEMENT name (first?, middle?, last)>
+<!ELEMENT contributors (introduction, name+)>
+<!ELEMENT first (#PCDATA)>
+<!ELEMENT introduction (#PCDATA)>
+<!ELEMENT middle (#PCDATA)>
+<!ELEMENT last (#PCDATA)>
+]
+>
+<contributors>
+  <introduction>
+    These are some of the many people who have helped with this Ant Library.
+  </introduction>
+
+  <name>
+    <first></first>
+    <last></last>
+  </name>
+</contributors>

Propchange: ant/sandbox/antlibs/foo/contributors.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: ant/sandbox/antlibs/foo/docs/cover.html
URL: http://svn.apache.org/viewvc/ant/sandbox/antlibs/foo/docs/cover.html?rev=981140&view=auto
==============================================================================
--- ant/sandbox/antlibs/foo/docs/cover.html (added)
+++ ant/sandbox/antlibs/foo/docs/cover.html Sun Aug  1 04:16:11 2010
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<html>
+  <head>
+    <meta http-equiv="Content-Language" content="en-us"/>
+    <link rel="stylesheet" type="text/css" href="style.css"/>
+    <title>Next iteration of experiment</title>
+  </head>
+  <body>
+    <h2>Next iteration of experiment</h2>
+    <p> TODO: something about this antlib </p>
+    <h3>What's this?</h3>
+    <h3>Building</h3>
+    <p>dependencies on Ant <i>version?</i>, external libs and tools</p>
+    <h3>Using</h3>
+  </body>
+</html>

Propchange: ant/sandbox/antlibs/foo/docs/cover.html
------------------------------------------------------------------------------
    svn:eol-style = native

Added: ant/sandbox/antlibs/foo/docs/index.html
URL: http://svn.apache.org/viewvc/ant/sandbox/antlibs/foo/docs/index.html?rev=981140&view=auto
==============================================================================
--- ant/sandbox/antlibs/foo/docs/index.html (added)
+++ ant/sandbox/antlibs/foo/docs/index.html Sun Aug  1 04:16:11 2010
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<html>
+  <head>
+    <meta http-equiv="Content-Language" content="en-us"/>
+    <link rel="stylesheet" type="text/css" href="style.css"/>
+    <title>User Manual - Next iteration of experiment</title>
+  </head>
+  <frameset cols="26%,74%">
+    <frame src="toc.html" name="navFrame"/>
+    <frame src="cover.html" name="mainFrame"/>
+  </frameset>
+  <noframes>
+    <H2>User Manual - Next iteration of experiment</H2>
+    <a href="toc.html">User Manual - Next iteration of experiment</a>
+  </noframes>
+</html>

Propchange: ant/sandbox/antlibs/foo/docs/index.html
------------------------------------------------------------------------------
    svn:eol-style = native

Added: ant/sandbox/antlibs/foo/docs/toc.html
URL: http://svn.apache.org/viewvc/ant/sandbox/antlibs/foo/docs/toc.html?rev=981140&view=auto
==============================================================================
--- ant/sandbox/antlibs/foo/docs/toc.html (added)
+++ ant/sandbox/antlibs/foo/docs/toc.html Sun Aug  1 04:16:11 2010
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<html>
+  <head>
+    <meta http-equiv="Content-Language" content="en-us"/>
+    <link rel="stylesheet" type="text/css" href="style.css"/>
+    <title>Next iteration of experiment</title>
+    <base target="mainFrame"/>
+  </head>
+  <body>
+    <a href="cover.html">Overview</a><br/>
+    <h2>Tasks</h2>
+    <a href="task.html">task</a><br/>
+  </body>
+</html>

Propchange: ant/sandbox/antlibs/foo/docs/toc.html
------------------------------------------------------------------------------
    svn:eol-style = native

Added: ant/sandbox/antlibs/foo/src/main/org/apache/ant/foo/antlib.xml
URL: http://svn.apache.org/viewvc/ant/sandbox/antlibs/foo/src/main/org/apache/ant/foo/antlib.xml?rev=981140&view=auto
==============================================================================
--- ant/sandbox/antlibs/foo/src/main/org/apache/ant/foo/antlib.xml (added)
+++ ant/sandbox/antlibs/foo/src/main/org/apache/ant/foo/antlib.xml Sun Aug  1 04:16:11 2010
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<antlib>
+<!--
+  <taskdef
+      name=""
+      classname="org.apache.ant.foo."
+  />
+  <macrodef name="">
+    <attribute name="" default=""/>
+    <element name="" optional="yes"/>
+    <text name="text" optional="yes" trim="true"/>
+    <sequential>
+      <echo/>
+    </sequential>
+  </macrodef>
+  <presetdef name="">
+  </presetdef>
+-->
+</antlib>

Propchange: ant/sandbox/antlibs/foo/src/main/org/apache/ant/foo/antlib.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: ant/sandbox/antlibs/foo/version.properties
URL: http://svn.apache.org/viewvc/ant/sandbox/antlibs/foo/version.properties?rev=981140&view=auto
==============================================================================
--- ant/sandbox/antlibs/foo/version.properties (added)
+++ ant/sandbox/antlibs/foo/version.properties Sun Aug  1 04:16:11 2010
@@ -0,0 +1,15 @@
+#  Licensed to the Apache Software Foundation (ASF) under one or more
+#  contributor license agreements.  See the NOTICE file distributed with
+#  this work for additional information regarding copyright ownership.
+#  The ASF licenses this file to You under the Apache License, Version 2.0
+#  (the "License"); you may not use this file except in compliance with
+#  the License.  You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+#  Unless required by applicable law or agreed to in writing, software
+#  distributed under the License is distributed on an "AS IS" BASIS,
+#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+#  See the License for the specific language governing permissions and
+#  limitations under the License.
+artifact.version=1.0alpha
\ No newline at end of file

Propchange: ant/sandbox/antlibs/foo/version.properties
------------------------------------------------------------------------------
    svn:eol-style = native