summaryrefslogtreecommitdiff
path: root/scripting/workben/installer/IdeUpdater.java
diff options
context:
space:
mode:
authorTomas O'Connor <toconnor@openoffice.org>2003-01-16 11:02:49 +0000
committerTomas O'Connor <toconnor@openoffice.org>2003-01-16 11:02:49 +0000
commitb979c91b759906f0c9918c69622600f3e02dcd8a (patch)
tree939a6a9ea0073f7cb864a7cdb0fd2ad8b7a14c26 /scripting/workben/installer/IdeUpdater.java
parentdbae842f902660c416abcc68da7f8b701921368f (diff)
IssueZilla 9783 - allow framework to be installed from the command line and from outside of the program directory of an office installation
Diffstat (limited to 'scripting/workben/installer/IdeUpdater.java')
-rw-r--r--scripting/workben/installer/IdeUpdater.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripting/workben/installer/IdeUpdater.java b/scripting/workben/installer/IdeUpdater.java
index 6db8d0d6dd3a..7d4bfc02a9f9 100644
--- a/scripting/workben/installer/IdeUpdater.java
+++ b/scripting/workben/installer/IdeUpdater.java
@@ -37,6 +37,9 @@ public class IdeUpdater extends Thread {
public IdeUpdater(String installPath, JLabel statusLabel, JProgressBar pBar) {
+ if (installPath.endsWith(File.separator) == false)
+ installPath += File.separator;
+
File jeditLauncher = new File( installPath + "jedit.jar" );
File netbeansLauncher = new File( installPath + "bin" );
@@ -49,7 +52,6 @@ public class IdeUpdater extends Thread {
installPath = installPath + "jars" + File.separator;
}
-
System.out.println( "IdeUpdater installPath is " + installPath + " isNetbeansPath is " + isNetbeansPath );
this.installPath = installPath;
this.statusLabel = statusLabel;