summaryrefslogtreecommitdiff
path: root/config/makeprops.py
diff options
context:
space:
mode:
Diffstat (limited to 'config/makeprops.py')
-rwxr-xr-xconfig/makeprops.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/makeprops.py b/config/makeprops.py
index 127eea661a3..c87c6e3c6e5 100755
--- a/config/makeprops.py
+++ b/config/makeprops.py
@@ -473,14 +473,14 @@ class JavaCompatPropertyHandler(JavaPropertyHandler):
JavaPropertyHandler.__init__(self, inputfile, c)
def startFiles(self):
- self.srcFile = file(self.className + ".java", "wb")
+ self.srcFile = file(self.className + "-compat.java", "wb")
self.srcFile.write(javaCompatPreamble % {'inputfile' : self.inputfile, 'classname' : self.className})
def moveFiles(self, location):
dest = os.path.join(location, "java-compat", "src", "Ice", "src", "main", "java", "IceInternal")
if os.path.exists(os.path.join(dest, self.className + ".java")):
os.remove(os.path.join(dest, self.className + ".java"))
- shutil.move(self.className + ".java", dest)
+ shutil.move(self.className + "-compat.java", os.path.join(dest, self.className + ".java"))
class CSPropertyHandler(PropertyHandler):