ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivan \"Rambius\" Ivanov" <>
Subject Re: problem with sql task
Date Mon, 06 Feb 2006 04:05:22 GMT

--- Andrew Goktepe <> wrote:
> <sql driver="oracle.jdbc.driver.OracleDriver"  ...
> and do this before running the script so that Ant
> can find the driver class:
> set CLASSPATH=%CLASSPATH%;c:\path\to\classes12.jar

This is correct, but it is more appropriate to use
classpath attribute or nested classpath:

<sql driver="oracle.jdbc.driver.OracleDriver"  ...>
    <pathelement location="/path/to/classes12.jar"/>

In this case the build script will not be dependent on
  external envorinment variables.


Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message