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"
     classname="com.puppycrawl.tools.checkstyle.CheckStyleTask" 
     classpath="${checkstyle.path}" />

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

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

-----Original Message-----
From: Conor MacNeill [mailto:[EMAIL PROTECTED]]
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.

Conor



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

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

Reply via email to