[jboss-user] [JBoss Seam] - Re: Seam 2.0.0.CR1 TestNG problem

2007-10-11 Thread IGx89
Why don't I have that problem when running the test from Eclipse though? All the jars are on the classpath... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4094293#4094293 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=

[jboss-user] [JBoss Seam] - Re: Seam 2.0.0.CR1 TestNG problem

2007-10-11 Thread [EMAIL PROTECTED]
So the problem is the ajax4jsf filter should not be installed in the test environment - excluding either the richfaces or seam ui jar will achieve this. How we best achieve this with Maven is another matter... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=40

[jboss-user] [JBoss Seam] - Re: Seam 2.0.0.CR1 TestNG problem

2007-10-11 Thread IGx89
war. By the way, in case you didn't see it, I commented on your Maven blog post with information about a Maven properties plugin. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4094283#4094283 Reply to the post : http://www.jboss.com/index.html?module=bb&op=

[jboss-user] [JBoss Seam] - Re: Seam 2.0.0.CR1 TestNG problem

2007-10-11 Thread [EMAIL PROTECTED]
Not currently, its a roadmap item. Are you using a war for deployment or an ear? Gah, yet another limitation of maven. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4094280#4094280 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mod

[jboss-user] [JBoss Seam] - Re: Seam 2.0.0.CR1 TestNG problem

2007-10-11 Thread IGx89
Do any of the example apps use Maven? If so, then I imagine you'd easily be able to replicate these problems and much more easily debug them. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4094269#4094269 Reply to the post : http://www.jboss.com/index.html?mo

[jboss-user] [JBoss Seam] - Re: Seam 2.0.0.CR1 TestNG problem

2007-10-11 Thread IGx89
How would I do the former? I have to specifically list jboss-seam-ui in my dependency section, and there's no compile-no-test scope. So far I've found no way to specifically exclude explicit dependencies. For the latter, yes, but I'd prefer to be able to run tests before building WAR's for depl

[jboss-user] [JBoss Seam] - Re: Seam 2.0.0.CR1 TestNG problem

2007-10-11 Thread [EMAIL PROTECTED]
Can't you just add an exclusion to the test scope for jboss-seam-ui? Or use profiles? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4094266#4094266 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4094266

[jboss-user] [JBoss Seam] - Re: Seam 2.0.0.CR1 TestNG problem

2007-10-11 Thread IGx89
To get my tests to work in Eclipse using the JUnit plugin, I had to add my src/main/webapp folder to the classpath (under Run As/JUnit) and make sure init() and begin() were called at the top of the test method (must be a better way, especially since none of the official Seam tests do that, but

[jboss-user] [JBoss Seam] - Re: Seam 2.0.0.CR1 TestNG problem

2007-10-11 Thread ulath
my tests still doesn't work (thru testng plugin) when i run tests run from eclipse, of couse running tests from maven still fails . View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4094247#4094247 Reply to the post : http://www.jboss.com/index.html?module=b

[jboss-user] [JBoss Seam] - Re: Seam 2.0.0.CR1 TestNG problem

2007-10-11 Thread IGx89
The answer would seem to be a no... should I create a JIRA issue to figure out how to run tests through Maven? Especially with you now supporting the use of Seam in Maven, more and more people are going to be encountering these problems. View the original post : http://www.jboss.com/index.html?

[jboss-user] [JBoss Seam] - Re: Seam 2.0.0.CR1 TestNG problem

2007-10-10 Thread IGx89
Though actually, when I'm running tests from Eclipse it works though jboss-seam-ui.jar is on the classpath... it must be something else then/ I copied the contents of my /src/main/webapp folder into /target/test-classes and was able to get further (no exceptions and renderResponse in FacesReques

[jboss-user] [JBoss Seam] - Re: Seam 2.0.0.CR1 TestNG problem

2007-10-10 Thread ulath
+1 to IGx89 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4093645#4093645 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4093645 ___ jboss-user mailing list jboss-user@lists.jb

[jboss-user] [JBoss Seam] - Re: Seam 2.0.0.CR1 TestNG problem

2007-10-10 Thread IGx89
Something needs to be figured out... this is a major problem! Pete, would it be possible to add a test-scoped JAR whose contents would override/disable those of jboss-seam-ui.jar that are causing problems with the tests? View the original post : http://www.jboss.com/index.html?module=bb&op=vie

[jboss-user] [JBoss Seam] - Re: Seam 2.0.0.CR1 TestNG problem

2007-10-10 Thread ulath
any suggestion? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4093461#4093461 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4093461 ___ jboss-user mailing list jboss-user@list

[jboss-user] [JBoss Seam] - Re: Seam 2.0.0.CR1 TestNG problem

2007-10-10 Thread [EMAIL PROTECTED]
I don't think there is a way with Maven to get something onto the runtime classpath and not the test classpath without using exclusions. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4093452#4093452 Reply to the post : http://www.jboss.com/index.html?module=

[jboss-user] [JBoss Seam] - Re: Seam 2.0.0.CR1 TestNG problem

2007-10-10 Thread ulath
which maven2 scope should we use for seam-ui.jar in pom.xml? org.jboss.seam jboss-seam-ui ${jboss-seam.version} ??? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4093426#4093426 Reply to the post : http://www.jboss.com/inde

[jboss-user] [JBoss Seam] - Re: Seam 2.0.0.CR1 TestNG problem

2007-10-10 Thread [EMAIL PROTECTED]
Make sure jboss-seam-ui.jar isn't in the test classpath View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4093414#4093414 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4093414 ___

[jboss-user] [JBoss Seam] - Re: Seam 2.0.0.CR1 TestNG problem

2007-10-10 Thread nagypalg
Adding /WEB-INF/web.xml to the test classpath solved the problem. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4093374#4093374 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4093374

[jboss-user] [JBoss Seam] - Re: Seam 2.0.0.CR1 TestNG problem

2007-10-08 Thread IGx89
Also getting that same error, though I'm using JUnit 4 and am running the tests through Maven using the surefire plug-in. Strangely enough, it works fine if I run the test straight from Eclipse (possibly because I'm calling init() and begin() at the beginning of every test method). View the ori

[jboss-user] [JBoss Seam] - Re: Seam 2.0.0.CR1 TestNG problem

2007-10-08 Thread nagypalg
I have the same problem with Seam 2 CR2. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4092602#4092602 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4092602 ___ jboss-user mai