summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build.xml41
-rwxr-xr-xhtroot/Collage.html4
-rw-r--r--locales/de.lng2
-rw-r--r--source/log4j.properties7
4 files changed, 35 insertions, 19 deletions
diff --git a/build.xml b/build.xml
index 8ad7905eb..885708a1d 100644
--- a/build.xml
+++ b/build.xml
@@ -155,6 +155,9 @@
<!-- apply replacments -->
<delete file="${build}/de/anomic/yacy/yacyBuildProperties.java" failonerror="false"/>
<copy file="${src}/de/anomic/yacy/yacyBuildProperties.java" tofile="${build}/de/anomic/yacy/yacyBuildProperties.java" overwrite="true" filtering="true" />
+
+ <!-- copy log4j config file -->
+ <copy file="${src}/log4j.properties" tofile="${build}/log4j.properties" overwrite="true" filtering="true" />
</target>
@@ -176,33 +179,31 @@
<pathelement location="${build}" />
<pathelement location="${htroot}" />
<pathelement location="${lib}/activation.jar" />
- <pathelement location="${lib}/fontbox-1.1.0.jar" />
- <pathelement location="${lib}/J7Zip-modified.jar" />
+ <pathelement location="${lib}/apache-mime4j-0.6.jar" />
<pathelement location="${lib}/bcmail-jdk15-145.jar" />
<pathelement location="${lib}/bcprov-jdk15-145.jar" />
<pathelement location="${lib}/bzip2.jar" />
- <pathelement location="${lib}/commons-codec-1.3.jar" />
+ <pathelement location="${lib}/commons-codec-1.4.jar" />
<pathelement location="${lib}/commons-fileupload-1.2.1.jar" />
<pathelement location="${lib}/commons-httpclient-3.1.jar" />
<pathelement location="${lib}/commons-io-1.4.jar" />
<pathelement location="${lib}/commons-jxpath-1.3.jar" />
<pathelement location="${lib}/commons-logging-1.1.1.jar" />
- <pathelement location="${lib}/httpclient-4.0.1.jar" />
+ <pathelement location="${lib}/fontbox-1.1.0.jar" />
+ <pathelement location="${lib}/httpclient-4.0.1.jar" />
<pathelement location="${lib}/httpcore-4.0.1.jar" />
<pathelement location="${lib}/httpmime-4.0.1.jar" />
- <pathelement location="${lib}/apache-mime4j-0.6.jar" />
- <pathelement location="${lib}/jakarta-oro-2.0.7.jar" />
+ <pathelement location="${lib}/J7Zip-modified.jar" />
+ <pathelement location="${lib}/jakarta-oro-2.0.8.jar" />
<pathelement location="${lib}/jcifs-1.3.14.jar" />
<pathelement location="${lib}/jsch-0.1.42.jar" />
- <pathelement location="${lib}/log4j-1.2.9.jar" />
+ <pathelement location="${lib}/log4j-1.2.15.jar" />
<pathelement location="${lib}/metadata-extractor-2.4.0-beta-1.jar" />
- <pathelement location="${lib}/mysql-connector-java-5.1.7-bin.jar" />
+ <pathelement location="${lib}/mysql-connector-java-5.1.12-bin.jar" />
<pathelement location="${lib}/pdfbox-1.1.0.jar" />
<pathelement location="${lib}/poi-3.6-20091214.jar" />
<pathelement location="${lib}/poi-scratchpad-3.6-20091214.jar" />
<pathelement location="${lib}/servlet-api.jar" />
- <pathelement location="${lib}/sbbi-upnplib-1.0.4.jar" />
- <pathelement location="${lib}/tm-extractors-1.0.jar" />
<pathelement location="${lib}/webcat-0.1-swf.jar" />
<pathelement location="${lib}/xerces.jar" />
</path>
@@ -309,6 +310,8 @@
<include name="getWin32MaxHeap.bat"/>
</fileset>
</copy>
+
+ <!-- TODO: check what this file yacy.exe is/was and if it is still needed here ... -->
<copy todir="${release_main}" file="yacy.exe" failonerror="false"/>
<!-- copy locales -->
@@ -454,8 +457,10 @@
<target name="clean" description="make clean">
<delete dir="${release_main}" failonerror="false"/>
<delete file="${build}/de/anomic/yacy/yacyBuildProperties.java" failonerror="false"/>
+ <delete file="${build}/log4j.properties" failonerror="false"/>
+ <!-- TODO: check what this file yacy.exe is/was and if it is still needed here ... -->
<delete file="yacy.exe" failonerror="false"/>
- <delete file="${lib}/yacycore.jar" failonerror="false"/>
+ <delete file="${lib}/yacycore.jar" failonerror="false"/>
<delete file="${lib}/svnRevNr.jar" failonerror="false"/>
<delete file="${libbuild}/svnRevNr.jar" failonerror="false"/>
<delete failonerror="false">
@@ -711,7 +716,12 @@
replace="yacy (*auto-svn-version*) unstable; urgency=low" />
</target>
- <target name="sign" depends="readBuildProperties" description="sign current release file in RELEASE/ with $privateKey">
+ <target name="sign" depends="readBuildProperties" description="sign current release file in RELEASE/ with ${privateKeyFile}">
+ <fail message="There is no release file (${release}/${stdReleaseFile}) that could be signed !">
+ <condition>
+ <not><available file="${stdReleaseFile}" filepath="${release}" type="file" /></not>
+ </condition>
+ </fail>
<java classname="de.anomic.tools.CryptoLib" failonerror="true">
<classpath>
<pathelement location="${build}"/>
@@ -720,11 +730,10 @@
</java>
</target>
- <target name="genkey" depends="readBuildProperties" description="generate a pair of keys and write it to $privateKey and $privateKey.pub">
- <!-- TODO: check doesn't work! why?? -->
- <fail message="There is already a private Key!!">
+ <target name="genkey" depends="readBuildProperties" description="generate a pair of keys and write it to ${privateKeyFile} and ${privateKeyFile}.pub">
+ <fail message="There is already a private key file (${privateKeyFile})!">
<condition>
- <available file="$privateKey" type="file" />
+ <available file="${privateKeyFile}" type="file" />
</condition>
</fail>
<java classname="de.anomic.tools.CryptoLib" failonerror="true">
diff --git a/htroot/Collage.html b/htroot/Collage.html
index ac97ed52c..17ab67eca 100755
--- a/htroot/Collage.html
+++ b/htroot/Collage.html
@@ -1,7 +1,7 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
-<title>YaCy '#[clientname]#': Collage</title>
+<title>YaCy '#[clientname]#': Image Collage</title>
#%env/templates/metas.template%#
<style type="text/css">
#left {
@@ -44,7 +44,7 @@ document.body.style.background = "#000";
::
#%env/templates/header.template%#
#%env/templates/submenuWebStructure.template%#
-<h2>Collage</h2>
+<h2>Image Collage</h2>
<div id="left">
<form action="/Collage.html">
diff --git a/locales/de.lng b/locales/de.lng
index 45d181ff4..fbddd0fec 100644
--- a/locales/de.lng
+++ b/locales/de.lng
@@ -288,7 +288,7 @@ Bookmarks per page.==Lesezeichen pro Seite.
#File: Collage.html
#---------------------------
-Collage==Bilder Collage
+Image Collage==Bilder Collage
Private Queue==Privater Puffer
Public Queue==Öffentlicher Puffer
#-----------------------------
diff --git a/source/log4j.properties b/source/log4j.properties
new file mode 100644
index 000000000..1d4d2f18f
--- /dev/null
+++ b/source/log4j.properties
@@ -0,0 +1,7 @@
+#### Use only the log to console appender
+log4j.rootCategory=info, stdout
+log4j.appender.stdout=org.apache.log4j.ConsoleAppender
+log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
+
+# Pattern to output the caller's file name and line number.
+log4j.appender.stdout.layout.ConversionPattern=%5p [%t] (%F%L) - %m%n