title: Use Ant to only run specific JUnit tests
body: <p>We currently have a project set up and have 4 teams working on different parts of it.  I am wanting to have 5 ant targets to run.  One for each team and one additional for production.  But I would like to set an enum in my tests to determine which tests are run.</p>
  
  <p>For example, if a test has.</p>
  
  <pre><code>runConfiguration = RunConfigurations.PRODUCTION;
  </code></pre>
  
  <p>Then I would run it to only run for that specific ant target.
  And other tests would run if I did:</p>
  
  <pre><code>runConfiguration = RunConfigurations.TEAM1;
  </code></pre>
  
  <p>etc.</p>
  
  <p>Is it possible in ant to create a batchtest to only run test with a specific enum value like this?  Or is there perhaps another method to accomplish the same purpose?</p>