summaryrefslogtreecommitdiff
path: root/java/demo/IceGrid/simple/expect.py
diff options
context:
space:
mode:
Diffstat (limited to 'java/demo/IceGrid/simple/expect.py')
-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")