*) adding target that can be used to compile userspecific servlets located in htroot/www

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@1661 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
theli 19 years ago
parent 980e986b64
commit 7a5af1e4df

@ -66,8 +66,9 @@
<property name="htroot" location="htroot"/>
<property name="locales" location="locales"/>
<property name="release" location="RELEASE"/>
<property name="htdocsWWW" location="${data}/HTDOCS/www"/>
<property name="release_main" location="${release}/MAIN"/>
<property name="release_ext" location="${release}/EXT"/>
<property name="release_ext" location="${release}/EXT"/>
<condition property="singleExtFile">
<equals arg1="${extensionTarget}" arg2="copy"/>
@ -219,6 +220,28 @@
source="${javacSource}" target="${javacTarget}"/>
</target>
<target name="compileHtdocsWWW" depends="compileMain" description="Compiling and zipping userspecific servlets">
<!-- defining the classpath that should be used for compiling -->
<path id="htdocsWWW.class.path">
<pathelement location="${build}"/>
<pathelement location="${htroot}"/>
<!-- libs needed for the yacy thread/object-pools -->
<pathelement location="${lib}/commons-collections.jar" />
<pathelement location="${lib}/commons-pool-1.2.jar" />
<!-- userspecific libs -->
<pathelement location="${htdocsWWW}/lib/*.jar" />
</path>
<!-- compiling htroot, htroot/yacy and htroot/htdocsdefault -->
<javac srcdir="${htdocsWWW}/"
classpathref="htdocsWWW.class.path"
debug="true" debuglevel="lines,vars,source"
source="${javacSource}" target="${javacTarget}"/>
</target>
<!-- compiling optional content parsers and building install packages -->
<target name="compileParsers" depends="compileMain" description="Compiling and zipping all additional parsers">
<subant target="${extensionTarget}">

Loading…
Cancel
Save