On 04/13/2009 02:48 PM, pohl wrote: > Thank you for your responses. I see that the build-gwt.xml ANT > script in my GWT4NB-based project does have a "-noserver" argument in > the block that invokes GWTShell, so at least one compile step is > necessary, as per Jeff's observation, to copy those resources to the > server. > > I'm still at a loss in my attempt to understand exactly what > conditions are necessary to get this much-promised "fast turnaround" > in hosted mode. If I stop the debugger and debug my project again > (even if I make absolutely no changes to the source code) the > GWTCompiler runs again. Is this a failing in Netbeans and/or GWT4NB? > > Or is my only avenue to try to get the debugger to hot-fix the code > using the "Apply Code Changes" button (in the Netbeans debugger) and > then clicking the "refresh" button in hosted mode? > > The reason that I ask this last question is that, even if I make a > trivial change like just changing some text that appears in my > interface, I get an exception when I click "Apply Code Changes". (In > the example below, I merely changed a label on my login panel from > "Username" to "Usern4me" so that I could visually see that the hotfix > was applied): > > init: > deps-jar: > Compiling 1 source file to /Users/pohl/Source/CP/trunk/CPLib/build/ > classes > Note: /Users/pohl/Source/CP/trunk/CPLib/src/net/nanonation/ui/client/ > widget/LoginPanel.java uses or overrides a deprecated API. > Note: Recompile with -Xlint:deprecation for details. > compile-single: > Classes to be reloaded: > net.nanonation.ui.client.widget.LoginPanel$1 > net.nanonation.ui.client.widget.LoginPanel$2 > net.nanonation.ui.client.widget.LoginPanel$3 > net.nanonation.ui.client.widget.LoginPanel$4 > net.nanonation.ui.client.widget.LoginPanel$5 > net.nanonation.ui.client.widget.LoginPanel > The virtual machine does not support this operation: delete method not > implemented > /Users/pohl/Source/CP/trunk/CPLib/nbproject/build-impl.xml:475: The > following error occurred while executing this line: > /Users/pohl/Source/CP/trunk/CPLib/nbproject/build-impl.xml:237: The > virtual machine does not support this operation: delete method not > implemented > BUILD FAILED (total time: 0 seconds) >
I don't remember NetBeans well enough to comment on how it interacts w/ hosted mode. Also, remember that GWT does not implement the entire JRE. From the looks of the above error, you might be hitting that limitation, i.e. "delete method not implemented", as well. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
