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