Skip to content

Commit

Permalink
Declare XMLA driver so that it can we loaded implicitly, without usin…
Browse files Browse the repository at this point in the history
…g 'Class.forName'. Requires JDBC 4.0 (JDK 1.6) and later.

git-svn-id: https://olap4j.svn.sourceforge.net/svnroot/olap4j/trunk@94 c6a108a4-781c-0410-a6c6-c2d559e19af0
  • Loading branch information
julianhyde committed Apr 21, 2008
1 parent 46213b1 commit babc6b2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,12 @@ must be run under JDK 1.5." />

<target name="jar" depends="version,checkIsNotJdk16,compile,compileJdk16">
<mkdir dir="${lib.dir}" />
<!-- Declare driver so that it can we loaded implicitly, without using
'Class.forName'. Requires JDBC 4.0 (JDK 1.6) and later. -->
<mkdir dir="${classes.dir}/META-INF/services" />
<echo
file="${classes.dir}/META-INF/services/java.sql.Driver"
message="org.olap4j.driver.xmla.XmlaOlap4jDriver" />
<zip
zipfile="${jar.file}"
update="true">
Expand Down

0 comments on commit babc6b2

Please sign in to comment.