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/plasma/parser/rss/build.xml

48 lines
2.0 KiB

<?xml version="1.0"?>
<project name="YACY - rssParser" default="dist">
<description>
A class to parse rss/atom feeds
(application/rss+xml, application/rdf+xml, application/atom+xml, application/rss)
</description>
<property name="parserShortName" value="rss"/>
<property name="parserVersion" value="0.1"/>
<property name="parserLongName" value="${parserShortName}Parser"/>
<property name="parserArchive" location="${release}/${parserLongName}_${parserVersion}.zip"/>
<target name="compile">
<echo message="Compiling ${parserLongName} Version ${parserVersion} ..."/>
<javac srcdir="${src}/de/anomic/plasma/parser/${parserShortName}" destdir="${build}" source="${javacSource}" target="${javacTarget}">
<classpath>
<pathelement location="${build}" />
<!-- main lib needed to parse rss/atom feed files -->
<pathelement location="${libx}/informa-0.6.0.jar" />
<!-- libs needed by the main lib -->
<pathelement location="${libx}/commons-logging.jar" />
<pathelement location="${libx}/jdom.jar" />
</classpath>
</javac>
</target>
<target name="zip" depends="compile">
<echo message="Compressing ${parserLongName} Version ${parserVersion} ..."/>
<zip destfile="${parserArchive}">
<zipfileset dir="${libx}" includes="informa-0.6.0.*" prefix="libx/"/>
<zipfileset dir="${libx}" includes="commons-logging.jar" prefix="libx/"/>
<zipfileset dir="${libx}" includes="jdom.jar" prefix="libx/"/>
<zipfileset dir="${src}/de/anomic/plasma/parser/${parserShortName}" prefix="source/de/anomic/plasma/parser/${parserShortName}"/>
<zipfileset dir="${build}/de/anomic/plasma/parser/${parserShortName}" prefix="classes/de/anomic/plasma/parser/${parserShortName}"/>
</zip>
</target>
<target name="dist" depends="compile,zip" description="Compile and zip the parser"/>
</project>