* Eepsite:
- Quote the jetty.xml path in clients.config, and adjust the migration function, to fix the eepsite-won't-start bug on windows
This commit is contained in:
@ -20,7 +20,7 @@ clientApp.2.startOnLoad=true
|
||||
# run our own eepsite with a seperate jetty instance
|
||||
clientApp.3.main=org.mortbay.jetty.Server
|
||||
clientApp.3.name=My eepsite web server
|
||||
clientApp.3.args=eepsite/jetty.xml
|
||||
clientApp.3.args="eepsite/jetty.xml"
|
||||
clientApp.3.delay=30
|
||||
clientApp.3.startOnLoad=true
|
||||
|
||||
|
@ -195,8 +195,10 @@ public class WorkingDir {
|
||||
out.println("# Modified by I2P User dir migration script");
|
||||
String s = null;
|
||||
while ((s = DataHelper.readLine(in)) != null) {
|
||||
if (s.endsWith("=eepsite/jetty.xml")) {
|
||||
s = s.replace("=eepsite", '=' + todir.getAbsolutePath() + File.separatorChar + "eepsite");
|
||||
if (s.endsWith("=\"eepsite/jetty.xml\"")) {
|
||||
s = s.replace("=\"eepsite/jetty.xml\"", "=\"" + todir.getAbsolutePath() +
|
||||
File.separatorChar + "eepsite" +
|
||||
File.separatorChar + "jetty.xml\"");
|
||||
}
|
||||
out.println(s);
|
||||
}
|
||||
|
Reference in New Issue
Block a user