ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Monsorno <>
Subject sql-task uses system classloader
Date Wed, 19 Jun 2002 14:53:22 GMT
I do not know if this is a bug, but if not, there should be a BIG
warning in the documentation.

What happens is the following: if I have the CLASSPATH environment
variable set to the value "/path/to/version4/", and I run
ant with a build-script containing:
    <sql driver=""
	<pathelement location="/path/to/version5/"

then the JDBC-driver classes from the version4-db-driver, as defined
in the CLASSPATH env-var, are used.  As this is not the case for
e.g. java-tasks, this is _very_ uncomfortable.


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

View raw message