1

I am using netbeans, for build I am using Maven. There is a flag -nosuperDevMode used to set super dev mode off, but i don't know where and how to use this in netbeans and maven.

How to turn off the super dev mode?

Also how to access GWT properties in netbeans like we can see and change them in eclipse?

I am using GWT 2.7

Imran Khurram
  • 377
  • 8
  • 18

2 Answers2

4

Add

<superDevMode>false</superDevMode>

to your gwt-maven-plugin configuration, or pass -Dgwt.superDevMode=false on the command-line (or the equivalent when launching Maven from NetBeans).
See https://gwt-maven-plugin.github.io/gwt-maven-plugin/run-mojo.html#superDevMode

Thomas Broyer
  • 64,353
  • 7
  • 91
  • 164
1

By default super dev mode is disabled. Starting with GWT 2.7, Dev Mode launches Super Dev Mode automatically.

kkishere
  • 154
  • 2
  • 13
  • and there is any way to disable super dev mode in GWT 2.7? – Imran Khurram Aug 12 '15 at 09:40
  • Did you try adding -nosuperDevMode to program arguments? – kkishere Aug 12 '15 at 12:43
  • Can you tell me where to put that in netbeans? screenshot is preferable. – Imran Khurram Aug 14 '15 at 09:55
  • I do not use netbeans. How do you create debug/run configuration? Do you see the arguments tab in the configuration window? – kkishere Aug 17 '15 at 09:37
  • I run it as maven goal i.e. gwt:run and it has parameters field but it is not taking it from there – Imran Khurram Aug 17 '15 at 09:46
  • You can create debug configuration in pom. Here is the link https://javaworkshop.wordpress.com/2010/09/22/debugging-gwt-project-using-netbeans-and-maven-without-the-damn-plugins/ It shows how to pass arguments while debugging. Please look at the debug-gwt profile. – kkishere Aug 17 '15 at 10:01