Re: Trouble with Tomcat / MyFaces in Maven JUnits

2008-02-28 Thread VUB Stefan Seidel
Hi Josh, if it is like that, you can also try if adding the dependency to the surefire plugin configuration (I assume you run the tomcat with surefire?) works. Stefan Joshua ChaitinPollak wrote: Hi Stefan, Thanks for the suggestion. For now I've just checked the myfaces libs into our weba

Re: Trouble with Tomcat / MyFaces in Maven JUnits

2008-02-27 Thread Joshua ChaitinPollak
Hi Stefan, Thanks for the suggestion. For now I've just checked the myfaces libs into our webapp directory and moved on. Ugly, but it works. -Josh On Feb 26, 2008, at 7:37 AM, VUB Stefan Seidel wrote: Hi, I could be totally wrong, but I remember something like tomcat scanning the JARs i

Re: Trouble with Tomcat / MyFaces in Maven JUnits

2008-02-26 Thread VUB Stefan Seidel
Hi, I could be totally wrong, but I remember something like tomcat scanning the JARs in java.class.path for JSP tag libraries. As maven does not set java.class.path to the test class path, this could be the problem. In your test, try invoking the method presented in http://markmail.org/messag

Trouble with Tomcat / MyFaces in Maven JUnits

2008-02-25 Thread Joshua Pollak
Hello, We use embedded Tomcat with MyFaces, and I'm having trouble getting them to run properly with Maven. Tomcat itself is working fine, its just the Myfaces thats causing trouble, and I'm pretty sure it is classpath related, I'm just not sure how to diagnose it. In short, the error we