The GWT compiler requires the source (.java) files, and hosted mode  
works with bytecode (.class), so it is generally as simple as  
packaging all of the source and bytecode files into the jar.

have a look at the gwt-user.jar for an example of what that looks like.

The other option is to simply import the svn checkout (source) into  
eclipse, and use that with your project directly. Sometimes this is an  
easier route to go anyway, especially if you are modifying the source  
regularly.

-jason

On Mar 22, 2009, at 4:37 PM, Superman859 wrote:

>
> I use Eclipse for GWT, and I'm trying to use a third party library
> (OFC GWT) for charting.  The most recent version of source code in
> Subversion repository seems to have the changes I require, but the
> downloadable JAR file doesn't have those changes in it yet.
>
> Can someone explain how I can take the source code and compile it to a
> usable JAR library for GWT?  I can't seem to find this information
> anywhere, but it would be highly useful as I often want to fix a bug
> or two in some libraries when I try to fix them, but I do not know how
> to compile / generate the JAR library afterwards to test out and use
> my adjustments.
>
> In Eclipse, I know there is an Export - Jar File option.  However,
> when I use this on the project, the 'resources' box on the left is
> empty, and no files will be added to the JAR file.  I'm not sure if
> this is because there is no Main method (it isn't a typical Java
> program), or what it has to do with as I have never created a JAR
> library before.
> >


--~--~---------~--~----~------------~-------~--~----~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to