dev@glassfish.java.net

Re: How do I run a single QL test?

From: Ming Zhang <Ming.Zhang_at_Sun.COM>
Date: Wed, 07 Oct 2009 15:50:43 -0700

Hi Ken,

This is documented in quicklook/QuickLook_Test_Instructions.html:

6. To Run Individual Test Suite from Directory Level:

After the first run with maven from top level, the dependency jars will
be downloaded to local maven repository. Now it's possible to run
individual test suite from directory level. Change directory to the test
directory. For example, to run quicklook/ejb/slsbnicmt test suite
against glassfish bundle:

          o {V3 Installation Dir}/bin/asadmin start-domain
          o {V3 Installation Dir}/bin/asadmin start-database
          o cd ejb/slsbnicmt
          o ant -Dglassfish.home={V3 Installation Dir} all

Ming

Ken Cavanaugh wrote:
> I need to attach a debugger to the V3 app server. I think I can do that
> by asadmin start-domain --debug and then attach the debugger to 9009.
> But how do I run a single test (say ejb/remoteview) so I can debug the
> server side? I don't want to run all of the QLs, or have the QLs launch
> an instance of GFv3 to which I can't attach a debugger.
>
> Thanks,
>
> Ken.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>