DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=31415>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=31415


[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         OS/Version|                            |All




------- Additional Comments From [EMAIL PROTECTED]  2005-03-20 19:48 -------
This is not true...
Using ant-1.6.2 JDK1.5 and putting junit + ant-junit.jar outside of 
ANT_HOME/lib 
I get the same error as described above. (Windows XP SP 2, x86, JDK1.5, Ant 
1.6.2)
My Task is as follows:

<path id="junitreport.path">
  <path refid="libpath" />
  <!-- this includes everything in ANT_HOME/lib -->
  <fileset dir="${ant.home}/lib" id="report.ant.fileset">
    <include name="*.jar" />
  </fileset>
</path>
<taskdef name="junitrepor classpathref="junitreport.path"
  classname="org.apache.tools.ant.taskdefs.optional.junit.XMLResultAggregator" 
        
  onerror="fail" />

<junitreport todir="${test.reports}">
  <fileset dir="${test.reports}">
    <include name="TEST-*.xml" />
  </fileset>
  <report format="frames" todir="${test.reports}/html" />
</junitreport>

Using the above mentioned workaround the task works perfectly.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to