From 170373f06250d62c25cc4899de4e3236e71c4a78 Mon Sep 17 00:00:00 2001 From: Stefan Zeiger Date: Fri, 29 Jul 2016 15:57:11 +0200 Subject: Remove the ant build - Remove ant scripts. - Remove shell scripts that were specific to the ant build or the old `*.desired.sha1` binary artifact management. - Remove `build.number`. - Remove `src/build/maven` and `src/build/bnd`. The POM and Manifest metadata is generated in a different way by sbt. --- build-ant-macros.xml | 832 --------- build.number | 13 - build.xml | 1786 -------------------- compare-build-dirs-ignore-patterns | 8 - compare-build-dirs.sh | 5 - pull-binary-libs.sh | 20 - push-binary-libs.sh | 13 - src/build/bnd/scala-compiler-doc.bnd | 8 - src/build/bnd/scala-compiler-interactive.bnd | 8 - src/build/bnd/scala-compiler.bnd | 12 - src/build/bnd/scala-library.bnd | 8 - src/build/bnd/scala-parser-combinators.bnd | 8 - src/build/bnd/scala-reflect.bnd | 10 - src/build/bnd/scala-swing.bnd | 8 - src/build/bnd/scala-xml.bnd | 8 - src/build/maven/scala-compiler-doc-pom.xml | 53 - src/build/maven/scala-compiler-interactive-pom.xml | 48 - src/build/maven/scala-compiler-pom.xml | 65 - src/build/maven/scala-dist-pom.xml | 69 - src/build/maven/scala-library-all-pom.xml | 68 - src/build/maven/scala-library-pom.xml | 46 - src/build/maven/scala-reflect-pom.xml | 51 - src/build/maven/scalap-pom.xml | 48 - tools/binary-repo-lib.sh | 234 --- tools/deploy-local-maven-snapshot | 11 - tools/new-starr | 6 - tools/push.jar.desired.sha1 | 1 - 27 files changed, 3447 deletions(-) delete mode 100644 build-ant-macros.xml delete mode 100644 build.number delete mode 100644 build.xml delete mode 100644 compare-build-dirs-ignore-patterns delete mode 100755 compare-build-dirs.sh delete mode 100755 pull-binary-libs.sh delete mode 100755 push-binary-libs.sh delete mode 100644 src/build/bnd/scala-compiler-doc.bnd delete mode 100644 src/build/bnd/scala-compiler-interactive.bnd delete mode 100644 src/build/bnd/scala-compiler.bnd delete mode 100644 src/build/bnd/scala-library.bnd delete mode 100644 src/build/bnd/scala-parser-combinators.bnd delete mode 100644 src/build/bnd/scala-reflect.bnd delete mode 100644 src/build/bnd/scala-swing.bnd delete mode 100644 src/build/bnd/scala-xml.bnd delete mode 100644 src/build/maven/scala-compiler-doc-pom.xml delete mode 100644 src/build/maven/scala-compiler-interactive-pom.xml delete mode 100644 src/build/maven/scala-compiler-pom.xml delete mode 100644 src/build/maven/scala-dist-pom.xml delete mode 100644 src/build/maven/scala-library-all-pom.xml delete mode 100644 src/build/maven/scala-library-pom.xml delete mode 100644 src/build/maven/scala-reflect-pom.xml delete mode 100644 src/build/maven/scalap-pom.xml delete mode 100755 tools/binary-repo-lib.sh delete mode 100755 tools/deploy-local-maven-snapshot delete mode 100755 tools/new-starr delete mode 100644 tools/push.jar.desired.sha1 diff --git a/build-ant-macros.xml b/build-ant-macros.xml deleted file mode 100644 index e077cfbb4c..0000000000 --- a/build-ant-macros.xml +++ /dev/null @@ -1,832 +0,0 @@ - - - Macros for Scala's ant build - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-          
-          
-            
-          
-          
-            
-              
-            
-            
-              
-                
-                
-                
-                
-              
-            
-            
-              
-                
-                
-              
-            
-          
-        
-      
-    
-  
-
-  
-    
-    
-    
-      
-        
-          
-        
-        
-          
-          
-          
-            
-            
-              
-                
-              
-            
-            
-              
-                
-              
-            
-          
-          
-        
-      
-    
-  
-
-  
-    
-    
-    
-      
-        
-          
-          
-          
-          
-          
-          
-          
-          
-          
-        
-      
-      
-      
-        
-        
-          
-          
-            
-            
-              
-              
-              
-              
-              
-            
-          
-        
-      
-    
-  
-
-  
-    
-    
-      
-      
-    
-  
-
-  
-    
-    
-      
-      
-      
-      
-      
-      
-      
-        
-          
-        
-        
-          
-            
-          
-        
-      
-    
-  
-
-  
-    
-    
-    
-    
-      
-        
-          
-          
-          
-        
-      
-        
-          
-          
-          
-        
-      
-    
-  
-
-  
-    
-    
-    
-    
-      
-        
-          
-          
-          
-        
-      
-        
-          
-          
-          
-        
-      
-    
-  
-
-  
-    
-    
-    
-    
-    
-      
-          
-      
-          
-      
-    
-  
-
-  
-    
-    
-
-    
-      
-        
-          
-          
-          
-          
-          
-          
-          
-          
-          
-
-          
-        
-      
-      
-    
-  
-
-  
-    
-    
-    
-
-    
-       
-
-      Deploying ${path}-[pom.xml|src.jar|docs.jar].
-
-      
-
-      
-        
-          
-            
-          
-        
-          
-            
-            
-          
-        
-      
-        
-        
-          
-        
-          
-        
-        
-          
-          
-          
-          
-          
-          
-          
-          
-          
-        
-      
-    
-  
-
-  
-    
-    
-    
-
-    
-       
-
-      Deploying ${path}.jar with ${path}-pom.xml.
-
-      
-
-      
-        
-      
-        
-        
-          
-        
-          
-        
-        
-          
-          
-          
-          
-          
-          
-          
-        
-      
-    
-  
-
-  
-    
-    
-    
-
-    
-       
-
-      Deploying ${path}-pom.xml.
-
-      
-
-      
-        
-      
-        
-        
-          
-        
-          
-        
-        
-          
-          
-          
-          
-          
-          
-          
-        
-      
-    
-  
-
-  
-    
-    
-
-    
-      
-      
-      
-
-      
-
-      
-    
-  
-
-  
-    
-     
-    
-    
-    
-    
-    
-    
-      
-      
-    
-  
-
-  
-    
-    
-    
-    
-    
-      
-      
-        
-        
-        
-        
-        
-        
-        
-        
-          
-        
-      
-    
-  
-
-  
-    
-    
-      
-      
-    
-  
-
-  
-    
-    
-    
-      
-        
-      
-      
-      
-        
-          
-        
-        
-          
-            
-          
-          
-        
-      
-      
-    
-  
-
diff --git a/build.number b/build.number
deleted file mode 100644
index 7c7e26fd09..0000000000
--- a/build.number
+++ /dev/null
@@ -1,13 +0,0 @@
-# The version number in this file should be the next un-released minor version,
-# e.g., 2.11.7, 2.12.0, 2.12.1. It's used to determine version numbers for
-# SNAPSHOT / nightly builds and local builds of source checkouts.
-
-version.major=2
-version.minor=12
-version.patch=0
-
-# This is the -N part of a version (2.9.1-1). If it's 0, it's dropped from maven versions. It should not be used again.
-version.bnum=0
-
-# To build a release, see scripts/jobs/scala-release-2.11.x-build
-# (normally run by the eponymous job on scala-ci.typesafe.com).
diff --git a/build.xml b/build.xml
deleted file mode 100644
index 7c6f525c1c..0000000000
--- a/build.xml
+++ /dev/null
@@ -1,1786 +0,0 @@
-
-
-
-  
-
-  
-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.
-  
-
-
-
-
-
-
-
-
-
-
-
-  
-  
-  
-  
-
-         
-          
-     
-     
-
-  
-  
-    
-
-  
-  
-    
-      
-      
-    
-  
-  
-    
-      
-      
-    
-  
-  
-    
-      
-    
-  
-
-  
-  
-  
-  
-
-
-
-
-
-
-
-
-
-
-  
-  
-  
-          
-   
-      
-
-  
-  
-  
-   
-  
-  
-
-  
-
-  
-  
-
-
-
-
-
-  
-  
-  
-
-  
-  
-  
-  
-  
-
-  
-  
-  
-
-  
-  
-
-  
-  
-
-  
-  
-
-  
-  
-
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-
-  
-  
-
-  
-  
-
-  
-
-  
-
-  
-  
-  
-
-  
-  
-
-  
-
-
-  
-    
-      
-      
-      
-    
-
-    
-      
-      
-    
-  
-
-  
-    
-    
-    
-    
-    
-      
-      
-    
-  
-
-  
-    
-    
-    
-      
-      
-      
-    
-    
-    
-      
-      
-      
-    
-
-    
-    
-    
-  
-
-  
-    
-    
-
-    
-    
-      
-    
-
-    
-    
-    
-
-    
-
-    
-    
-      
-      
-      
-        
-      
-
-      
-        
-      
-
-      
-        
-      
-
-      
-      
-      
-        
-        
-      
-      
-
-      
-      
-      
-      
-      
-        
-        
-        
-        
-        
-        
-        
-        
-        
-      
-      
-
-      
-        
-      
-
-      
-        
-      
-
-      
-      
-
-      
-      
-      
-      
-      
-
-      
-        
-      
-      
-
-      
-      
-        
-        
-        
-        
-        
-        
-      
-      
-
-      
-        
-      
-      
-
-      
-      
-        
-        
-        
-        
-      
-
-      
-      
-        
-          
-          
-            
-            
-            
-          
-        
-      
-      
-
-      
-      
-      
-
-      
-      
-
-      
-      
-        
-        
-        
-        
-      
-      
-
-      
-    
-
-
-    
-
-    
-    
-      
-    
-
-    
-      
-        
-        
-        
-          
-        
-          
-     
-      
-      
-
-    
-    
-      
-
-    
-    
-
-    
-      
-      
-    
-      
-      
-
-    
-    
-    
-
-    
-      
-    
-      
-    
-
-    
-    
-
-    
-        
-    
-    
-       
-         
-       
-    
-
-    
-    
-      
-        
-      
-    
-
-    
-    
-
-    
-    
-
-    
-    
-    
-    
-
-
-    
-    
-    
-
-    
-     
-    
-    
-    
-    
-
-     
-
-    
-    
-      
-      
-    
-
-    
-    
-
-    
-    
-      
-      
-      
-      
-        
-      
-    
-
-    
-    
-    
-    
-    
-    
-    
-    
-    
-    
-    
-    
-
-    
-      
-        
-        
-        
-        
-        
-        
-      
-    
-
-    
-    
-      
-        
-        
-      
-    
-      
-        
-          
-          
-        
-      
-        
-          
-          
-        
-
-    
-    
-
-
-    
-    
-      
-      
-      
-      
-      
-      
-      
-      
-
-      
-        
-        
-        
-        
-        
-        
-        
-      
-    
-
-    
-    
-    
-    
-
-    
-    
-
-    
-    
-
-    
-    
-    
-    
-    
-    
-    
-
-    
-    
-    
-    
-    
-    
-
-    
-    
-    
-    
-    
-    
-
-    
-    
-    
-    
-    
-    
-
-    
-    
-    
-    
-    
-    
-
-    
-    
-
-    
-    
-    
-
-    
-    
-      
-        
-         
-         
-         
-        
-        
-        
-        
-        
-        
-        
-        
-        
-        
-      
-    
-
-
-    
-
-    
-
-    
-    
-      
-      
-       
-      
-      
-    
-      
-
-    
-     
-
-
-    
-
-    
-    
-      
-      
-    
-
-    
-      
-      
-    
-
-    
-    
-      
-      
-      
-    
-    
-    
-
-    
-    
-      
-      
-    
-
-    
-      
-      
-    
-
-    
-      
-      
-      
-    
-
-    
-      
-      
-      
-    
-
-    
-      
-      
-      
-    
-
-    
-      
-      
-    
-
-    
-      
-      
-        
-        
-          
-        
-      
-
-      
-      
-      
-      
-    
-
-    
-      
-    
-
-    
-      
-      
-      
-      
-    
-
-    
-      
-      
-    
-
-    
-      
-      
-      
-      
-    
-
-    
-    
-      
-      
-      
-      
-      
-    
-
-    
-      
-      
-    
-
-    
-      
-      
-      
-      
-      
-      
-      
-      
-    
-
-    
-      
-    
-
-    
-      
-    
-
-    
-      
-
-      
-      
-      
-      
-    
-    
-    
-
-    
-
-         
-           
-
-      
-      
-
-    
-    
-      
-      
-    
-
-    
-      
-      
-    
-
-    
-      
-      
-      
-    
-
-    
-                     
-                     
-                   
-                   
-                
-                       
-
-    
-    
-      
-      
-      
-      
-
-      
-
-      
-      
-    
-
-    
-       
-      
-      
-        
-    
-
-    
-    
-      
-      
-      
-    
-
-
-    
-    
-      
-      
-    
-    
-      
-      
-      
-    
-    
-
-      
-
-      
-      
-
-      
-      
-        
-        
-          
-        
-      
-      
-      
-
-      
-      
-      
-
-      
-      
-    
-
-    
-      
-      
-      
-      
-      
-      
-    
-
-    
-      
-      
-      
-      
-      
-    
-
-    
-      
-      
-    
-
-    
-      
-      
-    
-
-    
-
-    
-    
-      
-      
-      
-      
-    
-
-    
-      
-      
-      
-      
-      
-    
-
-    
-      
-      
-      
-      
-      
-      
-      
-      
-      
-      
-      
-      
-      
-      
-    
-
-    
-    
-  
-
-
-                                                                          
-       
-                                                
-
-     
-    
-
-    
-
-  
-     
-  
-
-  
-  
-
-
-
-  
-  
-    
-      
-      
-      
-      
-    
-  
-
-
-
-  
-    
-
-  
-    
-    
-
-  
-    
-
-  
-    
-
-  
-    
-    
-  
-   
-                                
-
-
-  
-
-  
-    
-    
-
-  
-     
-
-  
-     
-
-  
-    
-    
-
-    
-
-    
-    
-      
-      
-
-      
-      
-      
-      
-    
-
-    
-    
-      
-      
-    
-  
-
-  
-     
-
-  
-     
-
-  
-     
-
-
-
-  
-
-  
-    
-  
-
-  
-   
-
-
-
-   
-    
-    
-  
-
-    
-
-  
-  
-    
-      
 
-        
-          
-          
-        
-        
-          
-            
-          
-        
-        
-        
-        
-          
-          
-        
-      
- - - - -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
diff --git a/compare-build-dirs-ignore-patterns b/compare-build-dirs-ignore-patterns deleted file mode 100644 index 8c8160ba15..0000000000 --- a/compare-build-dirs-ignore-patterns +++ /dev/null @@ -1,8 +0,0 @@ -.DS_Store -*.complete -locker -deps -scala-continuations-*.jar -scala-parser-combinators*.jar -scala-swing*.jar -scala-xml*.jar diff --git a/compare-build-dirs.sh b/compare-build-dirs.sh deleted file mode 100755 index f6806dd422..0000000000 --- a/compare-build-dirs.sh +++ /dev/null @@ -1,5 +0,0 @@ -# Compares build directories generated by Ant and sbt build definitions -# This let's us to see how far are we from achieving perfect parity -# between the builds - -diff -X compare-build-dirs-ignore-patterns -qr build/ build-sbt/ diff --git a/pull-binary-libs.sh b/pull-binary-libs.sh deleted file mode 100755 index 6c94e39fe7..0000000000 --- a/pull-binary-libs.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/usr/bin/env bash -# -# Script to pull binary artifacts for scala from the remote repository. - -# Avoid corrupting the jar cache in ~/.sbt and the ugly crash when curl is not installed -# This affects Linux systems mostly, because wget is the default download tool and curl -# is not installed at all. -curl --version &> /dev/null -if [ $? -ne 0 ] -then - echo "" - echo "Please install curl to download the jar files necessary for building Scala." - echo "" - exit 1 -fi - -. $(dirname $0)/tools/binary-repo-lib.sh - -# TODO - argument parsing... -pullJarFiles $(pwd) diff --git a/push-binary-libs.sh b/push-binary-libs.sh deleted file mode 100755 index 0a1c62a1db..0000000000 --- a/push-binary-libs.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/usr/bin/env bash -# -# Script to push binary artifacts for scala from the remote repository. - -. $(dirname $0)/tools/binary-repo-lib.sh - -if test $# -lt 2; then - echo "Usage: $0 " - exit 1 -fi - -# TODO - Argument parsing for username/password. -pushJarFiles $(pwd) $1 $2 diff --git a/src/build/bnd/scala-compiler-doc.bnd b/src/build/bnd/scala-compiler-doc.bnd deleted file mode 100644 index 5b662e8cef..0000000000 --- a/src/build/bnd/scala-compiler-doc.bnd +++ /dev/null @@ -1,8 +0,0 @@ -Bundle-Name: Scala Documentation Generator -Bundle-SymbolicName: org.scala-lang.modules.scala-compiler-doc_@SCALA_BINARY_VERSION@ -ver: @SCALA_COMPILER_DOC_VERSION@ -Bundle-Version: ${ver} -Export-Package: *;version=${ver} -Import-Package: scala.*;version="${range;[==,=+);@VERSION@}",* -Bundle-RequiredExecutionEnvironment: JavaSE-1.8 -Include-Resource: @@SOURCE_JARNAME@ diff --git a/src/build/bnd/scala-compiler-interactive.bnd b/src/build/bnd/scala-compiler-interactive.bnd deleted file mode 100644 index fbfff60801..0000000000 --- a/src/build/bnd/scala-compiler-interactive.bnd +++ /dev/null @@ -1,8 +0,0 @@ -Bundle-Name: Scala Interactive Compiler -Bundle-SymbolicName: org.scala-lang.modules.scala-compiler-interactive_@SCALA_BINARY_VERSION@ -ver: @SCALA_COMPILER_INTERACTIVE_VERSION@ -Bundle-Version: ${ver} -Export-Package: *;version=${ver} -Import-Package: scala.*;version="${range;[==,=+);@VERSION@}",* -Bundle-RequiredExecutionEnvironment: JavaSE-1.8 -Include-Resource: @@SOURCE_JARNAME@ diff --git a/src/build/bnd/scala-compiler.bnd b/src/build/bnd/scala-compiler.bnd deleted file mode 100644 index c12c84c3f9..0000000000 --- a/src/build/bnd/scala-compiler.bnd +++ /dev/null @@ -1,12 +0,0 @@ -Bundle-Name: Scala Compiler -Bundle-SymbolicName: org.scala-lang.scala-compiler -ver: @VERSION@ -Bundle-Version: ${ver} -Export-Package: *;version=${ver} -Import-Package: jline.*;resolution:=optional, \ - org.apache.tools.ant.*;resolution:=optional, \ - scala.xml.*;version="${range;[====,====];@XML_VERSION@}";resolution:=optional, \ - scala.*;version="${range;[==,=+);${ver}}", \ - * -Bundle-RequiredExecutionEnvironment: JavaSE-1.8 -Include-Resource: @@SOURCE_JARNAME@ diff --git a/src/build/bnd/scala-library.bnd b/src/build/bnd/scala-library.bnd deleted file mode 100644 index e211c5d1ad..0000000000 --- a/src/build/bnd/scala-library.bnd +++ /dev/null @@ -1,8 +0,0 @@ -Bundle-Name: Scala Standard Library -Bundle-SymbolicName: org.scala-lang.scala-library -ver: @VERSION@ -Bundle-Version: ${ver} -Export-Package: *;version=${ver} -Import-Package: sun.misc;resolution:=optional, * -Bundle-RequiredExecutionEnvironment: JavaSE-1.8 -Include-Resource: @@SOURCE_JARNAME@ diff --git a/src/build/bnd/scala-parser-combinators.bnd b/src/build/bnd/scala-parser-combinators.bnd deleted file mode 100644 index 515084f4a8..0000000000 --- a/src/build/bnd/scala-parser-combinators.bnd +++ /dev/null @@ -1,8 +0,0 @@ -Bundle-Name: Scala Parser Combinators Library -Bundle-SymbolicName: org.scala-lang.modules.scala-parser-combinators -ver: @PARSER_COMBINATORS_VERSION@ -Bundle-Version: ${ver} -Export-Package: *;version=${ver} -Import-Package: scala.*;version="${range;[==,=+);@VERSION@}",* -Bundle-RequiredExecutionEnvironment: JavaSE-1.8 -Include-Resource: @@SOURCE_JARNAME@ diff --git a/src/build/bnd/scala-reflect.bnd b/src/build/bnd/scala-reflect.bnd deleted file mode 100644 index 59db311f8d..0000000000 --- a/src/build/bnd/scala-reflect.bnd +++ /dev/null @@ -1,10 +0,0 @@ -Bundle-Name: Scala Reflect -Bundle-SymbolicName: org.scala-lang.scala-reflect -ver: @VERSION@ -Bundle-Version: ${ver} -Export-Package: *;version=${ver} -Import-Package: scala.*;version="${range;[==,=+);${ver}}", \ - scala.tools.nsc;resolution:=optional;version="${range;[==,=+);${ver}}", \ - * -Bundle-RequiredExecutionEnvironment: JavaSE-1.8 -Include-Resource: @@SOURCE_JARNAME@ diff --git a/src/build/bnd/scala-swing.bnd b/src/build/bnd/scala-swing.bnd deleted file mode 100644 index 24cd9f6f90..0000000000 --- a/src/build/bnd/scala-swing.bnd +++ /dev/null @@ -1,8 +0,0 @@ -Bundle-Name: Scala Swing -Bundle-SymbolicName: org.scala-lang.modules.scala-swing -ver: @SCALA_SWING_VERSION@ -Bundle-Version: ${ver} -Export-Package: *;version=${ver} -Import-Package: scala.*;version="${range;[==,=+);@VERSION@}",* -Bundle-RequiredExecutionEnvironment: JavaSE-1.8 -Include-Resource: @@SOURCE_JARNAME@ diff --git a/src/build/bnd/scala-xml.bnd b/src/build/bnd/scala-xml.bnd deleted file mode 100644 index b7b19824e8..0000000000 --- a/src/build/bnd/scala-xml.bnd +++ /dev/null @@ -1,8 +0,0 @@ -Bundle-Name: Scala XML Library -Bundle-SymbolicName: org.scala-lang.modules.scala-xml -ver: @XML_VERSION@ -Bundle-Version: ${ver} -Export-Package: *;version=${ver} -Import-Package: scala.*;version="${range;[==,=+);@VERSION@}",* -Bundle-RequiredExecutionEnvironment: JavaSE-1.8 -Include-Resource: @@SOURCE_JARNAME@ diff --git a/src/build/maven/scala-compiler-doc-pom.xml b/src/build/maven/scala-compiler-doc-pom.xml deleted file mode 100644 index 86ca3f865b..0000000000 --- a/src/build/maven/scala-compiler-doc-pom.xml +++ /dev/null @@ -1,53 +0,0 @@ - - - 4.0.0 - org.scala-lang.modules - scala-compiler-doc_@SCALA_BINARY_VERSION@ - jar - @SCALA_COMPILER_DOC_VERSION@ - Scala Documentation Generator - Documentation generator for the Scala Programming Language - http://www.scala-lang.org/ - 2002 - - LAMP/EPFL - http://lamp.epfl.ch/ - - - - BSD 3-Clause - http://www.scala-lang.org/license.html - repo - - - - scm:git:git://github.com/scala/scala.git - https://github.com/scala/scala.git - - - JIRA - https://issues.scala-lang.org/ - - - - org.scala-lang - scala-compiler - @VERSION@ - - - org.scala-lang.modules - scala-xml_@SCALA_BINARY_VERSION@ - @XML_VERSION@ - - - - - lamp - EPFL LAMP - - - Lightbend - Lightbend, Inc. - - - diff --git a/src/build/maven/scala-compiler-interactive-pom.xml b/src/build/maven/scala-compiler-interactive-pom.xml deleted file mode 100644 index d3e5e0b834..0000000000 --- a/src/build/maven/scala-compiler-interactive-pom.xml +++ /dev/null @@ -1,48 +0,0 @@ - - - 4.0.0 - org.scala-lang.modules - scala-compiler-interactive_@SCALA_BINARY_VERSION@ - jar - @SCALA_COMPILER_INTERACTIVE_VERSION@ - Scala Interactive Compiler - Interactive Compiler for the Scala Programming Language - http://www.scala-lang.org/ - 2002 - - LAMP/EPFL - http://lamp.epfl.ch/ - - - - BSD 3-Clause - http://www.scala-lang.org/license.html - repo - - - - scm:git:git://github.com/scala/scala.git - https://github.com/scala/scala.git - - - JIRA - https://issues.scala-lang.org/ - - - - org.scala-lang - scala-compiler - @VERSION@ - - - - - lamp - EPFL LAMP - - - Lightbend - Lightbend, Inc. - - - diff --git a/src/build/maven/scala-compiler-pom.xml b/src/build/maven/scala-compiler-pom.xml deleted file mode 100644 index 9c157d17d9..0000000000 --- a/src/build/maven/scala-compiler-pom.xml +++ /dev/null @@ -1,65 +0,0 @@ - - - 4.0.0 - org.scala-lang - scala-compiler - jar - @VERSION@ - Scala Compiler - Compiler for the Scala Programming Language - http://www.scala-lang.org/ - 2002 - - LAMP/EPFL - http://lamp.epfl.ch/ - - - - BSD 3-Clause - http://www.scala-lang.org/license.html - repo - - - - scm:git:git://github.com/scala/scala.git - https://github.com/scala/scala.git - - - JIRA - https://issues.scala-lang.org/ - - - - org.scala-lang - scala-library - @VERSION@ - - - org.scala-lang - scala-reflect - @VERSION@ - - - - org.scala-lang.modules - scala-xml_@SCALA_BINARY_VERSION@ - @XML_VERSION@ - - - jline - jline - @JLINE_VERSION@ - true - - - - - lamp - EPFL LAMP - - - Lightbend - Lightbend, Inc. - - - diff --git a/src/build/maven/scala-dist-pom.xml b/src/build/maven/scala-dist-pom.xml deleted file mode 100644 index ce511661b0..0000000000 --- a/src/build/maven/scala-dist-pom.xml +++ /dev/null @@ -1,69 +0,0 @@ - - - 4.0.0 - org.scala-lang - scala-dist - jar - @VERSION@ - Scala Distribution Artifacts - The Artifacts Distributed with Scala - http://www.scala-lang.org/ - 2002 - - LAMP/EPFL - http://lamp.epfl.ch/ - - - - BSD 3-Clause - http://www.scala-lang.org/license.html - repo - - - - scm:git:git://github.com/scala/scala.git - https://github.com/scala/scala.git - - - JIRA - https://issues.scala-lang.org/ - - - - org.scala-lang - scala-library-all - @VERSION@ - - - org.scala-lang - scala-compiler - @VERSION@ - - - org.scala-lang - scalap - @VERSION@ - - - - jline - jline - @JLINE_VERSION@ - - - - - lamp - EPFL LAMP - - - Lightbend - Lightbend, Inc. - - - diff --git a/src/build/maven/scala-library-all-pom.xml b/src/build/maven/scala-library-all-pom.xml deleted file mode 100644 index 4620c620dc..0000000000 --- a/src/build/maven/scala-library-all-pom.xml +++ /dev/null @@ -1,68 +0,0 @@ - - - 4.0.0 - org.scala-lang - scala-library-all - pom - @VERSION@ - Scala Library Powerpack - The Scala Standard Library and Official Modules - http://www.scala-lang.org/ - 2002 - - LAMP/EPFL - http://lamp.epfl.ch/ - - - - BSD 3-Clause - http://www.scala-lang.org/license.html - repo - - - - scm:git:git://github.com/scala/scala.git - https://github.com/scala/scala.git - - - JIRA - https://issues.scala-lang.org/ - - - - org.scala-lang - scala-library - @VERSION@ - - - org.scala-lang - scala-reflect - @VERSION@ - - - org.scala-lang.modules - scala-xml_@SCALA_BINARY_VERSION@ - @XML_VERSION@ - - - org.scala-lang.modules - scala-parser-combinators_@SCALA_BINARY_VERSION@ - @PARSER_COMBINATORS_VERSION@ - - - org.scala-lang.modules - scala-swing_@SCALA_BINARY_VERSION@ - @SCALA_SWING_VERSION@ - - - - - lamp - EPFL LAMP - - - Lightbend - Lightbend, Inc. - - - diff --git a/src/build/maven/scala-library-pom.xml b/src/build/maven/scala-library-pom.xml deleted file mode 100644 index e27f8fb12f..0000000000 --- a/src/build/maven/scala-library-pom.xml +++ /dev/null @@ -1,46 +0,0 @@ - - - 4.0.0 - org.scala-lang - scala-library - jar - @VERSION@ - Scala Library - Standard library for the Scala Programming Language - http://www.scala-lang.org/ - 2002 - - LAMP/EPFL - http://lamp.epfl.ch/ - - - - BSD 3-Clause - http://www.scala-lang.org/license.html - repo - - - - scm:git:git://github.com/scala/scala.git - https://github.com/scala/scala.git - - - JIRA - https://issues.scala-lang.org/ - - - http://www.scala-lang.org/api/@VERSION@/ - - - - - - lamp - EPFL LAMP - - - Lightbend - Lightbend, Inc. - - - diff --git a/src/build/maven/scala-reflect-pom.xml b/src/build/maven/scala-reflect-pom.xml deleted file mode 100644 index f7f3c8bc08..0000000000 --- a/src/build/maven/scala-reflect-pom.xml +++ /dev/null @@ -1,51 +0,0 @@ - - - 4.0.0 - org.scala-lang - scala-reflect - jar - @VERSION@ - Scala Compiler - Compiler for the Scala Programming Language - http://www.scala-lang.org/ - 2002 - - LAMP/EPFL - http://lamp.epfl.ch/ - - - - BSD 3-Clause - http://www.scala-lang.org/license.html - repo - - - - scm:git:git://github.com/scala/scala.git - https://github.com/scala/scala.git - - - JIRA - https://issues.scala-lang.org/ - - - http://www.scala-lang.org/api/@VERSION@/ - - - - org.scala-lang - scala-library - @VERSION@ - - - - - lamp - EPFL LAMP - - - Lightbend - Lightbend, Inc. - - - diff --git a/src/build/maven/scalap-pom.xml b/src/build/maven/scalap-pom.xml deleted file mode 100644 index acdd44f19b..0000000000 --- a/src/build/maven/scalap-pom.xml +++ /dev/null @@ -1,48 +0,0 @@ - - - 4.0.0 - org.scala-lang - scalap - jar - @VERSION@ - Scalap - bytecode analysis tool - http://www.scala-lang.org/ - 2002 - - LAMP/EPFL - http://lamp.epfl.ch/ - - - - BSD 3-Clause - http://www.scala-lang.org/license.html - repo - - - - scm:git:git://github.com/scala/scala.git - https://github.com/scala/scala.git - - - JIRA - https://issues.scala-lang.org/ - - - - org.scala-lang - scala-compiler - @VERSION@ - - - - - lamp - EPFL LAMP - - - Lightbend - Lightbend, Inc. - - - diff --git a/tools/binary-repo-lib.sh b/tools/binary-repo-lib.sh deleted file mode 100755 index 278804e30e..0000000000 --- a/tools/binary-repo-lib.sh +++ /dev/null @@ -1,234 +0,0 @@ -#!/usr/bin/env bash -# -# Library to push and pull binary artifacts from a remote repository using CURL. - -remote_urlget="https://dl.bintray.com/typesafe/scala-sha-bootstrap/org/scala-lang/bootstrap" -remote_urlpush="https://dl.bintray.com/typesafe/scala-sha-bootstrap/org/scala-lang/bootstrap" -libraryJar="$(pwd)/lib/scala-library.jar" -desired_ext=".desired.sha1" -push_jar="$(pwd)/tools/push.jar" - -if [[ "$OSTYPE" == *Cygwin* || "$OSTYPE" == *cygwin* ]]; then push_jar="$(cygpath -m "$push_jar")"; fi -# Cache dir has .sbt in it to line up with SBT build. -SCALA_BUILD_REPOS_HOME=${SCALA_BUILD_REPOS_HOME:=$HOME} -cache_dir="${SCALA_BUILD_REPOS_HOME}/.sbt/cache/scala" - -# Checks whether or not curl is installed and issues a warning on failure. -checkCurl() { - if ! which curl >/dev/null; then - cat </dev/null - local version=$(makeJarSha $jar_name) - local remote_uri=${version}${jar#$basedir} - echo " Pushing to ${remote_urlpush}/${remote_uri} ..." - echo " $curl" - curlUpload $remote_uri $jar_name $user $pw - echo " Making new sha1 file ...." - echo "$version ?$jar_name" > "${jar_name}${desired_ext}" - popd >/dev/null - # TODO - Git remove jar and git add jar.desired.sha1 - # rm $jar -} - -makeJarSha() { - local jar=$1 - if which sha1sum 2>/dev/null >/dev/null; then - shastring=$(sha1sum "$jar") - echo "$shastring" | sed 's/ .*//' - elif which shasum 2>/dev/null >/dev/null; then - shastring=$(shasum "$jar") - echo "$shastring" | sed 's/ .*//' - else - shastring=$(openssl sha1 "$jar") - echo "$shastring" | sed 's/^.*= //' - fi -} - -getJarSha() { - local jar=$1 - if [[ ! -f "$jar" ]]; then - echo "" - else - echo $(makeJarSha $jar) - fi -} - -# Tests whether or not the .desired.sha1 hash matches a given file. -# Arugment 1 - The jar file to test validity. -# Returns: Empty string on failure, "OK" on success. -isJarFileValid() { - local jar=$1 - if [[ ! -f "$jar" ]]; then - echo "" - else - local jar_dir=$(dirname $jar) - local jar_name=${jar#$jar_dir/} - pushd $jar_dir >/dev/null - local valid=$(shasum -p --check ${jar_name}${desired_ext} 2>/dev/null) - echo "${valid#$jar_name: }" - popd >/dev/null - fi -} - -# Pushes any jar file in the local repository for which the corresponding SHA1 hash is invalid or nonexistent. -# Argument 1 - The base directory of the project. -# Argument 2 - The user to use when pushing artifacts. -# Argument 3 - The password to use when pushing artifacts. -pushJarFiles() { - local basedir=$1 - local user=$2 - local password=$3 - # TODO - ignore target/ and build/ - local jarFiles="$(find ${basedir}/lib -name "*.jar") $(find ${basedir}/test/files -name "*.jar") $(find ${basedir}/tools -name "*.jar")" - local changed="no" - for jar in $jarFiles; do - local valid=$(isJarFileValid $jar) - if [[ "$valid" != "OK" ]]; then - echo "$jar has changed, pushing changes...." - changed="yes" - pushJarFile $jar $basedir $user $password - fi - done - if test "$changed" == "no"; then - echo "No jars have been changed." - else - echo "Binary changes have been pushed. You may now submit the new *${desired_ext} files to git." - fi -} - - -checkJarSha() { - local jar=$1 - local sha=$2 - local testsha=$(getJarSha "$jar") - if test "$sha" == "$testsha"; then - echo "OK" - fi -} - -makeCacheLocation() { - local uri=$1 - local sha=$2 - local cache_loc="$cache_dir/$uri" - local cdir=$(dirname $cache_loc) - if [[ ! -d "$cdir" ]]; then - mkdir -p "$cdir" - fi - echo "$cache_loc" -} - -# Pulls a single binary artifact from a remote repository. -# Argument 1 - The uri to the file that should be downloaded. -# Argument 2 - SHA of the file... -# Returns: Cache location. -pullJarFileToCache() { - local uri=$1 - local sha=$2 - local cache_loc="$(makeCacheLocation $uri)" - # TODO - Check SHA of local cache is accurate. - if test -f "$cache_loc" && test "$(checkJarSha "$cache_loc" "$sha")" != "OK"; then - echo "Found bad cached file: $cache_loc" - rm -f "$cache_loc" - fi - if [[ ! -f "$cache_loc" ]]; then - # Note: After we follow up with JFrog, we should check the more stable raw file server first - # before hitting the more flaky artifactory. - curlDownload $cache_loc ${remote_urlget}/${uri} - if test "$(checkJarSha "$cache_loc" "$sha")" != "OK"; then - echo "Trouble downloading $uri. Please try pull-binary-libs again when your internet connection is stable." - exit 2 - fi - fi -} - -# Pulls a single binary artifact from a remote repository. -# Argument 1 - The jar file that needs to be downloaded. -# Argument 2 - The root directory of the project. -pullJarFile() { - local jar=$1 - local basedir=$2 - local sha1=$(cat ${jar}${desired_ext}) - local jar_dir=$(dirname $jar) - local jar_name=${jar#$jar_dir/} - local version=${sha1%% *} - local remote_uri=${version}/${jar#$basedir/} - echo "Resolving [${remote_uri}]" - pullJarFileToCache $remote_uri $version - local cached_file=$(makeCacheLocation $remote_uri) - cp $cached_file $jar -} - -# Pulls binary artifacts from the remote repository. -# Argument 1 - The directory to search for *.desired.sha1 files that need to be retrieved. -pullJarFiles() { - local basedir=$1 - local desiredFiles="$(find ${basedir}/lib -name *${desired_ext}) $(find ${basedir}/test/files -name *${desired_ext}) $(find ${basedir}/tools -name *${desired_ext})" - for sha in $desiredFiles; do - jar=${sha%$desired_ext} - local valid=$(isJarFileValid $jar) - if [[ "$valid" != "OK" ]]; then - pullJarFile $jar $basedir - fi - done -} - - diff --git a/tools/deploy-local-maven-snapshot b/tools/deploy-local-maven-snapshot deleted file mode 100755 index 30f78cb110..0000000000 --- a/tools/deploy-local-maven-snapshot +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/bash -# -# Install the -SNAPSHOT artifacts in the local maven cache. - -set -e - -cd $(dirname $0)/.. - -ant fastdist distpack -cd dists/maven/latest -ant deploy.snapshot.local diff --git a/tools/new-starr b/tools/new-starr deleted file mode 100755 index 5f00cc758e..0000000000 --- a/tools/new-starr +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/bash - -ant -Dscalac.args.optimise="-optimise" locker.done -cp -R src/starr/* src/ -ant build-opt -ant starr.done diff --git a/tools/push.jar.desired.sha1 b/tools/push.jar.desired.sha1 deleted file mode 100644 index 63e6a47372..0000000000 --- a/tools/push.jar.desired.sha1 +++ /dev/null @@ -1 +0,0 @@ -a1883f4304d5aa65e1f6ee6aad5900c62dd81079 ?push.jar -- cgit v1.2.3