Scott--

Hm. That is a little weird... There isn't a way to exclude a source path from the <build-pageflows> task today, so we need to come up with another (temporary) option.

Try this...add a separate project next to the petstoreWeb called petstoreWeb-test. This could be laid out as:

petstoreWeb-test/
  lib/
  src/
  build.xml

and provide targets for building and running the tests in the Ant file.

This will make a clean patch that I can checkin; I'm planning on reorganizing the petstore to have a project layout like:

petstoreWeb/
  src/
  web/
  tests/

and so on. The webapp will build into an exploded location and be deployed from there. This would avoid the build problems you're seeing as well.

  How's that sound?

Eddie



Scott Semyan wrote:
I am ready to check in my HTTPUnit tests for JPetStore, but I have a
question. Where should I put the tests so they don't get built by the
general build task? They depend on the HTTPUnit jars which I believe
should be optional (unless we can distribute them with JPetStore). I had
put the tests in WEB-INF/unit_tests but that is getting picked up by the
build-pageflows task. Any way to add an 'excludes' to this task?
Scott Semyan






Reply via email to