M_x_r
M_x_r

Reputation: 604

Ant build for a project with tests

I have a project that I need to submit with a Ant build file. The project has two folders: one for the src and one for tests. Would I be correct in assuming that I need to write two different build.xml files? One for the tests and a separate one for the source code. Or is it standard practice to have just one build file? I have never used Ant before ( as you may have guessed :))

Thanks in advance

Upvotes: 0

Views: 37

Answers (1)

gareth_bowles
gareth_bowles

Reputation: 21140

You should use a single Ant build file with separate targets for build and test. This example is nicely documented and should help you out.

Upvotes: 1

Related Questions