Ok, follow along closely:

I have this as my <build>:

  <build>
    <sourceDirectories>
      <sourceDirectory>src/java</sourceDirectory>
    </sourceDirectories>
    <unitTestSourceDirectory>src/test</unitTestSourceDirectory>
    <aspectSourceDirectories></aspectSourceDirectories>
    <unitTestPatterns>
      <unitTestPattern>include = **/*Test*.java</unitTestPattern>
    </unitTestPatterns>
    <jarResources></jarResources>
    <jars></jars>
  </build>

Now, I don't have a src/test directory because I don't have any tests, but I
do have a src/java directory.

When I type 'ant', things 'seem' to work fine, except no source code is
compiled.

I tried deleting all the stuff in the <build> relating to the testing stuff
and things still didn't work.

The only way I could get things to work was to create an empty src/test
directory.

Please fix this up. I shouldn't be a requirement to have that
directory...especially if someone doesn't define the test related stuff in
the <build>.

Thx.

-jon

-- 
Nixon: "At least with liquor, I don't lose motivation."


Reply via email to