The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

PayamFard (23) [Avatar] Offline
#1
I am trying to use GWTCDatePicker from http://code.google.com/p/gwtchismes/.
Here is what I am doing:

1) I have added the entry: <inherits >
name='com.google.code.p.gwtchismes.GWTChismes.GWTCDatePicker'/> in
MyApplication.gwt.xml file.

2) I am also adding gwtchismes-0.9.0.jar to my shell and compile
scripts.

3) I have also added gwtchismes-0.9.0.jar to the build path in my
eclipse project.

When I try to use this widget, I get the following error message:

[TRACE] Loading inherited module
'com.google.code.p.gwtchismes.GWTChismes.GWTCDatePicker'

[ERROR] Unable to find 'com/google/code/p/gwtchismes/GWTChismes/
GWTCDatePicker.gwt.xml' on your classpath; could be a typo, or maybe
you forgot to include a classpath entry for source?

[ERROR] Line 14: Unexpected exception while processing element
'inherits'

[ERROR] Failure while parsing XML

What am I missing?

Any help would be appreciated.

Thanks,
Payam
robert.hanson (173) [Avatar] Offline
#2
Re: Problems using GWTCDatePicker - third party gwt jar
I have one suggestion and one answer...

First, you should ask your general GWT questions on the GWT forum/list at http://groups.google.com/group/Google-Web-Toolkit. As long as you provide enough information you can expect a speedy response.

Second... I think you meant this:

<inherits name='com.google.code.p.gwtchismes.GWTChismes'/>

You don't inherit classes, you inherit modules. The path specified is the path to a module XML file. If you pop upen that jar you will see one in there at this path.

Cheers.