summaryrefslogtreecommitdiff
path: root/build.xml
diff options
context:
space:
mode:
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml14
1 files changed, 14 insertions, 0 deletions
diff --git a/build.xml b/build.xml
index 560bbb828..84d4bf8b2 100644
--- a/build.xml
+++ b/build.xml
@@ -330,6 +330,20 @@
</javac>
</target>
+ <!-- this is a copy of compile-htroot without dependency on init (likely not needed)
+ and intended to support / to by used by gradle -->
+ <target name="gradle-compile-htroot" description="compile YaCy servlets">
+ <!-- compile htroot, htroot/yacy and htroot/htdocsdefault -->
+ <loadproperties srcFile="build.properties" />
+ <javac srcdir="${htroot}/"
+ excludes="processing/**"
+ source="${javacSource}" target="${javacTarget}"
+ debug="true" debuglevel="lines,vars,source" includeantruntime="false" encoding="UTF-8">
+ <classpath refid="project.class.path" />
+ <compilerarg value="-Xlint"/>
+ </javac>
+ </target>
+
<target name="compile" depends="compile-core, compile-htroot" description="compile YaCy core and YaCy servlets" />
<target name="all" depends="compile">