summaryrefslogtreecommitdiff
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'base-2.8.x-2.9.x-2.10.x'Paul Phillips2012-02-081-1/+4
|\
| * Remove alphanumeric characters from the major part of the Scala version number.Iulian Dragos2012-02-081-1/+4
| | | | | | | | | | | | In practice, this removes the 'v' in v2.10.0-M1-0168-g99844ebc10-2012-02-08. Why is this important, you ask? Many tools assume the version number to be composed of 3 numbers and a string qualifier. Eclipse is one of the tools that validates version numbers, and this string is used to stamp Scala IDE builds against Scala nightlies.
* | Fixes OSTYPE check for CygwinEugene Burmako2012-02-051-1/+1
| |
* | Fixes curlUpload for CygwinEugene Burmako2012-02-051-0/+1
| |
* | Merge branch 'fix-script'Paul Phillips2012-02-041-13/+18
|\| | | | | | | | | Conflicts: tools/get-scala-revision
| * Establish more baseline tags.Paul Phillips2012-02-041-13/+18
| | | | | | | | So we can turn out a build string regardless of local conditions.
| * Time-traveled get-scala-revision to 3-way merge base.Paul Phillips2012-02-041-16/+28
| |
* | Merge branch 'publish-fix'Paul Phillips2012-02-031-2/+2
|\| | | | | | | | | Conflicts: tools/epfl-publish
| * Fix 2.9.2 scaladoc replacing nightlies in jenkinsVlad Ureche2012-02-031-2/+2
| |
| * Injecting epfl-publish into merge-base.Paul Phillips2012-02-031-0/+32
| |
| * More build.xml massaging.Paul Phillips2011-12-121-0/+22
| | | | | | | | | | Backporting auto starr download to 2.8.x and 2.9.x build.xmls. Trying to get build strings consistent.
* | Updated and added some runners.Paul Phillips2012-02-036-10/+30
| | | | | | | | | | | | | | | | | | | | | | Easier ways to invoke scala/scalac based on starr, locker, or quick. % tools/starr_scalac -version Scala compiler version 2.10.0.r26060-b20111123092602 -- Copyright 2002-2011, LAMP/EPFL % tools/locker_scalac -version Scala compiler version v2.10.0-M1-0140-g4619a48c1e-2012-02-02 -- Copyright 2002-2011, LAMP/EPFL % tools/quick_scalac -version Scala compiler version v2.10.0-M1-0144-g0c59a25a81-2012-02-02 -- Copyright 2002-2011, LAMP/EPFL
* | Create a reference tag if none exists.Paul Phillips2012-02-021-2/+11
| |
* | Extremely hacky tweak to deal with printf portability failure.Paul Phillips2012-02-021-1/+4
| | | | | | | | No leading zeros for %016s on some platforms, yes on others.
* | Updated get-scala-revision to use git describe.Paul Phillips2012-02-012-17/+17
| | | | | | | | | | | | | | | | | | | | | | Hopefully this will satisfy all version-interesting parties. Version string now looks like this: v2.10.0-M1-0098-gbda61bb7e5-2012-02-01 Review by @dragos and anyone who uses windows (where it definitely won't produce that string, but hopefully it produces some usable string.)
* | Added caching to binary resolution.Josh Suereth2012-01-251-3/+24
| | | | | | | | | | | | * Duplicated binary repo cache in ~/.sbt/cache/scala/ * Resolved to cache before copying to local dir if jar is misisng * Does *not* check SHA in cache currently
* | Made the binary push script a bit friendlier for humansJosh Suereth2012-01-201-3/+9
| |
* | Remove maven deply from epfl-publish script.Lukas Rytz2012-01-101-18/+0
| | | | | | | | This is done by the separate scala-nightly-maven-deploy jenkins job, doing it here fails depending on the build machine (/home/linuxsoft/... is not available everywhere).
* | Merge branch 'dec10-version-string'Paul Phillips2011-12-121-4/+6
|\|
| * Tweaking build string some more.Paul Phillips2011-12-121-4/+6
| | | | | | | | | | | | Reintroduced date and an "r" to meet IDE needs. Moved reference commit backward to accomodate 2.8.x. Merging changes into 2.8.x, 2.9.x, and master.
| * More on get-scala-revision.Paul Phillips2011-12-121-3/+3
| | | | | | | | | | | | Now that I've resorted to building git 1.5.4, I can stop trying to reverse engineer it through jenkins. This implementation feels winnerish.
| * Hardening get-scala-version.Paul Phillips2011-12-091-0/+22
| | | | | | | | | | | | | | | | | | Reimplementing without git-describe to harden against old gits and make any kind of reference tag unnecessary. Conflicts: tools/get-scala-revision
* | More on get-scala-revision.Paul Phillips2011-12-091-3/+3
| | | | | | | | | | | | Now that I've resorted to building git 1.5.4, I can stop trying to reverse engineer it through jenkins. This implementation feels winnerish.
* | Hardening get-scala-version.Paul Phillips2011-12-091-12/+15
| | | | | | | | | | Reimplementing without git-describe to harden against old gits and make any kind of reference tag unnecessary.
* | Merge branch 'common-build-script'Paul Phillips2011-12-091-3/+8
|\ \
| * | Making path to settings.xml configurable.Paul Phillips2011-12-091-3/+8
| | | | | | | | | | | | Environment variable maven_settings.
* | | Merge branch 'common-build-script'Paul Phillips2011-12-091-2/+10
|\| |
| * | Boiling more logic out of jenkins.Paul Phillips2011-12-091-2/+10
| | | | | | | | | | | | | | | | | | Offer explicit settings.xml path for maven if some specific hardcoded path exists, don't otherwise. At least it's in one place where we can keep an eye on it.
* | | Merge branch 'common-build-script'Paul Phillips2011-12-092-18/+23
|\| |
| * | Swimming with the jenkins current.Paul Phillips2011-12-092-18/+23
| | | | | | | | | | | | Configuring via environment variables.
* | | Merge branch 'common-build-script'Paul Phillips2011-12-092-0/+60
|\| |
| * | Separated build and publish scripts.Paul Phillips2011-12-093-35/+60
| | | | | | | | | | | | Unified further with build options.
| * | Unified 2.8.x and 2.9.x build scripts.Paul Phillips2011-12-091-8/+13
| | |
| * | Moved jenkins build script.Paul Phillips2011-12-091-0/+30
| |/ | | | | | | Out of jenkins and into version control.
* | Binary resolution limited.Josh Suereth2011-12-081-2/+2
| | | | | | | | | | | | Binary library pull/push is limited to: - test/files - lib
* | Merge remote-tracking branch 'szeiger/fix/windows-git-revision'Paul Phillips2011-12-051-1/+0
|\ \ | | | | | | | | | | | | | | | tools/get-scala-revision.bat should have the same logic as tools/get-scala-revision, but I'm afraid to try to implement an if/then/else in a windows batch file. Contributions welcome.
| * | Fix build on Windows.Stefan Zeiger2011-12-051-1/+0
| | | | | | | | | | | | a289465c70630719cbd3a74edf5502a156ef83c4 broke get-scala-revision.bat.
* | | Tweaks to get-scala-revision.Paul Phillips2011-12-052-3/+10
|/ / | | | | | | | | | | | | | | Reference to git head is supposed to be HEAD, not head. Also apparently [[ <test> ]] is a bashism so it's [ <test> ]. Made name generation robust against the absence of the dev tag; it will generate a similar name even if it's not there, minus the part it can't determine without it.
* | Use git-describe to create build string.Paul Phillips2011-12-042-46/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Created dev tag which is the merge-base of master and 2.9.1 (merge-base is the last common commit), and told ant to generate build strings based on that. So distributions look like scala-2.10.0.dev-1289-gbba3918 Where the 1289 means you are 1289 commits ahead of "dev" and the last segment (minus the g) is the sha-1 hash. This no doubt breaks windows even further. Help getting it back on its feet greatly appreciated.
* | Enable the use of spaces in paths for the Scala...Stefan Zeiger2011-11-181-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Enable the use of spaces in paths for the Scala build on Windows -- take 2. (The original commit in r26026, reverted in r26027, used the new compilerargs element in the Scala build -- we cannot do this until it's in starr.) - Revert r25995 which was fixing it only partly and in the wrong place. - Properly encode argument files for scalac in scalac ant task. - Allow 'compilerarg' elements in scalac ant task (like in ant's built-in javac task) to allow passing extra parameters like plugindir path with proper encoding of spaces and file names. - Fix space handling in get-scala-revision.bat. Closes SI-3047.
* | Revert "Enable the use of spaces in paths for t...Paul Phillips2011-11-181-2/+2
| | | | | | | | | | | | | | | | | | | | | | Revert "Enable the use of spaces in paths for the Scala build on Windows." This reverts the previous commit due to failure to build: BUILD FAILED /scratch/trunk1/build.xml:639: scalacfork doesn't support the nested "compilerarg" element.
* | Enable the use of spaces in paths for the Scala...Paul Phillips2011-11-181-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Enable the use of spaces in paths for the Scala build on Windows. Revert r25995 which was fixing it only partly and in the wrong place. Properly encode argument files for scalac in scalac ant task. Allow 'compilerarg' elements in scalac ant task (like in ant's built-in javac task) to allow passing extra parameters like plugindir path with proper encoding of spaces and file names, and use it in the Scala build. Fix space handling in get-scala-revision.bat. (Patch by Stefan Zeiger.) Closes SI-3047.
* | Added tool for analyzing forwarder classes.Paul Phillips2011-09-191-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If you build and then run tools/proxy-report <outdir> you will be given files revealing interesting things like: /** With respect to trait SetLike, trait SetProxyLike does NOT wrap: */ trait Unwrapped { def +(elem1: A,elem2: A,elems: A*): This def ++(elems: scala.collection.GenTraversableOnce[A]): This def subsets(len: Int): Iterator[This] def subsets: Iterator[This] protected override def newBuilder: scala.collection.mutable.Builder[A,This] protected override def parCombiner: scala.collection.parallel.Combiner[A,scala.collection.parallel.ParSet[A]] } Lots more possible here, for now I just want to get a backstop against our worst transgressions (not just in the library -- look at SimpleTypeProxy, if you dare!) I will inquire about the results separately, so no review.
* | Get svn revision on Windowsmichelou2011-09-172-1/+43
| |
* | Renamed tests named bugXXX to tXXX, no review.Paul Phillips2011-08-241-0/+82
| |
* | Added a command line script to ~/tools to count...Paul Phillips2011-08-031-0/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added a command line script to ~/tools to count flag usages. I'm checking this in less out of the enormous demand for flag counting scripts than because I wanted to lower the barrier to people writing reusable bash scripts. *** DO YOU WANT TO WRITE NICE BASH SCRIPTS? *** *** Look at tools/flag-usages.sh *** *** It's easy to understand and full of helpful comments! *** I'm not making any claims here about having massive bash expertise, but I know a lot of people resist learning any of it (I was once like you) so I wanted to lower the barrier a little. Because as a mechanism for the composition and modification of the world of existing tools, nothing comes close to the shell. And I know many of us write way too many one-offs which we delete in shame and horror shortly after their immediate purpose is served. No review. (I should say r-e-v-i-e-w by everyone but I'm sure it would give me a nice pile of crucible errors.)
* | Added a script in tools for deploying maven art...Paul Phillips2011-04-151-0/+11
| | | | | | | | | | | | | | Added a script in tools for deploying maven artifacts locally, since it always takes me an eternity to figure out slash remember how to do it. No review.
* | fix get-scala-revision script for the case when...Lukas Rytz2011-03-302-30/+2
| | | | | | | | | | | | fix get-scala-revision script for the case when svn prints some warnings. no review
* | Addresses the issues swirling around Double.Eps...Paul Phillips2011-03-152-1/+7
| | | | | | | | | | | | | | | | | | | | | | Addresses the issues swirling around Double.Epsilon and friends which were battled out in more than one venue and then aptly summarized by retronym in #3791. Thanks to Simon Ochsenreither for submitting a patch; I wasn't able to use too much of it because the source code for these types is generated, but effort is always appreciated. Closes #3791, and I'm tired and I'd hate to blow this one at this late date: review by rytz.
* | Tackled source generation from a new angle rath...Paul Phillips2011-01-231-0/+7
| | | | | | | | | | | | | | Tackled source generation from a new angle rather than letting genprod get any more creaky. This code generates the AnyVal source files (but those are not included here.) No review.