creadur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rdon...@apache.org
Subject svn commit: r1366816 - in /creadur/whisker/trunk/apache-whisker-plugin4maven/src/it/third-party-group: ./ descriptor.xml verify.groovy
Date Sun, 29 Jul 2012 11:53:04 GMT
Author: rdonkin
Date: Sun Jul 29 11:53:04 2012
New Revision: 1366816

URL: http://svn.apache.org/viewvc?rev=1366816&view=rev
Log:
Tune for group

Added:
    creadur/whisker/trunk/apache-whisker-plugin4maven/src/it/third-party-group/
      - copied from r1366801, creadur/whisker/trunk/apache-whisker-plugin4maven/src/it/third-party-corp/
Modified:
    creadur/whisker/trunk/apache-whisker-plugin4maven/src/it/third-party-group/descriptor.xml
    creadur/whisker/trunk/apache-whisker-plugin4maven/src/it/third-party-group/verify.groovy

Modified: creadur/whisker/trunk/apache-whisker-plugin4maven/src/it/third-party-group/descriptor.xml
URL: http://svn.apache.org/viewvc/creadur/whisker/trunk/apache-whisker-plugin4maven/src/it/third-party-group/descriptor.xml?rev=1366816&r1=1366801&r2=1366816&view=diff
==============================================================================
--- creadur/whisker/trunk/apache-whisker-plugin4maven/src/it/third-party-group/descriptor.xml
(original)
+++ creadur/whisker/trunk/apache-whisker-plugin4maven/src/it/third-party-group/descriptor.xml
Sun Jul 29 11:53:04 2012
@@ -19,7 +19,7 @@
 -->
 <!--
 This is an example of a project which distributes a dependency
-maintained by a corporation. 
+maintained by an informal group. 
  -->
 <!DOCTYPE manifest [
 
@@ -98,9 +98,8 @@ maintained by a corporation. 
 <!ATTLIST resource notice IDREF #IMPLIED>
 <!ATTLIST resource source CDATA #IMPLIED>
 ]>
-
-<manifest>
-    <!-- 
+<manifest>    
+<!-- 
     Definitions 
     ===========    
 Licenses, organisations and notices are defined first, then referenced 
@@ -303,20 +302,23 @@ within the distribution, add NOTICE deta
      -->
     <notices/>
     <!-- 
-This sample example defines only two organisations. Corporate entities
-are described using the same organisation element used for groups
+This sample example defines only two organisations. Informal groups
+are described using the same organisation element used for corporate
 and individual maintainers. 
      -->
     <organisations>
-    <!-- The primary organisation for the project -->
+     <!-- The primary organisation for the project -->
         <organisation 
             id='apache.org' 
             name='The Apache Software Foundation' 
             url='http://www.apache.org/'/>  
-    <!-- The corporation from whom the dependency included in the distribution is licensed
-->
+    <!-- 
+        The informal group from whom the dependency 
+        included in the distribution is licensed 
+    -->
         <organisation
            id='example.org'
-           name='The Example Foundation'
+           name='The Legion of the Bouncy Example'
            url='http://example.org/'
         />
     </organisations>
@@ -330,7 +332,7 @@ This sample project chooses not to distr
     <primary-notice/>
     <!--
 The ID links back into the organisation section. 
-     -->        
+     -->                
     <primary-organisation id='apache.org'/>
         
     <!-- 
@@ -354,11 +356,11 @@ The ID links back into the organisation 
                 <resource name='HelloWorld.py'/>
             </by-organisation>
             <by-organisation id='example.org'>
-             <!-- 
+              <!-- 
                 List resources
                 in the root directory
                 with Apache License and 
-                licensed from the sample corporation 
+                licensed from the sample group 
                 -->
                 <resource name='boo.png'/>
             </by-organisation>

Modified: creadur/whisker/trunk/apache-whisker-plugin4maven/src/it/third-party-group/verify.groovy
URL: http://svn.apache.org/viewvc/creadur/whisker/trunk/apache-whisker-plugin4maven/src/it/third-party-group/verify.groovy?rev=1366816&r1=1366801&r2=1366816&view=diff
==============================================================================
--- creadur/whisker/trunk/apache-whisker-plugin4maven/src/it/third-party-group/verify.groovy
(original)
+++ creadur/whisker/trunk/apache-whisker-plugin4maven/src/it/third-party-group/verify.groovy
Sun Jul 29 11:53:04 2012
@@ -25,15 +25,15 @@ assert license.exists()  
 def reader = new BufferedReader(new InputStreamReader(new FileInputStream(license), "UTF-8"))
 
 
 def alv2 = false
-def foundation = false
+def group = false
 def boo = false
 def line = reader.readLine()
 while (line != null) {
     if (line.contains("Apache License")) {
         apache = true
     }
-    if (line.contains("The Example Foundation")) {
-        foundation = true
+    if (line.contains("The Legion of the Bouncy Example")) {
+        group = true
     }
     if (line.contains("boo.png")) {
         boo = true
@@ -42,7 +42,7 @@ while (line != null) {
 }
 assert boo
 assert apache
-assert foundation
+assert group
 
     
 return true;
\ No newline at end of file



Mime
View raw message