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 Wed, 11 Dec 2002 19:57:41 GMT
can't fork the VM with style.  i've looked through the mail archive, and
went through the FAQ on using the JUnit and style task w/o having
optional.jar in ANT_HOME.  i've had junit working fine for monthes this way,
and now i'd like to add style for checkstyle.  after going through the docs
again, i remembered that i have to taskdef the style task, but it's not
quite there.  i think i'm closer, but there's something not quite right
about it.  here's my target now:

    <taskdef name="style"
     classpath="${ant-optional.path};${xalan.path}" />
    <echo message="convert xml report to html." />
    <style in="${project.doc.checkstyle}/checkstyle.xml"
        <pathelement location="${ant-optional.path}" />
        <pathelement location="${xalan.path}" />

the error i get now is:

if i specify TraxLiason as the taskdef classname, i get an error as well.
any help is greatly appreciated!


-----Original Message-----
From: Jacob Kjome []
Sent: Wednesday, December 11, 2002 1:46 PM
To: Ant Users List
Subject: Re: style task InvocationTargetException

Hello Ryan,

You might need to fork the VM.  Is there an option for forking in the
<style> task?  If so, use it and see what happens.


Wednesday, December 11, 2002, 1:33:04 PM, you wrote:

SR> does anyone know what this error message means?
SR> using ant 1.5.1 w/ xalan2.4.1

SR> [style] C:/brown_dev/srcroot/bcs/doc/checkstyle/checkstyle.xsl:272:65:
SR> Warning! java.lang.reflect.InvocationTargetException Cause:
SR> java.lang.reflect.InvocationTargetException

SR> Ryan

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

Best regards,

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

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

View raw message