| |
- addUserProps(propsDict, userProps)
- Adds to the dictionary the user properties passed in the command line.
@param propsDict: A dictionary of properties in the form name:value
@param userProps: a list of java properties in the form name=value
- formatProps(propsDict)
- Format the dictionary of properties in a list of strings
list [ "-Dp1=v1", -Dp2=v2"]
@param propsDict: A dictionary of properties in the form name:value
@return A list of java/scala properties
- javaOpts()
- Handling of JAVA_OPTS environment variable to pass options to java executables differs
from scala and java:
* scala passes options to the java executable setting the JAVA_OPTS environment variable
* java does not recognize JAVA_OPTS but accepts options as parameters in the command line
To unify the handling of java option for the 2 programming languages,
this method returns a list of java options (string).
Depending on the executable they will be passed differently.
@return: A list of java options like ['-Xmx512M', '-Xms16M']
- setProps(propsDict, className, logFileNameId)
- Adds to the passed dictionary, the properties to be passed to all java/scala
executables.
These properties are common to all IAS executables and can for example
be configuration properties.
@param propsDict: A dictionary of properties in the form name:value
@param className The name of the class to run
@param logFileNameId A string identifier to append to the name of the log file
|