BugRat Report # 419

Project: Ant Release: 1.2
Category: Bug Report SubCategory: New Bug Report
Class: swbug State: received
Priority: medium Severity: critical
Confidence: public

Submitter: Claudio Miranda ( comfiles@uol.com.br )
Date Submitted: Nov 21 2000, 05:35:23 CST
Responsible: Z_Ant Alias ( ant-bugs@cortexity.com )

build sql script fail with print="true" attribute
Environment: (jvm, os, osrel, platform)
1.3.0_01, Windows, NT4, Intel

Additional Environment Description:
DB Server: HypersonicSQL 1.43 [Server mode] OS: Windows NT4 Workstation JVM: SUN JDK 1.3.0_01 ANT: 1.2

Report Description:
Defined a build.xml file, with sql 'Built in tasks', and setting the print attribute to 'true', will cause the src="scripts.sql" to fail, because on HypersonicSQL Console the first statement (from scripts.sql) is loaded, the connection is closed, and the second statement want to be loaded but the connection is closed, then fail. Flollowing the ant stacktrace, the ant want to print the DatabaseMetadata, but the connection is closed.

How To Reproduce:


View this report online...