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'
#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