ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nico Seessle" <>
Subject Re: [PATCH] New <case> task
Date Thu, 12 Oct 2000 19:53:33 GMT
----- Original Message -----
From: "Scotte Zinn" <>
To: <>
Sent: Thursday, October 12, 2000 12:21 PM
Subject: RE: [PATCH] New <case> task

> The example you gave doesn't seem, to me, to be a real-world example.

I used this example because Jose Alberto wrote on 11. Oct. 2000:

"In my case, the project we are building using ANT is designed to work in
multiple RDBMSs. We have defined a properties file that different developers
modify to configure for the particular DB they have installed.
The ANT buildfile is use for the deployment of the test environment. There
is a property on that file that defines what kind of DB is been used,
"oracle", "mssql", etc. Based on the value, I would like to make decisions
on some parts of the deployment that are special for different RDBMSs."

And I guess one could do it with the script I posted, right?

The way you describe would work too, but not if the property is read at
run-time using <property file="..."/> I guess.


View raw message