m2eclipse doesn&#39;t generate jar dependencies, it generates project-to-project dependencies if the dependent artifact is already a project in the workspace.  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>&gt;</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>
&gt; Does eclipse:eclipse not generate a dependency from the runner to<br>
&gt; tck-impl?  Because m2eclipse does, based on the pom, and then I have a<br>
&gt; 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.  But I usually modify the Java build path directly in<br>
Eclipse even with m2eclipse.  This usually works fine until a change in<br>
the POM conflicts with your manual change...but that&#39;s not all that<br>
likely today.<br>
<div><div></div><div class="h5"><br>
<br>
&gt; I can modify the runner&#39;s pom to not have that dependency, which makes<br>
&gt; eclipse happy, but keeps one from running tests with mvn out of the<br>
&gt; runner&#39;s directory on the command line.<br>
&gt;<br>
&gt; -Clint<br>
&gt;<br>
&gt;<br>
&gt; On Mon, Jun 1, 2009 at 12:08 PM, David Allen &lt;<a href="mailto:drallendc@gmail.com">drallendc@gmail.com</a>&gt;<br>
&gt; wrote:<br>
&gt;         On Mon, 2009-06-01 at 12:00 -0500, Clint Popetz wrote:<br>
&gt;         &gt; Hi,<br>
&gt;         &gt;<br>
&gt;         &gt; I&#39;ve tried running the tck from within eclipse by following<br>
&gt;         the<br>
&gt;         &gt; instructions here:<br>
&gt;         &gt;<br>
&gt;         &gt; <a href="http://seamframework.org/WebBeans/JSR299TCKHarness" target="_blank">http://seamframework.org/WebBeans/JSR299TCKHarness</a><br>
&gt;         &gt;<br>
&gt;         &gt; but I&#39;m having no luck; it can&#39;t find an implementation of<br>
&gt;         &gt; StandaloneContainers, although I&#39;ve manually added the<br>
&gt;         runner to the<br>
&gt;         &gt; tck-impl project&#39;s dependencies.<br>
&gt;         &gt;<br>
&gt;         &gt; Before I dive deeper, are those directions up to date?<br>
&gt;<br>
&gt;<br>
&gt;         I think they are up to date, but we can certainly improve them<br>
&gt;         too.  It<br>
&gt;         varies a bit depending on what tools are actually used.<br>
&gt;<br>
&gt;         &gt;  Is anyone running the tck from within eclipse?  If so, are<br>
&gt;         you<br>
&gt;         &gt; generating projects with eclipse:eclipse or with m2eclipse?<br>
&gt;<br>
&gt;<br>
&gt;         Most of us are currently using eclipse:eclipse right now.  But<br>
&gt;         here are<br>
&gt;         a couple things I usually do to get any TCK test (not an<br>
&gt;         in-container<br>
&gt;         only test) running:<br>
&gt;<br>
&gt;         1.  Modify the build path of the jboss-tck-runner project so<br>
&gt;         that all of<br>
&gt;         its dependent projects/libraries are exported (select all).<br>
&gt;<br>
&gt;         2.  Choose &quot;Run as TNG test&quot; to get most of the runner setup<br>
&gt;         correctly,<br>
&gt;         but the tests will fail to run at first.<br>
&gt;<br>
&gt;         3.  Modify the runner by going to the Classpath tab and press<br>
&gt;         &quot;Add<br>
&gt;         projects&quot; button and add the jboss-tck-runner project.  With 1<br>
&gt;         above,<br>
&gt;         this should include everything else that is needed too<br>
&gt;         automatically.<br>
&gt;<br>
&gt;         4.  Run it again...this time it should work.<br>
&gt;<br>
&gt;         &gt;<br>
&gt;         &gt; Thanks,<br>
&gt;         &gt; -Clint<br>
&gt;         &gt;<br>
&gt;         &gt;<br>
&gt;         &gt;<br>
&gt;         &gt; --<br>
&gt;         &gt; Clint Popetz<br>
&gt;         &gt; <a href="http://42lines.net" target="_blank">http://42lines.net</a><br>
&gt;         &gt; Scalable Web Application Development<br>
&gt;<br>
&gt;<br>
&gt;         &gt; _______________________________________________<br>
&gt;         &gt; webbeans-dev mailing list<br>
&gt;         &gt; <a href="mailto:webbeans-dev@lists.jboss.org">webbeans-dev@lists.jboss.org</a><br>
&gt;         &gt; <a href="https://lists.jboss.org/mailman/listinfo/webbeans-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/webbeans-dev</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Clint Popetz<br>
&gt; <a href="http://42lines.net" target="_blank">http://42lines.net</a><br>
&gt; 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>