<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hmm, so I guess this trick doesn't work with m2eclipse, unless you replace the generated dependencies. It's a race to find a solution...<div><div><br><div><div>On 1 Jun 2009, at 18:38, Clint Popetz wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">m2eclipse doesn't generate jar dependencies, it generates project-to-project dependencies if the dependent artifact is already a project in the workspace.&nbsp; So it generates a project-to-project dependency between the runner and tck-impl in both directions, and eclipse refuses to build either.<br> <br>-Clint<br><br><div class="gmail_quote">On Mon, Jun 1, 2009 at 12:34 PM, David Allen <span dir="ltr">&lt;<a href="mailto:drallendc@gmail.com">drallendc@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> <div class="im">On Mon, 2009-06-01 at 12:16 -0500, Clint Popetz wrote:<br> > Does eclipse:eclipse not generate a dependency from the runner to<br> > tck-impl? &nbsp;Because m2eclipse does, based on the pom, and then I have a<br> > circular dependency in eclipse.<br> <br> </div>Yes it does generate that dependency, but the JAR dep is later after the<br> project itself (My test runners are always based in the tck-impl<br> project).<br> <br> Yeah, I vaguely remember having problems with the automatic setup from<br> m2eclipse too. &nbsp;But I usually modify the Java build path directly in<br> Eclipse even with m2eclipse. &nbsp;This usually works fine until a change in<br> the POM conflicts with your manual change...but that's not all that<br> likely today.<br> <div><div></div><div class="h5"><br> <br> > I can modify the runner's pom to not have that dependency, which makes<br> > eclipse happy, but keeps one from running tests with mvn out of the<br> > runner's directory on the command line.<br> ><br> > -Clint<br> ><br> ><br> > On Mon, Jun 1, 2009 at 12:08 PM, David Allen &lt;<a href="mailto:drallendc@gmail.com">drallendc@gmail.com</a>><br> > wrote:<br> > &nbsp; &nbsp; &nbsp; &nbsp; On Mon, 2009-06-01 at 12:00 -0500, Clint Popetz wrote:<br> > &nbsp; &nbsp; &nbsp; &nbsp; > Hi,<br> > &nbsp; &nbsp; &nbsp; &nbsp; ><br> > &nbsp; &nbsp; &nbsp; &nbsp; > I've tried running the tck from within eclipse by following<br> > &nbsp; &nbsp; &nbsp; &nbsp; the<br> > &nbsp; &nbsp; &nbsp; &nbsp; > instructions here:<br> > &nbsp; &nbsp; &nbsp; &nbsp; ><br> > &nbsp; &nbsp; &nbsp; &nbsp; > <a href="http://seamframework.org/WebBeans/JSR299TCKHarness" target="_blank">http://seamframework.org/WebBeans/JSR299TCKHarness</a><br> > &nbsp; &nbsp; &nbsp; &nbsp; ><br> > &nbsp; &nbsp; &nbsp; &nbsp; > but I'm having no luck; it can't find an implementation of<br> > &nbsp; &nbsp; &nbsp; &nbsp; > StandaloneContainers, although I've manually added the<br> > &nbsp; &nbsp; &nbsp; &nbsp; runner to the<br> > &nbsp; &nbsp; &nbsp; &nbsp; > tck-impl project's dependencies.<br> > &nbsp; &nbsp; &nbsp; &nbsp; ><br> > &nbsp; &nbsp; &nbsp; &nbsp; > Before I dive deeper, are those directions up to date?<br> ><br> ><br> > &nbsp; &nbsp; &nbsp; &nbsp; I think they are up to date, but we can certainly improve them<br> > &nbsp; &nbsp; &nbsp; &nbsp; too. &nbsp;It<br> > &nbsp; &nbsp; &nbsp; &nbsp; varies a bit depending on what tools are actually used.<br> ><br> > &nbsp; &nbsp; &nbsp; &nbsp; > &nbsp;Is anyone running the tck from within eclipse? &nbsp;If so, are<br> > &nbsp; &nbsp; &nbsp; &nbsp; you<br> > &nbsp; &nbsp; &nbsp; &nbsp; > generating projects with eclipse:eclipse or with m2eclipse?<br> ><br> ><br> > &nbsp; &nbsp; &nbsp; &nbsp; Most of us are currently using eclipse:eclipse right now. &nbsp;But<br> > &nbsp; &nbsp; &nbsp; &nbsp; here are<br> > &nbsp; &nbsp; &nbsp; &nbsp; a couple things I usually do to get any TCK test (not an<br> > &nbsp; &nbsp; &nbsp; &nbsp; in-container<br> > &nbsp; &nbsp; &nbsp; &nbsp; only test) running:<br> ><br> > &nbsp; &nbsp; &nbsp; &nbsp; 1. &nbsp;Modify the build path of the jboss-tck-runner project so<br> > &nbsp; &nbsp; &nbsp; &nbsp; that all of<br> > &nbsp; &nbsp; &nbsp; &nbsp; its dependent projects/libraries are exported (select all).<br> ><br> > &nbsp; &nbsp; &nbsp; &nbsp; 2. &nbsp;Choose "Run as TNG test" to get most of the runner setup<br> > &nbsp; &nbsp; &nbsp; &nbsp; correctly,<br> > &nbsp; &nbsp; &nbsp; &nbsp; but the tests will fail to run at first.<br> ><br> > &nbsp; &nbsp; &nbsp; &nbsp; 3. &nbsp;Modify the runner by going to the Classpath tab and press<br> > &nbsp; &nbsp; &nbsp; &nbsp; "Add<br> > &nbsp; &nbsp; &nbsp; &nbsp; projects" button and add the jboss-tck-runner project. &nbsp;With 1<br> > &nbsp; &nbsp; &nbsp; &nbsp; above,<br> > &nbsp; &nbsp; &nbsp; &nbsp; this should include everything else that is needed too<br> > &nbsp; &nbsp; &nbsp; &nbsp; automatically.<br> ><br> > &nbsp; &nbsp; &nbsp; &nbsp; 4. &nbsp;Run it again...this time it should work.<br> ><br> > &nbsp; &nbsp; &nbsp; &nbsp; ><br> > &nbsp; &nbsp; &nbsp; &nbsp; > Thanks,<br> > &nbsp; &nbsp; &nbsp; &nbsp; > -Clint<br> > &nbsp; &nbsp; &nbsp; &nbsp; ><br> > &nbsp; &nbsp; &nbsp; &nbsp; ><br> > &nbsp; &nbsp; &nbsp; &nbsp; ><br> > &nbsp; &nbsp; &nbsp; &nbsp; > --<br> > &nbsp; &nbsp; &nbsp; &nbsp; > Clint Popetz<br> > &nbsp; &nbsp; &nbsp; &nbsp; > <a href="http://42lines.net" target="_blank">http://42lines.net</a><br> > &nbsp; &nbsp; &nbsp; &nbsp; > Scalable Web Application Development<br> ><br> ><br> > &nbsp; &nbsp; &nbsp; &nbsp; > _______________________________________________<br> > &nbsp; &nbsp; &nbsp; &nbsp; > webbeans-dev mailing list<br> > &nbsp; &nbsp; &nbsp; &nbsp; > <a href="mailto:webbeans-dev@lists.jboss.org">webbeans-dev@lists.jboss.org</a><br> > &nbsp; &nbsp; &nbsp; &nbsp; > <a href="https://lists.jboss.org/mailman/listinfo/webbeans-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/webbeans-dev</a><br> ><br> ><br> ><br> ><br> ><br> > --<br> > Clint Popetz<br> > <a href="http://42lines.net" target="_blank">http://42lines.net</a><br> > Scalable Web Application Development<br> <br> </div></div></blockquote></div><br><br clear="all"><br>-- <br>Clint Popetz<br><a href="http://42lines.net">http://42lines.net</a><br>Scalable Web Application Development<br> _______________________________________________<br>webbeans-dev mailing list<br><a href="mailto:webbeans-dev@lists.jboss.org">webbeans-dev@lists.jboss.org</a><br>https://lists.jboss.org/mailman/listinfo/webbeans-dev<br></blockquote></div><br></div></div></body></html>