Author: mickael_istria
Date: 2012-09-25 10:44:55 -0400 (Tue, 25 Sep 2012)
New Revision: 44001
Modified:
trunk/tests/scripts/installation-updates/src/main/groovy/getAndInstallEclipse.groovy
Log:
Clean previous install
Modified:
trunk/tests/scripts/installation-updates/src/main/groovy/getAndInstallEclipse.groovy
===================================================================
---
trunk/tests/scripts/installation-updates/src/main/groovy/getAndInstallEclipse.groovy 2012-09-25
14:42:50 UTC (rev 44000)
+++
trunk/tests/scripts/installation-updates/src/main/groovy/getAndInstallEclipse.groovy 2012-09-25
14:44:55 UTC (rev 44001)
@@ -6,6 +6,10 @@
String releaseTrainId = System.properties['releaseTrainId'] != null ?
System.properties['releaseTrainId'] : "juno";
String versionLabel = System.properties['versionLabel'] != null ?
System.properties['versionLabel'] : "R";
+if (new File("eclipse").isDirectory()) {
+ new AntBuilder().delete( dir: new File("eclipse").getAbsolutePath() );
+}
+
String osLabel = System.properties['os.name'].toLowerCase();
String fileExtension = null;
if (osLabel.contains("windows")) {
Show replies by date