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