|
|
@ -119,20 +119,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
<!-- initializing all needed variables -->
|
|
|
|
<!-- initializing all needed variables -->
|
|
|
|
<target name="init" depends="readBuildProperties">
|
|
|
|
<target name="init" depends="readBuildProperties">
|
|
|
|
<mkdir dir="${build}/de/anomic/crawler"/>
|
|
|
|
|
|
|
|
<mkdir dir="${build}/de/anomic/data"/>
|
|
|
|
|
|
|
|
<mkdir dir="${build}/de/anomic/htmlFilter"/>
|
|
|
|
|
|
|
|
<mkdir dir="${build}/de/anomic/http"/>
|
|
|
|
|
|
|
|
<mkdir dir="${build}/de/anomic/kelondro"/>
|
|
|
|
|
|
|
|
<mkdir dir="${build}/de/anomic/net"/>
|
|
|
|
|
|
|
|
<mkdir dir="${build}/de/anomic/index"/>
|
|
|
|
|
|
|
|
<mkdir dir="${build}/de/anomic/plasma"/>
|
|
|
|
|
|
|
|
<mkdir dir="${build}/de/anomic/plasma/parser"/>
|
|
|
|
|
|
|
|
<mkdir dir="${build}/de/anomic/server"/>
|
|
|
|
|
|
|
|
<mkdir dir="${build}/de/anomic/tools"/>
|
|
|
|
|
|
|
|
<mkdir dir="${build}/de/anomic/ymage"/>
|
|
|
|
|
|
|
|
<mkdir dir="${build}/de/anomic/yacy"/>
|
|
|
|
|
|
|
|
<mkdir dir="${build}/de/anomic/yacy/seedUpload"/>
|
|
|
|
|
|
|
|
<mkdir dir="${data}"/>
|
|
|
|
<mkdir dir="${data}"/>
|
|
|
|
<mkdir dir="${release}"/>
|
|
|
|
<mkdir dir="${release}"/>
|
|
|
|
|
|
|
|
|
|
|
@ -154,8 +140,8 @@
|
|
|
|
<filter token="REPL_RESTARTCMD" value="${RESTARTCMD}"/>
|
|
|
|
<filter token="REPL_RESTARTCMD" value="${RESTARTCMD}"/>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- apply replacments -->
|
|
|
|
<!-- apply replacments -->
|
|
|
|
<delete file="${build}/de/anomic/yacy/yacyBuildProperties.java" failonerror="false"/>
|
|
|
|
<delete file="${build}/net/yacy/peers/operation/yacyBuildProperties.java" failonerror="false"/>
|
|
|
|
<copy file="${src}/de/anomic/yacy/yacyBuildProperties.java" tofile="${build}/de/anomic/yacy/yacyBuildProperties.java" overwrite="true" filtering="true" />
|
|
|
|
<copy file="${src}/net/yacy/peers/operation/yacyBuildProperties.java" tofile="${build}/net/yacy/peers/operation/yacyBuildProperties.java" overwrite="true" filtering="true" />
|
|
|
|
|
|
|
|
|
|
|
|
<!-- copy log4j config file -->
|
|
|
|
<!-- copy log4j config file -->
|
|
|
|
<copy file="${src}/log4j.properties" tofile="${build}/log4j.properties" overwrite="true" filtering="true" />
|
|
|
|
<copy file="${src}/log4j.properties" tofile="${build}/log4j.properties" overwrite="true" filtering="true" />
|
|
|
@ -224,7 +210,7 @@
|
|
|
|
<!-- compile yacyBuildProperties.java -->
|
|
|
|
<!-- compile yacyBuildProperties.java -->
|
|
|
|
<javac srcdir="${build}" destdir="${build}" sourcepath="${src}"
|
|
|
|
<javac srcdir="${build}" destdir="${build}" sourcepath="${src}"
|
|
|
|
debug="true" debuglevel="lines,vars,source"
|
|
|
|
debug="true" debuglevel="lines,vars,source"
|
|
|
|
includes="de/anomic/yacy/yacyBuildProperties.java"
|
|
|
|
includes="net/yacy/peers/operation/yacyBuildProperties.java"
|
|
|
|
source="${javacSource}" target="${javacTarget}">
|
|
|
|
source="${javacSource}" target="${javacTarget}">
|
|
|
|
<classpath refid="project.class.path" />
|
|
|
|
<classpath refid="project.class.path" />
|
|
|
|
<compilerarg value="-Xlint"/>
|
|
|
|
<compilerarg value="-Xlint"/>
|
|
|
@ -234,7 +220,7 @@
|
|
|
|
<!-- compile the core sources -->
|
|
|
|
<!-- compile the core sources -->
|
|
|
|
<javac srcdir="${src}/" destdir="${build}"
|
|
|
|
<javac srcdir="${src}/" destdir="${build}"
|
|
|
|
debug="true" debuglevel="lines,vars,source"
|
|
|
|
debug="true" debuglevel="lines,vars,source"
|
|
|
|
excludes="de/anomic/yacy/yacyBuildProperties.java"
|
|
|
|
excludes="net/yacy/peers/operation/yacyBuildProperties.java"
|
|
|
|
source="${javacSource}" target="${javacTarget}">
|
|
|
|
source="${javacSource}" target="${javacTarget}">
|
|
|
|
<classpath refid="project.class.path" />
|
|
|
|
<classpath refid="project.class.path" />
|
|
|
|
<compilerarg value="-Xlint"/>
|
|
|
|
<compilerarg value="-Xlint"/>
|
|
|
@ -491,7 +477,7 @@
|
|
|
|
<!-- make clean -->
|
|
|
|
<!-- make clean -->
|
|
|
|
<target name="clean" description="make clean">
|
|
|
|
<target name="clean" description="make clean">
|
|
|
|
<delete dir="${release_main}" failonerror="false"/>
|
|
|
|
<delete dir="${release_main}" failonerror="false"/>
|
|
|
|
<delete file="${build}/de/anomic/yacy/yacyBuildProperties.java" failonerror="false"/>
|
|
|
|
<delete file="${build}/net/yacy/peers/operation/yacyBuildProperties.java" failonerror="false"/>
|
|
|
|
<delete file="${build}/log4j.properties" failonerror="false"/>
|
|
|
|
<delete file="${build}/log4j.properties" 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="${lib}/svnRevNr.jar" failonerror="false"/>
|
|
|
|