JBoss JBPM SVN: r1766 - in jbossbpm/spec/trunk: modules/dialects and 9 other directories.
by do-not-reply@jboss.org
Author: thomas.diesler(a)jboss.com
Date: 2008-07-30 04:49:29 -0400 (Wed, 30 Jul 2008)
New Revision: 1766
Modified:
jbossbpm/spec/trunk/
jbossbpm/spec/trunk/modules/dialects/
jbossbpm/spec/trunk/modules/dialects/api10/
jbossbpm/spec/trunk/modules/dialects/jpdl32/
jbossbpm/spec/trunk/modules/dialects/stp/
jbossbpm/spec/trunk/modules/dialects/xpdl21/
jbossbpm/spec/trunk/modules/samples/airticket/pom.xml
jbossbpm/spec/trunk/modules/samples/airticket/war/
jbossbpm/spec/trunk/modules/samples/airticket/war/.classpath
jbossbpm/spec/trunk/modules/samples/airticket/war/.project
jbossbpm/spec/trunk/modules/samples/airticket/war/pom.xml
jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/java/org/jboss/bpm/samples/airticket/client/Application.java
jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/resources/org/jboss/bpm/samples/airticket/public/Application.html
jbossbpm/spec/trunk/modules/testsuite/
jbossbpm/spec/trunk/modules/testsuite/pom.xml
Log:
Eclipse setup stuff
Property changes on: jbossbpm/spec/trunk
___________________________________________________________________
Name: svn:ignore
- target
.settings
+ target
.settings
.gwt-cache
Property changes on: jbossbpm/spec/trunk/modules/dialects
___________________________________________________________________
Name: svn:ignore
+ .settings
Property changes on: jbossbpm/spec/trunk/modules/dialects/api10
___________________________________________________________________
Name: svn:ignore
- target
+ target
.settings
Property changes on: jbossbpm/spec/trunk/modules/dialects/jpdl32
___________________________________________________________________
Name: svn:ignore
- target
+ target
.settings
Property changes on: jbossbpm/spec/trunk/modules/dialects/stp
___________________________________________________________________
Name: svn:ignore
- target
+ target
.settings
Property changes on: jbossbpm/spec/trunk/modules/dialects/xpdl21
___________________________________________________________________
Name: svn:ignore
- target
+ target
.settings
Modified: jbossbpm/spec/trunk/modules/samples/airticket/pom.xml
===================================================================
--- jbossbpm/spec/trunk/modules/samples/airticket/pom.xml 2008-07-30 08:42:28 UTC (rev 1765)
+++ jbossbpm/spec/trunk/modules/samples/airticket/pom.xml 2008-07-30 08:49:29 UTC (rev 1766)
@@ -14,6 +14,19 @@
<relativePath>../../../pom.xml</relativePath>
</parent>
+ <!-- Dependencies -->
+ <dependencies>
+ <dependency>
+ <groupId>org.jboss.bpm</groupId>
+ <artifactId>bpm-api</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.bpm</groupId>
+ <artifactId>bpm-ri</artifactId>
+ <scope>runtime</scope>
+ </dependency>
+ </dependencies>
+
<modules>
<module>war</module>
</modules>
Property changes on: jbossbpm/spec/trunk/modules/samples/airticket/war
___________________________________________________________________
Name: svn:ignore
- target
.gwt-cache
+ target
.gwt-cache
.settings
Modified: jbossbpm/spec/trunk/modules/samples/airticket/war/.classpath
===================================================================
--- jbossbpm/spec/trunk/modules/samples/airticket/war/.classpath 2008-07-30 08:42:28 UTC (rev 1765)
+++ jbossbpm/spec/trunk/modules/samples/airticket/war/.classpath 2008-07-30 08:49:29 UTC (rev 1766)
@@ -1,7 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" output="target/classes" path="src/main/java"/>
+ <classpathentry kind="src" output="target/test-classes" path="src/test/java"/>
<classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources"/>
+ <classpathentry excluding="**" kind="src" output="target/test-classes" path="src/test/resources"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="con" path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER"/>
<classpathentry kind="output" path="target/classes"/>
Modified: jbossbpm/spec/trunk/modules/samples/airticket/war/.project
===================================================================
--- jbossbpm/spec/trunk/modules/samples/airticket/war/.project 2008-07-30 08:42:28 UTC (rev 1765)
+++ jbossbpm/spec/trunk/modules/samples/airticket/war/.project 2008-07-30 08:49:29 UTC (rev 1766)
@@ -11,6 +11,11 @@
</arguments>
</buildCommand>
<buildCommand>
+ <name>org.eclipseguru.gwt.core.builder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
<name>org.maven.ide.eclipse.maven2Builder</name>
<arguments>
</arguments>
@@ -19,5 +24,6 @@
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.maven.ide.eclipse.maven2Nature</nature>
+ <nature>org.eclipseguru.gwt.core.nature</nature>
</natures>
</projectDescription>
Modified: jbossbpm/spec/trunk/modules/samples/airticket/war/pom.xml
===================================================================
--- jbossbpm/spec/trunk/modules/samples/airticket/war/pom.xml 2008-07-30 08:42:28 UTC (rev 1765)
+++ jbossbpm/spec/trunk/modules/samples/airticket/war/pom.xml 2008-07-30 08:49:29 UTC (rev 1766)
@@ -54,12 +54,8 @@
<executions>
<execution>
<goals>
- <!-- autoconfig gwt (download and unzip GWT itself) -->
- <!-- *note* you can also use manual config, if you already have GWT installed -->
- <!-- see site docs for details - http://gwt-maven.googlecode.com/svn/docs/maven-googlewebtoolkit2-plugin/s... -->
<goal>setup</goal>
<goal>extractGwt</goal>
- <!-- actual work goals -->
<goal>mergewebxml</goal>
<goal>compile</goal>
<goal>gwt</goal>
Modified: jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/java/org/jboss/bpm/samples/airticket/client/Application.java
===================================================================
--- jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/java/org/jboss/bpm/samples/airticket/client/Application.java 2008-07-30 08:42:28 UTC (rev 1765)
+++ jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/java/org/jboss/bpm/samples/airticket/client/Application.java 2008-07-30 08:49:29 UTC (rev 1766)
@@ -1,6 +1,6 @@
package org.jboss.bpm.samples.airticket.client;
-import org.jboss.bpm.samples.airticket.client.SampleImageBundle;
+import java.util.HashMap;
import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.core.client.GWT;
@@ -9,6 +9,7 @@
import com.google.gwt.user.client.ui.Image;
import com.google.gwt.user.client.ui.Label;
import com.google.gwt.user.client.ui.RootPanel;
+import com.google.gwt.user.client.ui.TextBox;
import com.google.gwt.user.client.ui.Widget;
/**
@@ -23,26 +24,57 @@
{
// image bundle
final SampleImageBundle sampleImageBundle = (SampleImageBundle)GWT.create(SampleImageBundle.class);
- final Image gwtLogoImage = sampleImageBundle.getGWTLogo().createImage();
- final Button button = new Button("Submit");
- final Label label = new Label();
+ final Image logoImage = sampleImageBundle.getGWTLogo().createImage();
+ final Button buttonSubmit = new Button("Submit");
+
+ final Label labelMessage = new Label();
+ final Label labelState = new Label();
- // css inclusion and use
- button.setStyleName("gwtMavenButton");
-
- button.addClickListener(new ClickListener()
+ final Label labelName = new Label("Name:");
+ final Label labelFrom = new Label("From:");
+ final Label labelTo = new Label("To:");
+ final Label labelDate = new Label("Date:");
+ final Label labelSeats = new Label("Seats:");
+
+ final TextBox textName = new TextBox();
+ final TextBox textFrom = new TextBox();
+ final TextBox textTo = new TextBox();
+ final TextBox textDate = new TextBox();
+ final TextBox textSeats = new TextBox();
+
+ textName.setText("Kermit");
+ textFrom.setText("MUC");
+ textTo.setText("NYC");
+ textDate.setText("30-Jul-2008");
+ textSeats.setText("2");
+
+ buttonSubmit.addClickListener(new ClickListener()
{
public void onClick(Widget sender)
{
- if (label.getText().equals(""))
- label.setText("Hello World");
- else
- label.setText("");
+ HashMap props = new HashMap();
+ props.put("State", labelState.getText());
+ props.put("Name", textName.getText());
+ props.put("From", textFrom.getText());
+ props.put("To", textTo.getText());
+ props.put("Date", textDate.getText());
+ props.put("Seats", textSeats.getText());
}
});
- RootPanel.get("gwtLogo").add(gwtLogoImage);
- RootPanel.get("rpcButton").add(button);
- RootPanel.get("rpcResponse").add(label);
+ RootPanel.get("bpmLogo").add(logoImage);
+ RootPanel.get("labelMessage").add(labelMessage);
+ RootPanel.get("labelState").add(labelState);
+ RootPanel.get("labelName").add(labelName);
+ RootPanel.get("labelFrom").add(labelFrom);
+ RootPanel.get("labelTo").add(labelTo);
+ RootPanel.get("labelDate").add(labelDate);
+ RootPanel.get("labelSeats").add(labelSeats);
+ RootPanel.get("textName").add(textName);
+ RootPanel.get("textFrom").add(textFrom);
+ RootPanel.get("textTo").add(textTo);
+ RootPanel.get("textDate").add(textDate);
+ RootPanel.get("textSeats").add(textSeats);
+ RootPanel.get("buttonSubmit").add(buttonSubmit);
}
}
Modified: jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/resources/org/jboss/bpm/samples/airticket/public/Application.html
===================================================================
--- jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/resources/org/jboss/bpm/samples/airticket/public/Application.html 2008-07-30 08:42:28 UTC (rev 1765)
+++ jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/resources/org/jboss/bpm/samples/airticket/public/Application.html 2008-07-30 08:49:29 UTC (rev 1766)
@@ -1,22 +1,21 @@
<html>
- <head>
- <title>maven-googlewebtoolkit2-sample</title>
- <style>
- html,body{
- font-family:arial,sans-serif;
- height: 100%;
- width: 800px;
- align: center;
- overflow: hidden;
- }
- </style>
+<head>
+<title>bpm-sample-airticket</title>
+<style>
+html,body {
+ font-family: arial, sans-serif;
+ height: 100%;
+ width: 800px;
+ align: center;
+ overflow: hidden;
+}
+</style>
<!-- -->
<!-- This script loads your compiled module. -->
<!-- If you add any GWT meta tags, they must -->
<!-- be added before this line. -->
<!-- -->
-<script language='javascript'
- src='org.jboss.bpm.samples.airticket.Application.nocache.js'></script>
+<script language='javascript' src='org.jboss.bpm.samples.airticket.Application.nocache.js'></script>
</head>
<!-- -->
@@ -27,22 +26,41 @@
<body>
<!-- OPTIONAL: include this if you want history support -->
-<iframe src="javascript:''" id="__gwt_historyFrame"
- style="width: 0; height: 0; border: 0"></iframe>
+<iframe src="javascript:''" id="__gwt_historyFrame" style="width: 0; height: 0; border: 0"></iframe>
<table align=center>
- <tr align="center">
- <td>The Demo is Below<hr/></td>
- </tr>
- <!-- Below is where the gwt widgets are injected -->
- <tr align="center">
- <td id="gwtLogo"></td>
- </tr>
- <tr align="center">
- <td id="rpcButton"></td>
- </tr>
- <tr align="center">
- <td id="rpcResponse"></td>
- </tr>
+ <tr>
+ <td id="bpmLogo"></td>
+ <td><h2>JBossBPM - AirTicket Sample</h2></td>
+ </tr>
+ <tr>
+ <td colspan="2" id="labelMessage"></td>
+ </tr>
+ <tr>
+ <td colspan="2" id="labelState"></td>
+ </tr>
+ <tr>
+ <td id="labelName"></td>
+ <td id="textName"></td>
+ </tr>
+ <tr>
+ <td id="labelFrom"></td>
+ <td id="textFrom"></td>
+ </tr>
+ <tr>
+ <td id="labelTo"></td>
+ <td id="textTo"></td>
+ </tr>
+ <tr>
+ <td id="labelDate"></td>
+ <td id="textDate"></td>
+ </tr>
+ <tr>
+ <td id="labelSeats"></td>
+ <td id="textSeats"></td>
+ </tr>
+ <tr align="center">
+ <td colspan="2" id="buttonSubmit"></td>
+ </tr>
</table>
</body>
</html>
Property changes on: jbossbpm/spec/trunk/modules/testsuite
___________________________________________________________________
Name: svn:ignore
- target
+ target
.settings
Modified: jbossbpm/spec/trunk/modules/testsuite/pom.xml
===================================================================
--- jbossbpm/spec/trunk/modules/testsuite/pom.xml 2008-07-30 08:42:28 UTC (rev 1765)
+++ jbossbpm/spec/trunk/modules/testsuite/pom.xml 2008-07-30 08:49:29 UTC (rev 1766)
@@ -119,21 +119,6 @@
</execution>
</executions>
</plugin>
- <plugin>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <systemProperties>
- <property>
- <name>jbpm.dialect</name>
- <value>api10</value>
- </property>
- <property>
- <name>log4j.output.dir</name>
- <value>${project.build.directory}</value>
- </property>
- </systemProperties>
- </configuration>
- </plugin>
</plugins>
</build>
15 years, 9 months
JBoss JBPM SVN: r1765 - in jbossbpm/impl/jbpm3/trunk: modules/gwt-console and 6 other directories.
by do-not-reply@jboss.org
Author: heiko.braun(a)jboss.com
Date: 2008-07-30 04:42:28 -0400 (Wed, 30 Jul 2008)
New Revision: 1765
Added:
jbossbpm/impl/jbpm3/trunk/modules/gwt-console/war/src/main/java/org/jboss/bpm/console/client/Application.java
Removed:
jbossbpm/impl/jbpm3/trunk/modules/gwt-console/war/src/main/java/org/jboss/bpm/console/Application.java
Modified:
jbossbpm/impl/jbpm3/trunk/modules/gwt-console/pom.xml
jbossbpm/impl/jbpm3/trunk/modules/gwt-console/war/pom.xml
jbossbpm/impl/jbpm3/trunk/modules/gwt-console/war/src/main/java/org/jboss/bpm/console/client/SampleImageBundle.java
jbossbpm/impl/jbpm3/trunk/modules/gwt-console/war/src/main/resources/org/jboss/bpm/console/Application.gwt.xml
jbossbpm/impl/jbpm3/trunk/modules/gwt-console/war/src/main/resources/org/jboss/bpm/console/public/Application.html
jbossbpm/impl/jbpm3/trunk/modules/gwt-console/war/src/main/webapp/index.html
jbossbpm/impl/jbpm3/trunk/pom.xml
Log:
Start gwt-console from thomas mvn layout
Modified: jbossbpm/impl/jbpm3/trunk/modules/gwt-console/pom.xml
===================================================================
--- jbossbpm/impl/jbpm3/trunk/modules/gwt-console/pom.xml 2008-07-30 08:34:51 UTC (rev 1764)
+++ jbossbpm/impl/jbpm3/trunk/modules/gwt-console/pom.xml 2008-07-30 08:42:28 UTC (rev 1765)
@@ -1,20 +1,20 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <name>JBossBPM - GWT Console</name>
- <groupId>org.jboss.bpm</groupId>
- <artifactId>gwt-console</artifactId>
- <packaging>pom</packaging>
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <name>JBossBPM - GWT Console</name>
+ <groupId>org.jboss.bpm</groupId>
+ <artifactId>gwt-console</artifactId>
+ <packaging>pom</packaging>
- <!-- Parent -->
- <parent>
- <groupId>org.jboss.jbpm</groupId>
- <artifactId>jbpm</artifactId>
- <version>3.3.0-SNAPSHOT</version>
- <relativePath>../../pom.xml</relativePath>
- </parent>
-
- <modules>
- <module>war</module>
- </modules>
-</project>
\ No newline at end of file
+ <!-- Parent -->
+ <parent>
+ <groupId>org.jboss.jbpm</groupId>
+ <artifactId>jbpm</artifactId>
+ <version>3.3.0-SNAPSHOT</version>
+ <relativePath>../../pom.xml</relativePath>
+ </parent>
+
+ <modules>
+ <module>war</module>
+ </modules>
+</project>
Modified: jbossbpm/impl/jbpm3/trunk/modules/gwt-console/war/pom.xml
===================================================================
--- jbossbpm/impl/jbpm3/trunk/modules/gwt-console/war/pom.xml 2008-07-30 08:34:51 UTC (rev 1764)
+++ jbossbpm/impl/jbpm3/trunk/modules/gwt-console/war/pom.xml 2008-07-30 08:42:28 UTC (rev 1765)
@@ -1,80 +1,82 @@
<?xml version="1.0" encoding="UTF-8"?>
<project>
- <modelVersion>4.0.0</modelVersion>
- <name>JBossBPM - GWT Console (WAR)</name>
- <groupId>org.jboss.bpm</groupId>
- <artifactId>gwt-console-war</artifactId>
- <packaging>war</packaging>
-
- <!-- Parent -->
- <parent>
- <groupId>org.jboss.bpm</groupId>
- <artifactId>gwt-console</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- </parent>
-
- <!-- Dependencies -->
- <dependencies>
- <dependency>
- <groupId>com.google.gwt</groupId>
- <artifactId>gwt-servlet</artifactId>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>com.google.gwt</groupId>
- <artifactId>gwt-user</artifactId>
- <scope>provided</scope>
- </dependency>
- </dependencies>
-
- <!-- Plugins -->
- <build>
- <plugins>
- <plugin>
- <groupId>com.totsp.gwt</groupId>
- <artifactId>maven-googlewebtoolkit2-plugin</artifactId>
- <version>2.0-beta18</version>
- <configuration>
- <logLevel>INFO</logLevel>
- <compileTargets>
- <value>org.jboss.bpm.samples.airticket.Application
- </value>
- </compileTargets>
- <runTarget>org.jboss.bpm.samples.airticket.Application/Application.html
- </runTarget>
- <generatorRootClasses>
- <value>org.jboss.bpm.samples.airticket.Application</value>
- </generatorRootClasses>
- <overwriteGeneratedClasses>true</overwriteGeneratedClasses>
- <style>DETAILED</style>
- <generateGettersAndSetters> true</generateGettersAndSetters>
- <noServer>false</noServer>
- <extraJvmArgs>-Dgwt.coverage.enable=true</extraJvmArgs>
- </configuration>
- <executions>
- <execution>
- <goals>
- <!-- autoconfig gwt (download and unzip GWT itself) -->
- <!-- *note* you can also use manual config, if you already have GWT installed -->
- <!-- see site docs for details - http://gwt-maven.googlecode.com/svn/docs/maven-googlewebtoolkit2-plugin/s... -->
- <goal>setup</goal>
- <goal>extractGwt</goal>
- <!-- actual work goals -->
- <goal>mergewebxml</goal>
- <goal>compile</goal>
- <goal>gwt</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-war-plugin</artifactId>
- <configuration>
- <webXml>target/web.xml</webXml>
- </configuration>
- </plugin>
- </plugins>
- </build>
-
+ <modelVersion>4.0.0</modelVersion>
+ <name>JBossBPM - GWT Console (WAR)</name>
+ <groupId>org.jboss.bpm</groupId>
+ <artifactId>gwt-console-war</artifactId>
+ <packaging>war</packaging>
+
+ <!-- Parent -->
+ <parent>
+ <groupId>org.jboss.bpm</groupId>
+ <artifactId>gwt-console</artifactId>
+ <version>3.3.0-SNAPSHOT</version>
+ <relativePath>../pom.xml</relativePath>
+ </parent>
+
+ <!-- Dependencies -->
+ <dependencies>
+ <dependency>
+ <groupId>com.google.gwt</groupId>
+ <artifactId>gwt-servlet</artifactId>
+ <scope>runtime</scope>
+ </dependency>
+ <dependency>
+ <groupId>com.google.gwt</groupId>
+ <artifactId>gwt-user</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ </dependencies>
+
+ <!-- Plugins -->
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>com.totsp.gwt</groupId>
+ <artifactId>maven-googlewebtoolkit2-plugin</artifactId>
+ <version>2.0-beta18</version>
+ <configuration>
+ <logLevel>INFO</logLevel>
+ <compileTargets>
+ <value>org.jboss.bpm.console.Application</value>
+ </compileTargets>
+ <runTarget>org.jboss.bpm.console.Application/Application.html</runTarget>
+ <generatorRootClasses>
+ <value>org.jboss.bpm.console.Application</value>
+ </generatorRootClasses>
+ <overwriteGeneratedClasses>true</overwriteGeneratedClasses>
+ <style>DETAILED</style>
+ <generateGettersAndSetters>true</generateGettersAndSetters>
+ <noServer>false</noServer>
+ <extraJvmArgs>-Dgwt.coverage.enable=true</extraJvmArgs>
+ </configuration>
+ <executions>
+ <execution>
+ <goals>
+ <!--
+ autoconfig gwt (download and unzip GWT itself)
+ *note* you can also use manual config, if you already have GWT installed
+ see site docs for details -
+ http://gwt-maven.googlecode.com/svn/docs/maven-googlewebtoolkit2-plugin/s...
+ -->
+ <goal>setup</goal>
+ <goal>extractGwt</goal>
+ <!-- actual work goals -->
+ <goal>mergewebxml</goal>
+ <goal>compile</goal>
+ <goal>gwt</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-war-plugin</artifactId>
+ <configuration>
+ <webXml>target/web.xml</webXml>
+ </configuration>
+ </plugin>
+ </plugins>
+
+ </build>
</project>
\ No newline at end of file
Deleted: jbossbpm/impl/jbpm3/trunk/modules/gwt-console/war/src/main/java/org/jboss/bpm/console/Application.java
===================================================================
--- jbossbpm/impl/jbpm3/trunk/modules/gwt-console/war/src/main/java/org/jboss/bpm/console/Application.java 2008-07-30 08:34:51 UTC (rev 1764)
+++ jbossbpm/impl/jbpm3/trunk/modules/gwt-console/war/src/main/java/org/jboss/bpm/console/Application.java 2008-07-30 08:42:28 UTC (rev 1765)
@@ -1,48 +0,0 @@
-package org.jboss.bpm.console;
-
-import org.jboss.bpm.console.client.SampleImageBundle;
-
-import com.google.gwt.core.client.EntryPoint;
-import com.google.gwt.core.client.GWT;
-import com.google.gwt.user.client.ui.Button;
-import com.google.gwt.user.client.ui.ClickListener;
-import com.google.gwt.user.client.ui.Image;
-import com.google.gwt.user.client.ui.Label;
-import com.google.gwt.user.client.ui.RootPanel;
-import com.google.gwt.user.client.ui.Widget;
-
-/**
- * Entry point classes define <code>onModuleLoad()</code>.
- */
-public class Application implements EntryPoint
-{
- /**
- * This is the entry point method.
- */
- public void onModuleLoad()
- {
- // image bundle
- final SampleImageBundle sampleImageBundle = (SampleImageBundle)GWT.create(SampleImageBundle.class);
- final Image gwtLogoImage = sampleImageBundle.getGWTLogo().createImage();
- final Button button = new Button("Submit");
- final Label label = new Label();
-
- // css inclusion and use
- button.setStyleName("gwtMavenButton");
-
- button.addClickListener(new ClickListener()
- {
- public void onClick(Widget sender)
- {
- if (label.getText().equals(""))
- label.setText("Hello World");
- else
- label.setText("");
- }
- });
-
- RootPanel.get("gwtLogo").add(gwtLogoImage);
- RootPanel.get("rpcButton").add(button);
- RootPanel.get("rpcResponse").add(label);
- }
-}
Added: jbossbpm/impl/jbpm3/trunk/modules/gwt-console/war/src/main/java/org/jboss/bpm/console/client/Application.java
===================================================================
--- jbossbpm/impl/jbpm3/trunk/modules/gwt-console/war/src/main/java/org/jboss/bpm/console/client/Application.java (rev 0)
+++ jbossbpm/impl/jbpm3/trunk/modules/gwt-console/war/src/main/java/org/jboss/bpm/console/client/Application.java 2008-07-30 08:42:28 UTC (rev 1765)
@@ -0,0 +1,48 @@
+package org.jboss.bpm.console.client;
+
+import org.jboss.bpm.console.client.SampleImageBundle;
+
+import com.google.gwt.core.client.EntryPoint;
+import com.google.gwt.core.client.GWT;
+import com.google.gwt.user.client.ui.Button;
+import com.google.gwt.user.client.ui.ClickListener;
+import com.google.gwt.user.client.ui.Image;
+import com.google.gwt.user.client.ui.Label;
+import com.google.gwt.user.client.ui.RootPanel;
+import com.google.gwt.user.client.ui.Widget;
+
+/**
+ * Entry point classes define <code>onModuleLoad()</code>.
+ */
+public class Application implements EntryPoint
+{
+ /**
+ * This is the entry point method.
+ */
+ public void onModuleLoad()
+ {
+ // image bundle
+ final SampleImageBundle sampleImageBundle = (SampleImageBundle)GWT.create(SampleImageBundle.class);
+ final Image gwtLogoImage = sampleImageBundle.getGWTLogo().createImage();
+ final Button button = new Button("Submit");
+ final Label label = new Label();
+
+ // css inclusion and use
+ button.setStyleName("gwtMavenButton");
+
+ button.addClickListener(new ClickListener()
+ {
+ public void onClick(Widget sender)
+ {
+ if (label.getText().equals(""))
+ label.setText("Hello World");
+ else
+ label.setText("");
+ }
+ });
+
+ RootPanel.get("gwtLogo").add(gwtLogoImage);
+ RootPanel.get("rpcButton").add(button);
+ RootPanel.get("rpcResponse").add(label);
+ }
+}
Property changes on: jbossbpm/impl/jbpm3/trunk/modules/gwt-console/war/src/main/java/org/jboss/bpm/console/client/Application.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Modified: jbossbpm/impl/jbpm3/trunk/modules/gwt-console/war/src/main/java/org/jboss/bpm/console/client/SampleImageBundle.java
===================================================================
--- jbossbpm/impl/jbpm3/trunk/modules/gwt-console/war/src/main/java/org/jboss/bpm/console/client/SampleImageBundle.java 2008-07-30 08:34:51 UTC (rev 1764)
+++ jbossbpm/impl/jbpm3/trunk/modules/gwt-console/war/src/main/java/org/jboss/bpm/console/client/SampleImageBundle.java 2008-07-30 08:42:28 UTC (rev 1765)
@@ -32,7 +32,7 @@
{
/**
- * @gwt.resource org/jboss/bpm/samples/airticket/public/images/gwt-logo.png
+ * @gwt.resource org/jboss/bpm/console/public/images/gwt-logo.png
*/
public AbstractImagePrototype getGWTLogo();
Modified: jbossbpm/impl/jbpm3/trunk/modules/gwt-console/war/src/main/resources/org/jboss/bpm/console/Application.gwt.xml
===================================================================
--- jbossbpm/impl/jbpm3/trunk/modules/gwt-console/war/src/main/resources/org/jboss/bpm/console/Application.gwt.xml 2008-07-30 08:34:51 UTC (rev 1764)
+++ jbossbpm/impl/jbpm3/trunk/modules/gwt-console/war/src/main/resources/org/jboss/bpm/console/Application.gwt.xml 2008-07-30 08:42:28 UTC (rev 1765)
@@ -4,7 +4,7 @@
<inherits name='com.google.gwt.user.User' />
<!-- Specify the app entry point class. -->
- <entry-point class='org.jboss.bpm.console.Application' />
+ <entry-point class='org.jboss.bpm.console.client.Application' />
<!-- Specify a css to load into your gwt application -->
<stylesheet src='styles/sample.css' />
Modified: jbossbpm/impl/jbpm3/trunk/modules/gwt-console/war/src/main/resources/org/jboss/bpm/console/public/Application.html
===================================================================
--- jbossbpm/impl/jbpm3/trunk/modules/gwt-console/war/src/main/resources/org/jboss/bpm/console/public/Application.html 2008-07-30 08:34:51 UTC (rev 1764)
+++ jbossbpm/impl/jbpm3/trunk/modules/gwt-console/war/src/main/resources/org/jboss/bpm/console/public/Application.html 2008-07-30 08:42:28 UTC (rev 1765)
@@ -16,7 +16,7 @@
<!-- be added before this line. -->
<!-- -->
<script language='javascript'
- src='org.jboss.bpm.samples.airticket.Application.nocache.js'></script>
+ src='org.jboss.bpm.console.Application.nocache.js'></script>
</head>
<!-- -->
Modified: jbossbpm/impl/jbpm3/trunk/modules/gwt-console/war/src/main/webapp/index.html
===================================================================
--- jbossbpm/impl/jbpm3/trunk/modules/gwt-console/war/src/main/webapp/index.html 2008-07-30 08:34:51 UTC (rev 1764)
+++ jbossbpm/impl/jbpm3/trunk/modules/gwt-console/war/src/main/webapp/index.html 2008-07-30 08:42:28 UTC (rev 1765)
@@ -3,6 +3,6 @@
<head>
<!-- forward to the GWT Example Application -->
<meta http-equiv="REFRESH"
- content="0;url=com.totsp.mavenplugin.gwt.sample.Application/Application.html">
+ content="0;url=org.jboss.bpm.console.client.Application/Application.html">
</HEAD>
</HTML>
\ No newline at end of file
Modified: jbossbpm/impl/jbpm3/trunk/pom.xml
===================================================================
--- jbossbpm/impl/jbpm3/trunk/pom.xml 2008-07-30 08:34:51 UTC (rev 1764)
+++ jbossbpm/impl/jbpm3/trunk/pom.xml 2008-07-30 08:42:28 UTC (rev 1765)
@@ -49,6 +49,7 @@
<drools.version>3.0.4</drools.version>
<dumbster.version>1.6</dumbster.version>
<facelets.version>1.1.11</facelets.version>
+ <gwt.version>1.4.62</gwt.version>
<hibernate.version>3.2.6.ga</hibernate.version>
<hibernate.annotations.version>3.3.1.GA</hibernate.annotations.version>
<hibernate.validator.version>3.0.0.ga</hibernate.validator.version>
@@ -148,6 +149,16 @@
<artifactId>dumbster</artifactId>
<version>${dumbster.version}</version>
</dependency>
+ <dependency>
+ <groupId>com.google.gwt</groupId>
+ <artifactId>gwt-servlet</artifactId>
+ <version>${gwt.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>com.google.gwt</groupId>
+ <artifactId>gwt-user</artifactId>
+ <version>${gwt.version}</version>
+ </dependency>
<dependency>
<groupId>hsqldb</groupId>
<artifactId>hsqldb</artifactId>
@@ -392,4 +403,11 @@
</build>
</profile>
</profiles>
+
+ <pluginRepositories>
+ <pluginRepository>
+ <id>gwt-maven</id>
+ <url>http://gwt-maven.googlecode.com/svn/trunk/mavenrepo</url>
+ </pluginRepository>
+ </pluginRepositories>
</project>
15 years, 9 months
JBoss JBPM SVN: r1764 - jbossbpm/spec/trunk.
by do-not-reply@jboss.org
Author: thomas.diesler(a)jboss.com
Date: 2008-07-30 04:34:51 -0400 (Wed, 30 Jul 2008)
New Revision: 1764
Modified:
jbossbpm/spec/trunk/pom.xml
Log:
Modified: jbossbpm/spec/trunk/pom.xml
===================================================================
--- jbossbpm/spec/trunk/pom.xml 2008-07-30 07:40:56 UTC (rev 1763)
+++ jbossbpm/spec/trunk/pom.xml 2008-07-30 08:34:51 UTC (rev 1764)
@@ -19,6 +19,7 @@
<packaging>pom</packaging>
<version>1.0.0-SNAPSHOT</version>
+
<!-- Parent -->
<parent>
<groupId>org.jboss.jbpm</groupId>
@@ -50,6 +51,17 @@
<dependencyManagement>
<dependencies>
<dependency>
+ <groupId>org.jboss.bpm</groupId>
+ <artifactId>bpm-api</artifactId>
+ <version>${version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.bpm</groupId>
+ <artifactId>bpm-ri</artifactId>
+ <version>${version}</version>
+ </dependency>
+
+ <dependency>
<groupId>com.google.gwt</groupId>
<artifactId>gwt-servlet</artifactId>
<version>${google.gwt.version}</version>
@@ -107,11 +119,40 @@
</dependency>
</dependencies>
+ <!-- Plugins -->
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <systemProperties>
+ <property>
+ <name>jbpm.dialect</name>
+ <value>api10</value>
+ </property>
+ <property>
+ <name>log4j.output.dir</name>
+ <value>${project.build.directory}</value>
+ </property>
+ </systemProperties>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
<!-- DistributionManagement -->
<distributionManagement>
<!--
- Add this to your ~/.m2/settings.xml <servers> <server> <id>jbpm.dyndns.org</id> <username>yourname</username>
- <privateKey>/home/yourname/.ssh/id_rsa</privateKey> <passphrase>yourpass</passphrase> </server> </servers>
+ Add this to your ~/.m2/settings.xml
+
+ <servers>
+ <server>
+ <id>jbpm.dyndns.org</id>
+ <username>yourname</username>
+ <privateKey>/home/yourname/.ssh/id_rsa</privateKey>
+ <passphrase>yourpass</passphrase>
+ </server>
+ </servers>
-->
<site>
<id>jbpm.dyndns.org</id>
15 years, 9 months
JBoss JBPM SVN: r1763 - in jbossbpm/impl/jbpm3/trunk/modules/gwt-console: war and 8 other directories.
by do-not-reply@jboss.org
Author: heiko.braun(a)jboss.com
Date: 2008-07-30 03:40:56 -0400 (Wed, 30 Jul 2008)
New Revision: 1763
Added:
jbossbpm/impl/jbpm3/trunk/modules/gwt-console/war/src/main/java/org/jboss/bpm/console/
jbossbpm/impl/jbpm3/trunk/modules/gwt-console/war/src/main/java/org/jboss/bpm/console/Application.java
jbossbpm/impl/jbpm3/trunk/modules/gwt-console/war/src/main/java/org/jboss/bpm/console/client/
jbossbpm/impl/jbpm3/trunk/modules/gwt-console/war/src/main/java/org/jboss/bpm/console/client/SampleImageBundle.java
jbossbpm/impl/jbpm3/trunk/modules/gwt-console/war/src/main/resources/org/jboss/bpm/console/
jbossbpm/impl/jbpm3/trunk/modules/gwt-console/war/src/main/resources/org/jboss/bpm/console/Application.gwt.xml
jbossbpm/impl/jbpm3/trunk/modules/gwt-console/war/src/main/resources/org/jboss/bpm/console/public/
jbossbpm/impl/jbpm3/trunk/modules/gwt-console/war/src/main/resources/org/jboss/bpm/console/public/Application.html
jbossbpm/impl/jbpm3/trunk/modules/gwt-console/war/src/main/resources/org/jboss/bpm/console/public/images/
jbossbpm/impl/jbpm3/trunk/modules/gwt-console/war/src/main/resources/org/jboss/bpm/console/public/images/gwt-logo.png
jbossbpm/impl/jbpm3/trunk/modules/gwt-console/war/src/main/resources/org/jboss/bpm/console/public/styles/
jbossbpm/impl/jbpm3/trunk/modules/gwt-console/war/src/main/resources/org/jboss/bpm/console/public/styles/sample.css
Removed:
jbossbpm/impl/jbpm3/trunk/modules/gwt-console/war/src/main/java/org/jboss/bpm/samples/
jbossbpm/impl/jbpm3/trunk/modules/gwt-console/war/src/main/resources/org/jboss/bpm/samples/
Modified:
jbossbpm/impl/jbpm3/trunk/modules/gwt-console/pom.xml
jbossbpm/impl/jbpm3/trunk/modules/gwt-console/war/pom.xml
Log:
Change package names
Modified: jbossbpm/impl/jbpm3/trunk/modules/gwt-console/pom.xml
===================================================================
--- jbossbpm/impl/jbpm3/trunk/modules/gwt-console/pom.xml 2008-07-30 07:16:33 UTC (rev 1762)
+++ jbossbpm/impl/jbpm3/trunk/modules/gwt-console/pom.xml 2008-07-30 07:40:56 UTC (rev 1763)
@@ -1,17 +1,17 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
- <name>JBossBPM - Spec Samples Airticket</name>
+ <name>JBossBPM - GWT Console</name>
<groupId>org.jboss.bpm</groupId>
- <artifactId>bpm-sample-airticket</artifactId>
+ <artifactId>gwt-console</artifactId>
<packaging>pom</packaging>
-
- <!-- Parent -->
+
+ <!-- Parent -->
<parent>
- <groupId>org.jboss.bpm</groupId>
- <artifactId>bpm-spec</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- <relativePath>../../../pom.xml</relativePath>
+ <groupId>org.jboss.jbpm</groupId>
+ <artifactId>jbpm</artifactId>
+ <version>3.3.0-SNAPSHOT</version>
+ <relativePath>../../pom.xml</relativePath>
</parent>
<modules>
Modified: jbossbpm/impl/jbpm3/trunk/modules/gwt-console/war/pom.xml
===================================================================
--- jbossbpm/impl/jbpm3/trunk/modules/gwt-console/war/pom.xml 2008-07-30 07:16:33 UTC (rev 1762)
+++ jbossbpm/impl/jbpm3/trunk/modules/gwt-console/war/pom.xml 2008-07-30 07:40:56 UTC (rev 1763)
@@ -1,80 +1,80 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project>
- <modelVersion>4.0.0</modelVersion>
- <name>JBossBPM - Spec Samples Airticket (WAR)</name>
- <groupId>org.jboss.bpm</groupId>
- <artifactId>bpm-sample-airticket-war</artifactId>
- <packaging>war</packaging>
-
- <!-- Parent -->
- <parent>
- <groupId>org.jboss.bpm</groupId>
- <artifactId>bpm-sample-airticket</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- </parent>
-
- <!-- Dependencies -->
- <dependencies>
- <dependency>
- <groupId>com.google.gwt</groupId>
- <artifactId>gwt-servlet</artifactId>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>com.google.gwt</groupId>
- <artifactId>gwt-user</artifactId>
- <scope>provided</scope>
- </dependency>
- </dependencies>
-
- <!-- Plugins -->
- <build>
- <plugins>
- <plugin>
- <groupId>com.totsp.gwt</groupId>
- <artifactId>maven-googlewebtoolkit2-plugin</artifactId>
- <version>2.0-beta18</version>
+<?xml version="1.0" encoding="UTF-8"?>
+<project>
+ <modelVersion>4.0.0</modelVersion>
+ <name>JBossBPM - GWT Console (WAR)</name>
+ <groupId>org.jboss.bpm</groupId>
+ <artifactId>gwt-console-war</artifactId>
+ <packaging>war</packaging>
+
+ <!-- Parent -->
+ <parent>
+ <groupId>org.jboss.bpm</groupId>
+ <artifactId>gwt-console</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+ </parent>
+
+ <!-- Dependencies -->
+ <dependencies>
+ <dependency>
+ <groupId>com.google.gwt</groupId>
+ <artifactId>gwt-servlet</artifactId>
+ <scope>runtime</scope>
+ </dependency>
+ <dependency>
+ <groupId>com.google.gwt</groupId>
+ <artifactId>gwt-user</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ </dependencies>
+
+ <!-- Plugins -->
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>com.totsp.gwt</groupId>
+ <artifactId>maven-googlewebtoolkit2-plugin</artifactId>
+ <version>2.0-beta18</version>
<configuration>
- <logLevel>INFO</logLevel>
- <compileTargets>
- <value>org.jboss.bpm.samples.airticket.Application
- </value>
- </compileTargets>
- <runTarget>org.jboss.bpm.samples.airticket.Application/Application.html
- </runTarget>
- <generatorRootClasses>
- <value>org.jboss.bpm.samples.airticket.Application</value>
- </generatorRootClasses>
+ <logLevel>INFO</logLevel>
+ <compileTargets>
+ <value>org.jboss.bpm.samples.airticket.Application
+ </value>
+ </compileTargets>
+ <runTarget>org.jboss.bpm.samples.airticket.Application/Application.html
+ </runTarget>
+ <generatorRootClasses>
+ <value>org.jboss.bpm.samples.airticket.Application</value>
+ </generatorRootClasses>
<overwriteGeneratedClasses>true</overwriteGeneratedClasses>
- <style>DETAILED</style>
- <generateGettersAndSetters> true</generateGettersAndSetters>
+ <style>DETAILED</style>
+ <generateGettersAndSetters> true</generateGettersAndSetters>
<noServer>false</noServer>
- <extraJvmArgs>-Dgwt.coverage.enable=true</extraJvmArgs>
- </configuration>
- <executions>
- <execution>
- <goals>
- <!-- autoconfig gwt (download and unzip GWT itself) -->
- <!-- *note* you can also use manual config, if you already have GWT installed -->
- <!-- see site docs for details - http://gwt-maven.googlecode.com/svn/docs/maven-googlewebtoolkit2-plugin/s... -->
- <goal>setup</goal>
- <goal>extractGwt</goal>
- <!-- actual work goals -->
- <goal>mergewebxml</goal>
- <goal>compile</goal>
+ <extraJvmArgs>-Dgwt.coverage.enable=true</extraJvmArgs>
+ </configuration>
+ <executions>
+ <execution>
+ <goals>
+ <!-- autoconfig gwt (download and unzip GWT itself) -->
+ <!-- *note* you can also use manual config, if you already have GWT installed -->
+ <!-- see site docs for details - http://gwt-maven.googlecode.com/svn/docs/maven-googlewebtoolkit2-plugin/s... -->
+ <goal>setup</goal>
+ <goal>extractGwt</goal>
+ <!-- actual work goals -->
+ <goal>mergewebxml</goal>
+ <goal>compile</goal>
<goal>gwt</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-war-plugin</artifactId>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-war-plugin</artifactId>
<configuration>
<webXml>target/web.xml</webXml>
- </configuration>
+ </configuration>
</plugin>
- </plugins>
+ </plugins>
</build>
</project>
\ No newline at end of file
Added: jbossbpm/impl/jbpm3/trunk/modules/gwt-console/war/src/main/java/org/jboss/bpm/console/Application.java
===================================================================
--- jbossbpm/impl/jbpm3/trunk/modules/gwt-console/war/src/main/java/org/jboss/bpm/console/Application.java (rev 0)
+++ jbossbpm/impl/jbpm3/trunk/modules/gwt-console/war/src/main/java/org/jboss/bpm/console/Application.java 2008-07-30 07:40:56 UTC (rev 1763)
@@ -0,0 +1,48 @@
+package org.jboss.bpm.console;
+
+import org.jboss.bpm.console.client.SampleImageBundle;
+
+import com.google.gwt.core.client.EntryPoint;
+import com.google.gwt.core.client.GWT;
+import com.google.gwt.user.client.ui.Button;
+import com.google.gwt.user.client.ui.ClickListener;
+import com.google.gwt.user.client.ui.Image;
+import com.google.gwt.user.client.ui.Label;
+import com.google.gwt.user.client.ui.RootPanel;
+import com.google.gwt.user.client.ui.Widget;
+
+/**
+ * Entry point classes define <code>onModuleLoad()</code>.
+ */
+public class Application implements EntryPoint
+{
+ /**
+ * This is the entry point method.
+ */
+ public void onModuleLoad()
+ {
+ // image bundle
+ final SampleImageBundle sampleImageBundle = (SampleImageBundle)GWT.create(SampleImageBundle.class);
+ final Image gwtLogoImage = sampleImageBundle.getGWTLogo().createImage();
+ final Button button = new Button("Submit");
+ final Label label = new Label();
+
+ // css inclusion and use
+ button.setStyleName("gwtMavenButton");
+
+ button.addClickListener(new ClickListener()
+ {
+ public void onClick(Widget sender)
+ {
+ if (label.getText().equals(""))
+ label.setText("Hello World");
+ else
+ label.setText("");
+ }
+ });
+
+ RootPanel.get("gwtLogo").add(gwtLogoImage);
+ RootPanel.get("rpcButton").add(button);
+ RootPanel.get("rpcResponse").add(label);
+ }
+}
Property changes on: jbossbpm/impl/jbpm3/trunk/modules/gwt-console/war/src/main/java/org/jboss/bpm/console/Application.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: jbossbpm/impl/jbpm3/trunk/modules/gwt-console/war/src/main/java/org/jboss/bpm/console/client/SampleImageBundle.java
===================================================================
--- jbossbpm/impl/jbpm3/trunk/modules/gwt-console/war/src/main/java/org/jboss/bpm/console/client/SampleImageBundle.java (rev 0)
+++ jbossbpm/impl/jbpm3/trunk/modules/gwt-console/war/src/main/java/org/jboss/bpm/console/client/SampleImageBundle.java 2008-07-30 07:40:56 UTC (rev 1763)
@@ -0,0 +1,39 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.bpm.console.client;
+
+import com.google.gwt.user.client.ui.ImageBundle;
+import com.google.gwt.user.client.ui.AbstractImagePrototype;
+
+/**
+ * This is a sample how to use image bundles in your gwt-maven project.
+ * @author Andrew
+ */
+public interface SampleImageBundle extends ImageBundle
+{
+
+ /**
+ * @gwt.resource org/jboss/bpm/samples/airticket/public/images/gwt-logo.png
+ */
+ public AbstractImagePrototype getGWTLogo();
+
+}
Property changes on: jbossbpm/impl/jbpm3/trunk/modules/gwt-console/war/src/main/java/org/jboss/bpm/console/client/SampleImageBundle.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: jbossbpm/impl/jbpm3/trunk/modules/gwt-console/war/src/main/resources/org/jboss/bpm/console/Application.gwt.xml
===================================================================
--- jbossbpm/impl/jbpm3/trunk/modules/gwt-console/war/src/main/resources/org/jboss/bpm/console/Application.gwt.xml (rev 0)
+++ jbossbpm/impl/jbpm3/trunk/modules/gwt-console/war/src/main/resources/org/jboss/bpm/console/Application.gwt.xml 2008-07-30 07:40:56 UTC (rev 1763)
@@ -0,0 +1,11 @@
+<module>
+
+ <!-- Inherit the core Web Toolkit stuff. -->
+ <inherits name='com.google.gwt.user.User' />
+
+ <!-- Specify the app entry point class. -->
+ <entry-point class='org.jboss.bpm.console.Application' />
+
+ <!-- Specify a css to load into your gwt application -->
+ <stylesheet src='styles/sample.css' />
+</module>
\ No newline at end of file
Property changes on: jbossbpm/impl/jbpm3/trunk/modules/gwt-console/war/src/main/resources/org/jboss/bpm/console/Application.gwt.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: jbossbpm/impl/jbpm3/trunk/modules/gwt-console/war/src/main/resources/org/jboss/bpm/console/public/Application.html
===================================================================
--- jbossbpm/impl/jbpm3/trunk/modules/gwt-console/war/src/main/resources/org/jboss/bpm/console/public/Application.html (rev 0)
+++ jbossbpm/impl/jbpm3/trunk/modules/gwt-console/war/src/main/resources/org/jboss/bpm/console/public/Application.html 2008-07-30 07:40:56 UTC (rev 1763)
@@ -0,0 +1,48 @@
+<html>
+ <head>
+ <title>maven-googlewebtoolkit2-sample</title>
+ <style>
+ html,body{
+ font-family:arial,sans-serif;
+ height: 100%;
+ width: 800px;
+ align: center;
+ overflow: hidden;
+ }
+ </style>
+<!-- -->
+<!-- This script loads your compiled module. -->
+<!-- If you add any GWT meta tags, they must -->
+<!-- be added before this line. -->
+<!-- -->
+<script language='javascript'
+ src='org.jboss.bpm.samples.airticket.Application.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"
+ style="width: 0; height: 0; border: 0"></iframe>
+<table align=center>
+ <tr align="center">
+ <td>The Demo is Below<hr/></td>
+ </tr>
+ <!-- Below is where the gwt widgets are injected -->
+ <tr align="center">
+ <td id="gwtLogo"></td>
+ </tr>
+ <tr align="center">
+ <td id="rpcButton"></td>
+ </tr>
+ <tr align="center">
+ <td id="rpcResponse"></td>
+ </tr>
+</table>
+</body>
+</html>
Added: jbossbpm/impl/jbpm3/trunk/modules/gwt-console/war/src/main/resources/org/jboss/bpm/console/public/images/gwt-logo.png
===================================================================
(Binary files differ)
Property changes on: jbossbpm/impl/jbpm3/trunk/modules/gwt-console/war/src/main/resources/org/jboss/bpm/console/public/images/gwt-logo.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: jbossbpm/impl/jbpm3/trunk/modules/gwt-console/war/src/main/resources/org/jboss/bpm/console/public/styles/sample.css
===================================================================
--- jbossbpm/impl/jbpm3/trunk/modules/gwt-console/war/src/main/resources/org/jboss/bpm/console/public/styles/sample.css (rev 0)
+++ jbossbpm/impl/jbpm3/trunk/modules/gwt-console/war/src/main/resources/org/jboss/bpm/console/public/styles/sample.css 2008-07-30 07:40:56 UTC (rev 1763)
@@ -0,0 +1,11 @@
+/**
+* Sample showing how to include a css in your gwt-maven project
+*/
+.gwtMavenButton {
+ border-color: rgb(255, 0, 0);
+ font-weight: normal;
+ font-style: normal;
+ text-align: center;
+ background-color: rgb(255, 0, 0);
+ color: rgb(255, 255, 255);
+}
\ No newline at end of file
15 years, 9 months
JBoss JBPM SVN: r1762 - jbossbpm/impl/jbpm3/trunk/modules.
by do-not-reply@jboss.org
Author: heiko.braun(a)jboss.com
Date: 2008-07-30 03:16:33 -0400 (Wed, 30 Jul 2008)
New Revision: 1762
Added:
jbossbpm/impl/jbpm3/trunk/modules/gwt-console/
Removed:
jbossbpm/impl/jbpm3/trunk/modules/airticket/
Log:
Rename airticket sample to gwt-console
Copied: jbossbpm/impl/jbpm3/trunk/modules/gwt-console (from rev 1761, jbossbpm/impl/jbpm3/trunk/modules/airticket)
15 years, 9 months
JBoss JBPM SVN: r1761 - jbossbpm/impl/jbpm3/trunk/modules.
by do-not-reply@jboss.org
Author: heiko.braun(a)jboss.com
Date: 2008-07-30 03:15:44 -0400 (Wed, 30 Jul 2008)
New Revision: 1761
Added:
jbossbpm/impl/jbpm3/trunk/modules/airticket/
Log:
kickstart gwt-console
Copied: jbossbpm/impl/jbpm3/trunk/modules/airticket (from rev 1760, jbossbpm/spec/trunk/modules/samples/airticket)
15 years, 9 months
JBoss JBPM SVN: r1760 - in jbossbpm/spec/trunk: modules/api and 9 other directories.
by do-not-reply@jboss.org
Author: thomas.diesler(a)jboss.com
Date: 2008-07-30 02:37:04 -0400 (Wed, 30 Jul 2008)
New Revision: 1760
Added:
jbossbpm/spec/trunk/modules/api/.classpath
jbossbpm/spec/trunk/modules/api/.project
jbossbpm/spec/trunk/modules/dialects/.classpath
jbossbpm/spec/trunk/modules/dialects/.project
jbossbpm/spec/trunk/modules/dialects/api10/.classpath
jbossbpm/spec/trunk/modules/dialects/api10/.project
jbossbpm/spec/trunk/modules/dialects/jpdl32/.classpath
jbossbpm/spec/trunk/modules/dialects/jpdl32/.project
jbossbpm/spec/trunk/modules/dialects/stp/.classpath
jbossbpm/spec/trunk/modules/dialects/stp/.project
jbossbpm/spec/trunk/modules/dialects/xpdl21/.classpath
jbossbpm/spec/trunk/modules/dialects/xpdl21/.project
jbossbpm/spec/trunk/modules/ri/.classpath
jbossbpm/spec/trunk/modules/ri/.project
jbossbpm/spec/trunk/modules/samples/airticket/.classpath
jbossbpm/spec/trunk/modules/samples/airticket/.project
jbossbpm/spec/trunk/modules/samples/airticket/war/.classpath
jbossbpm/spec/trunk/modules/samples/airticket/war/.project
jbossbpm/spec/trunk/modules/testsuite/.classpath
jbossbpm/spec/trunk/modules/testsuite/.project
Modified:
jbossbpm/spec/trunk/.classpath
jbossbpm/spec/trunk/modules/api/
jbossbpm/spec/trunk/modules/ri/
jbossbpm/spec/trunk/modules/samples/airticket/
Log:
Add eclipse setup for individual modules
Modified: jbossbpm/spec/trunk/.classpath
===================================================================
--- jbossbpm/spec/trunk/.classpath 2008-07-29 22:17:15 UTC (rev 1759)
+++ jbossbpm/spec/trunk/.classpath 2008-07-30 06:37:04 UTC (rev 1760)
@@ -1,14 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
- <classpathentry kind="src" output="modules/api/target/classes" path="modules/api/src/main/java"/>
- <classpathentry kind="src" path="modules/samples/airticket/war/src/main/java"/>
- <classpathentry kind="src" path="modules/ri/src/test/java"/>
- <classpathentry kind="src" path="modules/ri/src/main/java"/>
- <classpathentry kind="src" output="modules/testsuite/target/test-classes" path="modules/testsuite/src/test/java"/>
- <classpathentry kind="src" path="modules/dialects/api10/src/main/java"/>
- <classpathentry kind="src" path="modules/dialects/stp/src/main/java"/>
- <classpathentry kind="src" path="modules/dialects/xpdl21/src/main/java"/>
- <classpathentry kind="src" path="modules/dialects/jpdl32/src/main/java"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="con" path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER"/>
<classpathentry kind="output" path="target/classes"/>
Property changes on: jbossbpm/spec/trunk/modules/api
___________________________________________________________________
Name: svn:ignore
- target
+ target
.settings
Added: jbossbpm/spec/trunk/modules/api/.classpath
===================================================================
--- jbossbpm/spec/trunk/modules/api/.classpath (rev 0)
+++ jbossbpm/spec/trunk/modules/api/.classpath 2008-07-30 06:37:04 UTC (rev 1760)
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" output="target/classes" path="src/main/java"/>
+ <classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con" path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER"/>
+ <classpathentry kind="output" path="target/classes"/>
+</classpath>
Added: jbossbpm/spec/trunk/modules/api/.project
===================================================================
--- jbossbpm/spec/trunk/modules/api/.project (rev 0)
+++ jbossbpm/spec/trunk/modules/api/.project 2008-07-30 06:37:04 UTC (rev 1760)
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>bpm-api</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.maven.ide.eclipse.maven2Builder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ <nature>org.maven.ide.eclipse.maven2Nature</nature>
+ </natures>
+</projectDescription>
Added: jbossbpm/spec/trunk/modules/dialects/.classpath
===================================================================
--- jbossbpm/spec/trunk/modules/dialects/.classpath (rev 0)
+++ jbossbpm/spec/trunk/modules/dialects/.classpath 2008-07-30 06:37:04 UTC (rev 1760)
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con" path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER"/>
+ <classpathentry kind="output" path="target/classes"/>
+</classpath>
Added: jbossbpm/spec/trunk/modules/dialects/.project
===================================================================
--- jbossbpm/spec/trunk/modules/dialects/.project (rev 0)
+++ jbossbpm/spec/trunk/modules/dialects/.project 2008-07-30 06:37:04 UTC (rev 1760)
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>bpm-dialects</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.maven.ide.eclipse.maven2Builder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ <nature>org.maven.ide.eclipse.maven2Nature</nature>
+ </natures>
+</projectDescription>
Added: jbossbpm/spec/trunk/modules/dialects/api10/.classpath
===================================================================
--- jbossbpm/spec/trunk/modules/dialects/api10/.classpath (rev 0)
+++ jbossbpm/spec/trunk/modules/dialects/api10/.classpath 2008-07-30 06:37:04 UTC (rev 1760)
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" output="target/classes" path="src/main/java"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con" path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER"/>
+ <classpathentry kind="output" path="target/classes"/>
+</classpath>
Added: jbossbpm/spec/trunk/modules/dialects/api10/.project
===================================================================
--- jbossbpm/spec/trunk/modules/dialects/api10/.project (rev 0)
+++ jbossbpm/spec/trunk/modules/dialects/api10/.project 2008-07-30 06:37:04 UTC (rev 1760)
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>bpm-dialect-api10</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.maven.ide.eclipse.maven2Builder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ <nature>org.maven.ide.eclipse.maven2Nature</nature>
+ </natures>
+</projectDescription>
Added: jbossbpm/spec/trunk/modules/dialects/jpdl32/.classpath
===================================================================
--- jbossbpm/spec/trunk/modules/dialects/jpdl32/.classpath (rev 0)
+++ jbossbpm/spec/trunk/modules/dialects/jpdl32/.classpath 2008-07-30 06:37:04 UTC (rev 1760)
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" output="target/classes" path="src/main/java"/>
+ <classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con" path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER"/>
+ <classpathentry kind="output" path="target/classes"/>
+</classpath>
Added: jbossbpm/spec/trunk/modules/dialects/jpdl32/.project
===================================================================
--- jbossbpm/spec/trunk/modules/dialects/jpdl32/.project (rev 0)
+++ jbossbpm/spec/trunk/modules/dialects/jpdl32/.project 2008-07-30 06:37:04 UTC (rev 1760)
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>bpm-dialect-jpdl32</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.maven.ide.eclipse.maven2Builder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ <nature>org.maven.ide.eclipse.maven2Nature</nature>
+ </natures>
+</projectDescription>
Added: jbossbpm/spec/trunk/modules/dialects/stp/.classpath
===================================================================
--- jbossbpm/spec/trunk/modules/dialects/stp/.classpath (rev 0)
+++ jbossbpm/spec/trunk/modules/dialects/stp/.classpath 2008-07-30 06:37:04 UTC (rev 1760)
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" output="target/classes" path="src/main/java"/>
+ <classpathentry kind="src" output="target/test-classes" path="src/test/java"/>
+ <classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources"/>
+ <classpathentry excluding="**" kind="src" output="target/test-classes" path="src/test/resources"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con" path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER"/>
+ <classpathentry kind="output" path="target/classes"/>
+</classpath>
Added: jbossbpm/spec/trunk/modules/dialects/stp/.project
===================================================================
--- jbossbpm/spec/trunk/modules/dialects/stp/.project (rev 0)
+++ jbossbpm/spec/trunk/modules/dialects/stp/.project 2008-07-30 06:37:04 UTC (rev 1760)
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>bpm-dialect-stp</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.maven.ide.eclipse.maven2Builder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ <nature>org.maven.ide.eclipse.maven2Nature</nature>
+ </natures>
+</projectDescription>
Added: jbossbpm/spec/trunk/modules/dialects/xpdl21/.classpath
===================================================================
--- jbossbpm/spec/trunk/modules/dialects/xpdl21/.classpath (rev 0)
+++ jbossbpm/spec/trunk/modules/dialects/xpdl21/.classpath 2008-07-30 06:37:04 UTC (rev 1760)
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" output="target/classes" path="src/main/java"/>
+ <classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con" path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER"/>
+ <classpathentry kind="output" path="target/classes"/>
+</classpath>
Added: jbossbpm/spec/trunk/modules/dialects/xpdl21/.project
===================================================================
--- jbossbpm/spec/trunk/modules/dialects/xpdl21/.project (rev 0)
+++ jbossbpm/spec/trunk/modules/dialects/xpdl21/.project 2008-07-30 06:37:04 UTC (rev 1760)
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>bpm-dialect-xpdl21</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.maven.ide.eclipse.maven2Builder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ <nature>org.maven.ide.eclipse.maven2Nature</nature>
+ </natures>
+</projectDescription>
Property changes on: jbossbpm/spec/trunk/modules/ri
___________________________________________________________________
Name: svn:ignore
- target
+ target
.settings
Added: jbossbpm/spec/trunk/modules/ri/.classpath
===================================================================
--- jbossbpm/spec/trunk/modules/ri/.classpath (rev 0)
+++ jbossbpm/spec/trunk/modules/ri/.classpath 2008-07-30 06:37:04 UTC (rev 1760)
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" output="target/classes" path="src/main/java"/>
+ <classpathentry kind="src" output="target/test-classes" path="src/test/java"/>
+ <classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con" path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER"/>
+ <classpathentry kind="output" path="target/classes"/>
+</classpath>
Added: jbossbpm/spec/trunk/modules/ri/.project
===================================================================
--- jbossbpm/spec/trunk/modules/ri/.project (rev 0)
+++ jbossbpm/spec/trunk/modules/ri/.project 2008-07-30 06:37:04 UTC (rev 1760)
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>bpm-ri</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.maven.ide.eclipse.maven2Builder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ <nature>org.maven.ide.eclipse.maven2Nature</nature>
+ </natures>
+</projectDescription>
Property changes on: jbossbpm/spec/trunk/modules/samples/airticket
___________________________________________________________________
Name: svn:ignore
- .gwt-cache
+ .gwt-cache
.settings
Added: jbossbpm/spec/trunk/modules/samples/airticket/.classpath
===================================================================
--- jbossbpm/spec/trunk/modules/samples/airticket/.classpath (rev 0)
+++ jbossbpm/spec/trunk/modules/samples/airticket/.classpath 2008-07-30 06:37:04 UTC (rev 1760)
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con" path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER"/>
+ <classpathentry kind="output" path="target/classes"/>
+</classpath>
Added: jbossbpm/spec/trunk/modules/samples/airticket/.project
===================================================================
--- jbossbpm/spec/trunk/modules/samples/airticket/.project (rev 0)
+++ jbossbpm/spec/trunk/modules/samples/airticket/.project 2008-07-30 06:37:04 UTC (rev 1760)
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>bpm-sample-airticket</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.maven.ide.eclipse.maven2Builder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ <nature>org.maven.ide.eclipse.maven2Nature</nature>
+ </natures>
+</projectDescription>
Added: jbossbpm/spec/trunk/modules/samples/airticket/war/.classpath
===================================================================
--- jbossbpm/spec/trunk/modules/samples/airticket/war/.classpath (rev 0)
+++ jbossbpm/spec/trunk/modules/samples/airticket/war/.classpath 2008-07-30 06:37:04 UTC (rev 1760)
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" output="target/classes" path="src/main/java"/>
+ <classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con" path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER"/>
+ <classpathentry kind="output" path="target/classes"/>
+</classpath>
Added: jbossbpm/spec/trunk/modules/samples/airticket/war/.project
===================================================================
--- jbossbpm/spec/trunk/modules/samples/airticket/war/.project (rev 0)
+++ jbossbpm/spec/trunk/modules/samples/airticket/war/.project 2008-07-30 06:37:04 UTC (rev 1760)
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>bpm-sample-airticket-war</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.maven.ide.eclipse.maven2Builder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ <nature>org.maven.ide.eclipse.maven2Nature</nature>
+ </natures>
+</projectDescription>
Added: jbossbpm/spec/trunk/modules/testsuite/.classpath
===================================================================
--- jbossbpm/spec/trunk/modules/testsuite/.classpath (rev 0)
+++ jbossbpm/spec/trunk/modules/testsuite/.classpath 2008-07-30 06:37:04 UTC (rev 1760)
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" output="target/test-classes" path="src/test/java"/>
+ <classpathentry excluding="**" kind="src" output="target/test-classes" path="src/test/resources"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con" path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER"/>
+ <classpathentry kind="output" path="target/classes"/>
+</classpath>
Added: jbossbpm/spec/trunk/modules/testsuite/.project
===================================================================
--- jbossbpm/spec/trunk/modules/testsuite/.project (rev 0)
+++ jbossbpm/spec/trunk/modules/testsuite/.project 2008-07-30 06:37:04 UTC (rev 1760)
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>bpm-testsuite</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.maven.ide.eclipse.maven2Builder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ <nature>org.maven.ide.eclipse.maven2Nature</nature>
+ </natures>
+</projectDescription>
15 years, 9 months
JBoss JBPM SVN: r1758 - jbossbpm/spec/trunk/modules/samples/airticket/war.
by do-not-reply@jboss.org
Author: thomas.diesler(a)jboss.com
Date: 2008-07-29 17:21:33 -0400 (Tue, 29 Jul 2008)
New Revision: 1758
Modified:
jbossbpm/spec/trunk/modules/samples/airticket/war/pom.xml
Log:
cleanup pom
Modified: jbossbpm/spec/trunk/modules/samples/airticket/war/pom.xml
===================================================================
--- jbossbpm/spec/trunk/modules/samples/airticket/war/pom.xml 2008-07-29 21:15:14 UTC (rev 1757)
+++ jbossbpm/spec/trunk/modules/samples/airticket/war/pom.xml 2008-07-29 21:21:33 UTC (rev 1758)
@@ -13,26 +13,28 @@
<version>1.0.0-SNAPSHOT</version>
</parent>
+ <!-- Dependencies -->
+ <dependencies>
+ <dependency>
+ <groupId>com.google.gwt</groupId>
+ <artifactId>gwt-servlet</artifactId>
+ <scope>runtime</scope>
+ </dependency>
+ <dependency>
+ <groupId>com.google.gwt</groupId>
+ <artifactId>gwt-user</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ </dependencies>
+
<!-- Plugins -->
<build>
<plugins>
- <!-- currently gwt supports java 1.4 (client) source -->
<plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <configuration>
- <source>1.4</source>
- <target>1.4</target>
- </configuration>
- </plugin>
- <!-- All the fantastical settings that GWT needs -->
- <plugin>
<groupId>com.totsp.gwt</groupId>
<artifactId>maven-googlewebtoolkit2-plugin</artifactId>
<version>2.0-beta18</version>
<configuration>
- <!-- gwtVersion can be specified, currently defaults to 1.4.61 if NOT specified -->
- <!-- <gwtVersion>1.4.61</gwtVersion> -->
<logLevel>INFO</logLevel>
<compileTargets>
<value>org.jboss.bpm.samples.airticket.Application
@@ -44,7 +46,6 @@
<value>org.jboss.bpm.samples.airticket.Application</value>
</generatorRootClasses>
<overwriteGeneratedClasses>true</overwriteGeneratedClasses>
- <!-- use style OBF for prod -->
<style>DETAILED</style>
<generateGettersAndSetters> true</generateGettersAndSetters>
<noServer>false</noServer>
@@ -53,18 +54,15 @@
<executions>
<execution>
<goals>
- <!-- autoconfig gwt (download and unzip GWT itself) -->
- <!-- *note* you can also use manual config, if you already have GWT installed -->
- <!-- see site docs for details - http://gwt-maven.googlecode.com/svn/docs/maven-googlewebtoolkit2-plugin/s... -->
+ <!-- autoconfig gwt (download and unzip GWT itself) -->
+ <!-- *note* you can also use manual config, if you already have GWT installed -->
+ <!-- see site docs for details - http://gwt-maven.googlecode.com/svn/docs/maven-googlewebtoolkit2-plugin/s... -->
<goal>setup</goal>
<goal>extractGwt</goal>
-
- <!-- actual work goals -->
+ <!-- actual work goals -->
<goal>mergewebxml</goal>
<goal>compile</goal>
<goal>gwt</goal>
- <!-- uncomment testGwt to see the testing and code coverage magic -->
- <!-- <goal>testGwt</goal> -->
</goals>
</execution>
</executions>
@@ -79,37 +77,4 @@
</plugins>
</build>
- <dependencies>
- <dependency>
- <groupId>com.google.gwt</groupId>
- <artifactId>gwt-servlet</artifactId>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>com.google.gwt</groupId>
- <artifactId>gwt-user</artifactId>
- <scope>provided</scope>
- </dependency>
- <!--
- coverage patch (used to generate code coverage data for GwtTestCase based tests, when -Dgwt.coverage.enable=true
- -->
- <dependency>
- <groupId>com.google.gwt</groupId>
- <artifactId>gwtcoverage</artifactId>
- <version>1.4.61</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>4.1</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>emma</groupId>
- <artifactId>emma</artifactId>
- <version>2.0.5312</version>
- <scope>test</scope>
- </dependency>
- </dependencies>
</project>
\ No newline at end of file
15 years, 9 months
JBoss JBPM SVN: r1757 - in jbossbpm/spec/trunk/modules/samples/airticket/war: src and 15 other directories.
by do-not-reply@jboss.org
Author: thomas.diesler(a)jboss.com
Date: 2008-07-29 17:15:14 -0400 (Tue, 29 Jul 2008)
New Revision: 1757
Added:
jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/java/org/
jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/java/org/jboss/
jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/java/org/jboss/bpm/
jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/java/org/jboss/bpm/samples/
jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/java/org/jboss/bpm/samples/airticket/
jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/java/org/jboss/bpm/samples/airticket/client/
jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/java/org/jboss/bpm/samples/airticket/client/Application.java
jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/java/org/jboss/bpm/samples/airticket/client/SampleImageBundle.java
jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/resources/org/
jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/resources/org/jboss/
jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/resources/org/jboss/bpm/
jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/resources/org/jboss/bpm/samples/
jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/resources/org/jboss/bpm/samples/airticket/
jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/resources/org/jboss/bpm/samples/airticket/Application.gwt.xml
jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/resources/org/jboss/bpm/samples/airticket/public/
jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/resources/org/jboss/bpm/samples/airticket/public/Application.html
jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/resources/org/jboss/bpm/samples/airticket/public/images/
jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/resources/org/jboss/bpm/samples/airticket/public/styles/
Removed:
jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/java/com/
jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/java/org/jboss/bpm/samples/airticket/client/Application.java
jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/java/org/jboss/bpm/samples/airticket/client/SampleImageBundle.java
jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/resources/com/
jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/resources/org/jboss/bpm/samples/airticket/public/Application.html
jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/resources/org/jboss/bpm/samples/airticket/public/images/
jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/resources/org/jboss/bpm/samples/airticket/public/styles/
jbossbpm/spec/trunk/modules/samples/airticket/war/src/site/
jbossbpm/spec/trunk/modules/samples/airticket/war/src/test/
Modified:
jbossbpm/spec/trunk/modules/samples/airticket/war/
jbossbpm/spec/trunk/modules/samples/airticket/war/pom.xml
jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/webapp/WEB-INF/web.xml
Log:
Change gwt sample package
Property changes on: jbossbpm/spec/trunk/modules/samples/airticket/war
___________________________________________________________________
Name: svn:ignore
- target
+ target
.gwt-cache
Modified: jbossbpm/spec/trunk/modules/samples/airticket/war/pom.xml
===================================================================
--- jbossbpm/spec/trunk/modules/samples/airticket/war/pom.xml 2008-07-29 20:56:49 UTC (rev 1756)
+++ jbossbpm/spec/trunk/modules/samples/airticket/war/pom.xml 2008-07-29 21:15:14 UTC (rev 1757)
@@ -35,13 +35,15 @@
<!-- <gwtVersion>1.4.61</gwtVersion> -->
<logLevel>INFO</logLevel>
<compileTargets>
- <value> com.totsp.mavenplugin.gwt.sample.Application</value>
+ <value>org.jboss.bpm.samples.airticket.Application
+ </value>
</compileTargets>
- <runTarget> com.totsp.mavenplugin.gwt.sample.Application/Application.html</runTarget>
+ <runTarget>org.jboss.bpm.samples.airticket.Application/Application.html
+ </runTarget>
<generatorRootClasses>
- <value> com.totsp.mavenplugin.gwt.sample.Application</value>
+ <value>org.jboss.bpm.samples.airticket.Application</value>
</generatorRootClasses>
- <overwriteGeneratedClasses> true</overwriteGeneratedClasses>
+ <overwriteGeneratedClasses>true</overwriteGeneratedClasses>
<!-- use style OBF for prod -->
<style>DETAILED</style>
<generateGettersAndSetters> true</generateGettersAndSetters>
@@ -74,67 +76,9 @@
<webXml>target/web.xml</webXml>
</configuration>
</plugin>
- <plugin>
- <!-- use AntRun to do the Emma report (GWT emits coverage data files on it's own) -->
- <artifactId>maven-antrun-plugin</artifactId>
- <executions>
- <!--
- <execution> <id>emma-coverage-report</id> <phase>pre-site</phase> <configuration> <tasks> <taskdef
- resource="emma_ant.properties" classpathref="maven.plugin.classpath" /> <emma enabled="true"> <report>
- <infileset dir="${project.build.directory}" includes="*.em, *.ec" /> <html
- outfile="${project.build.directory}/coverage/coverage.html" depth="method"
- columns="name,class,method,block,line" /> </report> </emma> <copy todir="${project.build.directory}/site/">
- <fileset dir="${project.build.directory}/coverage" /> </copy> </tasks> </configuration> <goals>
- <goal>run</goal> </goals> </execution>
- -->
- </executions>
- <dependencies>
- <dependency>
- <groupId>emma</groupId>
- <artifactId>emma</artifactId>
- <version>2.0.5312</version>
- </dependency>
- <dependency>
- <groupId>emma</groupId>
- <artifactId>emma_ant</artifactId>
- <version>2.0.5312</version>
- </dependency>
- </dependencies>
- </plugin>
</plugins>
</build>
- <!-- standard Maven reporting done here -->
- <reporting>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId> maven-project-info-reports-plugin</artifactId>
- <reportSets>
- <reportSet>
- <reports>
- <report>dependencies</report>
- </reports>
- </reportSet>
- </reportSets>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-report-plugin</artifactId>
- <!--
- the Maven Surefire Report plugin has a bug where it re-runs the tests, this is needed to avoid that -
- http://jira.codehaus.org/browse/SUREFIRE-257
- -->
- <reportSets>
- <reportSet>
- <reports>
- <report>report-only</report>
- </reports>
- </reportSet>
- </reportSets>
- </plugin>
- </plugins>
- </reporting>
<dependencies>
<dependency>
<groupId>com.google.gwt</groupId>
Copied: jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/java/org/jboss/bpm/samples/airticket/client (from rev 1754, jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/java/com/totsp/mavenplugin/gwt/sample/client)
Deleted: jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/java/org/jboss/bpm/samples/airticket/client/Application.java
===================================================================
--- jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/java/com/totsp/mavenplugin/gwt/sample/client/Application.java 2008-07-29 19:26:17 UTC (rev 1754)
+++ jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/java/org/jboss/bpm/samples/airticket/client/Application.java 2008-07-29 21:15:14 UTC (rev 1757)
@@ -1,96 +0,0 @@
-package com.totsp.mavenplugin.gwt.sample.client;
-
-import com.google.gwt.core.client.EntryPoint;
-import com.google.gwt.core.client.GWT;
-import com.google.gwt.user.client.rpc.AsyncCallback;
-import com.google.gwt.user.client.rpc.ServiceDefTarget;
-import com.google.gwt.user.client.ui.Button;
-import com.google.gwt.user.client.ui.ClickListener;
-import com.google.gwt.user.client.ui.Image;
-import com.google.gwt.user.client.ui.Label;
-import com.google.gwt.user.client.ui.RootPanel;
-import com.google.gwt.user.client.ui.Widget;
-import com.totsp.mavenplugin.gwt.sample.client.SampleRemoteService;
-import com.totsp.mavenplugin.gwt.sample.client.SampleRemoteServiceAsync;
-
-/**
- * Entry point classes define <code>onModuleLoad()</code>.
- */
-public class Application implements EntryPoint {
-
- /**
- * This is the entry point method.
- */
- public void onModuleLoad() {
-
- //example of image bundle
- final SampleImageBundle sampleImageBundle = (SampleImageBundle) GWT.create(SampleImageBundle.class);
- final Image gwtLogoImage = sampleImageBundle.getGWTLogo().createImage();
- gwtLogoImage.setTitle("This image was delivered via automatic resource inclusion and the ImageBundle feature");
-
-
- final Button button = new Button("Run GWT Async RPC!");
- //example of css inclusion and use
- button.setStyleName("gwtMavenButton");
-
- final Label label = new Label();
-
- button.setTitle("This will execute the RPC call to the Java v1.5 GWT server");
-
- button.addClickListener(new ClickListener() {
- public void onClick(Widget sender) {
-
- // (1) Create the client proxy. Note that although you are
- // creating the
- // service interface proper, you cast the result to the
- // asynchronous
- // version of
- // the interface. The cast is always safe because the generated
- // proxy
- // implements the asynchronous interface automatically.
- SampleRemoteServiceAsync sampleRemoteService = (SampleRemoteServiceAsync) GWT
- .create(SampleRemoteService.class);
-
- // (2) Specify the URL at which our service implementation is
- // running.
- // Note that the target URL must reside on the same domain and
- // port from
- // which the host page was served.
- ServiceDefTarget endpoint = (ServiceDefTarget) sampleRemoteService;
-
- String moduleRelativeURL = GWT.getModuleBaseURL()
- + "sampleRemoteService";
- endpoint.setServiceEntryPoint(moduleRelativeURL);
-
- // (3) Create an asynchronous callback to handle the result.
- AsyncCallback callback = new AsyncCallback() {
- public void onSuccess(Object result) {
- // do some UI stuff to show success
- label.setText((String) result);
- }
-
- public void onFailure(Throwable caught) {
- // do some UI stuff to show failure
- label.setText("DAMMIT! This didnt work.");
- }
- };
-
- // (4) Make the call. Control flow will continue immediately and
- // later
- // 'callback' will be invoked when the RPC completes.
- sampleRemoteService.doComplimentMe(callback);
-
- }
- });
-
- // Assume that the host HTML has elements defined whose
- // IDs are "slot1", "slot2". In a real app, you probably would not want
- // 4532
- // to hard-code IDs. Instead, you could, for example, search for all
- // elements with a particular CSS class and replace them with widgets.
- //
- RootPanel.get("gwtLogo").add(gwtLogoImage);
- RootPanel.get("rpcButton").add(button);
- RootPanel.get("rpcResponse").add(label);
- }
-}
Copied: jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/java/org/jboss/bpm/samples/airticket/client/Application.java (from rev 1756, jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/java/com/totsp/mavenplugin/gwt/sample/client/Application.java)
===================================================================
--- jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/java/org/jboss/bpm/samples/airticket/client/Application.java (rev 0)
+++ jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/java/org/jboss/bpm/samples/airticket/client/Application.java 2008-07-29 21:15:14 UTC (rev 1757)
@@ -0,0 +1,48 @@
+package org.jboss.bpm.samples.airticket.client;
+
+import org.jboss.bpm.samples.airticket.client.SampleImageBundle;
+
+import com.google.gwt.core.client.EntryPoint;
+import com.google.gwt.core.client.GWT;
+import com.google.gwt.user.client.ui.Button;
+import com.google.gwt.user.client.ui.ClickListener;
+import com.google.gwt.user.client.ui.Image;
+import com.google.gwt.user.client.ui.Label;
+import com.google.gwt.user.client.ui.RootPanel;
+import com.google.gwt.user.client.ui.Widget;
+
+/**
+ * Entry point classes define <code>onModuleLoad()</code>.
+ */
+public class Application implements EntryPoint
+{
+ /**
+ * This is the entry point method.
+ */
+ public void onModuleLoad()
+ {
+ // image bundle
+ final SampleImageBundle sampleImageBundle = (SampleImageBundle)GWT.create(SampleImageBundle.class);
+ final Image gwtLogoImage = sampleImageBundle.getGWTLogo().createImage();
+ final Button button = new Button("Submit");
+ final Label label = new Label();
+
+ // css inclusion and use
+ button.setStyleName("gwtMavenButton");
+
+ button.addClickListener(new ClickListener()
+ {
+ public void onClick(Widget sender)
+ {
+ if (label.getText().equals(""))
+ label.setText("Hello World");
+ else
+ label.setText("");
+ }
+ });
+
+ RootPanel.get("gwtLogo").add(gwtLogoImage);
+ RootPanel.get("rpcButton").add(button);
+ RootPanel.get("rpcResponse").add(label);
+ }
+}
Deleted: jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/java/org/jboss/bpm/samples/airticket/client/SampleImageBundle.java
===================================================================
--- jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/java/com/totsp/mavenplugin/gwt/sample/client/SampleImageBundle.java 2008-07-29 19:26:17 UTC (rev 1754)
+++ jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/java/org/jboss/bpm/samples/airticket/client/SampleImageBundle.java 2008-07-29 21:15:14 UTC (rev 1757)
@@ -1,17 +0,0 @@
-package com.totsp.mavenplugin.gwt.sample.client;
-
-import com.google.gwt.user.client.ui.AbstractImagePrototype;
-import com.google.gwt.user.client.ui.ImageBundle;
-
-/**
- * This is a sample how to use image bundles in your gwt-maven project.
- * @author Andrew
- */
-public interface SampleImageBundle extends ImageBundle {
-
- /**
- * @gwt.resource com/totsp/mavenplugin/gwt/sample/public/images/gwt-logo.png
- */
- public AbstractImagePrototype getGWTLogo();
-
-}
Copied: jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/java/org/jboss/bpm/samples/airticket/client/SampleImageBundle.java (from rev 1756, jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/java/com/totsp/mavenplugin/gwt/sample/client/SampleImageBundle.java)
===================================================================
--- jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/java/org/jboss/bpm/samples/airticket/client/SampleImageBundle.java (rev 0)
+++ jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/java/org/jboss/bpm/samples/airticket/client/SampleImageBundle.java 2008-07-29 21:15:14 UTC (rev 1757)
@@ -0,0 +1,17 @@
+package org.jboss.bpm.samples.airticket.client;
+
+import com.google.gwt.user.client.ui.AbstractImagePrototype;
+import com.google.gwt.user.client.ui.ImageBundle;
+
+/**
+ * This is a sample how to use image bundles in your gwt-maven project.
+ * @author Andrew
+ */
+public interface SampleImageBundle extends ImageBundle {
+
+ /**
+ * @gwt.resource org/jboss/bpm/samples/airticket/public/images/gwt-logo.png
+ */
+ public AbstractImagePrototype getGWTLogo();
+
+}
Copied: jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/resources/org/jboss/bpm/samples/airticket/Application.gwt.xml (from rev 1756, jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/resources/com/totsp/mavenplugin/gwt/sample/Application.gwt.xml)
===================================================================
--- jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/resources/org/jboss/bpm/samples/airticket/Application.gwt.xml (rev 0)
+++ jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/resources/org/jboss/bpm/samples/airticket/Application.gwt.xml 2008-07-29 21:15:14 UTC (rev 1757)
@@ -0,0 +1,11 @@
+<module>
+
+ <!-- Inherit the core Web Toolkit stuff. -->
+ <inherits name='com.google.gwt.user.User' />
+
+ <!-- Specify the app entry point class. -->
+ <entry-point class='org.jboss.bpm.samples.airticket.client.Application' />
+
+ <!-- Specify a css to load into your gwt application -->
+ <stylesheet src='styles/sample.css' />
+</module>
\ No newline at end of file
Copied: jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/resources/org/jboss/bpm/samples/airticket/public (from rev 1754, jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/resources/com/totsp/mavenplugin/gwt/sample/public)
Deleted: jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/resources/org/jboss/bpm/samples/airticket/public/Application.html
===================================================================
--- jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/resources/com/totsp/mavenplugin/gwt/sample/public/Application.html 2008-07-29 19:26:17 UTC (rev 1754)
+++ jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/resources/org/jboss/bpm/samples/airticket/public/Application.html 2008-07-29 21:15:14 UTC (rev 1757)
@@ -1,79 +0,0 @@
-<html>
- <head>
- <title>maven-googlewebtoolkit2-sample</title>
- <style>
- html,body{
- font-family:arial,sans-serif;
- height: 100%;
- width: 800px;
- align: center;
- overflow: hidden;
- }
- </style>
-<!-- -->
-<!-- This script loads your compiled module. -->
-<!-- If you add any GWT meta tags, they must -->
-<!-- be added before this line. -->
-<!-- -->
-<script language='javascript'
- src='com.totsp.mavenplugin.gwt.sample.Application.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"
- style="width: 0; height: 0; border: 0"></iframe>
-<table align=center>
- <tr align="center">
- <td>
- <h1>Welcome to the maven-googlewebtoolkit2-sample</h1>
- <table>
- <tr>
- <td>
- <p>This is a <i>simple</i> gwt-maven example project, based on GWT v1.4.6x and maven v2.0.9+.</p>
-
- Inside this example you will find a...
- <ul>
- <li>Maven Multi-Module project</li>
- <li>GWT client that makes an RPC/AJAX call to a Java1.5 GWT server</li>
- <li>Automatic Resource Inclusion (css)</li>
- <li>Automatic Resource Inclusion (images via an ImageBundle)</li>
- </ul>
-
- Maven Modules Explained:
- <ul>
- <li>parent: this is the root/parent of the project</li>
- <li>war: this is the client GWT code</li>
- <li>rpc: this is an interface to a GWT server (not an
- implementation)</li>
- <li>server: is the implementation of the rpc interface (in
- Java1.5+)</li>
- <li>Look inside the pom.xml's for more comments and docs</li>
- </ul>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <tr align="center">
- <td>The Demo is Below<hr/></td>
- </tr>
- <!-- Below is where the gwt widgets are injected -->
- <tr align="center">
- <td id="gwtLogo"></td>
- </tr>
- <tr align="center">
- <td id="rpcButton"></td>
- </tr>
- <tr align="center">
- <td id="rpcResponse"></td>
- </tr>
-</table>
-</body>
-</html>
Copied: jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/resources/org/jboss/bpm/samples/airticket/public/Application.html (from rev 1756, jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/resources/com/totsp/mavenplugin/gwt/sample/public/Application.html)
===================================================================
--- jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/resources/org/jboss/bpm/samples/airticket/public/Application.html (rev 0)
+++ jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/resources/org/jboss/bpm/samples/airticket/public/Application.html 2008-07-29 21:15:14 UTC (rev 1757)
@@ -0,0 +1,48 @@
+<html>
+ <head>
+ <title>maven-googlewebtoolkit2-sample</title>
+ <style>
+ html,body{
+ font-family:arial,sans-serif;
+ height: 100%;
+ width: 800px;
+ align: center;
+ overflow: hidden;
+ }
+ </style>
+<!-- -->
+<!-- This script loads your compiled module. -->
+<!-- If you add any GWT meta tags, they must -->
+<!-- be added before this line. -->
+<!-- -->
+<script language='javascript'
+ src='org.jboss.bpm.samples.airticket.Application.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"
+ style="width: 0; height: 0; border: 0"></iframe>
+<table align=center>
+ <tr align="center">
+ <td>The Demo is Below<hr/></td>
+ </tr>
+ <!-- Below is where the gwt widgets are injected -->
+ <tr align="center">
+ <td id="gwtLogo"></td>
+ </tr>
+ <tr align="center">
+ <td id="rpcButton"></td>
+ </tr>
+ <tr align="center">
+ <td id="rpcResponse"></td>
+ </tr>
+</table>
+</body>
+</html>
Copied: jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/resources/org/jboss/bpm/samples/airticket/public/images (from rev 1756, jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/resources/com/totsp/mavenplugin/gwt/sample/public/images)
Copied: jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/resources/org/jboss/bpm/samples/airticket/public/styles (from rev 1756, jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/resources/com/totsp/mavenplugin/gwt/sample/public/styles)
Modified: jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/webapp/WEB-INF/web.xml
===================================================================
--- jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/webapp/WEB-INF/web.xml 2008-07-29 20:56:49 UTC (rev 1756)
+++ jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/webapp/WEB-INF/web.xml 2008-07-29 21:15:14 UTC (rev 1757)
@@ -1,19 +1,9 @@
<!DOCTYPE web-app PUBLIC
"-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd" >
-
+
<web-app>
- <display-name>Archetype Created Web Application</display-name>
- <servlet>
- <servlet-name>HttpServlet</servlet-name>
- <servlet-class>com.totsp.mavenplugin.gwt.sample.server.HttpServlet</servlet-class>
- </servlet>
- <servlet-mapping>
- <servlet-name>HttpServlet</servlet-name>
- <url-pattern>/HttpServlet</url-pattern>
- </servlet-mapping>
-
- <welcome-file-list>
- <welcome-file>index.html</welcome-file>
- </welcome-file-list>
-</web-app>
+ <welcome-file-list>
+ <welcome-file>index.html</welcome-file>
+ </welcome-file-list>
+</web-app>
\ No newline at end of file
15 years, 9 months
JBoss JBPM SVN: r1756 - in jbossbpm/spec/trunk: modules/samples/airticket and 4 other directories.
by do-not-reply@jboss.org
Author: thomas.diesler(a)jboss.com
Date: 2008-07-29 16:56:49 -0400 (Tue, 29 Jul 2008)
New Revision: 1756
Removed:
jbossbpm/spec/trunk/modules/samples/airticket/rpc/
jbossbpm/spec/trunk/modules/samples/airticket/server/
Modified:
jbossbpm/spec/trunk/.classpath
jbossbpm/spec/trunk/modules/samples/airticket/pom.xml
jbossbpm/spec/trunk/modules/samples/airticket/war/pom.xml
jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/java/com/totsp/mavenplugin/gwt/sample/client/Application.java
jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/resources/com/totsp/mavenplugin/gwt/sample/Application.gwt.xml
jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/resources/com/totsp/mavenplugin/gwt/sample/public/Application.html
jbossbpm/spec/trunk/pom.xml
Log:
Remove unwanted gwt sample stuff
Modified: jbossbpm/spec/trunk/.classpath
===================================================================
--- jbossbpm/spec/trunk/.classpath 2008-07-29 19:40:36 UTC (rev 1755)
+++ jbossbpm/spec/trunk/.classpath 2008-07-29 20:56:49 UTC (rev 1756)
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" output="modules/api/target/classes" path="modules/api/src/main/java"/>
+ <classpathentry kind="src" path="modules/samples/airticket/war/src/main/java"/>
<classpathentry kind="src" path="modules/ri/src/test/java"/>
<classpathentry kind="src" path="modules/ri/src/main/java"/>
<classpathentry kind="src" output="modules/testsuite/target/test-classes" path="modules/testsuite/src/test/java"/>
Modified: jbossbpm/spec/trunk/modules/samples/airticket/pom.xml
===================================================================
--- jbossbpm/spec/trunk/modules/samples/airticket/pom.xml 2008-07-29 19:40:36 UTC (rev 1755)
+++ jbossbpm/spec/trunk/modules/samples/airticket/pom.xml 2008-07-29 20:56:49 UTC (rev 1756)
@@ -1,84 +1,20 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <groupId>com.totsp.gwt</groupId>
- <artifactId>maven-googlewebtoolkit2-sample</artifactId>
- <packaging>pom</packaging>
- <version>1.0-SNAPSHOT</version>
- <name>maven-googlewebtoolkit2-sample</name>
-
- <pluginRepositories>
- <pluginRepository>
- <id>gwt-maven-plugins</id>
- <url>
- http://gwt-maven.googlecode.com/svn/trunk/mavenrepo/
- </url>
- </pluginRepository>
- </pluginRepositories>
-
- <repositories>
- <repository>
- <id>java.net</id>
- <url>http://download.java.net/maven/1</url>
- <layout>legacy</layout>
- </repository>
- <repository>
- <id>gwt-maven</id>
- <url>
- http://gwt-maven.googlecode.com/svn/trunk/mavenrepo/
- </url>
- </repository>
- </repositories>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <name>JBossBPM - Spec Samples Airticket</name>
+ <groupId>org.jboss.bpm</groupId>
+ <artifactId>bpm-sample-airticket</artifactId>
+ <packaging>pom</packaging>
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>com.totsp.gwt</groupId>
- <artifactId>
- maven-googlewebtoolkit2-sample-war
- </artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>com.totsp.gwt</groupId>
- <artifactId>
- maven-googlewebtoolkit2-sample-rpc
- </artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>com.totsp.gwt</groupId>
- <artifactId>
- maven-googlewebtoolkit2-sample-server
- </artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>com.google.gwt</groupId>
- <artifactId>gwt-servlet</artifactId>
- <version>1.4.61</version>
- </dependency>
- <dependency>
- <groupId>com.google.gwt</groupId>
- <artifactId>gwt-user</artifactId>
- <version>1.4.61</version>
- </dependency>
- </dependencies>
- </dependencyManagement>
-
- <dependencies>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>3.8.1</version>
- <scope>test</scope>
- </dependency>
- </dependencies>
-
- <modules>
- <module>rpc</module>
- <module>server</module>
- <module>war</module>
- </modules>
-</project>
+ <!-- Parent -->
+ <parent>
+ <groupId>org.jboss.bpm</groupId>
+ <artifactId>bpm-spec</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+ <relativePath>../../../pom.xml</relativePath>
+ </parent>
+
+ <modules>
+ <module>war</module>
+ </modules>
+</project>
\ No newline at end of file
Modified: jbossbpm/spec/trunk/modules/samples/airticket/war/pom.xml
===================================================================
--- jbossbpm/spec/trunk/modules/samples/airticket/war/pom.xml 2008-07-29 19:40:36 UTC (rev 1755)
+++ jbossbpm/spec/trunk/modules/samples/airticket/war/pom.xml 2008-07-29 20:56:49 UTC (rev 1756)
@@ -1,14 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<project>
+ <modelVersion>4.0.0</modelVersion>
+ <name>JBossBPM - Spec Samples Airticket (WAR)</name>
+ <groupId>org.jboss.bpm</groupId>
+ <artifactId>bpm-sample-airticket-war</artifactId>
+ <packaging>war</packaging>
+
+ <!-- Parent -->
<parent>
- <artifactId>maven-googlewebtoolkit2-sample</artifactId>
- <groupId>com.totsp.gwt</groupId>
- <version>1.0-SNAPSHOT</version>
+ <groupId>org.jboss.bpm</groupId>
+ <artifactId>bpm-sample-airticket</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
</parent>
- <modelVersion>4.0.0</modelVersion>
- <artifactId>maven-googlewebtoolkit2-sample-war</artifactId>
- <packaging>war</packaging>
- <name>maven-googlewebtoolkit2-sample-war</name>
+
+ <!-- Plugins -->
<build>
<plugins>
<!-- currently gwt supports java 1.4 (client) source -->
@@ -132,10 +137,6 @@
</reporting>
<dependencies>
<dependency>
- <groupId>com.totsp.gwt</groupId>
- <artifactId> maven-googlewebtoolkit2-sample-server</artifactId>
- </dependency>
- <dependency>
<groupId>com.google.gwt</groupId>
<artifactId>gwt-servlet</artifactId>
<scope>runtime</scope>
Modified: jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/java/com/totsp/mavenplugin/gwt/sample/client/Application.java
===================================================================
--- jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/java/com/totsp/mavenplugin/gwt/sample/client/Application.java 2008-07-29 19:40:36 UTC (rev 1755)
+++ jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/java/com/totsp/mavenplugin/gwt/sample/client/Application.java 2008-07-29 20:56:49 UTC (rev 1756)
@@ -2,95 +2,46 @@
import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.core.client.GWT;
-import com.google.gwt.user.client.rpc.AsyncCallback;
-import com.google.gwt.user.client.rpc.ServiceDefTarget;
import com.google.gwt.user.client.ui.Button;
import com.google.gwt.user.client.ui.ClickListener;
import com.google.gwt.user.client.ui.Image;
import com.google.gwt.user.client.ui.Label;
import com.google.gwt.user.client.ui.RootPanel;
import com.google.gwt.user.client.ui.Widget;
-import com.totsp.mavenplugin.gwt.sample.client.SampleRemoteService;
-import com.totsp.mavenplugin.gwt.sample.client.SampleRemoteServiceAsync;
+import com.totsp.mavenplugin.gwt.sample.client.SampleImageBundle;
/**
* Entry point classes define <code>onModuleLoad()</code>.
*/
-public class Application implements EntryPoint {
+public class Application implements EntryPoint
+{
+ /**
+ * This is the entry point method.
+ */
+ public void onModuleLoad()
+ {
+ // image bundle
+ final SampleImageBundle sampleImageBundle = (SampleImageBundle)GWT.create(SampleImageBundle.class);
+ final Image gwtLogoImage = sampleImageBundle.getGWTLogo().createImage();
+ final Button button = new Button("Submit");
+ final Label label = new Label();
+
+ // css inclusion and use
+ button.setStyleName("gwtMavenButton");
- /**
- * This is the entry point method.
- */
- public void onModuleLoad() {
-
- //example of image bundle
- final SampleImageBundle sampleImageBundle = (SampleImageBundle) GWT.create(SampleImageBundle.class);
- final Image gwtLogoImage = sampleImageBundle.getGWTLogo().createImage();
- gwtLogoImage.setTitle("This image was delivered via automatic resource inclusion and the ImageBundle feature");
-
-
- final Button button = new Button("Run GWT Async RPC!");
- //example of css inclusion and use
- button.setStyleName("gwtMavenButton");
-
- final Label label = new Label();
+ button.addClickListener(new ClickListener()
+ {
+ public void onClick(Widget sender)
+ {
+ if (label.getText().equals(""))
+ label.setText("Hello World");
+ else
+ label.setText("");
+ }
+ });
- button.setTitle("This will execute the RPC call to the Java v1.5 GWT server");
-
- button.addClickListener(new ClickListener() {
- public void onClick(Widget sender) {
-
- // (1) Create the client proxy. Note that although you are
- // creating the
- // service interface proper, you cast the result to the
- // asynchronous
- // version of
- // the interface. The cast is always safe because the generated
- // proxy
- // implements the asynchronous interface automatically.
- SampleRemoteServiceAsync sampleRemoteService = (SampleRemoteServiceAsync) GWT
- .create(SampleRemoteService.class);
-
- // (2) Specify the URL at which our service implementation is
- // running.
- // Note that the target URL must reside on the same domain and
- // port from
- // which the host page was served.
- ServiceDefTarget endpoint = (ServiceDefTarget) sampleRemoteService;
-
- String moduleRelativeURL = GWT.getModuleBaseURL()
- + "sampleRemoteService";
- endpoint.setServiceEntryPoint(moduleRelativeURL);
-
- // (3) Create an asynchronous callback to handle the result.
- AsyncCallback callback = new AsyncCallback() {
- public void onSuccess(Object result) {
- // do some UI stuff to show success
- label.setText((String) result);
- }
-
- public void onFailure(Throwable caught) {
- // do some UI stuff to show failure
- label.setText("DAMMIT! This didnt work.");
- }
- };
-
- // (4) Make the call. Control flow will continue immediately and
- // later
- // 'callback' will be invoked when the RPC completes.
- sampleRemoteService.doComplimentMe(callback);
-
- }
- });
-
- // Assume that the host HTML has elements defined whose
- // IDs are "slot1", "slot2". In a real app, you probably would not want
- // 4532
- // to hard-code IDs. Instead, you could, for example, search for all
- // elements with a particular CSS class and replace them with widgets.
- //
- RootPanel.get("gwtLogo").add(gwtLogoImage);
- RootPanel.get("rpcButton").add(button);
- RootPanel.get("rpcResponse").add(label);
- }
+ RootPanel.get("gwtLogo").add(gwtLogoImage);
+ RootPanel.get("rpcButton").add(button);
+ RootPanel.get("rpcResponse").add(label);
+ }
}
Modified: jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/resources/com/totsp/mavenplugin/gwt/sample/Application.gwt.xml
===================================================================
--- jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/resources/com/totsp/mavenplugin/gwt/sample/Application.gwt.xml 2008-07-29 19:40:36 UTC (rev 1755)
+++ jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/resources/com/totsp/mavenplugin/gwt/sample/Application.gwt.xml 2008-07-29 20:56:49 UTC (rev 1756)
@@ -3,9 +3,6 @@
<!-- Inherit the core Web Toolkit stuff. -->
<inherits name='com.google.gwt.user.User' />
- <!-- Inherit the server project, which defines a service servlet endpoint -->
- <inherits name='com.totsp.mavenplugin.gwt.sample.server.ApplicationServices' />
-
<!-- Specify the app entry point class. -->
<entry-point class='com.totsp.mavenplugin.gwt.sample.client.Application' />
Modified: jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/resources/com/totsp/mavenplugin/gwt/sample/public/Application.html
===================================================================
--- jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/resources/com/totsp/mavenplugin/gwt/sample/public/Application.html 2008-07-29 19:40:36 UTC (rev 1755)
+++ jbossbpm/spec/trunk/modules/samples/airticket/war/src/main/resources/com/totsp/mavenplugin/gwt/sample/public/Application.html 2008-07-29 20:56:49 UTC (rev 1756)
@@ -31,37 +31,6 @@
style="width: 0; height: 0; border: 0"></iframe>
<table align=center>
<tr align="center">
- <td>
- <h1>Welcome to the maven-googlewebtoolkit2-sample</h1>
- <table>
- <tr>
- <td>
- <p>This is a <i>simple</i> gwt-maven example project, based on GWT v1.4.6x and maven v2.0.9+.</p>
-
- Inside this example you will find a...
- <ul>
- <li>Maven Multi-Module project</li>
- <li>GWT client that makes an RPC/AJAX call to a Java1.5 GWT server</li>
- <li>Automatic Resource Inclusion (css)</li>
- <li>Automatic Resource Inclusion (images via an ImageBundle)</li>
- </ul>
-
- Maven Modules Explained:
- <ul>
- <li>parent: this is the root/parent of the project</li>
- <li>war: this is the client GWT code</li>
- <li>rpc: this is an interface to a GWT server (not an
- implementation)</li>
- <li>server: is the implementation of the rpc interface (in
- Java1.5+)</li>
- <li>Look inside the pom.xml's for more comments and docs</li>
- </ul>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <tr align="center">
<td>The Demo is Below<hr/></td>
</tr>
<!-- Below is where the gwt widgets are injected -->
Modified: jbossbpm/spec/trunk/pom.xml
===================================================================
--- jbossbpm/spec/trunk/pom.xml 2008-07-29 19:40:36 UTC (rev 1755)
+++ jbossbpm/spec/trunk/pom.xml 2008-07-29 20:56:49 UTC (rev 1756)
@@ -31,12 +31,14 @@
<module>modules/api</module>
<module>modules/ri</module>
<module>modules/dialects</module>
+ <module>modules/samples/airticket</module>
<module>modules/testsuite</module>
</modules>
<!-- Properties -->
<properties>
<commons.logging.version>1.1.1</commons.logging.version>
+ <google.gwt.version>1.4.61</google.gwt.version>
<jaxb.ri.version>2.1.7</jaxb.ri.version>
<javax.servlet.version>2.5</javax.servlet.version>
<jboss.microcontainer.version>2.0.0.Beta15</jboss.microcontainer.version>
@@ -48,6 +50,16 @@
<dependencyManagement>
<dependencies>
<dependency>
+ <groupId>com.google.gwt</groupId>
+ <artifactId>gwt-servlet</artifactId>
+ <version>${google.gwt.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>com.google.gwt</groupId>
+ <artifactId>gwt-user</artifactId>
+ <version>${google.gwt.version}</version>
+ </dependency>
+ <dependency>
<groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-impl</artifactId>
<version>${jaxb.ri.version}</version>
15 years, 9 months