We've expanded our news coverage and improved our search! Visit
oreilly.com for the latest or search for all things across O'Reilly!
Article:
 |
|
Top 15 Ant Best Practices
|
| Subject: |
|
How to share a database connection betwwen differnet ant (sql) task |
| Date: |
|
2007-01-10 03:39:42 |
| From: |
|
Ashishindore
|
|
|
|
I am using ANT for deployment of my product.I need to run different SQL's at different stages of my deployment, so if i use ANT SQL task it will create a new DB connection each time.Is there any way i can share the DB connection between different tasks.(may be putting the connection in Project class thru my custom SQL task....)?
Thanks in Advance
Ashish
|