Community
Participate
Working Groups
* extra option allowed by the Eclipse compiler
*/
cmd.createArgument().setValue("-log"); //$NON-NLS-1$
this.logFileName = this.destDir.getAbsolutePath() + ".log"; //$NON-NLS-1$
if (this.destDir == null) {
File userDirectory = new File(System.getProperty("user.dir")); //$NON-NLS-1$
String userDirectoryPath = userDirectory.getAbsolutePath();
if (userDirectoryPath.endsWith(File.separator)) {
this.logFileName = userDirectoryPath + "temp.log"; //$NON-NLS-1$
} else {
this.logFileName = userDirectoryPath + File.separator + "temp.log"; //$NON-NLS-1$
}
cmd.createArgument().setValue(this.logFileName);