Re: help diagnose: Server class 'org.junit.Before' could not be found in the web app

2011-04-19 Thread Jeff Larsen
Could also be that you're using maven, and have your tests getting compiled 
and hosted would think those classes are going to be a part of the build, 
but when you actually compile the app, they aren't included. I would try 
kicking off a deploy and see if it actually works. If it does, ignore the 
issue, if it doesn't then its time to figure out what class is getting 
compiled in that is dependent on junit.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: help diagnose: Server class 'org.junit.Before' could not be found in the web app

2011-04-19 Thread Magno Machado
Do you put your test cases on the same folder as your production classes?

On Tue, Apr 19, 2011 at 10:21 AM, cri  wrote:

> I'm getting a warning when starting my app in hosted mode: "Server
> class 'org.junit.Before' could not be found in the web app, but was
> found on the system classpath". Apparently, one of my junit test cases
> is getting loaded by the server but I'm not to determine how. Can
> anyone suggest how I can go about diagnosing this? Thanks
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>


-- 
Magno Machado Paulo
http://blog.magnomachado.com.br
http://code.google.com/p/emballo/

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



help diagnose: Server class 'org.junit.Before' could not be found in the web app

2011-04-19 Thread cri
I'm getting a warning when starting my app in hosted mode: "Server
class 'org.junit.Before' could not be found in the web app, but was
found on the system classpath". Apparently, one of my junit test cases
is getting loaded by the server but I'm not to determine how. Can
anyone suggest how I can go about diagnosing this? Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.