Hi Jon,

I haven't tested this myself, but what happens if you remove the
unitTestSourceDirectory tag altogether? Currently the documentation isn't
so great on what's optional or not.

I'll fix it later today hopefully.
--
dIon Gillard, Multitask Consulting
Work:      http://www.multitask.com.au
Developers: http://adslgateway.multitask.com.au/developers


                                                                                       
                           
                    Jon Scott                                                          
                           
                    Stevens              To:     
<[EMAIL PROTECTED]>                           
                    <jon@latchkey.       cc:                                           
                           
                    com>                 Subject:     Problem                          
                           
                                                                                       
                           
                    04/30/02 01:00                                                     
                           
                    PM                                                                 
                           
                    Please respond                                                     
                           
                    to                                                                 
                           
                    turbine-maven-                                                     
                           
                    dev                                                                
                           
                                                                                       
                           
                                                                                       
                           




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