ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chaohua Wang" <cw...@incomm.com>
Subject about ant sql connection being pulled out , into a property file
Date Wed, 12 Mar 2008 20:12:37 GMT
Folks, 

I am using ant sql,

 

<sql

            driver="net.sourceforge.jtds.jdbc.Driver"

            url="jdbc:jtds:sqlserver://10.3.1.201/Test"

            userid="settle"

            password="settle"

            print="yes"

            classpathref="webtest.path.id"

            output="${tmp.dir}/dbModification.txt"

            >

 

Because I have a few of ant sql statements, could you tell me how to put
above part into a property file. So there is no duplicate code. 

In this part like

<sql refer=@connecionproperty > something like this.

 

Thank you

 

cwang

 


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message