I'm not even able to run the tck from the command line. I hang at:<br><br><tt> [helpers.AbstractContainerConnector] Starting server<br><br></tt>I can launch jboss5 with run.sh, so I know jboss is ok, and I've deployed webbeans examples to it before.<br>
<br> /tmp/jsr-299-tck/jboss.log is empty. Suggestions for where else to look?<br><br>-Clint<br>
<br><div class="gmail_quote">On Mon, Jun 1, 2009 at 3:08 PM, David Allen <span dir="ltr"><<a href="mailto:drallendc@gmail.com" target="_blank">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;">
Integration tests require one more folder to be on the classpath for the<br>
test runner. This folder can be added using the Advanced... button.<br>
<br>
jboss-tck-runner/src/test/debug-resources<br>
<br>
Other than that, you'll need to copy the jboss-as/build.properties file<br>
to jboss-as/local.build.properties and edit the appropriate entries to<br>
match your environment (you can delete those properties which you want<br>
to come from the svn copy in build.properties).<br>
<div><div></div><div><br>
<br>
On Mon, 2009-06-01 at 14:11 -0500, Clint Popetz wrote:<br>
><br>
><br>
> On Mon, Jun 1, 2009 at 1:15 PM, David Allen <<a href="mailto:drallendc@gmail.com" target="_blank">drallendc@gmail.com</a>><br>
> wrote:<br>
> On Mon, 2009-06-01 at 13:07 -0500, Clint Popetz wrote:<br>
> > I've added the direct path to the .m2/repository runner jar<br>
> in the<br>
> > tck-impl libraries path in eclipse, which resolves the<br>
> circularity<br>
> > issue without modifying a file that svn knows. However, I'm<br>
> still not<br>
> > able to run. Closer, though :)<br>
><br>
><br>
> OK, as long as everything builds, the test runner is a little<br>
> easier to<br>
> deal with since you can control exactly what is on the<br>
> classpath.<br>
><br>
> In this case, the jboss-tck-runner project itself must be on<br>
> the<br>
> classpath, and each of the JARs and other projects it depends<br>
> on should<br>
> also be on the test runner classpath (except for tck-impl<br>
> since that is<br>
> already the project for the test). That should be enough to<br>
> run<br>
> it...that's all I have on mine.<br>
><br>
><br>
><br>
> Yay, I was able to get standalone tck tests running in eclipse by<br>
> adding the following manually to the tck-impl project in eclipse:<br>
><br>
> tck-runner and porting package as straight jar references to<br>
> the .m2 repo<br>
> webbeans-core and webbeans-core-test as project references<br>
><br>
> Now to try integration tests.<br>
><br>
> -Clint<br>
><br>
><br>
> ><br>
> > -Clint<br>
> ><br>
> > On Mon, Jun 1, 2009 at 1:03 PM, David Allen<br>
> <<a href="mailto:drallendc@gmail.com" target="_blank">drallendc@gmail.com</a>><br>
> > wrote:<br>
> > On Mon, 2009-06-01 at 12:53 -0500, Clint Popetz<br>
> wrote:<br>
> > > Ahh, but under m2eclipse (at least under the<br>
> version I'm<br>
> > running,<br>
> > > 0.9.8.200905041414), the project dependency isn't<br>
> under the<br>
> > project<br>
> > > tab. It's under Libraries -> Maven Dependencies,<br>
> and it's<br>
> > not<br>
> > > editable. So AFAICT the only way to eliminate the<br>
> runner -><br>
> > tck-impl<br>
> > > dependency is to keep a local edit to the pom.<br>
> ><br>
> ><br>
> > Oh, sorry to hear that. Somehow it was editable a<br>
> few months<br>
> > back. I<br>
> > quit using it due to a bug, so it's been a while<br>
> now.<br>
> ><br>
> > Hmm, ok, you could do the following, albeit not very<br>
> elegant.<br>
> ><br>
> > 1. Copy the original POM to some new file name of<br>
> your<br>
> > choice.<br>
> > 2. Edit pom.xml and remove the tck-impl dependency<br>
> and use<br>
> > Eclipse.<br>
> > 3. Use the POM saved in (1) with the command line<br>
> "mvn -f<br>
> > <my-saved-pom>.xml" when you want to run all the<br>
> tests.<br>
> > 4. And never check-in the edited POM in (2). :)<br>
> ><br>
> ><br>
> > ><br>
> > > -Clint<br>
> > ><br>
> > > On Mon, Jun 1, 2009 at 12:50 PM, David Allen<br>
> > <<a href="mailto:drallendc@gmail.com" target="_blank">drallendc@gmail.com</a>><br>
> > > wrote:<br>
> > > If it helps, I do have IM too. :)<br>
> > ><br>
> > > But basically:<br>
> > ><br>
> > > 1. Keep m2eclipse.<br>
> > > 2. Don't modify any POM.<br>
> > > 3. Modify the Java Build Path for<br>
> jboss-tck-runner<br>
> > -- delete<br>
> > > the<br>
> > > tck-impl from the Projects tab.<br>
> > ><br>
> > ><br>
> > > On Mon, 2009-06-01 at 12:38 -0500, Clint<br>
> Popetz<br>
> > wrote:<br>
> > ><br>
> > ><br>
> > > > m2eclipse doesn't generate jar<br>
> dependencies, it<br>
> > generates<br>
> > > > project-to-project dependencies if the<br>
> dependent<br>
> > artifact is<br>
> > > already a<br>
> > > > project in the workspace. So it<br>
> generates a<br>
> > > project-to-project<br>
> > > > dependency between the runner and<br>
> tck-impl in both<br>
> > > directions, and<br>
> > > > eclipse refuses to build either.<br>
> > > ><br>
> > > > -Clint<br>
> > > ><br>
> > > > On Mon, Jun 1, 2009 at 12:34 PM, David<br>
> Allen<br>
> > > <<a href="mailto:drallendc@gmail.com" target="_blank">drallendc@gmail.com</a>><br>
> > > > wrote:<br>
> > > > On Mon, 2009-06-01 at 12:16<br>
> -0500, Clint<br>
> > Popetz<br>
> > > wrote:<br>
> > > > > Does eclipse:eclipse not<br>
> generate a<br>
> > dependency<br>
> > > from the<br>
> > > > runner to<br>
> > > > > tck-impl? Because m2eclipse<br>
> does, based<br>
> > on the<br>
> > > pom, and<br>
> > > > then I have a<br>
> > > > > circular dependency in<br>
> eclipse.<br>
> > > ><br>
> > > ><br>
> > > > Yes it does generate that<br>
> dependency, but<br>
> > the JAR<br>
> > > dep is later<br>
> > > > after the<br>
> > > > project itself (My test runners<br>
> are always<br>
> > based in<br>
> > > the<br>
> > > > tck-impl<br>
> > > > project).<br>
> > > ><br>
> > > > Yeah, I vaguely remember having<br>
> problems<br>
> > with the<br>
> > > automatic<br>
> > > > setup from<br>
> > > > m2eclipse too. But I usually<br>
> modify the<br>
> > Java build<br>
> > > path<br>
> > > > directly in<br>
> > > > Eclipse even with m2eclipse.<br>
> This usually<br>
> > works<br>
> > > fine until a<br>
> > > > change in<br>
> > > > the POM conflicts with your<br>
> manual<br>
> > change...but<br>
> > > that's not all<br>
> > > > that<br>
> > > > likely today.<br>
> > > ><br>
> > > ><br>
> > > ><br>
> > > > > I can modify the runner's pom<br>
> to not<br>
> > have that<br>
> > > dependency,<br>
> > > > which makes<br>
> > > > > eclipse happy, but keeps one<br>
> from<br>
> > running tests<br>
> > > with mvn out<br>
> > > > of the<br>
> > > > > runner's directory on the<br>
> command line.<br>
> > > > ><br>
> > > > > -Clint<br>
> > > > ><br>
> > > > ><br>
> > > > > On Mon, Jun 1, 2009 at 12:08<br>
> PM, David<br>
> > Allen<br>
> > > > <<a href="mailto:drallendc@gmail.com" target="_blank">drallendc@gmail.com</a>><br>
> > > > > wrote:<br>
> > > > > On Mon, 2009-06-01 at<br>
> 12:00<br>
> > -0500, Clint<br>
> > > Popetz<br>
> > > > wrote:<br>
> > > > > > Hi,<br>
> > > > > ><br>
> > > > > > I've tried running<br>
> the tck<br>
> > from within<br>
> > > eclipse by<br>
> > > > following<br>
> > > > > the<br>
> > > > > > instructions here:<br>
> > > > > ><br>
> > > > > ><br>
> > ><br>
> <a href="http://seamframework.org/WebBeans/JSR299TCKHarness" target="_blank">http://seamframework.org/WebBeans/JSR299TCKHarness</a><br>
> > > > > ><br>
> > > > > > but I'm having no<br>
> luck; it<br>
> > can't find an<br>
> > > > implementation of<br>
> > > > > ><br>
> StandaloneContainers, although<br>
> > I've<br>
> > > manually added<br>
> > > > the<br>
> > > > > runner to the<br>
> > > > > > tck-impl project's<br>
> > dependencies.<br>
> > > > > ><br>
> > > > > > Before I dive<br>
> deeper, are<br>
> > those<br>
> > > directions up to<br>
> > > > date?<br>
> > > > ><br>
> > > > ><br>
> > > > > I think they are up to<br>
> date, but<br>
> > we can<br>
> > > certainly<br>
> > > > improve them<br>
> > > > > too. It<br>
> > > > > varies a bit depending<br>
> on what<br>
> > tools are<br>
> > > actually<br>
> > > > used.<br>
> > > > ><br>
> > > > > > Is anyone running<br>
> the tck<br>
> > from within<br>
> > > eclipse?<br>
> > > > If so, are<br>
> > > > > you<br>
> > > > > > generating projects<br>
> with<br>
> > eclipse:eclipse<br>
> > > or with<br>
> > > > m2eclipse?<br>
> > > > ><br>
> > > > ><br>
> > > > > Most of us are<br>
> currently using<br>
> > > eclipse:eclipse right<br>
> > > > now. But<br>
> > > > > here are<br>
> > > > > a couple things I<br>
> usually do to<br>
> > get any<br>
> > > TCK test<br>
> > > > (not an<br>
> > > > > in-container<br>
> > > > > only test) running:<br>
> > > > ><br>
> > > > > 1. Modify the build<br>
> path of the<br>
> > > jboss-tck-runner<br>
> > > > project so<br>
> > > > > that all of<br>
> > > > > its dependent<br>
> projects/libraries<br>
> > are<br>
> > > exported<br>
> > > > (select all).<br>
> > > > ><br>
> > > > > 2. Choose "Run as TNG<br>
> test" to<br>
> > get most<br>
> > > of the<br>
> > > > runner setup<br>
> > > > > correctly,<br>
> > > > > but the tests will<br>
> fail to run<br>
> > at first.<br>
> > > > ><br>
> > > > > 3. Modify the runner<br>
> by going<br>
> > to the<br>
> > > Classpath tab<br>
> > > > and press<br>
> > > > > "Add<br>
> > > > > projects" button and<br>
> add the<br>
> > > jboss-tck-runner<br>
> > > > project. With 1<br>
> > > > > above,<br>
> > > > > this should include<br>
> everything<br>
> > else that<br>
> > > is needed<br>
> > > > too<br>
> > > > > automatically.<br>
> > > > ><br>
> > > > > 4. Run it<br>
> again...this time it<br>
> > should<br>
> > > work.<br>
> > > > ><br>
> > > > > ><br>
> > > > > > Thanks,<br>
> > > > > > -Clint<br>
> > > > > ><br>
> > > > > ><br>
> > > > > ><br>
> > > > > > --<br>
> > > > > > Clint Popetz<br>
> > > > > > <a href="http://42lines.net" target="_blank">http://42lines.net</a><br>
> > > > > > Scalable Web<br>
> Application<br>
> > Development<br>
> > > > ><br>
> > > > ><br>
> > > > > ><br>
> > ><br>
> _______________________________________________<br>
> > > > > > webbeans-dev mailing<br>
> list<br>
> > > > > ><br>
> <a href="mailto:webbeans-dev@lists.jboss.org" target="_blank">webbeans-dev@lists.jboss.org</a><br>
> > > > > ><br>
> > > ><br>
> > ><br>
> ><br>
> <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<br>
> Development<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>
> > ><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>
> ><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>
><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>
> webbeans-dev mailing list<br>
> <a href="mailto:webbeans-dev@lists.jboss.org" target="_blank">webbeans-dev@lists.jboss.org</a><br>
> <a href="https://lists.jboss.org/mailman/listinfo/webbeans-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/webbeans-dev</a><br>
<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Clint Popetz<br><a href="http://42lines.net" target="_blank">http://42lines.net</a><br>Scalable Web Application Development<br>