-
1. Re: Running noejb tests w/o JBoss?
gavin.king Dec 26, 2005 7:44 PM (in response to robjellinghaus)It should Just Work. Works fine for me. Try updating your CVS snapshot.
No, JBoss AS is not used by the unit tests. -
2. Re: Running noejb tests w/o JBoss?
robjellinghaus Dec 27, 2005 10:06 PM (in response to robjellinghaus)Looks like it was a stale Ant version -- 1.6.0 apparently doesn't recognize the existence of Java 1.5 :-)
But then I get this:[testng] FAILED: org.jboss.seam.test.PhaseListenerTest.testSeamPhaseListenerNewLongRunning() [testng] java.lang.NullPointerException [testng] at org.jboss.seam.core.Manager.touchConversationStack(Manager.java:118)
That line is:if ( isLongRunningConversation() ) { getCurrentConversationEntry().touch(); // Manager.java:118 NPE }
So why would getCurrentConversationEntry() be null there? And what's bad in my environment? I'm just doing "ant test" in the root jboss-seam directory....
Will dig a bit more.
Cheers,
Rob -
3. Re: Running noejb tests w/o JBoss?
gavin.king Dec 28, 2005 3:24 AM (in response to robjellinghaus)Ignore that failure, I refactored stuff over the last few days and did not yet fix that unit test. It's just a bug in my mock objects.
-
4. Re: Running noejb tests w/o JBoss?
gavin.king Dec 28, 2005 9:57 AM (in response to robjellinghaus)By the way, to run the example test, you need to type:
ant testexample
NOT ant test! -
5. Re: Running noejb tests w/o JBoss?
robjellinghaus Dec 28, 2005 2:02 PM (in response to robjellinghaus)Yes, I know, I was just trying the toplevel tests as a sanity check (to avoid any issues of the multiple build.xml files). examples / noejb / "ant testexample" works great now :-)
I must say it's a pleasure being back on a forum that's got a timely Gavin on it! I was on the Hibernate forums in early 2004 and got a bunch of great responses from you. But then the newbies arrived in force. Here's hoping SEAM doesn't get that popular in the next two months :-)
Cheers!
Rob -
6. Re: Running noejb tests w/o JBoss?
gavin.king Dec 28, 2005 7:50 PM (in response to robjellinghaus)An unfortunate thing about user forums is that once the traffic reaches a certain point, it is impossible to really keep up, and the only people who are really able to get attention are the obnoxious ones.
Plus, the early adopters tend to be the more patient and considerate, and more able and willing to help solve their own problems.
Of course, it also helps that developers tend to be more patient with questions they have not seen 1000 times before, and with suggestions when the tech is still experimental and we havn't fully explored all the options.
I really missed the early days of Hibernate, which were truly great fun, and I'm really enjoying the small community we are growing here.
The paradox is that we certainly *do* want to see this community grow quickly, even though we will probably bitch and moan when it does ;)