GWT 1.5 ?

5 views
Skip to first unread message

Pete

unread,
Jul 29, 2008, 6:46:20 AM7/29/08
to GWT-Stuff
Hi Sandy,

I was hoping to use GWT 1.5 but like using gwt-stuff, will gwt-stuff
work with GWT 1.5 ? I know it's needs GWTx which may not work with
GWT 1.5 ?

Also I read that's some standard PropertyChange support now in GWT 1.5
is that sufficient for gwt-stuff or does it need more than this?

If it's a no are then any plans ahead?

thanks
Pete

Pete

unread,
Jul 29, 2008, 9:02:35 AM7/29/08
to GWT-Stuff
After further investigation I see

gwt-stuff's PropertyChange.gwt.xml module is dependant on :-

<module>
<inherits name="com.google.gwt.user.User"/>
<inherits name="com.googlecode.gwtx.java.Beans"/>
</module>

Is the <inherits name="com.googlecode.gwtx.java.Beans"/>
really needed at that level ? as I note that the GWTx project has an
issue raised about GWT 1.5 support

http://code.google.com/p/google-web-toolkit/issues/detail?id=923#c7
(issue 8)
which says if gwtx dependency can be changed to

<inherits name="com.googlecode.gwtx.java.util.emul.Emulation"/>
<inherits name="com.googlecode.gwtx.java.beans.emul.Emulation"/
>

then 1.5 compile will be ok ?


Any thoughts?
----
excert from http://code.google.com/p/google-web-toolkit/issues/detail?id=923#c7
(issue 8)

"My project's module file had been importing what i thought was the
minimal amount of GWTx to import for the PropertyChangeSupport stuff:

<inherits name="com.googlecode.gwtx.java.Beans"/>

But it turns out that the Beans module file immediately imports the io
package, which is not necessary for
what I needed. Replacing that statement with the following two did
the trick, and now my project builds with
1.5RC1.

<inherits name="com.googlecode.gwtx.java.util.emul.Emulation"/>
<inherits name="com.googlecode.gwtx.java.beans.emul.Emulation"/

Sandy McArthur

unread,
Jul 29, 2008, 9:16:01 AM7/29/08
to GWT-Stuff
Pete, I haven't been able to work on a GWT project using GWT 1.5 so I
don't really know...

GWT-Stuff just needs the java.beans PropertyChangeSupport (I'm hoping
to get this in the official GWT) and as I understand it a selective
import of GWTx's beans stuff should work fine. Just be aware that GWTx
emulates a Java 1.4 API level and not Java 1.5 API.

Patches welcomed to both GWT-Stuff and GWTx.

On Jul 29, 9:02 am, Pete <pet...@gmail.com> wrote:
> After further investigation I see
>
> gwt-stuff's PropertyChange.gwt.xml module is dependant on :-
>
> <module>
>     <inherits name="com.google.gwt.user.User"/>
>     <inherits name="com.googlecode.gwtx.java.Beans"/>
> </module>
>
> Is the  <inherits name="com.googlecode.gwtx.java.Beans"/>
> really needed at that level ? as I note that the GWTx project has an
> issue raised about GWT 1.5 support
>
> http://code.google.com/p/google-web-toolkit/issues/detail?id=923#c7
> (issue 8)
> which says if gwtx dependency can be changed to
>
>        <inherits name="com.googlecode.gwtx.java.util.emul.Emulation"/>
>        <inherits name="com.googlecode.gwtx.java.beans.emul.Emulation"/
>
>
>
> then 1.5  compile will be ok ?
>
> Any thoughts?
> ----
> excert fromhttp://code.google.com/p/google-web-toolkit/issues/detail?id=923#c7
Reply all
Reply to author
Forward
0 new messages