Correct build dir for ant
Signed-off-by: Dawid Pakuła <zulus@w3des.net>
diff --git a/build/update.site/pom.xml b/build/update.site/pom.xml
index 284fe30..58f72fc 100644
--- a/build/update.site/pom.xml
+++ b/build/update.site/pom.xml
@@ -40,13 +40,12 @@
<goal>run</goal>
</goals>
<configuration>
- <exportAntProperties>true</exportAntProperties>
<target>
<property name="compile_classpath" refid="maven.compile.classpath" />
<property name="runtime_classpath" refid="maven.runtime.classpath" />
<property name="test_classpath" refid="maven.test.classpath" />
<property name="plugin_classpath" refid="maven.plugin.classpath" />
- <ant inheritRefs="true" antfile="${basedir}/postBuild.xml">
+ <ant antfile="${basedir}/postBuild.xml" dir="${project.basedir}">
<target name="init" />
</ant>
</target>
diff --git a/build/update.site/postBuild.xml b/build/update.site/postBuild.xml
index fd7b6da..17f957d 100644
--- a/build/update.site/postBuild.xml
+++ b/build/update.site/postBuild.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
-<project name="Check" default="init" basedir="../.">
+<project name="Check" default="init" basedir=".">
<target name="init">
- <xmlproperty file="pom.xml" prefix="pom_file" collapseattributes="true" semanticattributes="true"/>
+ <xmlproperty file="../pom.xml" prefix="pom_file" collapseattributes="true" semanticattributes="true"/>
<script language="javascript">
<![CDATA[
var modules = project.getProperty('pom_file.project.modules.module').split(',');