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=
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
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=
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
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
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
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
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
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
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?
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
+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
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
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
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=
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
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
___
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
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
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
20 matches
Mail list logo