Re: Trying to get htmlunit to run. Keep getting "Did you forget to inherit the required module". I can't find a .gwt.xml to inherit from.

2011-01-13 Thread wrapping
Hello Thomas, Thank you for your time, really. I've moved the htmlunit lines to the server side and it seems to work? However, I see the following warnings. Should I be concerned? http://www.mwmechanics.net/Screenshot_server_side.png Thank you very much!!! On Jan 12, 5:58 pm, Thomas Broyer wro

Re: Trying to get htmlunit to run. Keep getting "Did you forget to inherit the required module". I can't find a .gwt.xml to inherit from.

2011-01-12 Thread Thomas Broyer
HtmlUnit cannot be used client-side (i.e. "in your browser"). If you want to display a page in your browser, then, well, display it: use a link (Anchor widget) or wrap it in an iframe (Frame or NamedFrame widget) -- You received this message because you are subscribed to the Google Groups "Goo

Re: Trying to get htmlunit to run. Keep getting "Did you forget to inherit the required module". I can't find a .gwt.xml to inherit from.

2011-01-11 Thread wrapping
Hello, Thanks for the responses. Honestly, my ultimate goal is to make this one gwt application crawlable. >From what I understand, I need HtmlUnit to be run on the server side. However, I read somewhere that you can also implement HtmlUnit to display text-based pages on the client side too. Henc

Re: Trying to get htmlunit to run. Keep getting "Did you forget to inherit the required module". I can't find a .gwt.xml to inherit from.

2011-01-11 Thread Thomas Broyer
GWTTestCase-s are for using "client code" in your tests. This means your tests will be run either in DevMode or compiled to JavaScript (and either in a real browser or in HtmlUnit, as bundled within GWT's JUnitShell). In your case, you want to use HtmlUnit *within* your test code, so it has to

Re: Trying to get htmlunit to run. Keep getting "Did you forget to inherit the required module". I can't find a .gwt.xml to inherit from.

2011-01-11 Thread wrapping
I'm a beginner, so forgive me for not understanding what action to take. So, should I try to add a line to inherit GWTTestCase? Or, should I take out the part "extend GWTTestCase" from my Junit test file? Thank you! On Jan 11, 5:27 pm, Thomas Broyer wrote: > It might be as easy as *not* inheritin

Re: Trying to get htmlunit to run. Keep getting "Did you forget to inherit the required module". I can't find a .gwt.xml to inherit from.

2011-01-11 Thread Thomas Broyer
It might be as easy as *not* inheriting GWTTestCase, because obviously HtmlUnit doesn't run in the browser. (note that when running GWTTestCase-s, the JUnitShell automatically generates a gwt.xml files inheriting both your getModuleName() and com.google.gwt.junit.JUnit, so in 99.9% of cases you

Re: Trying to get htmlunit to run. Keep getting "Did you forget to inherit the required module". I can't find a .gwt.xml to inherit from.

2011-01-10 Thread wrapping
Here is what my .gwt.xml looks like when including the line: http://www.mwmechanics.net/htmlunit/myxml.png On Jan 11, 10:44 am, zixzigma wrote: > do you have this line in your gwt module .gwt.xml file ? > > -- You received this message because you are subscribed to the Google Groups "Google W

Re: Trying to get htmlunit to run. Keep getting "Did you forget to inherit the required module". I can't find a .gwt.xml to inherit from.

2011-01-10 Thread wrapping
I put that line in and still got the same error displayed in http://www.mwmechanics.net/htmlunit/Screenshot3.png On Jan 11, 10:44 am, zixzigma wrote: > do you have this line in your gwt module .gwt.xml file ? > > -- You received this message because you are subscribed to the Google Groups "Go

Re: Trying to get htmlunit to run. Keep getting "Did you forget to inherit the required module". I can't find a .gwt.xml to inherit from.

2011-01-10 Thread wrapping
I haven't. Let me try that out. On Jan 11, 10:44 am, zixzigma wrote: > do you have this line in your gwt module .gwt.xml file ? > > -- 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-tool...@

Re: Trying to get htmlunit to run. Keep getting "Did you forget to inherit the required module". I can't find a .gwt.xml to inherit from.

2011-01-10 Thread zixzigma
do you have this line in your gwt module .gwt.xml file ? -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-

Trying to get htmlunit to run. Keep getting "Did you forget to inherit the required module". I can't find a .gwt.xml to inherit from.

2011-01-10 Thread wrapping
Hi, I have been trying to get htmlunit to run. I downloaded its zip file like this one: http://www.mwmechanics.net/htmlunit/htmlunit-2.8.zip and extracted it to http://www.mwmechanics.net/htmlunit/screenshot.png. Now, here is what my Junit test looks like when htmlunit lines are commented out. Th