Hey all, I am trying to do something like this: <define-property name="supported_browser" values="true,false" />
<replace-with class="com.test.client.UnsupportedBrowserEntryPoint"> <when-type-is class="com.test.client.EntryPoint"/> <when-property-is name="supported_browser" value="false"/> </replace-with> <entry-point class='com.test.client.EntryPoint' /> but it gives an ugly error. Is this even a possible thing to do? Here is the error -- thanks! [ERROR] Unable to load module entry point class com.test.client.EntryPoint (see associated exception for details) java.lang.NullPointerException: null at java.util.TreeMap.getEntry(Unknown Source) at java.util.TreeMap.containsKey(Unknown Source) at java.util.TreeSet.contains(Unknown Source) at com.google.gwt.dev.cfg.BindingProperty.isAllowedValue(BindingProperty.java: 63) at com.google.gwt.dev.shell.ModuleSpacePropertyOracle.computePropertyValue(ModuleSpacePropertyOracle.java: 120) at com.google.gwt.dev.shell.ModuleSpacePropertyOracle.getPropertyValue(ModuleSpacePropertyOracle.java: 65) at com.google.gwt.dev.cfg.ConditionWhenPropertyIs.doEval(ConditionWhenPropertyIs.java: 48) at com.google.gwt.dev.cfg.Condition.isTrue(Condition.java:36) at com.google.gwt.dev.cfg.ConditionAll.doEval(ConditionAll.java:37) at com.google.gwt.dev.cfg.Condition.isTrue(Condition.java:36) at com.google.gwt.dev.cfg.Rule.isApplicable(Rule.java:35) at com.google.gwt.dev.shell.StandardRebindOracle $Rebinder.tryRebind(StandardRebindOracle.java:103) at com.google.gwt.dev.shell.StandardRebindOracle $Rebinder.rebind(StandardRebindOracle.java:62) at com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java: 172) at com.google.gwt.dev.shell.ShellModuleSpaceHost.rebind(ShellModuleSpaceHost.java: 114) at com.google.gwt.dev.shell.ModuleSpace.rebind(ModuleSpace.java:474) at com.google.gwt.dev.shell.ModuleSpace.rebindAndCreate(ModuleSpace.java: 365) at com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java:318) at com.google.gwt.dev.shell.BrowserWidget.attachModuleSpace(BrowserWidget.java: 343) at com.google.gwt.dev.shell.ie.BrowserWidgetIE6.access $300(BrowserWidgetIE6.java:37) at com.google.gwt.dev.shell.ie.BrowserWidgetIE6$External.gwtOnLoad(BrowserWidgetIE6.java: 77) at com.google.gwt.dev.shell.ie.BrowserWidgetIE6$External.invoke(BrowserWidgetIE6.java: 161) at com.google.gwt.dev.shell.ie.IDispatchImpl.Invoke(IDispatchImpl.java: 294) at com.google.gwt.dev.shell.ie.IDispatchImpl.method6(IDispatchImpl.java: 194) at org.eclipse.swt.internal.ole.win32.COMObject.callback6(COMObject.java: 117) at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method) at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1925) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2966) at com.google.gwt.dev.SwtHostedModeBase.processEvents(SwtHostedModeBase.java: 235) at com.google.gwt.dev.HostedModeBase.pumpEventLoop(HostedModeBase.java: 558) at com.google.gwt.dev.HostedModeBase.run(HostedModeBase.java:405) at com.google.gwt.dev.HostedMode.main(HostedMode.java:232) -- 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-tool...@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.