Changes to allow project to build under Windows given the changes that have been made to remove Axis dependency.

This commit is contained in:
Juan Carlos Luciani
2007-03-16 23:48:58 +00:00
parent 08f9d3ac9d
commit 33a49c686a
18 changed files with 464 additions and 525 deletions

View File

@@ -54,6 +54,7 @@ public class InitConfigFile
final static int ERROR_BAD_PROPERTY_PARAM = -29;
final static int ERROR_UNABLE_TO_OPEN_TEMPLATE = -30;
final static int ERROR_FILEWRITER_CREATE_FAILED = -31;
final static int ERROR_BAD_ESCAPE_PATH_CHARS_PARAM = -32;
final static String TEMPLATE_FILE_PARAM = "template=";
final static String OUTPUT_FILE_PARAM = "output=";
@@ -270,12 +271,12 @@ public class InitConfigFile
else if (args[i].startsWith(ESCAPE_PATH_CHARS))
{
// Make sure it is more than the param tag
if (args[i].length() <= OUTPUT_FILE_PARAM.length())
if (args[i].length() <= ESCAPE_PATH_CHARS.length())
{
return ERROR_BAD_OUTPUT_FILE_PARAM;
return ERROR_BAD_ESCAPE_PATH_CHARS_PARAM;
}
String value = args[i].substring(OUTPUT_FILE_PARAM.length()).trim();
String value = args[i].substring(ESCAPE_PATH_CHARS.length()).trim();
if (value.equalsIgnoreCase("true"))
{
escapePathCharsInReplaceString = true;