I think it should:

  http://ant.apache.org/manual/OptionalTasks/junit.html

The default is to write those files in the basedir (where ant is
started or the top build.xml I guess) and Freeland diverted them to
another directory in the build/out/test tree.

On Wed, Jun 17, 2009 at 5:48 PM, Scott Blum<[email protected]> wrote:
> Will this keep those stupid junit.properties files out of our pristine
> source tree?  That would be awesome if so.
>
> On Wed, Jun 17, 2009 at 11:15 AM, Freeland Abbott <[email protected]>
> wrote:
>>
>> Eric, this trivial patch should ensure that Ant's <junit> crud can't be
>> fouled up by our <parallel> testing.  Can you review, please?
>>
>>
>> Index: common.ant.xml
>> ===================================================================
>> --- common.ant.xml      (revision 5572)
>> +++ common.ant.xml      (working copy)
>> @@ -178,7 +178,8 @@
>>        <mkdir dir="@{test.reports}" />
>>
>>        <echo message="${javac.out} ${javac.junit.out}" />
>> -      <junit dir="@{test.out}" fork="yes" printsummary="yes"
>> failureproperty="junit.failure" >
>> +      <junit dir="@{test.out}" fork="yes" printsummary="yes"
>> +             failureproperty="junit.failure" tempdir="@{test.out}" >
>>          <jvmarg line="${junit.platform.args}" />
>>          <jvmarg line="-Xmx768m" />
>>          <sysproperty key="gwt.args" value="${junit.notheadless.arg}
>> @{test.args}" />
>>
>>
>>
>
>
> >
>



-- 
Eric Z. Ayers - GWT Team - Atlanta, GA USA
http://code.google.com/webtoolkit/

--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/Google-Web-Toolkit-Contributors
-~----------~----~----~----~------~----~------~--~---

Reply via email to