
You can use filters to replace tokens in a configuration file with their proper values for the deployment environment (see Listing 20.6). Filters are another way to support multiple deployment environments. Let's look at a case where you have both a production database and a development database. When deploying, you want the production value (jdbc_url in Listing 20.6) to refer to the correct database.
<project name="hello" default="run">Listing 20.6
Describe what you're looking for in as much detail as you'd like.
Our AI reads your request and finds the best matching books for you.
Popular searches:
Join 2 million readers and get unlimited free ebooks