When using the iastool to generate a deployable jar, we are receiving an erroneous and undescriptive error/exception message:
[exec] The " characters around the executable and arguments are [exec] not part of the command. [exec] Generating deployable module [exec] java.io.IOException: No such file or directory [exec] at java.io.UnixFileSystem.createFileExclusively(Native Method) [exec] at java.io.File.checkAndCreate(File.java:1314) [exec] at java.io.File.createTempFile(File.java:1402) [exec] at com.borland.enterprise.util.FileUtil.createTempDir(FileUtil.java:597) [exec] at com.borland.enterprise.util.FileUtil.createTempDir(FileUtil.java:626) [exec] at com.borland.management.module.tools.ModuleAPI.generateDeployableJar(ModuleAPI.java:232) [exec] at com.borland.management.module.tools.GenDeployableCmd.execut . . .
The cause of the issue is that the "java.io.tmpdir" property is set to: /tmp/cmdtool/
I have tried numerous command-line incantations to no avail.
There are two ways to set the "java.io.tmpdir" for iastool:
1. The iastool picks up its settings from the "iastool.config" file under the same directory as iastool, i.e., <BES Install>/bin. Comment out the default setting in the config file: