Mevitha wrote:
Hi,

I am using WSAD 5.1 to run an ant script to run junit test cases.
Everything is fine except when the junit report starts, I am getting the
below error.

unitTestReport:

[mkdir] Created dir: D:\TempTesting\TestReports

[junitreport] Using Xalan version: XSLT4J Java 2.6.5

This can happen if you have really big reports, or, you are using a memory hungry XSL engine, such as the xsltc one shipped in the JVM.

try these (in order)

1. drop a recent copy of xalan into ANT_HOME/lib, even if you have java5+, with its own built in XSL engine
2. ask for even more memory


BUILD FAILED: java.lang.StackOverflowError

Total time: 4 minutes 21 seconds

It is working fine on another machine. But not in mine.
I have tried giving ANT_OPTS=-Xmx500M

Please let me know how to resolve this.

Thanks in advance.

Mevitha




--
Steve Loughran                  http://www.1060.org/blogxter/publish/5
Author: Ant in Action           http://antbook.org/

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

Reply via email to