Skip to content

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

replaced tar library with integrated apache ant tar lib

orbiter49bbb9bd451e
diff --git a/.classpath b/.classpath
index 6275d7ada..b4f58cd80 100644
--- a/.classpath
+++ b/.classpath
@@ -1,42 +1,41 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry excluding="env/|htdocsdefault/|proxymsg/|yacy/|env/|yacy/user/|yacy/user/|yacy/ui/|processing/domaingraph/applet/|processing/domaingraph/|api/|api/bookmarks/posts/|api/bookmarks/|api/util/|api/bookmarks/xbel/|api/bookmarks/tags/" kind="src" path="htroot"/>
- <classpathentry excluding="user/|user/|ui/" kind="src" path="htroot/yacy"/>
- <classpathentry kind="src" path="htroot/env"/>
- <classpathentry kind="src" path="source"/>
- <classpathentry kind="src" path="htroot/yacy/ui"/>
- <classpathentry excluding="bookmarks/posts/|bookmarks/|util/|bookmarks/xbel/|bookmarks/tags/" kind="src" path="htroot/api"/>
- <classpathentry kind="src" path="htroot/api/bookmarks/posts"/>
- <classpathentry excluding="posts/|xbel/|tags/" kind="src" path="htroot/api/bookmarks"/>
- <classpathentry kind="src" path="htroot/api/util"/>
- <classpathentry kind="src" path="htroot/api/bookmarks/xbel"/>
- <classpathentry kind="src" path="htroot/api/bookmarks/tags"/>
- <classpathentry exported="true" kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
- <classpathentry exported="true" kind="lib" path="lib/commons-httpclient-3.1.jar"/>
- <classpathentry exported="true" kind="lib" path="lib/commons-logging-1.1.1.jar"/>
- <classpathentry exported="true" kind="lib" path="lib/commons-io-1.4.jar"/>
- <classpathentry exported="true" kind="lib" path="lib/commons-fileupload-1.2.1.jar"/>
- <classpathentry exported="true" kind="lib" path="lib/servlet-api.jar"/>
- <classpathentry exported="true" kind="lib" path="lib/commons-jxpath-1.1.jar"/>
- <classpathentry exported="true" kind="lib" path="lib/sbbi-upnplib-1.0.4.jar"/>
- <classpathentry kind="lib" path="lib/xerces.jar"/>
- <classpathentry kind="lib" path="lib/bzip2.jar"/>
- <classpathentry kind="lib" path="lib/mysql-connector-java-5.1.7-bin.jar"/>
- <classpathentry kind="lib" path="lib/bcmail-jdk14-139.jar"/>
- <classpathentry kind="lib" path="lib/bcprov-jdk14-139.jar"/>
- <classpathentry kind="lib" path="lib/commons-codec-1.3.jar"/>
- <classpathentry kind="lib" path="lib/FontBox-0.1.0-dev.jar"/>
- <classpathentry kind="lib" path="lib/J7Zip-modified.jar"/>
- <classpathentry kind="lib" path="lib/jakarta-oro-2.0.7.jar"/>
- <classpathentry kind="lib" path="lib/jsch-0.1.21.jar"/>
- <classpathentry kind="lib" path="lib/log4j-1.2.9.jar"/>
- <classpathentry kind="lib" path="lib/PDFBox-0.7.3.jar"/>
- <classpathentry kind="lib" path="lib/poi-3.2-FINAL-20081019.jar"/>
- <classpathentry kind="lib" path="lib/poi-scratchpad-3.2-FINAL-20081019.jar"/>
- <classpathentry kind="lib" path="lib/tar.jar"/>
- <classpathentry kind="lib" path="lib/webcat-0.1-swf.jar"/>
- <classpathentry kind="lib" path="lib/odf_utils_05_11_29.jar"/>
- <classpathentry kind="lib" path="lib/jrpm-SNAPSHOT.jar"/>
- <classpathentry kind="lib" path="lib/activation.jar"/>
- <classpathentry kind="output" path="gen"/>
-</classpath>
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry excluding="env/|htdocsdefault/|proxymsg/|yacy/|env/|yacy/user/|yacy/user/|yacy/ui/|processing/domaingraph/applet/|processing/domaingraph/|api/|api/bookmarks/posts/|api/bookmarks/|api/util/|api/bookmarks/xbel/|api/bookmarks/tags/" kind="src" path="htroot"/>
+ <classpathentry excluding="user/|user/|ui/" kind="src" path="htroot/yacy"/>
+ <classpathentry kind="src" path="htroot/env"/>
+ <classpathentry kind="src" path="source"/>
+ <classpathentry kind="src" path="htroot/yacy/ui"/>
+ <classpathentry excluding="bookmarks/posts/|bookmarks/|util/|bookmarks/xbel/|bookmarks/tags/" kind="src" path="htroot/api"/>
+ <classpathentry kind="src" path="htroot/api/bookmarks/posts"/>
+ <classpathentry excluding="posts/|xbel/|tags/" kind="src" path="htroot/api/bookmarks"/>
+ <classpathentry kind="src" path="htroot/api/util"/>
+ <classpathentry kind="src" path="htroot/api/bookmarks/xbel"/>
+ <classpathentry kind="src" path="htroot/api/bookmarks/tags"/>
+ <classpathentry exported="true" kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry exported="true" kind="lib" path="lib/commons-httpclient-3.1.jar"/>
+ <classpathentry exported="true" kind="lib" path="lib/commons-logging-1.1.1.jar"/>
+ <classpathentry exported="true" kind="lib" path="lib/commons-io-1.4.jar"/>
+ <classpathentry exported="true" kind="lib" path="lib/commons-fileupload-1.2.1.jar"/>
+ <classpathentry exported="true" kind="lib" path="lib/servlet-api.jar"/>
+ <classpathentry exported="true" kind="lib" path="lib/commons-jxpath-1.1.jar"/>
+ <classpathentry exported="true" kind="lib" path="lib/sbbi-upnplib-1.0.4.jar"/>
+ <classpathentry kind="lib" path="lib/xerces.jar"/>
+ <classpathentry kind="lib" path="lib/bzip2.jar"/>
+ <classpathentry kind="lib" path="lib/mysql-connector-java-5.1.7-bin.jar"/>
+ <classpathentry kind="lib" path="lib/bcmail-jdk14-139.jar"/>
+ <classpathentry kind="lib" path="lib/bcprov-jdk14-139.jar"/>
+ <classpathentry kind="lib" path="lib/commons-codec-1.3.jar"/>
+ <classpathentry kind="lib" path="lib/FontBox-0.1.0-dev.jar"/>
+ <classpathentry kind="lib" path="lib/J7Zip-modified.jar"/>
+ <classpathentry kind="lib" path="lib/jakarta-oro-2.0.7.jar"/>
+ <classpathentry kind="lib" path="lib/jsch-0.1.21.jar"/>
+ <classpathentry kind="lib" path="lib/log4j-1.2.9.jar"/>
+ <classpathentry kind="lib" path="lib/PDFBox-0.7.3.jar"/>
+ <classpathentry kind="lib" path="lib/poi-3.2-FINAL-20081019.jar"/>
+ <classpathentry kind="lib" path="lib/poi-scratchpad-3.2-FINAL-20081019.jar"/>
+ <classpathentry kind="lib" path="lib/webcat-0.1-swf.jar"/>
+ <classpathentry kind="lib" path="lib/odf_utils_05_11_29.jar"/>
+ <classpathentry kind="lib" path="lib/jrpm-SNAPSHOT.jar"/>
+ <classpathentry kind="lib" path="lib/activation.jar"/>
+ <classpathentry kind="output" path="gen"/>
+</classpath>
diff --git a/build.xml b/build.xml
index 10e617533..5039372a1 100644
--- a/build.xml
+++ b/build.xml
@@ -184,7 +184,6 @@
<pathelement location="${lib}/poi-scratchpad-3.2-FINAL-20081019.jar" />
<pathelement location="${lib}/sbbi-upnplib-1.0.4.jar" />
<pathelement location="${lib}/servlet-api.jar" />
- <pathelement location="${lib}/tar.jar" />
<pathelement location="${lib}/tm-extractors-1.0.jar" />
<pathelement location="${lib}/webcat-0.1-swf.jar" />
<pathelement location="${lib}/xerces.jar" />
diff --git a/lib/tar.jar b/lib/tar.jar
deleted file mode 100644
index 0d4def631..000000000
Binary files a/lib/tar.jar and /dev/null differ
diff --git a/lib/tar.license b/lib/tar.license
deleted file mode 100644
index 95fabaf04..000000000
--- a/lib/tar.license
+++ /dev/null
@@ -1,15 +0,0 @@
-
- ---- Public Domain ----
-
-This work was autored by Timothy Gerard Endres, [email protected].
-
-This work has been placed into the public domain.
-
-You are free to use this work in any way you wish.
-
-DISCLAIMER
-
-THIS SOFTWARE IS PROVIDED AS-IS, WITH ABSOLUTELY NO WARRANTY.
-YOU ASSUME ALL RESPONSIBILITY FOR ANY AND ALL CONSEQUENCES
-THAT MAY RESULT FROM THE USE OF THIS SOFTWARE!
-
diff --git a/source/de/anomic/document/parser/tarParser.java b/source/de/anomic/document/parser/tarParser.java
index 2b8ed3b34..5c932ab63 100644
--- a/source/de/anomic/document/parser/tarParser.java
+++ b/source/de/anomic/document/parser/tarParser.java
@@ -40,8 +40,8 @@ import java.util.Map;
import java.util.Set;
import java.util.zip.GZIPInputStream;
-import com.ice.tar.TarEntry;
-import com.ice.tar.TarInputStream;
+import org.apache.tools.tar.TarEntry;
+import org.apache.tools.tar.TarInputStream;
import de.anomic.document.AbstractParser;
import de.anomic.document.Idiom;
diff --git a/source/de/anomic/tools/tarTools.java b/source/de/anomic/tools/tarTools.java
index d2b68ac6c..86ce75278 100644
--- a/source/de/anomic/tools/tarTools.java
+++ b/source/de/anomic/tools/tarTools.java
@@ -32,8 +32,8 @@ import java.io.FileOutputStream;
import java.io.InputStream;
import java.util.zip.GZIPInputStream;
-import com.ice.tar.TarEntry;
-import com.ice.tar.TarInputStream;
+import org.apache.tools.tar.TarEntry;
+import org.apache.tools.tar.TarInputStream;
import de.anomic.yacy.logging.Log;