svn.filsa.org mojo

Compare Revisions

Ignore whitespace Rev 6 → Rev 7

/dev/trunk/filsa-gwt-basic/src/main/resources/META-INF/maven/archetype-metadata.xml
0,0 → 1,29
<?xml version="1.0" encoding="UTF-8"?><archetype-descriptor name="filsa-gwt-basic">
<fileSets>
<fileSet filtered="true" packaged="true" encoding="UTF-8">
<directory>src/main/java</directory>
<includes>
<include>**/*.java</include>
<include>**/*.xml</include>
</includes>
</fileSet>
<fileSet filtered="true" encoding="UTF-8">
<directory>war</directory>
<includes>
<include>**/*.html</include>
</includes>
</fileSet>
<fileSet filtered="true" encoding="UTF-8">
<directory>war/WEB-INF</directory>
<includes>
<include>**/*.xml</include>
</includes>
</fileSet>
<fileSet encoding="UTF-8">
<directory>war</directory>
<includes>
<include>**/*.css</include>
</includes>
</fileSet>
</fileSets>
</archetype-descriptor>
dev/trunk/filsa-gwt-basic/src/main/resources/META-INF/maven/archetype-metadata.xml Property changes : Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: dev/trunk/filsa-gwt-basic/src/main/resources/META-INF/maven/archetype.xml
===================================================================
--- dev/trunk/filsa-gwt-basic/src/main/resources/META-INF/maven/archetype.xml (revision 6)
+++ dev/trunk/filsa-gwt-basic/src/main/resources/META-INF/maven/archetype.xml (revision 7)
@@ -2,16 +2,16 @@
filsa-gwt-basic-archetype

src/main/java/App.gwt.xml
- src/main/java/client/App.java
- src/main/java/client/DemoService.java
- src/main/java/client/DemoServiceAsync.java
+ src/main/java/client/${artifactId}.java
+ src/main/java/client/EchoService.java
+ src/main/java/client/EchoServiceAsync.java
src/main/java/client/MainPanel.java
src/main/java/client/MainPanel.ui.xml
- src/main/java/server/DemoServiceImpl.java
+ src/main/java/server/EchoServiceImpl.java


- war/App.css
- war/App.html
+ war/${artifactId}.css
+ war/${artifactId}.html
war/WEB-INF/web.xml


Index: dev/trunk/filsa-gwt-basic/src/main/resources/archetype-resources/src/main/java/App.gwt.xml
===================================================================
--- dev/trunk/filsa-gwt-basic/src/main/resources/archetype-resources/src/main/java/App.gwt.xml (revision 6)
+++ dev/trunk/filsa-gwt-basic/src/main/resources/archetype-resources/src/main/java/App.gwt.xml (nonexistent)
@@ -1,13 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-

dev/trunk/filsa-gwt-basic/src/main/resources/archetype-resources/src/main/java/App.gwt.xml Property changes : Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: dev/trunk/filsa-gwt-basic/src/main/resources/archetype-resources/src/main/java/__artifactId__.gwt.xml
===================================================================
--- dev/trunk/filsa-gwt-basic/src/main/resources/archetype-resources/src/main/java/__artifactId__.gwt.xml (nonexistent)
+++ dev/trunk/filsa-gwt-basic/src/main/resources/archetype-resources/src/main/java/__artifactId__.gwt.xml (revision 7)
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+

dev/trunk/filsa-gwt-basic/src/main/resources/archetype-resources/src/main/java/__artifactId__.gwt.xml Property changes : Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: dev/trunk/filsa-gwt-basic/src/main/resources/archetype-resources/src/main/java/server/DemoServiceImpl.java
===================================================================
--- dev/trunk/filsa-gwt-basic/src/main/resources/archetype-resources/src/main/java/server/DemoServiceImpl.java (revision 6)
+++ dev/trunk/filsa-gwt-basic/src/main/resources/archetype-resources/src/main/java/server/DemoServiceImpl.java (nonexistent)
@@ -1,24 +0,0 @@
-
-package ${package}.server;
-
-import ${package}.client.DemoService;
-
-import com.google.gwt.user.server.rpc.RemoteServiceServlet;
-
-
-@SuppressWarnings("serial")
-public class DemoServiceImpl extends RemoteServiceServlet implements
- DemoService {
-
- public String echo(String hello) {
- StringBuffer sb = new StringBuffer();
-
- for (int i=0; i - sb.append(hello.charAt(i));
- sb.append(hello.charAt(i));
- sb.append(hello.charAt(i));
- }
- return sb.toString();
- }
-
-}
dev/trunk/filsa-gwt-basic/src/main/resources/archetype-resources/src/main/java/server/DemoServiceImpl.java Property changes : Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: dev/trunk/filsa-gwt-basic/src/main/resources/archetype-resources/src/main/java/server/EchoServiceImpl.java
===================================================================
--- dev/trunk/filsa-gwt-basic/src/main/resources/archetype-resources/src/main/java/server/EchoServiceImpl.java (nonexistent)
+++ dev/trunk/filsa-gwt-basic/src/main/resources/archetype-resources/src/main/java/server/EchoServiceImpl.java (revision 7)
@@ -0,0 +1,24 @@
+
+package ${package}.server;
+
+import ${package}.client.EchoService;
+
+import com.google.gwt.user.server.rpc.RemoteServiceServlet;
+
+
+@SuppressWarnings("serial")
+public class EchoServiceImpl extends RemoteServiceServlet implements
+ EchoService {
+
+ public String echo(String hello) {
+ StringBuffer sb = new StringBuffer();
+
+ for (int i=0; i + sb.append(hello.charAt(i));
+ sb.append(hello.charAt(i));
+ sb.append(hello.charAt(i));
+ }
+ return sb.toString();
+ }
+
+}
dev/trunk/filsa-gwt-basic/src/main/resources/archetype-resources/src/main/java/server/EchoServiceImpl.java Property changes : Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: dev/trunk/filsa-gwt-basic/src/main/resources/archetype-resources/src/main/java/client/DemoService.java
===================================================================
--- dev/trunk/filsa-gwt-basic/src/main/resources/archetype-resources/src/main/java/client/DemoService.java (revision 6)
+++ dev/trunk/filsa-gwt-basic/src/main/resources/archetype-resources/src/main/java/client/DemoService.java (nonexistent)
@@ -1,11 +0,0 @@
-package ${package}.client;
-
-import com.google.gwt.user.client.rpc.RemoteService;
-import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
-
-
-@RemoteServiceRelativePath("demo")
-public interface DemoService extends RemoteService {
-
- String echo (String hello);
-}
dev/trunk/filsa-gwt-basic/src/main/resources/archetype-resources/src/main/java/client/DemoService.java Property changes : Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: dev/trunk/filsa-gwt-basic/src/main/resources/archetype-resources/src/main/java/client/DemoServiceAsync.java
===================================================================
--- dev/trunk/filsa-gwt-basic/src/main/resources/archetype-resources/src/main/java/client/DemoServiceAsync.java (revision 6)
+++ dev/trunk/filsa-gwt-basic/src/main/resources/archetype-resources/src/main/java/client/DemoServiceAsync.java (nonexistent)
@@ -1,12 +0,0 @@
-
-package ${package}.client;
-
-import com.google.gwt.user.client.rpc.AsyncCallback;
-
-
-public interface DemoServiceAsync {
-
-
- void echo(String hello, AsyncCallback callback);
-
-}
dev/trunk/filsa-gwt-basic/src/main/resources/archetype-resources/src/main/java/client/DemoServiceAsync.java Property changes : Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: dev/trunk/filsa-gwt-basic/src/main/resources/archetype-resources/src/main/java/client/App.java
===================================================================
--- dev/trunk/filsa-gwt-basic/src/main/resources/archetype-resources/src/main/java/client/App.java (revision 6)
+++ dev/trunk/filsa-gwt-basic/src/main/resources/archetype-resources/src/main/java/client/App.java (nonexistent)
@@ -1,23 +0,0 @@
-package ${package}.client;
-
-import com.google.gwt.core.client.EntryPoint;
-import com.google.gwt.user.client.ui.RootPanel;
-
-
-/**
- * Entry point classes define onModuleLoad().
- */
-public class App
- implements EntryPoint
-{
-
- /**
- * This is the entry point method.
- */
- public void onModuleLoad()
- {
-
- final MainPanel echoPanel = new MainPanel();
- RootPanel.get().add( echoPanel );
- }
-}
dev/trunk/filsa-gwt-basic/src/main/resources/archetype-resources/src/main/java/client/App.java Property changes : Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: dev/trunk/filsa-gwt-basic/src/main/resources/archetype-resources/src/main/java/client/MainPanel.ui.xml
===================================================================
--- dev/trunk/filsa-gwt-basic/src/main/resources/archetype-resources/src/main/java/client/MainPanel.ui.xml (revision 6)
+++ dev/trunk/filsa-gwt-basic/src/main/resources/archetype-resources/src/main/java/client/MainPanel.ui.xml (revision 7)
@@ -6,7 +6,7 @@



-

A simple GWT App.


+

A Basic GWT App :: ${artifactId}




@@ -34,4 +34,4 @@

This project is configured for GWT 2.0.0, files encoded in UTF-8, and using JDK 1.6




-
\ No newline at end of file
+
package ${package}.client;
 
import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
 
 
@RemoteServiceRelativePath("echo")
public interface EchoService extends RemoteService {
 
String echo (String hello);
}
dev/trunk/filsa-gwt-basic/src/main/resources/archetype-resources/src/main/java/client/EchoService.java Property changes : Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: dev/trunk/filsa-gwt-basic/src/main/resources/archetype-resources/src/main/java/client/MainPanel.java
===================================================================
--- dev/trunk/filsa-gwt-basic/src/main/resources/archetype-resources/src/main/java/client/MainPanel.java (revision 6)
+++ dev/trunk/filsa-gwt-basic/src/main/resources/archetype-resources/src/main/java/client/MainPanel.java (revision 7)
@@ -21,7 +21,7 @@
private static MainPanelUiBinder uiBinder = GWT
.create(MainPanelUiBinder.class);
- private DemoServiceAsync service = GWT.create(DemoService.class);
+ private EchoServiceAsync service = GWT.create(EchoService.class);


@UiField TextBox yellText;
/dev/trunk/filsa-gwt-basic/src/main/resources/archetype-resources/src/main/java/client/__artifactId__.java
0,0 → 1,23
package ${package}.client;
 
import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.user.client.ui.RootPanel;
 
 
/**
* Entry point classes define <code>onModuleLoad()</code>.
*/
public class ${artifactId}
implements EntryPoint
{
 
/**
* This is the entry point method.
*/
public void onModuleLoad()
{
final MainPanel echoPanel = new MainPanel();
RootPanel.get().add( echoPanel );
}
}
dev/trunk/filsa-gwt-basic/src/main/resources/archetype-resources/src/main/java/client/__artifactId__.java Property changes : Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: dev/trunk/filsa-gwt-basic/src/main/resources/archetype-resources/src/main/java/client/EchoServiceAsync.java
===================================================================
--- dev/trunk/filsa-gwt-basic/src/main/resources/archetype-resources/src/main/java/client/EchoServiceAsync.java (nonexistent)
+++ dev/trunk/filsa-gwt-basic/src/main/resources/archetype-resources/src/main/java/client/EchoServiceAsync.java (revision 7)
@@ -0,0 +1,12 @@
+
+package ${package}.client;
+
+import com.google.gwt.user.client.rpc.AsyncCallback;
+
+
+public interface EchoServiceAsync {
+
+
+ void echo(String hello, AsyncCallback callback);
+
+}
dev/trunk/filsa-gwt-basic/src/main/resources/archetype-resources/src/main/java/client/EchoServiceAsync.java Property changes : Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: dev/trunk/filsa-gwt-basic/src/main/resources/archetype-resources/war/App.css
===================================================================
--- dev/trunk/filsa-gwt-basic/src/main/resources/archetype-resources/war/App.css (revision 6)
+++ dev/trunk/filsa-gwt-basic/src/main/resources/archetype-resources/war/App.css (nonexistent)
@@ -1,14 +0,0 @@
-/** Add css rules here for your application. */
-
-button {
- display: block;
- font-size: 16pt
-}
-
-.widePanel {
- width: 100%
-}
-
-img {
- margin-top: 20px;
-}
\ No newline at end of file
dev/trunk/filsa-gwt-basic/src/main/resources/archetype-resources/war/App.css Property changes : Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: dev/trunk/filsa-gwt-basic/src/main/resources/archetype-resources/war/App.html
===================================================================
--- dev/trunk/filsa-gwt-basic/src/main/resources/archetype-resources/war/App.html (revision 6)
+++ dev/trunk/filsa-gwt-basic/src/main/resources/archetype-resources/war/App.html (nonexistent)
@@ -1,37 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
- ${artifactId} Application
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
dev/trunk/filsa-gwt-basic/src/main/resources/archetype-resources/war/App.html Property changes : Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: dev/trunk/filsa-gwt-basic/src/main/resources/archetype-resources/war/WEB-INF/web.xml
===================================================================
--- dev/trunk/filsa-gwt-basic/src/main/resources/archetype-resources/war/WEB-INF/web.xml (revision 6)
+++ dev/trunk/filsa-gwt-basic/src/main/resources/archetype-resources/war/WEB-INF/web.xml (revision 7)
@@ -7,17 +7,17 @@


- demoServlet
- ${package}.server.DemoServiceImpl
+ echoServlet
+ ${package}.server.EchoServiceImpl



- demoServlet
- /${artifactId}/demo
+ echoServlet
+ /${artifactId}/echo




- App.html
+ ${artifactId}.html


/dev/trunk/filsa-gwt-basic/src/main/resources/archetype-resources/war/__artifactId__.html
0,0 → 1,37
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<!-- The HTML 4.01 Transitional DOCTYPE declaration-->
<!-- above set at the top of the file will set -->
<!-- the browser's rendering engine into -->
<!-- "Quirks Mode". Replacing this declaration -->
<!-- with a "Standards Mode" doctype is supported, -->
<!-- but may lead to some differences in layout. -->
 
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
 
<title>${artifactId} Application</title>
 
<!-- this stylesheet points to file at war/${artifactId}.css -->
<link type="text/css" rel="stylesheet" href="/${artifactId}.css">
 
<!-- -->
<!-- This script loads your compiled module. -->
<!-- If you add any GWT meta tags, they must -->
<!-- be added before this line. -->
<!-- -->
<script type="text/javascript" language="javascript" src="/${artifactId}/${artifactId}.nocache.js"></script>
</head>
 
<!-- -->
<!-- The body can have arbitrary html, or -->
<!-- you can leave the body empty if you want -->
<!-- to create a completely dynamic UI. -->
<!-- -->
<body>
 
<!-- OPTIONAL: include this if you want history support -->
<iframe src="javascript:''" id="__gwt_historyFrame" tabIndex='-1' style="position:absolute;width:0;height:0;border:0"></iframe>
 
</body>
</html>
dev/trunk/filsa-gwt-basic/src/main/resources/archetype-resources/war/__artifactId__.html Property changes : Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: dev/trunk/filsa-gwt-basic/src/main/resources/archetype-resources/war/__artifactId__.css
===================================================================
--- dev/trunk/filsa-gwt-basic/src/main/resources/archetype-resources/war/__artifactId__.css (nonexistent)
+++ dev/trunk/filsa-gwt-basic/src/main/resources/archetype-resources/war/__artifactId__.css (revision 7)
@@ -0,0 +1,14 @@
+/** Add css rules here for your application. */
+
+button {
+ display: block;
+ font-size: 16pt
+}
+
+.widePanel {
+ width: 100%
+}
+
+img {
+ margin-top: 20px;
+}
\ No newline at end of file
dev/trunk/filsa-gwt-basic/src/main/resources/archetype-resources/war/__artifactId__.css Property changes : Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: dev/trunk/filsa-gwt-basic/src/main/resources/archetype-resources/pom.xml
===================================================================
--- dev/trunk/filsa-gwt-basic/src/main/resources/archetype-resources/pom.xml (revision 6)
+++ dev/trunk/filsa-gwt-basic/src/main/resources/archetype-resources/pom.xml (revision 7)
@@ -1,3 +1,4 @@
+#set ( $symbol_dollar = '$' )



- 2.0.0
+ 2.0.1
1.6
1.6
UTF-8
@@ -25,13 +26,13 @@

com.google.gwt
gwt-servlet
- ${gwt.version}
+ ${symbol_dollar}{gwt.version}
runtime


com.google.gwt
gwt-user
- ${gwt.version}
+ ${symbol_dollar}{gwt.version}
provided


@@ -62,7 +63,7 @@



- App.html
+ ${artifactId}.html

- \${basedir}/war
+ ${symbol_dollar}{basedir}/war



@@ -96,9 +97,9 @@
1.2


- \${basedir}/war
+ ${symbol_dollar}{basedir}/war

- \${basedir}/war/${project.build.finalName}
+ ${symbol_dollar}{basedir}/war/${symbol_dollar}{project.build.finalName}
true