Commit d19f1688 authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gato

Fixed development mode (works again) :).

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk@5955 b35dd754-fafc-0310-a699-88a17e54d16e
parent 43518e30
...@@ -31,11 +31,11 @@ goto end ...@@ -31,11 +31,11 @@ goto end
:run :run
if "%1" == "-debug" goto debug if "%1" == "-debug" goto debug
start "Wildfire" "%JAVA_HOME%\bin\java" -DdevelopmentMode="true" -D%PLUGIN_WEBROOT% -D%PLUGIN_CLASSES% -server -cp "%JAVA_HOME%\lib\tools.jar;..\..\..\build\lib\ant.jar;..\..\..\build\lib\ant-contrib.jar;..\lib\activation.jar;..lib\bouncycastle.jar;..\lib\commons-el.jar;..\lib\hsqldb.jar;..\lib\jasper-compiler.jar;..\lib\jasper-runtime.jar;..\lib\jtds.jar;..\lib\mail.jar;..\lib\mysql.jar;..\lib\postgres.jar;..\lib\servlet.jar;..\lib\startup.jar;..\lib\wildfire.jar" org.jivesoftware.wildfire.starter.ServerStarter start "Wildfire" "%JAVA_HOME%\bin\java" -DdevelopmentMode="true" -D%PLUGIN_WEBROOT% -D%PLUGIN_CLASSES% -server -cp "%JAVA_HOME%\lib\tools.jar;..\..\..\build\lib\ant.jar;..\..\..\build\lib\ant-contrib.jar;..\lib\activation.jar;..\lib\bouncycastle.jar;..\lib\commons-el.jar;..\lib\hsqldb.jar;..\lib\jasper-compiler.jar;..\lib\jasper-runtime.jar;..\lib\jtds.jar;..\lib\mail.jar;..\lib\mysql.jar;..\lib\postgres.jar;..\lib\servlet.jar;..\lib\startup.jar;..\lib\wildfire.jar" org.jivesoftware.wildfire.starter.ServerStarter
goto end goto end
:debug :debug
start "Wildfire" "%JAVA_HOME%\bin\java" -Xdebug -Xint -Xnoagent -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8000 -DdevelopmentMode="true" -D%PLUGIN_WEBROOT% -D%PLUGIN_CLASSES% -server -cp "%JAVA_HOME%\lib\tools.jar;..\..\..\build\lib\ant.jar;..\..\..\build\lib\ant-contrib.jar;..\lib\activation.jar;..lib\bouncycastle.jar;..\lib\commons-el.jar;..\lib\hsqldb.jar;..\lib\jasper-compiler.jar;..\lib\jasper-runtime.jar;..\lib\jtds.jar;..\lib\mail.jar;..\lib\mysql.jar;..\lib\postgres.jar;..\lib\servlet.jar;..\lib\startup.jar;..\lib\wildfire.jar" org.jivesoftware.wildfire.starter.ServerStarter start "Wildfire" "%JAVA_HOME%\bin\java" -Xdebug -Xint -Xnoagent -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8000 -DdevelopmentMode="true" -D%PLUGIN_WEBROOT% -D%PLUGIN_CLASSES% -server -cp "%JAVA_HOME%\lib\tools.jar;..\..\..\build\lib\ant.jar;..\..\..\build\lib\ant-contrib.jar;..\lib\activation.jar;..\lib\bouncycastle.jar;..\lib\commons-el.jar;..\lib\hsqldb.jar;..\lib\jasper-compiler.jar;..\lib\jasper-runtime.jar;..\lib\jtds.jar;..\lib\mail.jar;..\lib\mysql.jar;..\lib\postgres.jar;..\lib\servlet.jar;..\lib\startup.jar;..\lib\wildfire.jar" org.jivesoftware.wildfire.starter.ServerStarter
goto end goto end
:end :end
......
...@@ -52,7 +52,7 @@ public class AdminConsolePlugin implements Plugin { ...@@ -52,7 +52,7 @@ public class AdminConsolePlugin implements Plugin {
if (Boolean.getBoolean("developmentMode")) { if (Boolean.getBoolean("developmentMode")) {
System.out.println(LocaleUtils.getLocalizedString("admin.console.devmode")); System.out.println(LocaleUtils.getLocalizedString("admin.console.devmode"));
context = new WebAppContext( context = new WebAppContext(
pluginDir.getParentFile().getParentFile().getParent() + File.separator + pluginDir.getParentFile().getParentFile().getParentFile().getParent() + File.separator +
"src" + File.separator + "web", "/"); "src" + File.separator + "web", "/");
} }
else { else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment