From 1313f0c0286cc31edf9874cedeb44f8689e7d0d0 Mon Sep 17 00:00:00 2001 From: Manuel Carrasco MoƱino Date: Mon, 26 Nov 2012 16:20:48 +0100 Subject: End lines with LF instead of CRLF --- .../src/main/resources/archetype-resources/pom.xml | 394 ++++++++++----------- .../java/__artifactId__/__projectName__.gwt.xml | 2 +- .../__artifactId__/client/__projectName__.java | 56 +-- .../__artifactId__/client/__projectName__Test.java | 6 +- 4 files changed, 229 insertions(+), 229 deletions(-) (limited to 'archetype') diff --git a/archetype/src/main/resources/archetype-resources/pom.xml b/archetype/src/main/resources/archetype-resources/pom.xml index d0de9573..dc350f81 100644 --- a/archetype/src/main/resources/archetype-resources/pom.xml +++ b/archetype/src/main/resources/archetype-resources/pom.xml @@ -1,197 +1,197 @@ - - - 4.0.0 - - ${projectName} gwtquery project - ${groupId} - ${artifactId} - war - ${version} - - - UTF-8 - 1.6 - 1.6 - 1.1.0 - 2.5.0-rc1 - 2.4.0 - - - - - central - http://repo1.maven.org/maven2 - - - gwtquery-plugins - http://gwtquery-plugins.googlecode.com/svn/mavenrepo - - - sonatype - http://oss.sonatype.org/content/repositories/snapshots - true - false - - - m.g.o - http://maven.glassfish.org/content/groups/public/ - - - - - - - - - - - - junit - junit - 3.8.1 - test - - - com.google.gwt - gwt-user - ${gwtversion} - provided - - - com.google.gwt - gwt-dev - ${gwtversion} - provided - - - com.google.gwt - gwt-servlet - ${gwtversion} - runtime - - - com.googlecode.gwtquery - gwtquery - ${gQueryVersion} - provided - - - - javax.validation - validation-api - 1.0.0.GA - - - javax.validation - validation-api - 1.0.0.GA - sources - - - - - - org.apache.maven.plugins - maven-compiler-plugin - 2.1 - - 1.6 - 1.6 - - - - org.codehaus.mojo - gwt-maven-plugin - ${gwtmaven} - - ${gwt.loglevel} - - ${gwtversion} - true - ${projectName}/${projectName}.html - ${project.build.directory}/${project.build.finalName} - - - - prepare-package - - compile - - - - - - maven-surefire-plugin - 2.8.1 - - - \${project.build.sourceDirectory} - \${project.build.testSourceDirectory} - - false - always - - - gwt.args - -out target/gwt-tests - - - - gwt.persistentunitcache - false - - - - - - org.apache.maven.plugins - maven-eclipse-plugin - 2.7 - - true - false - - com.google.gwt.eclipse.core.gwtProjectValidator - org.eclipse.wst.common.modulecore.ComponentStructuralBuilder - org.eclipse.jdt.core.javabuilder - org.eclipse.wst.common.modulecore.ComponentStructuralBuilderDependencyResolver - - - com.google.gwt.eclipse.core.gwtNature - org.eclipse.jdt.core.javanature - org.eclipse.wst.common.modulecore.ModuleCoreNature - - - com.google.gwt.eclipse.core.GWT_CONTAINER - org.eclipse.jdt.launching.JRE_CONTAINER - org.eclipse.jdt.junit.JUNIT_CONTAINER/3 - - - - - - maven-resources-plugin - 2.5 - - - copy-resources - generate-sources - - copy-resources - - - ${project.build.directory}/${project.build.finalName} - - - src/main/webapp - true - - - - - - - - ${project.build.directory}/${project.build.finalName}/WEB-INF/classes - - + + + 4.0.0 + + ${projectName} gwtquery project + ${groupId} + ${artifactId} + war + ${version} + + + UTF-8 + 1.6 + 1.6 + 1.1.0 + 2.5.0-rc1 + 2.4.0 + + + + + central + http://repo1.maven.org/maven2 + + + gwtquery-plugins + http://gwtquery-plugins.googlecode.com/svn/mavenrepo + + + sonatype + http://oss.sonatype.org/content/repositories/snapshots + true + false + + + m.g.o + http://maven.glassfish.org/content/groups/public/ + + + + + + + + + + + + junit + junit + 3.8.1 + test + + + com.google.gwt + gwt-user + ${gwtversion} + provided + + + com.google.gwt + gwt-dev + ${gwtversion} + provided + + + com.google.gwt + gwt-servlet + ${gwtversion} + runtime + + + com.googlecode.gwtquery + gwtquery + ${gQueryVersion} + provided + + + + javax.validation + validation-api + 1.0.0.GA + + + javax.validation + validation-api + 1.0.0.GA + sources + + + + + + org.apache.maven.plugins + maven-compiler-plugin + 2.1 + + 1.6 + 1.6 + + + + org.codehaus.mojo + gwt-maven-plugin + ${gwtmaven} + + ${gwt.loglevel} + + ${gwtversion} + true + ${projectName}/${projectName}.html + ${project.build.directory}/${project.build.finalName} + + + + prepare-package + + compile + + + + + + maven-surefire-plugin + 2.8.1 + + + \${project.build.sourceDirectory} + \${project.build.testSourceDirectory} + + false + always + + + gwt.args + -out target/gwt-tests + + + + gwt.persistentunitcache + false + + + + + + org.apache.maven.plugins + maven-eclipse-plugin + 2.7 + + true + false + + com.google.gwt.eclipse.core.gwtProjectValidator + org.eclipse.wst.common.modulecore.ComponentStructuralBuilder + org.eclipse.jdt.core.javabuilder + org.eclipse.wst.common.modulecore.ComponentStructuralBuilderDependencyResolver + + + com.google.gwt.eclipse.core.gwtNature + org.eclipse.jdt.core.javanature + org.eclipse.wst.common.modulecore.ModuleCoreNature + + + com.google.gwt.eclipse.core.GWT_CONTAINER + org.eclipse.jdt.launching.JRE_CONTAINER + org.eclipse.jdt.junit.JUNIT_CONTAINER/3 + + + + + + maven-resources-plugin + 2.5 + + + copy-resources + generate-sources + + copy-resources + + + ${project.build.directory}/${project.build.finalName} + + + src/main/webapp + true + + + + + + + + ${project.build.directory}/${project.build.finalName}/WEB-INF/classes + + diff --git a/archetype/src/main/resources/archetype-resources/src/main/java/__artifactId__/__projectName__.gwt.xml b/archetype/src/main/resources/archetype-resources/src/main/java/__artifactId__/__projectName__.gwt.xml index 5476f939..13e1d579 100644 --- a/archetype/src/main/resources/archetype-resources/src/main/java/__artifactId__/__projectName__.gwt.xml +++ b/archetype/src/main/resources/archetype-resources/src/main/java/__artifactId__/__projectName__.gwt.xml @@ -5,4 +5,4 @@ - + diff --git a/archetype/src/main/resources/archetype-resources/src/main/java/__artifactId__/client/__projectName__.java b/archetype/src/main/resources/archetype-resources/src/main/java/__artifactId__/client/__projectName__.java index 891f5d3e..d5c178e8 100644 --- a/archetype/src/main/resources/archetype-resources/src/main/java/__artifactId__/client/__projectName__.java +++ b/archetype/src/main/resources/archetype-resources/src/main/java/__artifactId__/client/__projectName__.java @@ -1,31 +1,31 @@ #set( $symbol_pound = '#' ) #set( $symbol_dollar = '$' ) #set( $symbol_escape = '\' ) -package ${package}.${artifactId}.client; -import com.google.gwt.dom.client.Element; -import com.google.gwt.query.client.Function; -import static com.google.gwt.query.client.GQuery.*; - - -import com.google.gwt.core.client.EntryPoint; - -/** - * Example code for a GwtQuery application - */ -public class ${projectName} implements EntryPoint { - - public void onModuleLoad() { - - ${symbol_dollar}("div") - .hover(new Function() { - public void f(Element e) { - ${symbol_dollar}(e).css("color", "blue").stop(true, true).animate("fontSize: '+=10px'"); - } - }, new Function() { - public void f(Element e) { - ${symbol_dollar}(e).css("color", "").stop(true, true).animate("fontSize: '-=10px'"); - } - }); - } - -} +package ${package}.${artifactId}.client; +import com.google.gwt.dom.client.Element; +import com.google.gwt.query.client.Function; +import static com.google.gwt.query.client.GQuery.*; + + +import com.google.gwt.core.client.EntryPoint; + +/** + * Example code for a GwtQuery application + */ +public class ${projectName} implements EntryPoint { + + public void onModuleLoad() { + + ${symbol_dollar}("div") + .hover(new Function() { + public void f(Element e) { + ${symbol_dollar}(e).css("color", "blue").stop(true, true).animate("fontSize: '+=10px'"); + } + }, new Function() { + public void f(Element e) { + ${symbol_dollar}(e).css("color", "").stop(true, true).animate("fontSize: '-=10px'"); + } + }); + } + +} diff --git a/archetype/src/main/resources/archetype-resources/src/test/java/__artifactId__/client/__projectName__Test.java b/archetype/src/main/resources/archetype-resources/src/test/java/__artifactId__/client/__projectName__Test.java index aef7cf9e..e007a0a6 100644 --- a/archetype/src/main/resources/archetype-resources/src/test/java/__artifactId__/client/__projectName__Test.java +++ b/archetype/src/main/resources/archetype-resources/src/test/java/__artifactId__/client/__projectName__Test.java @@ -23,7 +23,7 @@ public class ${projectName}Test extends GWTTestCase { } public void testOnModuleLoad() { - + // Create a container in the document final GQuery g = $("
").appendTo(document); @@ -41,7 +41,7 @@ public class ${projectName}Test extends GWTTestCase { public void run() { // assert that the font size increases assertTrue(fontSize(g) > size1); - + // trigger mouse out event final double size2 = fontSize(g); g.trigger(Event.ONMOUSEOUT); @@ -50,7 +50,7 @@ public class ${projectName}Test extends GWTTestCase { // assert that the font size decreases assertTrue(fontSize(g) < size2); g.remove(); - + // finish the test finishTest(); } -- cgit v1.2.3