From fe5aab6f633e90ff52abc70e007cded1de3b5359 Mon Sep 17 00:00:00 2001 From: Adriaan Moors Date: Mon, 28 Oct 2013 19:11:39 -0700 Subject: Enforce consistency of pack, docs, osgi, maven tasks. Instead of scattering properties all over invocations of staged-docs, staged-pack, make-bundle, copy-bundle and mvn-package, these are now all fully determined by the project they act on. The varying arguments to these macros are all centralized. They are named like `project.prop`, where `prop` is one of: description, package, dir, name, namesuffix, version, targetdir, targetjar, jar, docroot, skipPackage, srcdir, src, srcjar. The defaults for these properties are computed using `init-project-prop`. --- build.xml | 342 ++++++++++++++++++++++++++++++++++++-------------------------- 1 file changed, 201 insertions(+), 141 deletions(-) diff --git a/build.xml b/build.xml index bc7a3cf24b..513ef07289 100755 --- a/build.xml +++ b/build.xml @@ -561,6 +561,85 @@ TODO: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -649,7 +728,7 @@ TODO: - + @@ -698,22 +777,22 @@ TODO: - - - + + + - - - - - - - + + + + + + + @@ -738,7 +817,7 @@ TODO: - + @@ -768,24 +847,24 @@ TODO: - - + + - - - + + + - + @@ -806,9 +885,9 @@ TODO: Why, the compiler we're testing, of course, and partest with all its dependencies. --> - - - + + + - - + + - - + + @@ -1032,7 +1111,7 @@ TODO: would use it for locker but something is iffy in sbt: get a class cast error on global phase --> - + - - - - + + + - +
 
         
-           
+           
             
             
           
         
-          
+          
             
             
           
@@ -1199,28 +1277,24 @@ TODO:
 
   
     
-    
-    
-    
-    
 
     
 
     
       
-        
+        
         
           
           
-          
+          
             
+              skipPackages="${@{project}.skipPackages}">
               
             
           
             
+              skipPackages="${@{project}.skipPackages}">
               
             
           
@@ -1321,28 +1395,28 @@ TODO:
 
 
   
-    
+    
       
       
-        
+        
 
         
-        
+        
         
 
         
-        
-        
+        
+        
 
         
         
-        
+                       args="-Xplugin-require:continuations -P:continuations:enable -Xpluginsdir ${build-quick.dir}/${continuations-plugin.targetdir}"/>
 
-        
+        
       
     
   
@@ -1393,9 +1467,9 @@ TODO:
     
     
 
-       
+       
 
-        
+        
 
   
 
@@ -1464,48 +1538,43 @@ TODO:
                                   OSGi Artifacts
 ============================================================================ -->
   
-    
-    
-    
-    
-    
-    
-    
-    
+    
+    
 
     
-      
+      
         
           
           
+          
+          
         
       
-      
-      
+      
         
-          
+          
             
             
               
-              
-              
-              
-              
+              
+              
+              
+              
             
           
       
     
   
 
-
   
     
 
@@ -1513,24 +1582,24 @@ TODO:
       
         
         
-        
-        
-        
+        
+        
+        
       
     
 
     
       
-      
+      
         
         
       
 
-      
+      
         
       
 
-      
+      
         
         
         
@@ -1547,11 +1616,11 @@ TODO:
       
         
         
-        
-        
-        
-        
-        
+        
+        
+        
+        
+        
       
     
 
@@ -1559,22 +1628,22 @@ TODO:
       
 
 
-      
+      
         
       
 
-      
-        
+      
+        
       
 
       
-        
+        
           
         
       
 
-      
-      
+      
+      
 
       
       
@@ -1740,7 +1809,7 @@ TODO:
 
   
     
   
 
@@ -1804,17 +1873,17 @@ TODO:
   
 
   
-    
+    
     
         
         
     
   
@@ -1824,9 +1893,9 @@ TODO:
   
   
   
-    
-    
-    
+    
+    
+    
   
 
 
-    
-    
-    
+    
+    
+    
 
-    
-    
+    
+    
 
-    
-    
-    
+    
+    
+    
 
     
     
@@ -2143,19 +2207,15 @@ MAIN DISTRIBUTION PACKAGING
   
 
   
-    
-    
     
-    
-    
 
     
-       
+       
 
-      
-      
-      
-      
+      
+      
+      
+      
 
       
         
@@ -2177,11 +2237,11 @@ MAIN DISTRIBUTION PACKAGING
   
     
     
-    
+    
 
     
     
-    
+    
     
     
       
@@ -2264,7 +2324,7 @@ MAIN DISTRIBUTION PACKAGING
   
     
       
-        
+        
       
     
     
-- 
cgit v1.2.3


From de66ada07a05c52f5bf9e2d77f37423712c52724 Mon Sep 17 00:00:00 2001
From: Adriaan Moors 
Date: Mon, 28 Oct 2013 21:52:27 -0700
Subject: De-duplicate logic in maven deployment.

---
 src/build/maven/maven-deploy.xml | 69 +++++++++++++++++++++++++++-------------
 1 file changed, 47 insertions(+), 22 deletions(-)

diff --git a/src/build/maven/maven-deploy.xml b/src/build/maven/maven-deploy.xml
index 9e4215d297..7cff0b457e 100644
--- a/src/build/maven/maven-deploy.xml
+++ b/src/build/maven/maven-deploy.xml
@@ -6,6 +6,46 @@
     SuperSabbus extension for deploying a distribution to Maven. THIS FILE IS MEANT TO BE RUN STANDALONE IN THE MAVEN "distpack" DIRECTORY
   
 
+  
+    
+    
+    
+    
+      
+        
+        
+        
+      
+    
+  
+
+  
+    
+    
+    
+    
+    
+      
+      
+      
+    
+    
+  
+
+  
+    
+    
+    
+    
+    
+      
+          
+      
+          
+      
+    
+  
+
   
     
     
@@ -31,30 +71,15 @@
       
 
       
-        
-          
-            
-            
+        
+          
             
-            
-          
+          
         
-          
-             
-               
-               
-               
-             
-          
-          
-            
-              
-              
-              
-              
-            
-          
-          
+          
+            
+            
+          
         
       
         
-- 
cgit v1.2.3


From 2374fcb194e62ab185926d411921dedeb57ad150 Mon Sep 17 00:00:00 2001
From: Adriaan Moors 
Date: Wed, 6 Nov 2013 09:55:20 -0800
Subject: Render relevant properties to buildcharacter.properties

---
 build.xml | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/build.xml b/build.xml
index 513ef07289..1a7be2791d 100755
--- a/build.xml
+++ b/build.xml
@@ -533,6 +533,17 @@ TODO:
     
     
 
+    
+      
+        
+        
+        
+        
+        
+        
+      
+    
+
     
     
       
-- 
cgit v1.2.3


From 2218301988eec2fd882151ed31ed7699cfc04307 Mon Sep 17 00:00:00 2001
From: Adriaan Moors 
Date: Wed, 6 Nov 2013 11:36:45 -0800
Subject: Extra repository hook via `extra.repo.url` var

Previously defaulted to 'https://oss.sonatype.org/content/repositories/releases',
now must be set manually. PR validation uses it to configure the repository
that has the artifacts published during validation.
---
 build.xml | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/build.xml b/build.xml
index 1a7be2791d..973484cdef 100755
--- a/build.xml
+++ b/build.xml
@@ -269,7 +269,7 @@ TODO:
       
 
 
-      
+      
 
       
         
@@ -277,7 +277,7 @@ TODO:
         
-        
+        
         
       
       
@@ -290,8 +290,7 @@ TODO:
       
       
-        
-        
+        
         
         
       
@@ -363,6 +362,7 @@ TODO:
       
         
         
+          
           
           
           
-- 
cgit v1.2.3


From 366a40d81c08c2fcb987ed344ba49efe66e07456 Mon Sep 17 00:00:00 2001
From: Adriaan Moors 
Date: Wed, 6 Nov 2013 14:55:18 -0800
Subject: More useful ant targets for faster pr validation

---
 build.xml | 14 +++++---------
 1 file changed, 5 insertions(+), 9 deletions(-)

diff --git a/build.xml b/build.xml
index 973484cdef..5f93291099 100755
--- a/build.xml
+++ b/build.xml
@@ -75,11 +75,8 @@ TODO:
    
   
 
-  
-    
-  
-  
-    
+  
+    
       
       
     
@@ -2320,10 +2317,9 @@ MAIN DISTRIBUTION PACKAGING
     
     
   
-  
-    
-    
-    
+
+  
+    
   
 
 
+  
+    
+      
+      
+    
+  
+
   
     
       
-- 
cgit v1.2.3