Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

packages for xml/* bugfix for servlets with packages from theli.

alloba96cefe0ce6
diff --git a/.classpath b/.classpath
index 6bc47be35..6ca39b8fc 100644
--- a/.classpath
+++ b/.classpath
@@ -1,13 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="source"/>
- <classpathentry excluding="env/|htdocsdefault/|proxymsg/|xml/**|yacy/|xml/util/|xml/util/|xml/bookmarks/tags/|xml/bookmarks/tags/|xml/queues/|xml/queues/|xml/bookmarks/posts/|xml/bookmarks/posts/" kind="src" path="htroot"/>
+ <classpathentry excluding="env/|htdocsdefault/|proxymsg/|yacy/" kind="src" path="htroot"/>
<classpathentry kind="src" path="htroot/htdocsdefault"/>
<classpathentry kind="src" path="htroot/yacy"/>
- <classpathentry kind="src" path="htroot/xml/queues"/>
- <classpathentry kind="src" path="htroot/xml/util"/>
- <classpathentry kind="src" path="htroot/xml/bookmarks/tags"/>
- <classpathentry kind="src" path="htroot/xml/bookmarks/posts"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="lib" path="lib/commons-collections.jar"/>
<classpathentry kind="lib" path="lib/commons-pool-1.2.jar"/>
diff --git a/htroot/xml/bookmarks/posts/all_p.java b/htroot/xml/bookmarks/posts/all_p.java
index 00ea8e995..e675637da 100644
--- a/htroot/xml/bookmarks/posts/all_p.java
+++ b/htroot/xml/bookmarks/posts/all_p.java
@@ -43,7 +43,7 @@
// You must compile this file with
// javac -classpath .:../classes IndexCreate_p.java
// if the shell's current path is HTROOT
-
+package xml.bookmarks.posts;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Iterator;
diff --git a/htroot/xml/bookmarks/tags/get_p.java b/htroot/xml/bookmarks/tags/get_p.java
index 4f6674612..8be0fb02d 100644
--- a/htroot/xml/bookmarks/tags/get_p.java
+++ b/htroot/xml/bookmarks/tags/get_p.java
@@ -45,7 +45,7 @@
// if the shell's current path is HTROOT
//package xml.bookmarks.tags;
-
+package xml.bookmarks.tags;
import java.util.Iterator;
import de.anomic.data.bookmarksDB;
diff --git a/htroot/xml/bookmarks/tags/rename_p.java b/htroot/xml/bookmarks/tags/rename_p.java
index 33d309d8d..3e3e36c97 100644
--- a/htroot/xml/bookmarks/tags/rename_p.java
+++ b/htroot/xml/bookmarks/tags/rename_p.java
@@ -45,7 +45,7 @@
// if the shell's current path is HTROOT
//package xml.bookmarks.tags;
-
+package xml.bookmarks.tags;
import de.anomic.http.httpHeader;
import de.anomic.plasma.plasmaSwitchboard;
import de.anomic.server.serverObjects;
diff --git a/htroot/xml/queues/indexing_p.java b/htroot/xml/queues/indexing_p.java
index 01d68490f..1f6309b64 100644
--- a/htroot/xml/queues/indexing_p.java
+++ b/htroot/xml/queues/indexing_p.java
@@ -45,7 +45,7 @@
// if the shell's current path is HTROOT
//package xml.queues;
-
+package xml.queues;
import java.util.ArrayList;
import java.util.Date;
import java.text.SimpleDateFormat;
diff --git a/htroot/xml/util/gettitle_p.java b/htroot/xml/util/gettitle_p.java
index bd8632737..d2651eebb 100644
--- a/htroot/xml/util/gettitle_p.java
+++ b/htroot/xml/util/gettitle_p.java
@@ -44,7 +44,7 @@
// You must compile this file with
// javac -classpath .:../classes IndexCreate_p.java
// if the shell's current path is HTROOT
-
+package xml.util;
import java.io.IOException;
import java.net.MalformedURLException;
import java.net.URL;
diff --git a/source/de/anomic/server/serverClassLoader.java b/source/de/anomic/server/serverClassLoader.java
index f6efceccb..603e19f04 100644
--- a/source/de/anomic/server/serverClassLoader.java
+++ b/source/de/anomic/server/serverClassLoader.java
@@ -119,7 +119,7 @@ public final class serverClassLoader extends ClassLoader {
b = serverFileUtils.read(classfile);
// now make a class out of the stream
// System.out.println("loading class " + classname + " from file " + classfile.toString());
- c = this.defineClass(classname, b, 0, b.length);
+ c = this.defineClass(null, b, 0, b.length);
resolveClass(c);
this.classes.put(classfile, c);
} catch (LinkageError ee) {