Friday, September 24, 2010

Re: Modify files in .jar libraries

On Sep 24, 3:30 pm, daniela iervolino <daniela.ie...@gmail.com> wrote:
> The fact is that I'm not allowed to modify the file in .jar packet.
> I want to change some code in libraries to allowing the double click
> management with image widget...
> So my problem is to add a handler to Image.java file in gwt-user.jar
> packet.. But I can't!!
> Maybe it's a permission matter?

You can compile another version, and put it ahead of gwt-user.jar on
the
class path.

You can use <super-source> to replace the particular class with your
version.

If you need to change code on the server, you can use AspectJ to
modify
the GWT code's behavior.

Respectfully,
Eric Jablow

--
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