From e3b5e0ba40447970d621cfeed5cc1770df69884f Mon Sep 17 00:00:00 2001 From: Adriaan Moors Date: Fri, 22 Mar 2013 16:14:53 -0700 Subject: Sanity for build.xml: exscriptus&positus delendus est. Reduced copy/pasting to the best of my antabilities. The next person to duplicate anything without written permission will be sentenced to a week in xmhell. While I was at it, made sure that layering is respected. The quick phase exclusively uses the locker compiler for building. The jar task will fail when trying to create an empty jar. Replaced the crazy if/unless/depends constructs by if/then/else. Version suffix computation should now be comprehensible. I threw in some validation to make sure the various suffixes are consistent. Also, no more init/pre-foo tasks unless absolutely necessary. Introduced a couple of macros to capture the essence of staged compilation. Notes: - remove lib.extra, standardize on aux.libs - collapse *.javac.path and *.build.path - rename starr.classpath to starr.compiler.path - only repl needs jline, locker.compiler.path = locker.comp.build.path + forkjoin - more uniform build.paths (compiler = reflect + library) - uniformity means slightly bigger classpaths (e.g. forkjoin is only used in library, but inherited by compiler) - pruned: some spurious dependencies removed - compilerpathref = compiler build path - silence test.osgi, by hook or by crook - centralized clean tasks - reduce duplication in property usage - fix pack.xml to pack scaladoc/partest instead of scaladoc/scala-partest - TODO: -XDignore.symbol.file necessary for library? only needed for forkjoin? - document usage from jenkins, fix typo: partest.scalac*_*opts New targets: - quick-opt - strap-opt - test.bc - test.osgi - test.osgi.comp - test.osgi.init - test.stability-opt Removed/replaced targets: - asm.clean asm.lib asm.start - bc.run - dist.latest dist.latest.unix dist.latest.win dist.start - docs.all docs.manmaker docs.pre-comp docs.pre-continuations-plugin - docs.pre-jline docs.pre-lib docs.pre-man docs.pre-partest docs.pre-scalap - forkjoin.clean forkjoin.lib forkjoin.pack forkjoin.start - graph.clean - init.build.nopatch.release init.build.patch.release init.build.release - init.build.snapshot init.build.suffix.done init.extra.tasks - init.fail.bad.jdk init.hasbuildnum init.hasmavensuffix init.jars - init.jars.check init.maven.jars init.maven.tasks init.osgi.suffix - init.osgi.suffix.final init.osgi.suffix.snapshot init.testjava6 - init.version.done init.version.git init.version.release init.version.snapshot - init.warn.jdk7 locker.pre-comp locker.pre-lib locker.pre-reflect - locker.unlock.comp locker.unlock.lib locker.unlock.pre-comp - locker.unlock.pre-lib locker.unlock.pre-reflect locker.unlock.reflect - osgi.clean osgi.test osgi.test.comp osgi.test.init - pack.clean pack.pre-bin pack.pre-comp pack.pre-lib pack.pre-partest - pack.pre-plugins pack.pre-reflect pack.pre-scalap pack.start - palo.comp palo.lib palo.pre-bin palo.pre-comp palo.pre-lib palo.pre-reflect - palo.reflect palo.start quick.pre-bin - quick.pre-comp quick.pre-interactive quick.pre-lib quick.pre-partest - quick.pre-plugins quick.pre-reflect quick.pre-repl quick.pre-scalacheck - quick.pre-scaladoc quick.pre-scalap - sbt.clean sbt.compile sbt.done sbt.libs sbt.start - starr.clean - strap.clean strap.pre-comp strap.pre-lib strap.pre-reflect strap.start - test.debug test.pre-run --- build.xml | 3753 +++++++++++++++++++++---------------------------------------- 1 file changed, 1292 insertions(+), 2461 deletions(-) (limited to 'build.xml') diff --git a/build.xml b/build.xml index 01d867d8ca..dba2236dc6 100644 --- a/build.xml +++ b/build.xml @@ -5,176 +5,71 @@ SuperSabbus for Scala core, builds the scala library and compiler. It can also package it as a simple distribution, tests it for stable bootstrapping and against the Scala test suite. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - - - - - - - - - - +scalacArgs examples: + "-Dscalac.args=\"-Yrangepos\" -Dpartest.scalac_opts=\"-Yrangepos\"" - - - - - - - - - +targets exercised: + build-opt nightly test.suite test.continuations.suite test.scaladoc locker.done +--> - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + - - - - - + - - - - - + + + + - - - - - + + - - - + + + - - - - + + + + + + @@ -184,10 +79,10 @@ PROPERTIES - + @@ -197,15 +92,11 @@ PROPERTIES - - - - - - + - + + @@ -223,6 +114,8 @@ PROPERTIES + + @@ -238,126 +131,118 @@ PROPERTIES but if it is unset it will take this default value. --> - + + + + + + + - - - - - - + - + - - - - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + - - - - - - - - + + + - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + - - - - - - - @@ -371,71 +256,68 @@ INITIALISATION + - - - + + + + + + + + + + + + + + + + + + + + + - - - + - - - + + You are using JDK7 for this build. + While this will be able to build most of Scala, it will not build the Swing project. + You will be unable to create a distribution. + + - + + - - - - - - - - - - - - - - + + + + + + + - - - - - You are using JDK7 for this build. While this will be able to build most of Scala, it will - not build the Swing project. You will be unable to create a distribution. - - - - - - - - + + + + + + - - - + + + + @@ -446,30 +328,17 @@ INITIALISATION - - + + + - - - - - - - - - - - - - - @@ -486,1195 +355,857 @@ INITIALISATION - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + - - - - - - - - - - - - - - - + + - - - - - - - - - - - - - - + - - - + + + + + - - - - + + + + - - - - - - - - - + + + + + + + - - - - - - - - - - - - - - - + - - - - + + + + + - - - - - + - + + + + - - - - - - - - + + + + + + + - - - - - - - - - - - - - - - + + - - - - + + + - - - - - - - + + + + - - - - - + + + + + - - - - - + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + - - - - - + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + - - - - - - - - - - - - + + - - - + + + + - - - - - - - + + + + + + + - - - + + + + + - - - - - - - + + + + - - - + + + + + - - - - - - - + + + + + + + + + - - - + + + + + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - + CLEANLINESS +=============================================================================--> + + + + - - - - - - - + + - - - + - - - - - - + + - - - + + + + + + - - - - - - - - - - - + + + + + + + + + + + + + + - - + + + + + + + + + + + + - - - - - - + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+          
+          
+          
+            
+              
+              
+              
+              
+            
+          
+            
+              
+              
+            
+          
+          
+            
+              
+            
+          
+          
+        
+      
+    
+  
+
+  
+    
+    
+    
+      
+        
+          
+            
+          
+        
+        
+          
+          
+          
+            
+            
+            
+            
+            
+          
+            
+            
+            
+            
+            
+          
+          
+          
+          
+          
+          
+        
+      
+    
+  
+
+  
+    
+    
+    
+    
+
+    
+      
+      
+        
+        
+      
+    
+  
+
+  
+    
+    
+    
+    
+    
+
+    
+      
+        
+        
+          
+          
+          
+            
+              
+            
+          
+            
+              
+            
+          
+          
+        
+      
+    
+  
 
 
+  
+    
 
-  
+  
+    
+            
+ - - - - - - - - - + + + +
+        
+        
+      
+
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + - - - - - - + + - - - + + +
+         
+        
+      
+ + + +
- - - - - - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + +
+        
+        
+      
+
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + +
+
- - - - + + - - - - - - - - - - - - - + + + + + - - - - - + + + - - - - - - - - - - - - - - - - - - + + + - - - - - + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + - - - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - + + + + - - + + + + + + - - - - - + + + + + + + + + + + + + - - + + + + + + + - - - - - - - - - - - - - - - - - - + + - - + + + - - - - - - - - - - - + + + +
+         
+        
+      
+ + + +
+
+ + + + +
+        
+        
+      
+
+
+ + - - - - - - - - - - - - - - + + + + + + - - - - - - - - - - - + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - - - - + - - - @@ -1710,888 +1241,137 @@ OSGi Artifacts output="${build-osgi.dir}"/> + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - - - + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + - - - + + + + - - - - - - - + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - + + - - - - + + + - - + + + + + + + + - - - - - - + - - - - - - + + - - - - - - - - - - - - - - - - - - + @@ -2608,25 +1388,17 @@ BOOTRAPING TEST AND TEST SUITE - - - - - - - - - + @@ -2634,38 +1406,44 @@ BOOTRAPING TEST AND TEST SUITE - - - - + - + + + + + + + + + + + - - + - + - - - + + + - + - - - @@ -2689,81 +1464,162 @@ Binary compatibility testing - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -2782,9 +1638,7 @@ DISTRIBUTION overwrite="yes"/> - - @@ -2835,70 +1689,42 @@ DISTRIBUTION toFile="${dist.dir}/doc/scala-devel-docs/README.scala-swing"/> - + - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + - - - - - - - - + + + + + + - - - + - @@ -2906,28 +1732,19 @@ STABLE REFERENCE (STARR) - + - - + + - - - - - - - - - - + @@ -2937,20 +1754,16 @@ STABLE REFERENCE (STARR) - - - - - - - - + + + + + - - - - - + + + + @@ -2970,60 +1783,85 @@ STABLE REFERENCE (STARR) - - - - + + + + + + + + + + + + - - - + + - - - - + + + + + + + + + + + - - - - - + + - - + - + + - - - - + + + + + - - - + + - - - - + + + + + + + + + + + + + + + + + + + + @@ -3077,15 +1915,13 @@ POSITIONS - - - + @@ -3104,18 +1940,13 @@ POSITIONS - - - - - -- cgit v1.2.3