* Replace netcomponents.jar with jakarta commons-net.jar 1.4.1.
This commit is contained in:
parent
6ef2eabdd9
commit
2f7407a8c7
4 changed files with 3 additions and 5 deletions
BIN
lib/commons-net.jar
Normal file
BIN
lib/commons-net.jar
Normal file
Binary file not shown.
Binary file not shown.
|
@ -40,7 +40,7 @@ public class Main {
|
||||||
"crimson.jar", "xmlrpc.jar", "servlet.jar",
|
"crimson.jar", "xmlrpc.jar", "servlet.jar",
|
||||||
"mail.jar", "activation.jar",
|
"mail.jar", "activation.jar",
|
||||||
"commons-fileupload.jar", "commons-codec.jar",
|
"commons-fileupload.jar", "commons-codec.jar",
|
||||||
"commons-io.jar", "netcomponents.jar",
|
"commons-io.jar", "commons-net.jar",
|
||||||
"tagsoup.jar"
|
"tagsoup.jar"
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -95,7 +95,6 @@ public class Main {
|
||||||
|
|
||||||
for (int i = 0; i < jars.length; i++) {
|
for (int i = 0; i < jars.length; i++) {
|
||||||
File jar = new File(libdir, jars[i]);
|
File jar = new File(libdir, jars[i]);
|
||||||
|
|
||||||
jarlist.add(new URL("file:" + jar.getAbsolutePath()));
|
jarlist.add(new URL("file:" + jar.getAbsolutePath()));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -104,7 +103,6 @@ public class Main {
|
||||||
File[] files = extdir.listFiles(new FilenameFilter() {
|
File[] files = extdir.listFiles(new FilenameFilter() {
|
||||||
public boolean accept(File dir, String name) {
|
public boolean accept(File dir, String name) {
|
||||||
String n = name.toLowerCase();
|
String n = name.toLowerCase();
|
||||||
|
|
||||||
return n.endsWith(".jar") || n.endsWith(".zip");
|
return n.endsWith(".jar") || n.endsWith(".zip");
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
|
|
||||||
package helma.scripting.rhino.extensions;
|
package helma.scripting.rhino.extensions;
|
||||||
|
|
||||||
import com.oroinc.net.ftp.*;
|
import org.apache.commons.net.ftp.*;
|
||||||
import java.io.*;
|
import java.io.*;
|
||||||
import org.mozilla.javascript.Context;
|
import org.mozilla.javascript.Context;
|
||||||
import org.mozilla.javascript.Function;
|
import org.mozilla.javascript.Function;
|
||||||
|
|
Loading…
Add table
Reference in a new issue