Hello,

--- Andrew Goktepe <[EMAIL PROTECTED]> 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"  ...>
  <classpath>
    <pathelement location="/path/to/classes12.jar"/>
  </classpath>
</sql>

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

Regards
Ivan

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to