summaryrefslogtreecommitdiff
path: root/tools/binary-repo-lib.sh
Commit message (Collapse)AuthorAgeFilesLines
* Subst repo.typesafe -> dl.bintray, use jcenter cacheAdriaan Moors2015-05-081-2/+2
| | | | | | | Switch to https while we're at it, and remove duplicate entry for sbt-plugin-releases (NOTE: 'organization' <-> 'organisation', see http://ant.apache.org/ivy/history/latest-milestone/concept.html#patterns)
* [backport] remove references to private-repo.typesafe.comLukas Rytz2015-05-061-1/+1
| | | | Backport of 9cd3e6505aa4285750e63263e2551ab71f36ff8d
* Follow HTTP redirects when downloading bootstrap binariesJason Zaugg2015-05-021-1/+1
| | | | | | After a recent change to the repository that hosts these JARs, we now get a HTTP redirect to the new destination. We need to explicitly instruct curl to follow this.
* Let users specify a different location for build repos than user homempociecha2014-11-121-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | This change is helpful e.g. when setting up CI for Scala and it's important which directories are used by a build. By default it uses .m2, .pax and .sbt/cache from user home (in general $HOME). Sometimes it's not possible to use this location and also changing a value of $HOME is not an option. The required location should be specified both for ant's build.xml and used scripts. In the first case specifying -Duser.home is all, what we need. But we can't just set _JAVA_OPTIONS as then partest tests fail due to the unexpected output (an additional 'Picked up java options (...)' messages). We can set ANT_OPTS instead of this. The only problem was that OSGi JUnit tests (only they) were using $HOME anyway. I forced them to use -Duser.home by propagating this option in build.xml. binary-repo-lib.sh is changed to use a special env variable or $HOME, when this variable is not set. Then we can do: export SCALA_BUILD_REPOS_HOME=<some_dir> export ANT_OPTS="$ANT_OPTS -Duser.home=$SCALA_BUILD_REPOS_HOME" ant dist and it will create all directories .m2, .pax and .sbt/cache in a specified $SCALA_BUILD_REPOS_HOME directory. Note: maven's settings.xml should be located in this used $SCALA_BUILD_REPOS_HOME/.m2 and point to the repository like <some_dir>/.m2/repository
* update typesafe.artifactory-online.com to private-repoFrançois Garillot2013-08-271-1/+1
|
* Merge branch '2.10.x'Paul Phillips2012-09-201-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 2.10.x: (36 commits) Normalized line endings. New .gitattributes file. Disabled failing build manager tests. New test case for SI-6337 New test case for closing SI-6385 Value classes: eliminated half-boxing Cleanup of OverridingPairs Fixes SI-6260 Use faster download URL now that artifactory is fixed. don't try to create tags w/o scala-reflect.jar some small remaining fixes SI-5943 toolboxes now autoimport Predef and scala Fix for loud test. SI-6363 deploys the updated starr SI-6363 removes scala.reflect.base SI-6392 wraps non-terms before typecheck/eval SI-6394 fixes macros.Context.enclosingClass Error message improvement for SI-6336. Adjustments to scala.concurrent.duration. prepping for the refactoring ... Conflicts: src/actors-migration/scala/actors/Pattern.scala src/compiler/scala/tools/nsc/Global.scala src/compiler/scala/tools/nsc/transform/Erasure.scala src/compiler/scala/tools/nsc/typechecker/Typers.scala src/library/scala/collection/immutable/Vector.scala test/files/jvm/actmig-PinS_1.scala test/files/jvm/actmig-PinS_2.scala test/files/jvm/actmig-PinS_3.scala test/files/jvm/actmig-public-methods_1.scala
| * Use faster download URL now that artifactory is fixed.Josh Suereth2012-09-201-1/+1
| |
* | Merge remote-tracking branch 'origin/2.10.x' into merge-210Paul Phillips2012-09-151-6/+9
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * origin/2.10.x: (68 commits) Eliminate breaking relative names in source. "Hot fix" for broken build. Fix SI-4813 - Clone doesn't work on LinkedList. Made 'def clone()' consistent with parens everywhere. accommodates pull request feedback SI-6310 redeploys the starr SI-6310 AbsTypeTag => WeakTypeTag SI-6323 outlaws free types from TypeTag SI-6323 prohibits reflection against free types improvements for reification of free symbols removes build.newFreeExistential SI-6359 Deep prohibition of templates in value class Fixes SI-6259. Unable to use typeOf in super call of top-level object. Fixes binary repo push for new typesafe repo layouts. Better error message for pattern arity errors. Rescued TreeBuilder from the parser. Pending test for SI-3943 Test case for a bug fixed in M7. Fix for SI-6367, exponential time in inference. SI-6306 Remove incorrect eta-expansion optimization in Uncurry ... Conflicts: src/compiler/scala/tools/nsc/transform/AddInterfaces.scala src/compiler/scala/tools/nsc/transform/SpecializeTypes.scala
| * Fixes binary repo push for new typesafe repo layouts.Josh Suereth2012-09-131-6/+9
| | | | | | | | | | | | | | | | This adds a new/fixed push.jar and adapts the binary-repo-lib script to use different URLs for pulling than pushing. This also adjustst the script to attempt the backup repo in case new artifacts haven't synched to the fast/stable repository.
* | Fix version detection to be the first word.Eugene Vigdorchik2012-08-281-1/+1
|/
* Fix to push-jars to use same sha fixing that pull uses.Josh Suereth2012-07-061-7/+13
|
* Portability changes to binary-repo-lib.sh.Paul Phillips2012-04-131-2/+8
|
* Cache consistency checks for starr binary repo.Josh Suereth2012-04-121-9/+44
|
* Fixes OSTYPE check for CygwinEugene Burmako2012-02-051-1/+1
|
* Fixes curlUpload for CygwinEugene Burmako2012-02-051-0/+1
|
* 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
|
* Binary resolution limited.Josh Suereth2011-12-081-2/+2
| | | | | | Binary library pull/push is limited to: - test/files - lib
* New repository initialized by cvs2svn.Automation Bot2003-02-131-0/+155