*) build file now automatically builds the

yacybar xpi file (if the yacybar sources are located in yacy/yacybar)
   and copies the xpi file into the add on directory
*) Bugfix for http://www.yacy-forum.de/viewtopic.php?p=17852


git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@2068 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
theli 19 years ago
parent 9104001e7c
commit 0dfef19559

@ -72,6 +72,11 @@
<property name="release_main" location="${release}/MAIN"/>
<property name="release_ext" location="${release}/EXT"/>
<!-- determining if the sourcecode of the yacybar is available -->
<condition property="yacyBarDirExists">
<available file="./yacybar" />
</condition>
<condition property="singleExtFile">
<equals arg1="${extensionTarget}" arg2="copy"/>
</condition>
@ -328,7 +333,16 @@
<delete file="${build}/yacy.java" />
</target>
<!-- =======================================================================================================
<!-- compiling the yacybar -->
<target name="buildYacyBar" if="yacyBarDirExists" depends="init" description="Building the yacyBar XPI file">
<!-- building yacybar xpi -->
<subant target="" buildpath="./yacybar" />
<!-- move xpi file into addon folder -->
<move file="./yacybar/yacybar.xpi" tofile="${addon}/yacybar.xpi"/>
</target>
<!-- =======================================================================================================
putting all extensions together into a single zip file
======================================================================================================= -->
<target name="distExtensions" if="singleExtFile" depends="compileExtensions">
@ -341,7 +355,7 @@
<delete dir="${release_ext}"/>
</target>
<target name="copyMain4Dist" depends="compileMain">
<target name="copyMain4Dist" depends="compileMain,buildYacyBar">
<!-- copy main class files -->
<copy todir="${release_main}/classes" failonerror="false">
<fileset dir="${build}">
@ -443,9 +457,14 @@
<copy todir="${release_main}/source">
<fileset dir="${src}">
<include name="**/*.*"/>
<!-- excluding sources for additional content parsers -->
<exclude name="de/anomic/plasma/parser/*/*"/>
<!-- excluding sources for additional seed uploaders -->
<exclude name="de/anomic/yacy/seedUpload/yacySeedUpload**"/>
<!-- excluding soap -->
<exclude name="de/anomic/soap/**"/>
<!-- excluding the port forwarder -->
<exclude name="de/anomic/server/serverPortForwardingSch.java"/>
</fileset>
<fileset dir="${src}">
<include name="de/anomic/yacy/seedUpload/yacySeedUploadFile.java"/>

Loading…
Cancel
Save