Salome HOME
projects
/
modules
/
kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add 'SALOME DEFAULT VALUES' section to the configuration file.
[modules/kernel.git]
/
bin
/
ORBConfigFile.py
diff --git
a/bin/ORBConfigFile.py
b/bin/ORBConfigFile.py
old mode 100644
(file)
new mode 100755
(executable)
index
0769cd6
..
f620113
--- a/
bin/ORBConfigFile.py
+++ b/
bin/ORBConfigFile.py
@@
-1,6
+1,6
@@
#!/usr/bin/env python3
# -*- coding: iso-8859-1 -*-
#!/usr/bin/env python3
# -*- coding: iso-8859-1 -*-
-# Copyright (C) 2007-20
16
CEA/DEN, EDF R&D, OPEN CASCADE
+# Copyright (C) 2007-20
20
CEA/DEN, EDF R&D, OPEN CASCADE
#
# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
#
# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@
-64,6
+64,8
@@
def writeORBConfigFile(path, host, port, kwargs={}):
orbdata.append("%sgiopMaxMsgSize = %s # 2 GBytes"%(prefix,GIOP_MaxMsgSize))
orbdata.append("%straceLevel = 0 # critical errors only"%(prefix))
orbdata.append("%smaxGIOPConnectionPerServer = 500 # to allow containers parallel launch"%(prefix))
orbdata.append("%sgiopMaxMsgSize = %s # 2 GBytes"%(prefix,GIOP_MaxMsgSize))
orbdata.append("%straceLevel = 0 # critical errors only"%(prefix))
orbdata.append("%smaxGIOPConnectionPerServer = 500 # to allow containers parallel launch"%(prefix))
+ orbdata.append("%snativeCharCodeSet = UTF-8"%(prefix))
+
orbdata.append("")
with open(omniorb_config, "w") as f:
orbdata.append("")
with open(omniorb_config, "w") as f:
@@
-75,6
+77,9
@@
def writeORBConfigFile(path, host, port, kwargs={}):
if __name__ == "__main__":
import sys
if __name__ == "__main__":
import sys
+
+ if len(sys.argv) < 2:
+ sys.exit(-1)
path = sys.argv[1]
host = sys.argv[2]
path = sys.argv[1]
host = sys.argv[2]