2010-10-08 03:39:38 +02:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
|
|
|
|
<!--+
|
|
|
|
|
|
2012-10-19 01:40:31 +02:00
|
|
|
| OpenRefine Extension Freebase Build File
|
2010-10-08 03:39:38 +02:00
|
|
|
|
|
|
|
|
+-->
|
|
|
|
|
|
|
|
<project name="refine-freebase" default="build" basedir=".">
|
|
|
|
|
|
|
|
<property environment="env"/>
|
|
|
|
|
|
|
|
<condition property="version" value="trunk">
|
|
|
|
<not><isset property="version"/></not>
|
|
|
|
</condition>
|
|
|
|
|
|
|
|
<condition property="revision" value="rXXXX">
|
|
|
|
<not><isset property="revision"/></not>
|
|
|
|
</condition>
|
|
|
|
|
|
|
|
<condition property="full_version" value="0.0.0.0">
|
|
|
|
<not><isset property="full_version"/></not>
|
|
|
|
</condition>
|
|
|
|
|
|
|
|
<condition property="dist.dir" value="dist">
|
|
|
|
<not><isset property="dist.dir"/></not>
|
|
|
|
</condition>
|
|
|
|
|
|
|
|
<property name="fullname" value="${name}-${version}-${revision}" />
|
|
|
|
|
|
|
|
<property name="refine.dir" value="${basedir}/../../main" />
|
|
|
|
<property name="refine.webinf.dir" value="${refine.dir}/webapp/WEB-INF" />
|
|
|
|
<property name="refine.modinf.dir" value="${refine.dir}/webapp/modules/core/MOD-INF" />
|
|
|
|
<property name="refine.classes.dir" value="${refine.webinf.dir}/classes" />
|
|
|
|
<property name="refine.lib.dir" value="${refine.webinf.dir}/lib" />
|
|
|
|
<property name="server.dir" value="${basedir}/../../server" />
|
|
|
|
<property name="server.lib.dir" value="${server.dir}/lib" />
|
|
|
|
|
|
|
|
<property name="src.dir" value="${basedir}/src" />
|
|
|
|
<property name="module.dir" value="${basedir}/module" />
|
|
|
|
<property name="modinf.dir" value="${module.dir}/MOD-INF" />
|
|
|
|
<property name="lib.dir" value="${modinf.dir}/lib" />
|
|
|
|
<property name="classes.dir" value="${modinf.dir}/classes" />
|
|
|
|
|
|
|
|
<path id="class.path">
|
2012-10-13 19:47:08 +02:00
|
|
|
<fileset dir="${lib.dir}" erroronmissingdir="false">
|
2010-10-08 03:39:38 +02:00
|
|
|
<include name="**/*.jar" />
|
|
|
|
</fileset>
|
|
|
|
<fileset dir="${refine.lib.dir}">
|
|
|
|
<include name="**/*.jar" />
|
|
|
|
</fileset>
|
|
|
|
<fileset dir="${server.lib.dir}">
|
|
|
|
<include name="**/*.jar" />
|
|
|
|
</fileset>
|
|
|
|
<pathelement path="${refine.classes.dir}"/>
|
|
|
|
</path>
|
|
|
|
|
|
|
|
<target name="build_java">
|
|
|
|
<mkdir dir="${classes.dir}" />
|
2011-04-17 06:24:18 +02:00
|
|
|
<javac encoding="utf-8" destdir="${classes.dir}" debug="true" includeAntRuntime="no">
|
2010-10-08 03:39:38 +02:00
|
|
|
<src path="${src.dir}"/>
|
|
|
|
<classpath refid="class.path" />
|
|
|
|
</javac>
|
|
|
|
</target>
|
|
|
|
|
|
|
|
<target name="build" depends="build_java"/>
|
|
|
|
|
|
|
|
<target name="clean">
|
|
|
|
<delete dir="${classes.dir}" />
|
|
|
|
</target>
|
|
|
|
</project>
|