public class WorkingDir extends Object
Constructor | Description |
---|---|
WorkingDir() |
Modifier and Type | Method | Description |
---|---|---|
(package private) static boolean |
copyFile(File src,
File dst) |
|
static String |
getWorkingDir(Properties envProps,
boolean migrateOldConfig) |
Only call this once on router invocation.
|
(package private) static boolean |
migrateJettyXml(File olddir,
File todir,
String filename,
String oldString,
String newString) |
Copy over the jetty.xml file with modifications
It was already copied over once in migrate(), throw that out and
do it again with modifications.
|
public static String getWorkingDir(Properties envProps, boolean migrateOldConfig)
migrateOldConfig
- whether to copy all data over from an existing installstatic boolean migrateJettyXml(File olddir, File todir, String filename, String oldString, String newString)