Hi,
When using a GWT java resource 2 step are need:
* the class file must resolved (add jar to classpath) or you IDE will
complains with "unresolved classes".
* the module "owning" that java resources must be inherited from your
application GWT module, or the GWT compiler will fail (even if you add the
jar to the classpath).
Look at the sample in the project, but your application.gwt.xml your look
like something:
<module>
<!-- Inherit the core Web Toolkit stuff. -->
<inherits name="com.google.gwt.user.User"/>
<!-- Inherit style injection -->
*<inherits name="com.google.gwt.widgetideas.WidgetIdeas"/>*
<!-- Specify the app entry point class. -->
<entry-point
class="com.google.gwt.demos.datepicker.client.DatePickerDemo"/>
<stylesheet src="DatePickerDemo.css"/>
</module>
On Mon, Sep 29, 2008 at 4:41 PM, Ananda Rao <
[EMAIL PROTECTED]> wrote:
>
> thanks olivier for replying.
>
> i was actually trying to use gwt-incubator.jar.
> i have downloaded the sample code from the below URL and trying to test
> that.
>
> http://code.google.com/p/google-web-toolkit-incubator/wiki/DatePicker
>
> but getting error.
> WidgetIdeas cannot be resolved.
>
> can you please tell me what i have to do here to get rid of this error.
>
>
> i have added this in tha classpath
>
> On Mon, Sep 29, 2008 at 8:03 PM, olivier nouguier
> <[EMAIL PROTECTED]> wrote:
> > Hi,
> > If the jar contain the source (.java files) simply:
> > * add the jar to your classpath.
> > * inherit the new module in your "yourApplication.gwt.xml".
> >
> >
> > On Mon, Sep 29, 2008 at 3:44 PM, Ananda Rao
> > <[EMAIL PROTECTED]> wrote:
> >>
> >> Hi,
> >>
> >> i have downloaded the gwt-incubator,jar file .
> >> nut i dont know how to add this to my project. i need to use
> >> datepicker but not able to do so.
> >>
> >> can any one help me here
> >>
> >>
> >
> >
> >
> > --
> > "Quand le dernier arbre sera abattu, la dernière rivière asséchée, le
> > dernier poisson péché, l'homme va s'apercevoir que l'argent n'est pas
> > comestible"
> > - proverbe indien Cri
> >
> > >
> >
>
> >
>
--
"Quand le dernier arbre sera abattu, la dernière rivière asséchée, le
dernier poisson péché, l'homme va s'apercevoir que l'argent n'est pas
comestible"
- proverbe indien Cri
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---