Sunday, September 19, 2010

Re: Configurable Date Serialization in GWT RPC

i guess (depending on maven version, but it has been fixed a while
ago), that the maven classloader now follows the order of dependency
declaration in your pom file.

On Sep 17, 12:27 am, Slava Lovkiy <slava.lov...@gmail.com> wrote:
> I'm using Maven to produce target deployable artifact. What do I need
> to do to put my class earlier in the classpath ?
>
> On Sep 17, 7:06 am, Thomas Broyer <t.bro...@gmail.com> wrote:
>
>
>
> > On 16 sep, 15:06, Slava Lovkiy <slava.lov...@gmail.com> wrote:
>
> > > Hi,
>
> > > There is a number of discussions exist where people ask how they can
> > > serialize dates without timezone. And most popular solution to this
> > > problem is to replace the default implementation provided by
> > > Date_CustomFieldSerializer class in gwt-servlet.jar (gwt-user.jar)
> > > with modified version which ignores the timezone. This solution
> > > requires recompilation of gwt jars which will result in producing your
> > > own custom version of GWT library.
>
> > > With every new release of GWT, this date serialization fix has to be
> > > applied again and again which is very painful and error-prone process.
>
> > > I wonder how many people had to go through this excise and implement
> > > similar fix?
>
> > > I would like to propose a feature request to GWT team to allow custom
> > > field serializer to be registered for the Date class via some sort of
> > > configuration to replace the default implementation.
>
> > You don't have to "recompile GWT", just put your class earlier in the
> > classpath and Java will use it instead of the one from gwt-user.jar
> > Looks like the "sort of configuration" you're looking for ;-)

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment