* Include tagsoup.jar in Helma classpath.
* Exclude apache-dom.jar and jimi.jar, the latter must be placed in lib/ext, the first is useless for using getHtmlDocument(), use xercesImpl.jar and xml-apis.jar from the Xerces2-java distribution instead.
This commit is contained in:
parent
0b6d78a5ce
commit
6db9463c24
1 changed files with 3 additions and 10 deletions
|
@ -40,9 +40,8 @@ public class Main {
|
|||
"crimson.jar", "xmlrpc.jar", "servlet.jar",
|
||||
"mail.jar", "activation.jar",
|
||||
"commons-fileupload.jar", "commons-codec.jar",
|
||||
"commons-io.jar",
|
||||
"netcomponents.jar", "jimi.jar",
|
||||
"apache-dom.jar"
|
||||
"commons-io.jar", "netcomponents.jar",
|
||||
"tagsoup.jar"
|
||||
};
|
||||
|
||||
/**
|
||||
|
@ -112,13 +111,7 @@ public class Main {
|
|||
|
||||
if (files != null) {
|
||||
for (int i = 0; i < files.length; i++) {
|
||||
// WORKAROUND: add the files in lib/ext before
|
||||
// lib/apache-dom.jar, since otherwise putting a full version
|
||||
// of Xerces in lib/ext would cause a version conflict with the
|
||||
// xerces classes in lib/apache-dom.jar. Generally, having some pieces
|
||||
// of Xerces in lib/apache-dom.jar is kind of problematic.
|
||||
jarlist.add(jars.length - 3, new URL("file:" +
|
||||
files[i].getAbsolutePath()));
|
||||
jarlist.add(new URL("file:" + files[i].getAbsolutePath()));
|
||||
System.err.println("Adding to classpath: " + files[i].getAbsolutePath());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue