ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ahehheh <>
Subject How to send a data from ant to JUnit class?
Date Thu, 03 Aug 2006 19:46:27 GMT

Hi, i am now working with ant to test several Junit classes.
One of Junit classes is Log In command, and this uses a specific id and
password to connect to database.
(Basically i am testing the connection function)
But my manager wants me to put these id and password values into a
properties file.
So when user runs ant(buildall.xml), these id and password values will be
sent to the test class, and the test class use these values to connect to
My question is that:
is it possible to sent a value from ant to test class?
My manager mentioned <input> function, but it doesn't help me much.
Can anyone please help me?
Thanks in advance :) 
View this message in context:
Sent from the Ant - Users forum at

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

View raw message