aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--devtest/pom.xml2
-rw-r--r--gwtquery-core-2.0.1/pom.xml2
-rw-r--r--gwtquery-core-2.1.0/pom.xml2
-rw-r--r--gwtquery-core/pom.xml4
-rw-r--r--gwtquery-core/src/main/java/com/google/gwt/query/Query.gwt.xml2
-rw-r--r--gwtquery-core/src/main/java/com/google/gwt/query/client/impl/SelectorEngineNative.java1
-rw-r--r--pom.xml4
-rw-r--r--samples/pom.xml2
-rw-r--r--update_demos_svn.sh12
9 files changed, 16 insertions, 15 deletions
diff --git a/devtest/pom.xml b/devtest/pom.xml
index 13670912..934fd945 100644
--- a/devtest/pom.xml
+++ b/devtest/pom.xml
@@ -5,7 +5,7 @@
<parent>
<groupId>com.googlecode.gwtquery</groupId>
<artifactId>gwtquery-project</artifactId>
- <version>1.0.0-M2-SNAPSHOT</version>
+ <version>1.0.0-SNAPSHOT</version>
</parent>
<artifactId>devtest</artifactId>
diff --git a/gwtquery-core-2.0.1/pom.xml b/gwtquery-core-2.0.1/pom.xml
index a9519db3..3870c51c 100644
--- a/gwtquery-core-2.0.1/pom.xml
+++ b/gwtquery-core-2.0.1/pom.xml
@@ -4,7 +4,7 @@
<parent>
<groupId>com.googlecode.gwtquery</groupId>
<artifactId>gwtquery-project</artifactId>
- <version>1.0.0-M3-SNAPSHOT</version>
+ <version>1.0.0-SNAPSHOT</version>
</parent>
<description>Generates an artifact compiled with a concrete gwt version specified in the artifactId</description>
diff --git a/gwtquery-core-2.1.0/pom.xml b/gwtquery-core-2.1.0/pom.xml
index 698e04f7..9ffe475f 100644
--- a/gwtquery-core-2.1.0/pom.xml
+++ b/gwtquery-core-2.1.0/pom.xml
@@ -4,7 +4,7 @@
<parent>
<groupId>com.googlecode.gwtquery</groupId>
<artifactId>gwtquery-project</artifactId>
- <version>1.0.0-M3-SNAPSHOT</version>
+ <version>1.0.0-SNAPSHOT</version>
</parent>
<description>Generates an artifact compiled with a concrete gwt version specified in the artifactId</description>
diff --git a/gwtquery-core/pom.xml b/gwtquery-core/pom.xml
index ab1ab042..c3f11458 100644
--- a/gwtquery-core/pom.xml
+++ b/gwtquery-core/pom.xml
@@ -3,7 +3,7 @@
<parent>
<groupId>com.googlecode.gwtquery</groupId>
<artifactId>gwtquery-project</artifactId>
- <version>1.0.0-M3-SNAPSHOT</version>
+ <version>1.0.0-SNAPSHOT</version>
</parent>
<artifactId>gwtquery</artifactId>
@@ -59,7 +59,7 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
- <skipTests>true</skipTests>
+ <skipTests>false</skipTests>
<additionalClasspathElements>
<additionalClasspathElement>
${project.build.sourceDirectory}
diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/Query.gwt.xml b/gwtquery-core/src/main/java/com/google/gwt/query/Query.gwt.xml
index b643abc6..a1fe178d 100644
--- a/gwtquery-core/src/main/java/com/google/gwt/query/Query.gwt.xml
+++ b/gwtquery-core/src/main/java/com/google/gwt/query/Query.gwt.xml
@@ -51,7 +51,7 @@
</replace-with>
<!-- Selector Engines -->
- <replace-with class="com.google.gwt.query.client.impl.SelectorEngineSizzle">
+ <replace-with class="com.google.gwt.query.client.impl.SelectorEngineCssToXPath">
<when-type-assignable class="com.google.gwt.query.client.impl.HasSelector"/>
</replace-with>
<replace-with class="com.google.gwt.query.client.impl.SelectorEngineSizzleIE">
diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/impl/SelectorEngineNative.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/impl/SelectorEngineNative.java
index c068bb22..7996d107 100644
--- a/gwtquery-core/src/main/java/com/google/gwt/query/client/impl/SelectorEngineNative.java
+++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/impl/SelectorEngineNative.java
@@ -16,7 +16,6 @@
package com.google.gwt.query.client.impl;
import com.google.gwt.core.client.GWT;
-import com.google.gwt.core.client.RunAsyncCallback;
import com.google.gwt.dom.client.Element;
import com.google.gwt.dom.client.Node;
import com.google.gwt.dom.client.NodeList;
diff --git a/pom.xml b/pom.xml
index 45e73e34..3f8c7475 100644
--- a/pom.xml
+++ b/pom.xml
@@ -3,7 +3,7 @@
<groupId>com.googlecode.gwtquery</groupId>
<artifactId>gwtquery-project</artifactId>
<packaging>pom</packaging>
- <version>1.0.0-M3-SNAPSHOT</version>
+ <version>1.0.0-SNAPSHOT</version>
<name>Gwt Query Project</name>
<url>http://gwtquery.com</url>
<description>GwtQuery is a jQuery clone written in GWT.</description>
@@ -68,7 +68,7 @@
<module>gwtquery-core</module>
<module>gwtquery-core-2.1.0</module>
<module>gwtquery-core-2.0.1</module>
- <!-- <module>samples</module> -->
+ <module>samples</module>
<!-- <module>devtest</module> -->
</modules>
diff --git a/samples/pom.xml b/samples/pom.xml
index 452397da..ba47e9a5 100644
--- a/samples/pom.xml
+++ b/samples/pom.xml
@@ -5,7 +5,7 @@
<parent>
<groupId>com.googlecode.gwtquery</groupId>
<artifactId>gwtquery-project</artifactId>
- <version>1.0.0-M2-SNAPSHOT</version>
+ <version>1.0.0-SNAPSHOT</version>
</parent>
<name>GwtQuery Samples</name>
diff --git a/update_demos_svn.sh b/update_demos_svn.sh
index f8f9afdd..aa6eee9c 100644
--- a/update_demos_svn.sh
+++ b/update_demos_svn.sh
@@ -2,19 +2,21 @@
# Script to update demos deployed in svn
-V=1.0.0-SNAPSHOT
-cp -r samples/target/gwtquery-samples-$V/gwtquery* demos/
-cp -r samples/target/gwtquery-samples-$V/index.html demos/
+S=`find samples/target/ -type d -name "gwtquery-samples*" | head -1`
+[ ! -d "$S" ] && echo "Do not exist folder: $S" && exit
+
+cp -r $S/* demos/
+rm -rf demos/WEB-INF demos/META-INF
for i in `find demos -type d | grep -v .svn | sed -e 's#^demos/##g'`
do
- [ ! -d samples/target/gwtquery-samples-$V/$i ] && svn delete demos/$i
+ [ ! -d $S/$i ] && svn delete demos/$i
done
for i in `find demos -type f | grep -v .svn | sed -e 's#^demos/##g'`
do
- [ ! -f samples/target/gwtquery-samples-$V/$i ] && svn delete demos/$i
+ [ ! -f $S/$i ] && svn delete demos/$i
done
find demos | grep -v .svn | xargs svn add