ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sonnek, Ryan" <>
Subject RE: style task InvocationTargetException
Date Mon, 16 Dec 2002 21:01:38 GMT
this has been incredibly tough to track down, but i think part of the
problem lies in the checkstyle-frames.xsl.  i've been able to now get the
style task to work with the changelog task, but for translating the
checkstyle, i'm still getting an exception.

the error message points to line 272 of the checkstyle-frames.xsl:
<redirect:write file="{$output.dir}/files/{@name}.html">

why would this line be erroring out?  here's my full target.
    <taskdef name="checkstyle"
     classpath="${checkstyle.path}" />

    <checkstyle failOnViolation="false">
      <fileset dir="${project.src}" includes="**/*.java"/>
      <formatter type="xml"
    <echo message="convert xml report to html." />
    <style processor="trax" in="${project.doc.checkstyle}/checkstyle.xml"
style="${ant.home}/etc/checkstyle-frames.xsl" classpath="${xalan.path}" />

do i need to be setting any other properties for the style task?

-----Original Message-----
From: Conor MacNeill []
Sent: Wednesday, December 11, 2002 8:12 PM
To: Ant Users List
Subject: Re: style task InvocationTargetException

Sonnek, Ryan wrote:
> does anyone know what this error message means?
> using ant 1.5.1 w/ xalan2.4.1
> [style] C:/brown_dev/srcroot/bcs/doc/checkstyle/checkstyle.xsl:272:65:
> Warning! java.lang.reflect.InvocationTargetException Cause:
> java.lang.reflect.InvocationTargetException
> Ryan

Have you run with debug to get a stack trace? You may get more info 
about the underlying exception.


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message