Skip to content

Commit

Permalink
Fixed hsql init stuff.
Browse files Browse the repository at this point in the history
git-svn-id: https://olap4j.svn.sourceforge.net/svnroot/olap4j/trunk@220 c6a108a4-781c-0410-a6c6-c2d559e19af0
  • Loading branch information
lucboudreau committed May 6, 2009
1 parent 20f7b87 commit 592e1d4
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -140,14 +140,10 @@ test.properties.example" />
</target>

<target name="clean-tests" depends="subfloor.clean-tests">
<antcall target="clean-hsqldb"/>
<antcall target="init-hsql"/>
</target>

<target name="clean-hsqldb">
<!--
We need to cleanup any remaining HSQL files, because lock files
could still be there if previous tests crashed.
-->
<delete includeemptydirs="false">
<fileset
dir="${basedir}/foodmart"
Expand All @@ -158,11 +154,15 @@ test.properties.example" />
</delete>
</target>

<target name="init-hsql" depends="clean-hsql">
<unzip src="${basedir}/foodmart/foodmart.zip" dest="${basedir}/foodmart/"
overwrite="false" />
</target>

<target name="init-tests" depends="clean-tests">
<mkdir dir="${testclasses.dir}" />
<mkdir dir="${testsrc.dir}" />
<unzip src="${basedir}/foodmart/foodmart.zip" dest="${basedir}/foodmart/"
overwrite="false" />
<antcall target="init-hsql"/>
</target>

<!-- override compile task to account for special jdk handling -->
Expand Down

0 comments on commit 592e1d4

Please sign in to comment.