On Windows XP, Delineate doesn't works if you have installed the last version of Java (1.5). Delineate works only with previous versions (1.4.1, 1.4.2).
anon1011@hotmail.com
Logged In: YES user_id=582697 Originator: NO
To workaround this patch following files:
--- delineate/0.5/src/net/sf/delineate/command/Parameter.java 2003-12-29 05:53:36.000000000 +0200 +++ delineate/0.5//src/net/sf/delineate/command/Parameter.java 2007-02-03 19:25:18.000000000 +0200 @@ -150,7 +150,7 @@ } else if(obj instanceof Parameter) { return name.compareTo(((Parameter)obj).name); } else { - return name.compareTo(obj); + return name.compareTo(obj.toString()); } } else { throw new IllegalStateException("illegal state, this is not a Parameter " + String.valueOf(obj)); --- delineate/0.5/src/net/sf/delineate/utility/XPathTool.java 2003-12-29 05:53:36.000000000 +0200 +++ delineate/0.5/src/net/sf/delineate/utility/XPathTool.java 2007-02-03 19:05:18.000000000 +0200 @@ -20,8 +20,8 @@
package net.sf.delineate.utility;
-import org.apache.xpath.XPathAPI; -import org.apache.xpath.objects.XObject; +import com.sun.org.apache.xpath.internal.XPathAPI; +import com.sun.org.apache.xpath.internal.objects.XObject; import org.w3c.dom.Document; import org.xml.sax.InputSource; import org.xml.sax.SAXException; p-kone delineate
Logged In: YES user_id=899613 Originator: NO
Can someone make a simple compile for java 1.5.11, i'm a novice, no idea how to let it work on win xp with latest java vers.
Log in to post a comment.
Logged In: YES
user_id=582697
Originator: NO
To workaround this patch following files:
--- delineate/0.5/src/net/sf/delineate/command/Parameter.java 2003-12-29 05:53:36.000000000 +0200
+++ delineate/0.5//src/net/sf/delineate/command/Parameter.java 2007-02-03 19:25:18.000000000 +0200
@@ -150,7 +150,7 @@
} else if(obj instanceof Parameter) {
return name.compareTo(((Parameter)obj).name);
} else {
- return name.compareTo(obj);
+ return name.compareTo(obj.toString());
}
} else {
throw new IllegalStateException("illegal state, this is not a Parameter " + String.valueOf(obj));
--- delineate/0.5/src/net/sf/delineate/utility/XPathTool.java 2003-12-29 05:53:36.000000000 +0200
+++ delineate/0.5/src/net/sf/delineate/utility/XPathTool.java 2007-02-03 19:05:18.000000000 +0200
@@ -20,8 +20,8 @@
package net.sf.delineate.utility;
-import org.apache.xpath.XPathAPI;
-import org.apache.xpath.objects.XObject;
+import com.sun.org.apache.xpath.internal.XPathAPI;
+import com.sun.org.apache.xpath.internal.objects.XObject;
import org.w3c.dom.Document;
import org.xml.sax.InputSource;
import org.xml.sax.SAXException;
p-kone delineate
Logged In: YES
user_id=899613
Originator: NO
Can someone make a simple compile for java 1.5.11, i'm a novice, no idea how to let it work on win xp with latest java vers.