aboutsummaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorRay Cromwell <cromwellian@gmail.com>2009-07-27 09:01:20 +0000
committerRay Cromwell <cromwellian@gmail.com>2009-07-27 09:01:20 +0000
commit31d1c7cae609b4adb17cfee60d112474576dd054 (patch)
treee4abb3d1e852eb4ebcaa46cc42cc7a1979a60f9e /samples
parent42ed8c73d5ab5bb8ba585b9f026c19108c83fe37 (diff)
downloadgwtquery-31d1c7cae609b4adb17cfee60d112474576dd054.tar.gz
gwtquery-31d1c7cae609b4adb17cfee60d112474576dd054.zip
Update to codehaus gwt-maven-plugin. Update to GWT 1.7.0. Update module files to properly include Plugins.gwt.xml module. Disabled tests for now (JUnitShell not launching properly from new plugin). Fixed unbound deferred bindings.
Diffstat (limited to 'samples')
-rw-r--r--samples/pom.xml70
-rw-r--r--samples/src/main/java/gwtquery/samples/GwtQueryBench.gwt.xml1
-rw-r--r--samples/src/main/java/gwtquery/samples/GwtQueryDemo.gwt.xml3
-rw-r--r--samples/src/main/java/gwtquery/samples/GwtQueryEffects.gwt.xml3
-rw-r--r--samples/src/main/java/gwtquery/samples/GwtQueryPlugin.gwt.xml8
-rw-r--r--samples/src/main/java/gwtquery/samples/GwtQuerySample.gwt.xml7
-rw-r--r--samples/src/main/java/gwtquery/samples/client/GwtQuerySampleModule.java3
7 files changed, 25 insertions, 70 deletions
diff --git a/samples/pom.xml b/samples/pom.xml
index 9b343be3..e0c94656 100644
--- a/samples/pom.xml
+++ b/samples/pom.xml
@@ -29,77 +29,43 @@
<build>
<plugins>
<plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-dependency-plugin</artifactId>
- <executions>
- <execution>
- <id>unpack</id>
- <phase>compile</phase>
- <goals>
- <goal>unpack</goal>
- </goals>
- <configuration>
- <artifactItems>
- <artifactItem>
- <groupId>com.google.gwt</groupId>
- <artifactId>gwt-dev</artifactId>
- <version>${gwtversion}</version>
- <classifier>${gwtplatform}-libs</classifier>
- <type>zip</type>
- <overWrite>true</overWrite>
- <outputDirectory>
- ${settings.localRepository}/com/google/gwt/gwt-dev/${gwtversion}
- </outputDirectory>
- </artifactItem>
- </artifactItems>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>com.totsp.gwt</groupId>
- <artifactId>maven-googlewebtoolkit2-plugin</artifactId>
- <version>2.0-beta24</version>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>gwt-maven-plugin</artifactId>
+ <version>1.1</version>
<configuration>
<logLevel>${gwt.loglevel}</logLevel>
<style>${gwt.outputstyle}</style>
<gwtVersion>${gwtversion}</gwtVersion>
-
- <logLevel>WARN</logLevel>
- <runTarget>
- gwtquery.samples.GwtQueryDemo/index.html
- </runTarget>
- <compileTargets>
- <compileTarget>
+ <modules>
+ <module>
gwtquery.samples.GwtQueryDemo
- </compileTarget>
- <compileTarget>
+ </module>
+ <module>
gwtquery.samples.GwtQueryBench
- </compileTarget>
- <compileTarget>
+ </module>
+ <module>
gwtquery.samples.GwtQuerySample
- </compileTarget>
- <compileTarget>
+ </module>
+ <module>
gwtquery.samples.GwtQueryPlugin
- </compileTarget>
- <compileTarget>
+ </module>
+ <module>
gwtquery.samples.GwtQueryWidgets
- </compileTarget>
- <compileTarget>
+ </module>
+ <module>
gwtquery.samples.GwtQueryEffects
- </compileTarget>
-
- </compileTargets>
+ </module>
+ </modules>
</configuration>
<executions>
<execution>
- <id>compilegwt</id>
<goals>
<goal>compile</goal>
</goals>
</execution>
</executions>
</plugin>
+
</plugins>
</build>
diff --git a/samples/src/main/java/gwtquery/samples/GwtQueryBench.gwt.xml b/samples/src/main/java/gwtquery/samples/GwtQueryBench.gwt.xml
index 921732a7..66ea7a44 100644
--- a/samples/src/main/java/gwtquery/samples/GwtQueryBench.gwt.xml
+++ b/samples/src/main/java/gwtquery/samples/GwtQueryBench.gwt.xml
@@ -1,5 +1,6 @@
<module>
<inherits name='com.google.gwt.query.Query'/>
+ <inherits name='gwtquery.Plugins'/>
<entry-point class='gwtquery.samples.client.GwtQueryBenchModule'/>
</module>
diff --git a/samples/src/main/java/gwtquery/samples/GwtQueryDemo.gwt.xml b/samples/src/main/java/gwtquery/samples/GwtQueryDemo.gwt.xml
index cfb48547..e367b228 100644
--- a/samples/src/main/java/gwtquery/samples/GwtQueryDemo.gwt.xml
+++ b/samples/src/main/java/gwtquery/samples/GwtQueryDemo.gwt.xml
@@ -1,7 +1,6 @@
<module>
<inherits name='com.google.gwt.query.Query'/>
+ <inherits name='gwtquery.Plugins'/>
<entry-point class='gwtquery.samples.client.GwtQueryDemoModule'/>
-
-
</module>
diff --git a/samples/src/main/java/gwtquery/samples/GwtQueryEffects.gwt.xml b/samples/src/main/java/gwtquery/samples/GwtQueryEffects.gwt.xml
index a07f2320..0ce4dcad 100644
--- a/samples/src/main/java/gwtquery/samples/GwtQueryEffects.gwt.xml
+++ b/samples/src/main/java/gwtquery/samples/GwtQueryEffects.gwt.xml
@@ -1,7 +1,6 @@
<module>
<inherits name='com.google.gwt.query.Query'/>
+ <inherits name='gwtquery.Plugins'/>
<entry-point class='gwtquery.samples.client.GwtQueryEffectsModule'/>
-
-
</module>
diff --git a/samples/src/main/java/gwtquery/samples/GwtQueryPlugin.gwt.xml b/samples/src/main/java/gwtquery/samples/GwtQueryPlugin.gwt.xml
index cdadc03a..352c5c66 100644
--- a/samples/src/main/java/gwtquery/samples/GwtQueryPlugin.gwt.xml
+++ b/samples/src/main/java/gwtquery/samples/GwtQueryPlugin.gwt.xml
@@ -1,10 +1,6 @@
<module>
- <!--<inherits name='com.google.gwt.query.Query'/>-->
- <!--<inherits name='gwtquery.Plugins'/>-->
- <inherits name='com.google.gwt.user.User'/>
-
+ <inherits name='com.google.gwt.query.Query'/>
+ <inherits name='gwtquery.Plugins'/>
<entry-point class='gwtquery.samples.client.GwtQueryPluginModule'/>
-
-
</module>
diff --git a/samples/src/main/java/gwtquery/samples/GwtQuerySample.gwt.xml b/samples/src/main/java/gwtquery/samples/GwtQuerySample.gwt.xml
index 0bcebf32..86077f47 100644
--- a/samples/src/main/java/gwtquery/samples/GwtQuerySample.gwt.xml
+++ b/samples/src/main/java/gwtquery/samples/GwtQuerySample.gwt.xml
@@ -1,10 +1,7 @@
<module>
- <!--<inherits name='com.google.gwt.query.Query'/>-->
- <inherits name='com.google.gwt.user.User'/>
- <add-linker name="xs"/>
+ <inherits name='com.google.gwt.query.Query'/>
+ <inherits name='gwtquery.Plugins'/>
<set-property name="user.agent" value="gecko1_8"/>
<entry-point class='gwtquery.samples.client.GwtQuerySampleModule'/>
-
-
</module>
diff --git a/samples/src/main/java/gwtquery/samples/client/GwtQuerySampleModule.java b/samples/src/main/java/gwtquery/samples/client/GwtQuerySampleModule.java
index 93fe3687..3bfaa077 100644
--- a/samples/src/main/java/gwtquery/samples/client/GwtQuerySampleModule.java
+++ b/samples/src/main/java/gwtquery/samples/client/GwtQuerySampleModule.java
@@ -3,11 +3,8 @@ package gwtquery.samples.client;
import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.core.client.GWT;
import com.google.gwt.query.client.GQuery;
-import static com.google.gwt.query.client.GQuery.$;
import com.google.gwt.query.client.Selector;
import com.google.gwt.query.client.Selectors;
-import static com.google.gwt.query.client.css.CSS.TOP;
-import static com.google.gwt.query.client.css.CSS.VERTICAL_ALIGN;
public class GwtQuerySampleModule implements EntryPoint {