remove jsw, because of mission win x64 support

This commit is contained in:
Sebastian Sdorra
2011-02-14 17:23:18 +01:00
parent 0589365c40
commit 9184c07370
4 changed files with 145 additions and 4 deletions

View File

@@ -54,6 +54,12 @@ public class ServerApplication
/** Field description */
public static final String APPINFO = "/app-info.xml";
/** Field description */
public static final String PROPERTY_BASEDIR = "basedir";
/** Field description */
public static final String PROPERTY_SCMBASEDIR = "scm.basedir";
/** Field description */
public static final int RETURNCODE_CLI_ERROR = 2;
@@ -97,6 +103,18 @@ public class ServerApplication
System.exit(RETURNCODE_MISSING_SERVER_IMPLEMENTATION);
}
String basedir = System.getProperty(PROPERTY_BASEDIR);
if (basedir != null)
{
if (!basedir.endsWith(File.separator))
{
basedir = basedir.concat(File.separator);
}
System.setProperty(PROPERTY_SCMBASEDIR, basedir);
}
File webapp = new File("webapp", appInfo.getAppName());
server.start(webapp);