On Mar 28, 5:49 pm, Rich <[email protected]> wrote: > Because of the doc.getBoxObjectFor is not a function problem with > Firefox 3.6 I need to modify a source file in gwt-user.jar. > Unfortunately I can't just upgrate gwt-user.jar to the new version > because it is not supported by my version of IntelliJ IDEA 7.04 and it > would cost me several hundred dollars to upgrade just to fix a menu > issue (due to deprecated code) in my application. > > Can anyone indicate how to change and recompile a source file in gwt- > user.jar?
It's Java, so putting a class with the very same fully-qualified name earlier in the classpath is enough to do an "override"; without even modifying the JAR. Or you can also modify the JAR (hint: a JAR is hardly different from a ZIP), no need to recompile as GWT needs the source (*.java) file, not the compiled (*.class) one (except in DevMode, but again, it's Java: you can compile a single java->class, you don't have to compile the "whole project") -- 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.
