Skip to content

Commit

Permalink
Update demos (description below).
Browse files Browse the repository at this point in the history
* Upgrade several demos to EmbeddedWildFlyLauncher (SDM was broken in some demos with the JBossLauncher).
* Fix bugs in jpa demos relating to new IoC.
* Remove non-Wildfly app server profiles for several demos (don't have resources to maintain them).
* Rename jboss7 profiles to wildfly.
* Update README.md files to refer to Wildfly instead of JBoss AS 6/7.
* Add .gitignore.
  • Loading branch information
mbarkley committed Apr 15, 2016
1 parent d67f140 commit 637ea8f
Show file tree
Hide file tree
Showing 46 changed files with 378 additions and 800 deletions.
1 change: 1 addition & 0 deletions errai-demos/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
**/WEB-INF/lib/
4 changes: 2 additions & 2 deletions errai-demos/errai-bus-demo-stock/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -340,9 +340,9 @@
</profile>

<profile>
<id>jboss7</id>
<id>wildfly</id>
<properties>
<webDescriptor>jboss7</webDescriptor>
<webDescriptor>wildfly</webDescriptor>
<errai-jboss-as-support.scope>compile</errai-jboss-as-support.scope>
</properties>
</profile>
Expand Down
2 changes: 1 addition & 1 deletion errai-demos/errai-bus-demo-stress-test/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ execute the following command:

mvn clean package -Pintegration-test -P<app-server-profile>

Available app server profile names are jboss7, jboss6, jetty, and tomcat. Remember to clean every
Available app server profile names are wildfly and tomcat. Remember to clean every
time you build for a different app server.


Expand Down
6 changes: 3 additions & 3 deletions errai-demos/errai-bus-demo-stress-test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
<properties>
<skipTests>true</skipTests>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<webDescriptor>jboss7</webDescriptor>
<webDescriptor>wildfly</webDescriptor>
<!-- maven plugins versions -->
<maven.war.plugin.version>2.1.1</maven.war.plugin.version>
<maven.surefire.plugin.version>2.5</maven.surefire.plugin.version>
Expand Down Expand Up @@ -334,9 +334,9 @@
</profile>

<profile>
<id>jboss7</id>
<id>wildfly</id>
<properties>
<webDescriptor>jboss7</webDescriptor>
<webDescriptor>wildfly</webDescriptor>
<errai-jboss-as-support.scope>compile</errai-jboss-as-support.scope>
</properties>

Expand Down
4 changes: 2 additions & 2 deletions errai-demos/errai-cdi-demo-mobile/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ To try it in dev mode, ensure you have Maven 3 installed, then type the followin

% mvn gwt:run

To build a .war file that you can deploy to JBoss EAP 6, AS 7 or the OpenShift cloud:
To build a .war file that you can deploy to Wildfly 8 or the OpenShift cloud:

% mvn clean package -Pjboss7
% mvn clean package -Pwildfly

Then copy target/errai-cdi-demo-mobile.war to the appropriate location.

6 changes: 3 additions & 3 deletions errai-demos/errai-cdi-demo-mobile/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<webDescriptor>jboss7</webDescriptor>
<webDescriptor>wildfly</webDescriptor>
<skipTests>true</skipTests>
<argLine></argLine>
<!-- maven plugins versions -->
Expand Down Expand Up @@ -423,9 +423,9 @@
</profile>

<profile>
<id>jboss7</id>
<id>wildfly</id>
<properties>
<webDescriptor>jboss7</webDescriptor>
<webDescriptor>wildfly</webDescriptor>
</properties>

<dependencies>
Expand Down
6 changes: 3 additions & 3 deletions errai-demos/errai-cdi-demo-tagcloud/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<webDescriptor>jboss7</webDescriptor>
<webDescriptor>wildfly</webDescriptor>
<skipTests>true</skipTests>
<argLine></argLine>
<!-- maven plugins versions -->
Expand Down Expand Up @@ -349,9 +349,9 @@
</profile>

<profile>
<id>jboss7</id>
<id>wildfly</id>
<properties>
<webDescriptor>jboss7</webDescriptor>
<webDescriptor>wildfly</webDescriptor>
</properties>

<dependencies>
Expand Down
4 changes: 2 additions & 2 deletions errai-demos/errai-jaxrs-demo-crud/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ To try it in dev mode, ensure you have Maven 3 installed, then type the followin

% mvn gwt:run

To build a .war file that you can deploy to JBoss EAP 6, AS 7 or the OpenShift cloud:
To build a .war file that you can deploy to Wildfly 8 or the OpenShift cloud:

% mvn clean package -Pjboss7
% mvn clean package -Pwildfly

Then copy target/errai-jaxrs-demo-crud.war to the appropriate location.

12 changes: 9 additions & 3 deletions errai-demos/errai-jaxrs-demo-crud/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<webDescriptor>jboss7</webDescriptor>
<webDescriptor>wildfly</webDescriptor>
<skipTests>true</skipTests>
<argLine></argLine>
<maven.compiler.source>1.8</maven.compiler.source>
Expand Down Expand Up @@ -168,6 +168,12 @@
<dependency>
<groupId>org.jboss.resteasy</groupId>
<artifactId>resteasy-jaxrs</artifactId>
<exclusions>
<exclusion>
<groupId>javassist</groupId>
<artifactId>javassist</artifactId>
</exclusion>
</exclusions>
</dependency>

<dependency>
Expand All @@ -194,9 +200,9 @@
</profile>

<profile>
<id>jboss7</id>
<id>wildfly</id>
<properties>
<webDescriptor>jboss7</webDescriptor>
<webDescriptor>wildfly</webDescriptor>
</properties>

<dependencies>
Expand Down
6 changes: 3 additions & 3 deletions errai-demos/errai-jpa-demo-basic/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<webDescriptor>jboss7</webDescriptor>
<webDescriptor>wildfly</webDescriptor>
<skipTests>true</skipTests>
<weld.version>1.1.6.Final</weld.version>
<argLine></argLine>
Expand Down Expand Up @@ -254,9 +254,9 @@
</profile>

<profile>
<id>jboss7</id>
<id>wildfly</id>
<properties>
<webDescriptor>jboss7</webDescriptor>
<webDescriptor>wildfly</webDescriptor>
</properties>

<dependencies>
Expand Down
4 changes: 2 additions & 2 deletions errai-demos/errai-jpa-demo-grocery-list/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ To try it in dev mode, ensure you have Maven 3 installed, then type the followin

% mvn gwt:run

To build a .war file that you can deploy to JBoss EAP 6, AS 7 or the OpenShift cloud:
To build a .war file that you can deploy to Wildfly 8 or the OpenShift cloud:

% mvn clean package -Pjboss7
% mvn clean package -Pwildfly

Then copy target/errai-jpa-demo-grocery-list.war to the appropriate location.

Expand Down
Loading

0 comments on commit 637ea8f

Please sign in to comment.