summaryrefslogtreecommitdiff
path: root/demoscript/Util.py
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2014-11-13 12:10:26 -0330
committerDwayne Boone <dwayne@zeroc.com>2014-11-13 12:10:26 -0330
commit224bfce7db1a0ace339b541b56529698dcb8820a (patch)
treedc99af6433ef28cfe2238c71f55034658cbc7ffa /demoscript/Util.py
parentFixed (ICE-5889) - what is distribution/src/maven? (diff)
downloadice-224bfce7db1a0ace339b541b56529698dcb8820a.tar.bz2
ice-224bfce7db1a0ace339b541b56529698dcb8820a.tar.xz
ice-224bfce7db1a0ace339b541b56529698dcb8820a.zip
Some fixes to java demo builds and expect scripts
Diffstat (limited to 'demoscript/Util.py')
-rw-r--r--demoscript/Util.py20
1 files changed, 9 insertions, 11 deletions
diff --git a/demoscript/Util.py b/demoscript/Util.py
index 7705ee24f53..efe9e2a467d 100644
--- a/demoscript/Util.py
+++ b/demoscript/Util.py
@@ -233,15 +233,15 @@ def addenv(var, val):
else:
os.environ[var] = val
-iceJARs = ["ice",
+iceJARs = ["ice",
"glacier2",
- "freeze",
- "icebox",
- "icestorm",
- "icegrid",
- "icepatch2",
+ "freeze",
+ "icebox",
+ "icestorm",
+ "icegrid",
+ "icepatch2",
"icediscovery"]
-
+
def configurePaths():
if iceHome:
@@ -251,15 +251,14 @@ def configurePaths():
sys.stdout.write("]\n")
jarSuffix = "-" + getIceVersion() + ".jar"
-
+
#
# If Ice is installed from RPMs, just set the CLASSPATH for Java.
#
if iceHome == "/usr":
- javaDir = os.path.join("/", "usr", "share", "java")
+ javaDir = os.path.join("/", "usr", "share", "java")
for jar in iceJARs:
addenv("CLASSPATH", os.path.join(javaDir, jar + jarSuffix))
- addenv("CLASSPATH", os.path.joing("build", "classes"))
return # That's it, we're done!
# Always add the bin directory to the PATH, it contains executable
@@ -310,7 +309,6 @@ def configurePaths():
javaDir = getIceDir("java")
for jar in iceJARs:
addenv("CLASSPATH", os.path.join(javaDir, "lib", jar + jarSuffix))
- addenv("CLASSPATH", os.path.join("build", "classes"))
#
# On Windows, C# assemblies are found thanks to the .exe.config files.