[jbosstools-commits] JBoss Tools SVN: r44024 - trunk/tests/scripts/installation-updates/src/main/groovy.
jbosstools-commits at lists.jboss.org
jbosstools-commits at lists.jboss.org
Wed Sep 26 04:40:32 EDT 2012
Author: mickael_istria
Date: 2012-09-26 04:40:32 -0400 (Wed, 26 Sep 2012)
New Revision: 44024
Modified:
trunk/tests/scripts/installation-updates/src/main/groovy/getAndInstallEclipse.groovy
Log:
JBIDE-12717: Fix issue with file path
Modified: trunk/tests/scripts/installation-updates/src/main/groovy/getAndInstallEclipse.groovy
===================================================================
--- trunk/tests/scripts/installation-updates/src/main/groovy/getAndInstallEclipse.groovy 2012-09-26 07:49:48 UTC (rev 44023)
+++ trunk/tests/scripts/installation-updates/src/main/groovy/getAndInstallEclipse.groovy 2012-09-26 08:40:32 UTC (rev 44024)
@@ -45,7 +45,7 @@
src: cachedFile.getAbsolutePath(),
dest: new File().getAbsolutePath());
} else if (fileExtension.equals("tar.gz")) {
- File tarFile = new File(eclipseCacheDirectory, cachedFile.getAbsolutePath()[0..- (".gz".length() + 1)]);
+ File tarFile = new File(eclipseCacheDirectory, cachedFile.getName()[0..- (".gz".length() + 1)]);
if (!tarFile.isFile()) {
new AntBuilder().gunzip(src: cachedFile.getAbsolutePath(), dest: eclipseCacheDirectory.getAbsolutePath());
}
More information about the jbosstools-commits
mailing list