--- build.xml.orig 2005-06-29 22:01:47.000000000 +0200
+++ build.xml 2005-06-29 22:28:54.000000000 +0200
@@ -6,9 +6,9 @@
-
-
-
+
+
+
@@ -59,6 +59,25 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
--- src/games/strategy/engine/framework/GameRunner.java 2005-04-15 11:26:04.000000000 +0200
+++ src/games/strategy/engine/framework/GameRunner.java 2005-06-29 22:18:25.000000000 +0200
@@ -153,6 +153,10 @@
*/
public static File getRootFolder()
{
+ String rootFolder = System.getProperty("triplea.root");
+ if (rootFolder != null)
+ return new File(rootFolder);
+
//this will fail if we are in a jar
//what we are doing is looking up the url to GameRunner.class
//we can find it because we are it