[jbosstools-commits] JBoss Tools SVN: r44010 - trunk/tests/scripts/installation-updates/src/main/groovy.

jbosstools-commits at lists.jboss.org jbosstools-commits at lists.jboss.org
Tue Sep 25 12:49:11 EDT 2012


Author: mickael_istria
Date: 2012-09-25 12:49:11 -0400 (Tue, 25 Sep 2012)
New Revision: 44010

Modified:
   trunk/tests/scripts/installation-updates/src/main/groovy/getAndInstallEclipse.groovy
Log:
JBIDE-12717: Added warning

Modified: trunk/tests/scripts/installation-updates/src/main/groovy/getAndInstallEclipse.groovy
===================================================================
--- trunk/tests/scripts/installation-updates/src/main/groovy/getAndInstallEclipse.groovy	2012-09-25 16:03:42 UTC (rev 44009)
+++ trunk/tests/scripts/installation-updates/src/main/groovy/getAndInstallEclipse.groovy	2012-09-25 16:49:11 UTC (rev 44010)
@@ -6,6 +6,11 @@
 String releaseTrainId = System.properties['releaseTrainId'] != null ? System.properties['releaseTrainId'] : "juno";
 String versionLabel = System.properties['versionLabel'] != null ? System.properties['versionLabel'] : "R";
 
+if (!eclipseCacheDirectory.canWrite()) {
+	println ("WARNING: You can't write to " + eclipseCacheDirectory);
+	println ("WARNING: Script may fail in case of cache miss");
+}
+
 if (new File("eclipse").isDirectory()) {
 	new AntBuilder().delete( dir: new File("eclipse").getAbsolutePath() );
 }



More information about the jbosstools-commits mailing list