Author: amarkhel
Date: 2010-01-29 08:12:29 -0500 (Fri, 29 Jan 2010)
New Revision: 16381
Added:
branches/community/3.3.X/examples/photoalbum/source/ear/src/main/application/META-INF/
branches/community/3.3.X/examples/photoalbum/source/ear/src/main/application/META-INF/application.xml
branches/community/3.3.X/examples/photoalbum/source/ear/src/main/application/META-INF/jboss-app.xml
branches/community/3.3.X/examples/photoalbum/source/ejb/src/main/resources/META-INF/MANIFEST.MF
branches/community/3.3.X/examples/photoalbum/source/ejb/src/main/resources/components.properties
branches/community/3.3.X/examples/photoalbum/source/web/src/main/webapp/META-INF/MANIFEST.MF
Removed:
branches/community/3.3.X/examples/photoalbum/source/ejb/src/main/resources-filtered/
Modified:
branches/community/3.3.X/examples/photoalbum/source/ear/pom.xml
branches/community/3.3.X/examples/photoalbum/source/ejb/pom.xml
branches/community/3.3.X/examples/photoalbum/source/web/pom.xml
branches/community/3.3.X/examples/photoalbum/source/web/src/main/webapp/WEB-INF/components.xml
Log:
Fix RF-8331
Modified: branches/community/3.3.X/examples/photoalbum/source/ear/pom.xml
===================================================================
--- branches/community/3.3.X/examples/photoalbum/source/ear/pom.xml 2010-01-29 01:31:27
UTC (rev 16380)
+++ branches/community/3.3.X/examples/photoalbum/source/ear/pom.xml 2010-01-29 13:12:29
UTC (rev 16381)
@@ -8,7 +8,7 @@
</parent>
<groupId>org.richfaces.examples</groupId>
- <artifactId>${projectName}-ear</artifactId>
+ <artifactId>photoalbum-ear</artifactId>
<name>${appName} EAR module</name>
<packaging>ear</packaging>
@@ -61,7 +61,7 @@
</dependency>
</dependencies>
<build>
- <finalName>${projectName}-ear-${project.version}</finalName>
+ <finalName>photoalbum-ear</finalName>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@@ -78,15 +78,18 @@
<generateApplicationXml>true</generateApplicationXml>
<includeJar>false</includeJar>
<defaultLibBundleDir>lib</defaultLibBundleDir>
+ <version>5</version>
<modules>
<webModule>
<groupId>org.richfaces.examples</groupId>
- <artifactId>${projectName}-web</artifactId>
- <contextRoot>/${projectName}</contextRoot>
+ <artifactId>photoalbum-web</artifactId>
+ <contextRoot>/photoalbum-web</contextRoot>
+ <bundleFileName>photoalbum-web.war</bundleFileName>
</webModule>
<ejbModule>
<groupId>org.richfaces.examples</groupId>
- <artifactId>${projectName}-ejb</artifactId>
+ <artifactId>photoalbum-ejb</artifactId>
+ <bundleFileName>photoalbum-ejb.jar</bundleFileName>
</ejbModule>
<ejbModule>
<groupId>org.jboss.seam</groupId>
Added:
branches/community/3.3.X/examples/photoalbum/source/ear/src/main/application/META-INF/application.xml
===================================================================
---
branches/community/3.3.X/examples/photoalbum/source/ear/src/main/application/META-INF/application.xml
(rev 0)
+++
branches/community/3.3.X/examples/photoalbum/source/ear/src/main/application/META-INF/application.xml 2010-01-29
13:12:29 UTC (rev 16381)
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<application
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:application="http://java.sun.com/xml/ns/javaee/application_5.x...
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/application_5.xsd" version="5">
+ <display-name>photoalbum-ear</display-name>
+ <module>
+ <ejb>photoalbum-ejb.jar</ejb>
+ </module>
+ <module>
+ <ejb>jboss-seam-2.1.1.GA.jar</ejb>
+ </module>
+ <module>
+ <web>
+ <web-uri>photoalbum-web.war</web-uri>
+ <context-root>/photoalbum-web</context-root>
+ </web>
+ </module>
+ <library-directory>lib</library-directory>
+</application>
Added:
branches/community/3.3.X/examples/photoalbum/source/ear/src/main/application/META-INF/jboss-app.xml
===================================================================
---
branches/community/3.3.X/examples/photoalbum/source/ear/src/main/application/META-INF/jboss-app.xml
(rev 0)
+++
branches/community/3.3.X/examples/photoalbum/source/ear/src/main/application/META-INF/jboss-app.xml 2010-01-29
13:12:29 UTC (rev 16381)
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE jboss-app
+ PUBLIC "-//JBoss//DTD J2EE Application 4.2//EN"
+ "http://www.jboss.org/j2ee/dtd/jboss-app_4_2.dtd">
+
+<jboss-app>
+ <module-order>strict</module-order>
+ <loader-repository>
+ seam.jboss.org:loader=photoalbum-ear.ear
+ </loader-repository>
+</jboss-app>
Modified: branches/community/3.3.X/examples/photoalbum/source/ejb/pom.xml
===================================================================
--- branches/community/3.3.X/examples/photoalbum/source/ejb/pom.xml 2010-01-29 01:31:27
UTC (rev 16380)
+++ branches/community/3.3.X/examples/photoalbum/source/ejb/pom.xml 2010-01-29 13:12:29
UTC (rev 16381)
@@ -10,7 +10,7 @@
</parent>
<groupId>org.richfaces.examples</groupId>
- <artifactId>${projectName}-ejb</artifactId>
+ <artifactId>photoalbum-ejb</artifactId>
<name>${appName} EJB module</name>
<packaging>ejb</packaging>
@@ -89,37 +89,17 @@
<resource>
<directory>src/main/resources</directory>
</resource>
+
<resource>
- <directory>${project.build.directory}/resources-filtered</directory>
- </resource>
- <resource>
<directory>sql/${imageset}</directory>
</resource>
+
</resources>
<plugins>
<plugin>
<artifactId>maven-resources-plugin</artifactId>
- <version>2.3</version>
- <executions>
- <execution>
- <id>copy-resources</id>
- <!-- here the phase you need -->
- <phase>validate</phase>
- <goals>
- <goal>copy-resources</goal>
- </goals>
- <configuration>
- <outputDirectory>${project.build.directory}/resources-filtered</outputDirectory>
- <resources>
- <resource>
- <directory>src/main/resources-filtered</directory>
- <filtering>true</filtering>
- </resource>
- </resources>
- </configuration>
- </execution>
- </executions>
+ <version>2.3</version>
</plugin>
<plugin>
Added:
branches/community/3.3.X/examples/photoalbum/source/ejb/src/main/resources/META-INF/MANIFEST.MF
===================================================================
---
branches/community/3.3.X/examples/photoalbum/source/ejb/src/main/resources/META-INF/MANIFEST.MF
(rev 0)
+++
branches/community/3.3.X/examples/photoalbum/source/ejb/src/main/resources/META-INF/MANIFEST.MF 2010-01-29
13:12:29 UTC (rev 16381)
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+Class-Path:
+
Added:
branches/community/3.3.X/examples/photoalbum/source/ejb/src/main/resources/components.properties
===================================================================
---
branches/community/3.3.X/examples/photoalbum/source/ejb/src/main/resources/components.properties
(rev 0)
+++
branches/community/3.3.X/examples/photoalbum/source/ejb/src/main/resources/components.properties 2010-01-29
13:12:29 UTC (rev 16381)
@@ -0,0 +1,4 @@
+#
+#Mon Sep 15 14:29:32 EEST 2008
+jndiPattern=photoalbum-ear/#{ejbName}/local
+embeddedEjb=false
Modified: branches/community/3.3.X/examples/photoalbum/source/web/pom.xml
===================================================================
--- branches/community/3.3.X/examples/photoalbum/source/web/pom.xml 2010-01-29 01:31:27
UTC (rev 16380)
+++ branches/community/3.3.X/examples/photoalbum/source/web/pom.xml 2010-01-29 13:12:29
UTC (rev 16381)
@@ -10,7 +10,7 @@
</parent>
<groupId>org.richfaces.examples</groupId>
- <artifactId>${projectName}-web</artifactId>
+ <artifactId>photoalbum-web</artifactId>
<name>${appName} WAR module</name>
<packaging>war</packaging>
Added:
branches/community/3.3.X/examples/photoalbum/source/web/src/main/webapp/META-INF/MANIFEST.MF
===================================================================
---
branches/community/3.3.X/examples/photoalbum/source/web/src/main/webapp/META-INF/MANIFEST.MF
(rev 0)
+++
branches/community/3.3.X/examples/photoalbum/source/web/src/main/webapp/META-INF/MANIFEST.MF 2010-01-29
13:12:29 UTC (rev 16381)
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+Class-Path:
+
Modified:
branches/community/3.3.X/examples/photoalbum/source/web/src/main/webapp/WEB-INF/components.xml
===================================================================
---
branches/community/3.3.X/examples/photoalbum/source/web/src/main/webapp/WEB-INF/components.xml 2010-01-29
01:31:27 UTC (rev 16380)
+++
branches/community/3.3.X/examples/photoalbum/source/web/src/main/webapp/WEB-INF/components.xml 2010-01-29
13:12:29 UTC (rev 16381)
@@ -10,17 +10,17 @@
xmlns:transaction="http://jboss.com/products/seam/transaction"
xmlns:web="http://jboss.com/products/seam/web"
xsi:schemaLocation=
- "http://jboss.com/products/seam/core
http://jboss.com/products/seam/core-2.1.0.xsd
-
http://jboss.com/products/seam/web
http://jboss.com/products/seam/web-2.1.0.xsd
-
http://jboss.com/products/seam/transaction
http://jboss.com/products/seam/transaction-2.1.0.xsd
-
http://jboss.com/products/seam/persistence
http://jboss.com/products/seam/persistence-2.1.0.xsd
-
http://jboss.com/products/seam/drools
http://jboss.com/products/seam/drools-2.1.0.xsd
-
http://jboss.com/products/seam/bpm
http://jboss.com/products/seam/bpm-2.1.0.xsd
-
http://jboss.com/products/seam/security
http://jboss.com/products/seam/security-2.1.0.xsd
-
http://jboss.com/products/seam/mail
http://jboss.com/products/seam/mail-2.1.0.xsd
-
http://jboss.com/products/seam/components
http://jboss.com/products/seam/components-2.1.0.xsd">
+ "http://jboss.com/products/seam/core
http://jboss.com/products/seam/core-2.1.xsd
+
http://jboss.com/products/seam/web
http://jboss.com/products/seam/web-2.1.xsd
+
http://jboss.com/products/seam/transaction
http://jboss.com/products/seam/transaction-2.1.xsd
+
http://jboss.com/products/seam/persistence
http://jboss.com/products/seam/persistence-2.1.xsd
+
http://jboss.com/products/seam/drools
http://jboss.com/products/seam/drools-2.1.xsd
+
http://jboss.com/products/seam/bpm
http://jboss.com/products/seam/bpm-2.1.xsd
+
http://jboss.com/products/seam/security
http://jboss.com/products/seam/security-2.1.xsd
+
http://jboss.com/products/seam/mail
http://jboss.com/products/seam/mail-2.1.xsd
+
http://jboss.com/products/seam/components
http://jboss.com/products/seam/components-2.1.xsd">
- <core:init transaction-management-enabled="false"
debug="${environment.debug}" jndi-pattern="@jndiPattern@"/>
+ <core:init transaction-management-enabled="false" debug="true"
jndi-pattern="@jndiPattern@"/>
<core:manager concurrent-request-timeout="20000"
conversation-timeout="200000"
conversation-id-parameter="cid"