]> source.dussan.org Git - dcevm.git/commitdiff
Automatic HotSpot repository detection (hard-coded for now) light-jdk7u51+3
authorIvan Dubrov <idubrov@guidewire.com>
Mon, 28 Apr 2014 18:37:03 +0000 (11:37 -0700)
committerIvan Dubrov <idubrov@guidewire.com>
Mon, 28 Apr 2014 18:37:03 +0000 (11:37 -0700)
build.gradle
gradle.properties

index 85d497dd539008e2f2c54948cb124e21695cc0de..efa1d056408d4ee55635861ec62bcc4d00586a89 100644 (file)
@@ -36,6 +36,9 @@ project('hotspot') {
     task clone(description: 'Clone HotSpot repository') {
         onlyIf { !file('hotspot').exists() }
         doLast {
+            def hotspotRepository = hotspotTag.contains('jdk7') ?
+                'http://hg.openjdk.java.net/jdk7u/jdk7u/hotspot' :
+                'http://hg.openjdk.java.net/jdk8u/jdk8u/hotspot'
             exec {
                 workingDir '..'
                 executable 'hg'
index 14fef8547533503f4b5ab226ea1de4473018f2c4..2ae4304770d0a0081950071b0615e5f4112159e2 100644 (file)
@@ -28,7 +28,3 @@ hotspotTag=jdk8u5-b13
 #hotspotTag=jdk7u51-b13
 #hotspotTag=jdk7u45-b08
 #hotspotTag=jdk7u40-b43
-
-# Repository to clone hotspot from
-hotspotRepository=http://hg.openjdk.java.net/jdk8u/jdk8u/hotspot
-#hotspotRepository=http://hg.openjdk.java.net/jdk7u/jdk7u/hotspot