<maven.compiler.target>1.5</maven.compiler.target>\r
<gQueryVersion>1.0.0-SNAPSHOT</gQueryVersion>\r
<gwtversion>2.2.0</gwtversion>\r
+ <!-- change by 2.1.0-1 for gwt-2.1.1 or 2.1.0 for gwt-2.1.0 -->\r
<gwtmaven>2.1.0-1</gwtmaven>\r
</properties>\r
\r
</filesets>\r
</configuration>\r
</plugin>\r
+ <plugin>\r
+ <groupId>org.apache.maven.plugins</groupId>\r
+ <artifactId>maven-eclipse-plugin</artifactId>\r
+ <configuration>\r
+ <downloadSources>true</downloadSources>\r
+ <downloadJavadocs>false</downloadJavadocs>\r
+ <additionalBuildcommands>\r
+ <buildCommand>\r
+ <name>com.google.gwt.eclipse.core.gwtProjectValidator</name>\r
+ </buildCommand>\r
+ </additionalBuildcommands>\r
+ <additionalProjectnatures>\r
+ <projectnature>com.google.gwt.eclipse.core.gwtNature</projectnature>\r
+ </additionalProjectnatures>\r
+ </configuration>\r
+ </plugin>\r
</plugins>\r
+ <outputDirectory>${project.build.directory}/${project.build.finalName}/WEB-INF/classes</outputDirectory>\r
</build>\r
</project>\r
import static com.google.gwt.query.client.GQuery.*;
import com.google.gwt.junit.client.GWTTestCase;
-import com.google.gwt.query.client.GQUtils;
import com.google.gwt.query.client.GQuery;
import com.google.gwt.query.client.plugins.Effects.Speed;
import com.google.gwt.user.client.Event;
}
private double fontSize(GQuery g) {
- return GQUtils.cur(g.get(0), "fontSize", true);
+ return $(g).cur("fontSize", true);
}
public void testOnModuleLoad() {