Skip to content

Commit

Permalink
Overrides subfloor resolve task so we can resolve custom Ivy configur…
Browse files Browse the repository at this point in the history
…ations.

git-svn-id: https://olap4j.svn.sourceforge.net/svnroot/olap4j/trunk@413 c6a108a4-781c-0410-a6c6-c2d559e19af0
  • Loading branch information
lucboudreau committed Mar 20, 2011
1 parent b1be7b4 commit bc518b9
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -220,8 +220,18 @@ class XmlaOlap4jDriverVersion {
<antcall target="init-hsql"/>
</target>

<!-- Override of subfloor to resolve artifacts of custom configurations -->
<target name="resolve" depends="resolve-xmla,resolve-jdk14,subfloor.resolve"/>
<target name="resolve-jdk14" depends="resolve-init">
<ivy:resolve file="ivy.xml" conf="default-jdk1.4" />
<ivy:retrieve conf="default-jdk1.4" pattern="${lib.dir}/[module](-[classifier]).[ext]" />
</target>
<target name="resolve-xmla" depends="resolve-init">
<ivy:resolve file="ivy.xml" conf="xmla" />
<ivy:retrieve conf="xmla" pattern="${lib.dir}/[module](-[classifier]).[ext]" />
</target>

<!-- override compile task to account for special jdk handling -->
<!-- <target name="compile.compile" depends="init,parser"> -->
<target name="compile.compile">
<javac destdir="${classes.dir}" debug="${javac.debug}"
deprecation="${javac.deprecation}" fork="true" source="${javac.source}"
Expand Down

0 comments on commit bc518b9

Please sign in to comment.