forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brond...@apache.org
Subject svn commit: rev 9936 - in xml/forrest/trunk: legal scratchpad/forrestbot2 scratchpad/forrestbot2/core scratchpad/forrestbot2/lib
Date Thu, 08 Apr 2004 15:14:07 GMT
Author: brondsem
Date: Thu Apr  8 08:14:07 2004
New Revision: 9936

Added:
   xml/forrest/trunk/legal/jsvn-0.9-dev.jar.license.txt
   xml/forrest/trunk/scratchpad/forrestbot2/lib/jsvn-0.9-dev.jar   (contents, props changed)
Modified:
   xml/forrest/trunk/scratchpad/forrestbot2/core/getsrc.xml
   xml/forrest/trunk/scratchpad/forrestbot2/xml-forrest.xml
Log:
svn ant task; getsrc.svn forrestbot workstage implementation

Added: xml/forrest/trunk/legal/jsvn-0.9-dev.jar.license.txt
==============================================================================
--- (empty file)
+++ xml/forrest/trunk/legal/jsvn-0.9-dev.jar.license.txt	Thu Apr  8 08:14:07 2004
@@ -0,0 +1,83 @@
+This collective work is Copyright (C)2002-2003 by David H. Golpira 
+Individual portions may be copyright by individual contributors, and
+are included in this collective work with permission of the copyright 
+owners.
+
+Licensed under the Academic Free License version 1.2
+
+Grant of License. Licensor hereby grants to any person obtaining a copy
+of the Original Work ("You") a world-wide, royalty-free, non-exclusive,
+perpetual, non-sublicenseable license (1) to use, copy, modify, merge,
+publish, perform, distribute and/or sell copies of the Original Work and
+derivative works thereof, and (2) under patent claims owned or controlled
+by the Licensor that are embodied in the Original Work as furnished by
+the Licensor, to make, use, sell and offer for sale the Original Work
+and derivative works thereof, subject to the following conditions.
+
+Attribution Rights. You must retain, in the Source Code of any Derivative
+Works that You create, all copyright, patent or trademark notices from
+the Source Code of the Original Work, as well as any notices of licensing
+and any descriptive text identified therein as an "Attribution Notice."
+You must cause the Source Code for any Derivative Works that You create
+to carry a prominent Attribution Notice reasonably calculated to inform
+recipients that You have modified the Original Work.
+
+Exclusions from License Grant. Neither the names of Licensor, nor
+the names of any contributors to the Original Work, nor any of their
+trademarks or service marks, may be used to endorse or promote products
+derived from this Original Work without express prior written permission
+of the Licensor.
+
+Warranty and Disclaimer of Warranty. Licensor warrants that the copyright
+in and to the Original Work is owned by the Licensor or that the
+Original Work is distributed by Licensor under a valid current license
+from the copyright owner. Except as expressly stated in the immediately
+proceeding sentence, the Original Work is provided under this License
+on an "AS IS" BASIS and WITHOUT WARRANTY, either express or implied,
+including, without limitation, the warranties of NON-INFRINGEMENT,
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK
+AS TO THE QUALITY OF THE ORIGINAL WORK IS WITH YOU. This DISCLAIMER OF
+WARRANTY constitutes an essential part of this License. No license to
+Original Work is granted hereunder except under this disclaimer.
+
+Limitation of Liability. Under no circumstances and under no legal
+theory, whether in tort (including negligence), contract, or otherwise,
+shall the Licensor be liable to any person for any direct, indirect,
+special, incidental, or consequential damages of any character arising
+as a result of this License or the use of the Original Work including,
+without limitation, damages for loss of goodwill, work stoppage, computer
+failure or malfunction, or any and all other commercial damages or
+losses. This limitation of liability shall not apply to liability for
+death or personal injury resulting from Licensor's negligence to the
+extent applicable law prohibits such limitation. Some jurisdictions do
+not allow the exclusion or limitation of incidental or consequential
+damages, so this exclusion and limitation may not apply to You.
+
+License to Source Code. The term "Source Code" means the preferred form
+of the Original Work for making modifications to it and all available
+documentation describing how to modify the Original Work. Licensor hereby
+agrees to provide a machine-readable copy of the Source Code of the
+Original Work along with each copy of the Original Work that Licensor
+distributes. Licensor reserves the right to satisfy this obligation by
+placing a machine-readable copy of the Source Code in an information
+repository reasonably calculated to permit inexpensive and convenient
+access by You for as long as Licensor continues to distribute the Original
+Work, and by publishing the address of that information repository in
+a notice immediately following the copyright notice that applies to the
+Original Work.
+
+Mutual Termination for Patent Action. This License shall terminate
+automatically and You may no longer exercise any of the rights granted
+to You by this License if You file a lawsuit in any court alleging that
+any OSI Certified open source software that is licensed under any license
+containing this "Mutual Termination for Patent Action" clause infringes
+any patent claims that are essential to use that software.
+
+Right to Use. You may use the Original Work in all ways not otherwise
+restricted or conditioned by this License or by law, and Licensor promises
+not to interfere with or be responsible for such uses by You.
+
+This license is Copyright (C) 2002 Lawrence E. Rosen. All rights
+reserved. Permission is hereby granted to copy and distribute this
+license without modification. This license may not be modified without
+the express written permission of its copyright owner.
\ No newline at end of file

Modified: xml/forrest/trunk/scratchpad/forrestbot2/core/getsrc.xml
==============================================================================
--- xml/forrest/trunk/scratchpad/forrestbot2/core/getsrc.xml	(original)
+++ xml/forrest/trunk/scratchpad/forrestbot2/core/getsrc.xml	Thu Apr  8 08:14:07 2004
@@ -38,6 +38,7 @@
 
     <cvspass cvsroot=":pserver:${getsrc.cvs.user}@${getsrc.cvs.host}:${getsrc.cvs.root}"
password="${getsrc.cvs.password}"/>
 
+    <!-- non-recursive; just to get forrest.properties -->
     <echo><![CDATA[<cvs cvsRoot=":pserver:${getsrc.cvs.user}@${getsrc.cvs.host}:${getsrc.cvs.root}"
       package="${getsrc.cvs.module}"
       dest="${build.cvsmodule-dir}"
@@ -58,6 +59,7 @@
     <loadproperties srcFile="${build.cvsmodule-dir}/${getsrc.cvs.module}/forrest.properties"/>
     <loadproperties srcFile="${forrest.home}/default-forrest.properties"/>
 
+    <!-- only the project.content-dir directory -->
     <echo><![CDATA[<cvs cvsRoot=":pserver:${getsrc.cvs.user}@${getsrc.cvs.host}:${getsrc.cvs.root}"
       package="${getsrc.cvs.module}/${project.content-dir}"
       dest="${build.cvsmodule-dir}"
@@ -76,6 +78,43 @@
       <fileset dir="${build.cvsmodule-dir}/${getsrc.cvs.module}"/>
     </copy>
 
+  </target>
+
+
+  <taskdef resource="taskdef.properties">
+    <classpath>
+      <!-- non-recursive doesn't work from 0.8 stable -->
+      <pathelement location="${bot.home}/lib/jsvn-0.9-dev.jar"/>
+    </classpath>
+  </taskdef>
+
+  <!-- default values -->
+  <property name="getsrc.svn.url" value=""/>
+  <property name="getsrc.svn.revision" value="HEAD"/>
+
+  <property name="build.svn-dir"    location="work/svn"/>
+
+  <target name="getsrc.svn">
+    <!-- non-recursive; just to get forrest.properties -->
+    <svncheckout repositoryUrl="${getsrc.svn.url}"
+      destination="${build.svn-dir}/${ant.project.name}"
+      revision="${getsrc.svn.revision}"
+      failonerror="true"
+      recursive="false"/>
+
+    <echo>Loading ${build.svn-dir}/${ant.project.name}/forrest.properties..</echo>
+    <loadproperties srcFile="${build.svn-dir}/${ant.project.name}/forrest.properties"/>
+    <loadproperties srcFile="${forrest.home}/default-forrest.properties"/>
+    
+    <!-- only the project.content-dir directory -->
+    <svncheckout repositoryUrl="${getsrc.svn.url}/${project.content-dir}"
+      destination="${build.svn-dir}/${ant.project.name}/${project.content-dir}"
+      revision="${getsrc.svn.revision}"
+      failonerror="true"/>
+
+    <copy todir="${build.work-dir}">
+      <fileset dir="${build.svn-dir}/${ant.project.name}"/>
+    </copy>
   </target>
 
 </project>

Added: xml/forrest/trunk/scratchpad/forrestbot2/lib/jsvn-0.9-dev.jar
==============================================================================
Binary file. No diff available.

Modified: xml/forrest/trunk/scratchpad/forrestbot2/xml-forrest.xml
==============================================================================
--- xml/forrest/trunk/scratchpad/forrestbot2/xml-forrest.xml	(original)
+++ xml/forrest/trunk/scratchpad/forrestbot2/xml-forrest.xml	Thu Apr  8 08:14:07 2004
@@ -16,6 +16,8 @@
 -->
 <project name="xml-forrest" default="main">
 
+  <property name="getsrc.svn.url" value="http://svn.apache.org/repos/asf/xml/forrest/trunk"/>
+  <target name="getsrc" depends="getsrc.svn"/>
   <import file="core/forrestbot.xml"/>
 
 </project>

Mime
View raw message