Skip to content

Commit

Permalink
Fixed issue with HSQLDB + Cobertura.
Browse files Browse the repository at this point in the history
git-svn-id: https://olap4j.svn.sourceforge.net/svnroot/olap4j/trunk@217 c6a108a4-781c-0410-a6c6-c2d559e19af0
  • Loading branch information
lucboudreau committed May 5, 2009
1 parent d7df62c commit 0293aca
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ ${src.dir}/org/olap4j/mdx/parser/impl/DefaultMdxParserSym.java" />
<target name="setup" depends="compile,create-dot-classpath"
description="Setups the project for eclipse." />

<target name="hudson" depends="clean-all,clean-tests,version-properties,jar,source.jar,test,cobertura,jar-jdk14"
<target name="hudson" depends="clean-all,clean-tests,version-properties,jar,source.jar,test,clean-hsqldb,cobertura,jar-jdk14"
description="Sugar goal to build Olap4j from hudson." />

<!-- Override to create a proper release. -->
Expand Down Expand Up @@ -140,6 +140,10 @@ test.properties.example" />
</target>

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

<target name="clean-hsqldb">
<!--
We need to cleanup any remaining HSQL files, because lock files
could still be there if previous tests crashed.
Expand All @@ -159,14 +163,6 @@ test.properties.example" />
<mkdir dir="${testsrc.dir}" />
<unzip src="${basedir}/foodmart/foodmart.zip" dest="${basedir}/foodmart/"
overwrite="false" />
<!-- <sql driver="org.hsqldb.jdbcDriver"-->
<!-- url="jdbc:hsqldb:mem:olap4j-test"-->
<!-- userid="sa" password="" >-->
<!-- <classpath>-->
<!-- <path refid="test.classpath" />-->
<!-- </classpath>-->
<!-- <transaction src="${basedir}/foodmart/foodmart.script"/>-->
<!-- </sql>-->
</target>

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

0 comments on commit 0293aca

Please sign in to comment.