summaryrefslogtreecommitdiff
path: root/java/demo/IceGrid
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2014-12-10 16:04:31 +0100
committerBenoit Foucher <benoit@zeroc.com>2014-12-10 16:04:31 +0100
commit11da9b5ec2b662201cc2726df22c8ac0b709555c (patch)
tree9a4c2073f7343fd8cc4295c0f215c6b70f6c6e64 /java/demo/IceGrid
parentFixes for ICE-6110, other minor testicedist.py fixes (diff)
downloadice-11da9b5ec2b662201cc2726df22c8ac0b709555c.tar.bz2
ice-11da9b5ec2b662201cc2726df22c8ac0b709555c.tar.xz
ice-11da9b5ec2b662201cc2726df22c8ac0b709555c.zip
Fixed ICE-6122 - failure to remove unknown files
Diffstat (limited to 'java/demo/IceGrid')
-rwxr-xr-xjava/demo/IceGrid/simple/expect.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/java/demo/IceGrid/simple/expect.py b/java/demo/IceGrid/simple/expect.py
index 9d8b8528b16..c25f4a64f13 100755
--- a/java/demo/IceGrid/simple/expect.py
+++ b/java/demo/IceGrid/simple/expect.py
@@ -45,6 +45,7 @@ if Util.javaCmd != "java":
simple.run('java -jar build/libs/client.jar', desc[0:len(desc)-4])
-os.remove("tmp_application.xml")
-os.remove("tmp_application_with_template.xml")
-os.remove("tmp_application_with_replication.xml")
+if Util.javaCmd != "java":
+ os.remove("tmp_application.xml")
+ os.remove("tmp_application_with_template.xml")
+ os.remove("tmp_application_with_replication.xml")