[webbeans-dev] Help running tck in eclipse?

Clint Popetz cpopetz at gmail.com
Mon Jun 1 13:16:09 EDT 2009


 Does eclipse:eclipse not generate a dependency from the runner to
tck-impl?  Because m2eclipse does, based on the pom, and then I have a
circular dependency in eclipse.  I can modify the runner's pom to not have
that dependency, which makes eclipse happy, but keeps one from running tests
with mvn out of the runner's directory on the command line.

-Clint


On Mon, Jun 1, 2009 at 12:08 PM, David Allen <drallendc at gmail.com> wrote:

> On Mon, 2009-06-01 at 12:00 -0500, Clint Popetz wrote:
> > Hi,
> >
> > I've tried running the tck from within eclipse by following the
> > instructions here:
> >
> > http://seamframework.org/WebBeans/JSR299TCKHarness
> >
> > but I'm having no luck; it can't find an implementation of
> > StandaloneContainers, although I've manually added the runner to the
> > tck-impl project's dependencies.
> >
> > Before I dive deeper, are those directions up to date?
>
> I think they are up to date, but we can certainly improve them too.  It
> varies a bit depending on what tools are actually used.
>
> >  Is anyone running the tck from within eclipse?  If so, are you
> > generating projects with eclipse:eclipse or with m2eclipse?
>
> Most of us are currently using eclipse:eclipse right now.  But here are
> a couple things I usually do to get any TCK test (not an in-container
> only test) running:
>
> 1.  Modify the build path of the jboss-tck-runner project so that all of
> its dependent projects/libraries are exported (select all).
>
> 2.  Choose "Run as TNG test" to get most of the runner setup correctly,
> but the tests will fail to run at first.
>
> 3.  Modify the runner by going to the Classpath tab and press "Add
> projects" button and add the jboss-tck-runner project.  With 1 above,
> this should include everything else that is needed too automatically.
>
> 4.  Run it again...this time it should work.
>
> >
> > Thanks,
> > -Clint
> >
> >
> >
> > --
> > Clint Popetz
> > http://42lines.net
> > Scalable Web Application Development
> > _______________________________________________
> > webbeans-dev mailing list
> > webbeans-dev at lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/webbeans-dev
>
>


-- 
Clint Popetz
http://42lines.net
Scalable Web Application Development
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/weld-dev/attachments/20090601/d7a31e9e/attachment.html 


More information about the weld-dev mailing list