@@ -84,7 +84,36 @@ | |||
</execution> | |||
</executions> | |||
</plugin> | |||
<plugin> | |||
<groupId>org.apache.maven.plugins</groupId> | |||
<artifactId>maven-surefire-plugin</artifactId> | |||
<version>2.4.3</version> | |||
<configuration> | |||
<skipTests>true</skipTests> | |||
<additionalClasspathElements> | |||
<additionalClasspathElement> | |||
${project.build.sourceDirectory} | |||
</additionalClasspathElement> | |||
<additionalClasspathElement> | |||
${project.build.testSourceDirectory} | |||
</additionalClasspathElement> | |||
</additionalClasspathElements> | |||
<useSystemClassLoader>true</useSystemClassLoader> | |||
<useManifestOnlyJar>false</useManifestOnlyJar> | |||
<forkMode>always</forkMode> | |||
<systemProperties> | |||
<property> | |||
<name>gwt.args</name> | |||
<value>-out target/www</value> | |||
</property> | |||
</systemProperties> | |||
<argLine>-Xmx1024m</argLine> | |||
</configuration> | |||
</plugin> | |||
</plugins> | |||
</build> |
@@ -20,6 +20,11 @@ | |||
<when-type-assignable class="com.google.gwt.query.client.Lazy"/> | |||
</generate-with> | |||
<generate-with class="com.google.gwt.query.rebind.SelectorGeneratorJS"> | |||
<when-type-assignable class="com.google.gwt.query.client.Selectors"/> | |||
</generate-with> | |||
<generate-with class="com.google.gwt.query.rebind.SelectorGeneratorJS"> | |||
<when-type-assignable class="com.google.gwt.query.client.Selectors"/> | |||
<any> | |||
@@ -58,6 +63,11 @@ | |||
</replace-with> | |||
<replace-with class="com.google.gwt.query.client.impl.SelectorEngineJS"> | |||
<when-type-assignable | |||
class="com.google.gwt.query.client.impl.SelectorEngineImpl"/> | |||
</replace-with> | |||
<replace-with class="com.google.gwt.query.client.impl.SelectorEngineJS"> | |||
<when-type-assignable | |||
class="com.google.gwt.query.client.impl.SelectorEngineImpl"/> |
@@ -19,4 +19,14 @@ | |||
<type>jar</type> | |||
</dependency> | |||
</dependencies> | |||
<build> | |||
<resources> | |||
<resource> | |||
<directory>${basedir}/src/main/java</directory> | |||
</resource> | |||
<resource> | |||
<directory>${basedir}/src/main/resources</directory> | |||
</resource> | |||
</resources> | |||
</build> | |||
</project> |
@@ -130,12 +130,10 @@ | |||
</activation> | |||
<properties> | |||
<gwtversion>1.6.4</gwtversion> | |||
<gwt.loglevel>ERROR</gwt.loglevel> | |||
<gwtversion>1.7.0</gwtversion> | |||
<gwt.loglevel>INFO</gwt.loglevel> | |||
<gwt.outputstyle>PRETTY</gwt.outputstyle> | |||
<gwt.modulesuffix></gwt.modulesuffix> | |||
<gwt.localRepository>${user.home}/.m2/repository | |||
</gwt.localRepository> | |||
<!-- <maven.test.skip>true</maven.test.skip> --> | |||
</properties> | |||
</profile> | |||
@@ -195,7 +193,7 @@ | |||
<profile> | |||
<id>prod</id> | |||
<properties> | |||
<gwtversion>1.6.4</gwtversion> | |||
<gwtversion>1.7.0</gwtversion> | |||
<gwt.loglevel>ERROR</gwt.loglevel> | |||
<gwt.outputstyle>OBF</gwt.outputstyle> | |||
<gwt.modulesuffix></gwt.modulesuffix> |
@@ -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> | |||
@@ -1,5 +1,6 @@ | |||
<module> | |||
<inherits name='com.google.gwt.query.Query'/> | |||
<inherits name='gwtquery.Plugins'/> | |||
<entry-point class='gwtquery.samples.client.GwtQueryBenchModule'/> | |||
</module> | |||
@@ -1,7 +1,6 @@ | |||
<module> | |||
<inherits name='com.google.gwt.query.Query'/> | |||
<inherits name='gwtquery.Plugins'/> | |||
<entry-point class='gwtquery.samples.client.GwtQueryDemoModule'/> | |||
</module> | |||
@@ -1,7 +1,6 @@ | |||
<module> | |||
<inherits name='com.google.gwt.query.Query'/> | |||
<inherits name='gwtquery.Plugins'/> | |||
<entry-point class='gwtquery.samples.client.GwtQueryEffectsModule'/> | |||
</module> | |||
@@ -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> | |||
@@ -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> | |||
@@ -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 { |