All you need to do is to create a jar file with: - your .class files as you would for a regular java program - your .java source files -- these are required so your users can use GWT to translate to javascript - whatever gwt.xml files are appropriate (at least one)
Then, a user of your library would put your jar file on their classpath at compile time, and add an <inherits ...> line into their gwt.xml to inherit your module(s). HTH Paul On 24/03/11 00:01, CyberQat wrote:
Hi Giuys, I'm evaluating GWt as an HTML5 game development tool. I've looked over the JSNI stuff and that covers oen of my questions-- using or writing javascript libraries. My second question is how to create libraires in GWT for other GWT projects to use? In the JavaVM I would generate a JAR containing the library classe.s What is the equivalent in GWT/ Is there soem thing in the docs about this I haven't stumbled on yet? Thanks JK
-- 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.
