mirror of
https://github.com/yacy/yacy_search_server.git
synced 2024-09-21 00:00:13 +02:00
a) renaming the parent folder in the tgz file to yacy (can be configured via build properties file) b) reconfiguring build file to throw an error if a file name is too long Please note that currently there is _no_ proplem with too long class names because of step a. git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@2207 6c8d7289-2bf4-0310-a012-ef5d649a1542
57 lines
2.2 KiB
XML
57 lines
2.2 KiB
XML
<?xml version="1.0"?>
|
|
<project name="YACY - tarParser" default="dist">
|
|
<description>
|
|
A class to parse tar files
|
|
</description>
|
|
|
|
<property name="parserShortName" value="tar"/>
|
|
<property name="parserVersion" value="0.1"/>
|
|
|
|
<property name="parserLongName" value="yacyContentParser_${parserShortName}"/>
|
|
<property name="parserArchive" location="${release}/${parserLongName}_${parserVersion}.tgz"/>
|
|
|
|
<target name="compile">
|
|
<javac srcdir="${src}/de/anomic/plasma/parser/${parserShortName}" destdir="${build}" source="${javacSource}" target="${javacTarget}" debug="true" debuglevel="lines,vars,source">
|
|
<classpath>
|
|
<pathelement location="${build}" />
|
|
|
|
<pathelement location="${libx}/tar.jar" />
|
|
</classpath>
|
|
</javac>
|
|
</target>
|
|
|
|
|
|
<target name="zip" depends="compile">
|
|
<tar destfile="${parserArchive}" compression="gzip">
|
|
<tarfileset dir="${libx}"
|
|
includes="tar.jar"
|
|
prefix="${releaseFileParentDir}/libx/"
|
|
dirmode="755" mode="644"/>
|
|
<tarfileset dir="${src}/de/anomic/plasma/parser/${parserShortName}"
|
|
prefix="${releaseFileParentDir}/source/de/anomic/plasma/parser/${parserShortName}"
|
|
dirmode="755" mode="644"/>
|
|
<tarfileset dir="${build}/de/anomic/plasma/parser/${parserShortName}"
|
|
prefix="${releaseFileParentDir}/classes/de/anomic/plasma/parser/${parserShortName}"
|
|
dirmode="755" mode="644"/>
|
|
</tar>
|
|
</target>
|
|
|
|
<target name="copy" depends="compile">
|
|
<copy todir="${release}/libx/">
|
|
<fileset dir="${libx}" includes="tar.jar"/>
|
|
</copy>
|
|
<copy todir="${release}/source/de/anomic/plasma/parser/${parserShortName}">
|
|
<fileset dir="${src}/de/anomic/plasma/parser/${parserShortName}" includes="**/*"/>
|
|
</copy>
|
|
<copy todir="${release}/classes/de/anomic/plasma/parser/${parserShortName}">
|
|
<fileset dir="${build}/de/anomic/plasma/parser/${parserShortName}" includes="**/*"/>
|
|
</copy>
|
|
</target>
|
|
|
|
|
|
<target name="dist" depends="compile,zip" description="Compile and zip the parser"/>
|
|
|
|
|
|
</project>
|
|
|