I have a test class to try our test run in production mode or not. But
I couldn't run production mode in maven. Can you help me?

public tryToTest()
{
  if(GWT.isScript())
  {
    assertTrue(true);
  }
  else.
  {
    assertTrue(false);
  }

My pom's gwt plugin is like that
<groupId>org.codehaus.mojo</groupId>
<artifactId>gwt-maven-plugin</artifactId>
<version>2.3.0</version>
<executions>
  <execution>
   <goals><goal>test</goal></goals>
  </execution>
</executions>
<configuration>
  <productionMode>true</productionMode>
</configuration>

-- 
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-toolkit@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.

Reply via email to