You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
yacy_search_server/source/de/anomic/yacy/seedUpload/yacySeedUploadScp.xml

55 lines
2.1 KiB

Multiple updates regarding the yacy seedUpload facility, optional content parsers, thread pool configuration ... Please help me testing if everything works correct. *) Migration of yacy seedUpload functionality See: http://www.yacy-forum.de/viewtopic.php?t=256 - new uploaders can now be easily introduced because of a new modulare uploader system - default uploaders are: none, file, ftp - adding optional uploader for scp - each uploader provides its own configuration file that will be included into the settings page using the new template include feature - Each uploader can define its libx dependencies. If not all needed libs are available, the uploader is deactivated automatically. *) Migration of optional parsers See: http://www.yacy-forum.de/viewtopic.php?t=198 - Parsers can now also define there libx dependencies - adding parser for bzip compressed content - adding parser for gzip compressed content - adding parser for zip files - adding parser for tar files - adding parser to detect the mime-type of a file this is needed by the bzip/gzip Parser.java - adding parser for rtf files - removing extra configuration file yacy.parser the list of enabled parsers is now stored in the main config file *) Adding configuration option in the performance dialog to configure See: http://www.yacy-forum.de/viewtopic.php?t=267 - maxActive / maxIdle / minIdle values for httpd-session-threadpool - maxActive / maxIdle / minIdle values for crawler-threadpool *) Changing Crawling Filter behaviour See: http://www.yacy-forum.de/viewtopic.php?p=2631 *) Replacing some hardcoded strings with the proper constants of the httpHeader class *) Adding new libs to libx directory. This libs are - needed by new content parsers - needed by new optional seed uploader - needed by SOAP API (which will be committed later) git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@126 6c8d7289-2bf4-0310-a012-ef5d649a1542
20 years ago
<?xml version="1.0"?>
<project name="YACY - seedUpload via SCP" default="dist">
<description>
A class that allows to upload the seed list via scp
</description>
<property name="addonShortName" value="Scp"/>
<property name="addonVersion" value="0.1"/>
<property name="addonLongName" value="${addonShortName}SeedUploader"/>
<property name="parserArchive" location="${release}/${addonLongName}_${addonVersion}.tgz"/>
<target name="compile">
<echo message="Compiling ${addonLongName} Version ${addonVersion} ..."/>
<javac srcdir="${src}/de/anomic/yacy/seedUpload/" destdir="${build}" source="${javacSource}" target="${javacTarget}">
<include name="${src}/de/anomic/yacy/seedUpload/yacySeedUpload${addonShortName}.java"/>
<classpath>
<pathelement location="${build}" />
<!-- main lib needed to parse rss/atom feed files -->
<pathelement location="${libx}/jsch-0.1.19.jar" />
</classpath>
</javac>
</target>
<target name="zip" depends="compile">
<echo message="Compressing ${addonLongName} Version ${addonVersion} ..."/>
<tar destfile="${parserArchive}" compression="gzip">
<tarfileset dir="${libx}"
includes="jsch-0.1.19.*"
prefix="libx/"
dirmode="755" mode="644"/>
<tarfileset dir="${src}/de/anomic/yacy/seedUpload/"
includes="yacySeedUpload${addonShortName}.java"
prefix="source/de/anomic/yacy/seedUpload/"
dirmode="755" mode="644"/>
<tarfileset dir="${build}/de/anomic/yacy/seedUpload/"
includes="yacySeedUpload${addonShortName}.class"
prefix="classes/de/anomic/yacy/seedUpload/"
dirmode="755" mode="644"/>
<tarfileset dir="${htroot}/yacy/seedUpload/"
includes="yacySeedUpload${addonShortName}.html"
prefix="htroot/yacy/seedUpload/"
dirmode="755" mode="644"/>
</tar>
</target>
<target name="dist" depends="compile,zip" description="Compile and zip the addon"/>
</project>