<property name="debuglevel" value="source,lines,vars" />
<property name="target" value="1.8" />
<property name="source" value="1.8" />
+ <property name="dnsjava" value="/usr/share/java/dnsjava.jar" />
<property name="sqlconnector" value="/usr/share/java/postgresql-jdbc4.jar" />
<property name="juintexec" value="/usr/share/java" />
<path id="JUnit 4.libraryclasspath">
<pathelement location="bin" />
<pathelement location="binutil" />
<pathelement location="${sqlconnector}" />
+ <pathelement location="${dnsjava}" />
</path>
<path id="gigi.test.classpath">
<pathelement location="bintest" />
<pathelement location="binutil-testing" />
<path refid="JUnit 4.libraryclasspath" />
<pathelement location="${sqlconnector}" />
+ <pathelement location="${dnsjava}" />
</path>
<path id="gigi.test.classpath.jdt">
<pathelement location="${jdt}" />
<target depends="clean,clean-test" name="cleanall" />
<target depends="build-project, build-testing, native" name="build" />
<target depends="init" name="build-project">
- <exec outputproperty="git-version" executable="git">
- <arg line="rev-parse"/>
- <arg line="HEAD"/>
+ <exec outputproperty="git-version" executable="sh">
+ <arg value="-c"/>
+ <arg value="git describe HEAD --tags --match "v*" | sed "s/^v//""/>
</exec>
<manifest file="Gigi.MF">
<attribute name="Main-Class" value="club.wpia.gigi.Launcher" />
<classpath refid="gigi.classpath" />
</javac>
</target>
- <target depends="init, build-project" name="build-testing-l10n">
+ <target depends="init, build-project, reset-db" name="build-testing-l10n">
<javac encoding="UTF-8" debug="true" debuglevel="${debuglevel}" destdir="binutil-testing"
includeantruntime="false" source="${source}" target="${target}">
<compilerarg value="-XDignore.symbol.file"/>