Hey Marc, thanks for the follow up - I have something that's working for right now - I got pulled on a side project. The first thing I intend to do is to just create a new grails project and scaffold a few items. Then I'll install the upgraded plugin to see if there was a problem with my classpath. Since we're using XML I may have an older version in one of our SDL that was ahed of the plugin in the classpath. Should be able to get it straightened out and soon as I get a chance to play with it some :)
Marc Guillemot <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 08/22/2008 03:46 AM Please respond to [EMAIL PROTECTED] To [EMAIL PROTECTED] cc Subject Re: [Webtest] Grails Plug-in Hi David, have you found a solution? It looks like a classpath issue but as I'm not really involved in the WebTest Grails plugin, I can't say more. Cheers, Marc. -- Blog: http://mguillem.wordpress.com [EMAIL PROTECTED] wrote: > > Marc, thanks for taking time to answer: > > Very possible my version is really old - it's 0.4 though - didn't think > there would be that much difference. I tried upgrading the plugin to > 0.5.1 and kept getting problems with xml not being included - very > strange stuff. > [java] Caught: : java.lang.NoClassDefFoundError: > org/xml/sax/ext/Attributes2 > [java] at grails.util.WebTest.prepare(WebTest.groovy:67) > [java] at grails.util.WebTest.runTests(WebTest.groovy:30) > [java] at TestSuite.main(TestSuite.groovy:8) > > i understand that it believes it's missing an xml jar reference - just > not sure if the jar(s) are present and just missing in some reference or > if the jar(s) are truly missing. > > > In the meantime, I've been able to fix the 2 issues by modifying the xml > inside the plugin: > > 1. For the embedded/external - i changed the plugin to make external > default > > 2. I added a maxmemory attribute to the Java task and set the memory > there. Not sure it was picking up the environment variable and don't > believe JVMARGs was getting into the forked process. I believe the > JVMARGs reaction is normal - but I'm concerned about the environment > variable. > > > > *Marc Guillemot <[EMAIL PROTECTED]>* > Sent by: [EMAIL PROTECTED] > > 08/18/2008 03:11 AM > Please respond to > [EMAIL PROTECTED] > > > > To > [EMAIL PROTECTED] > cc > > Subject > Re: [Webtest] Grails Plug-in > > > > > > > > > Hi David, > > is it possible that you use an old version of the Grails WebTest plugin > based on a very old version of WebTest? > > Cheers, > Marc. > -- > Blog: http://mguillem.wordpress.com > > > [EMAIL PROTECTED] wrote: >> >> I'm currently using the WebTest plug-in for Grails and had 2 questions: >> >> 1. I've tried using the JAVA_OPTS to extend the heap size but still run >> out of memory - it doesn't appear to be using the setting I provided via >> -D. What is the proper way to increase the memory used by the plug-in? >> Does it use JAVA_OPTS or ANT_OPTS? >> >> 2. I've used Groovy to generate tests for the Grails project (basically >> modified CRUD app). The number of tests generated on the fly are around >> 300 with approximately 15 steps each. The results are stored in a single >> WebFile - is there configuration setting that I'm missing that allows >> for the Summary and Detail reports to be on separate pages? >> > > _______________________________________________ > WebTest mailing list > [email protected] > http://lists.canoo.com/mailman/listinfo/webtest > _______________________________________________ WebTest mailing list [email protected] http://lists.canoo.com/mailman/listinfo/webtest

