[richfaces-svn-commits] JBoss Rich Faces SVN: r14250 - in branches/community/3.3.X/examples/photoalbum/source: ejb and 2 other directories.

richfaces-svn-commits at lists.jboss.org richfaces-svn-commits at lists.jboss.org
Wed May 20 10:53:30 EDT 2009


Author: Alex.Kolonitsky
Date: 2009-05-20 10:53:29 -0400 (Wed, 20 May 2009)
New Revision: 14250

Modified:
   branches/community/3.3.X/examples/photoalbum/source/ejb/pom.xml
   branches/community/3.3.X/examples/photoalbum/source/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
   branches/community/3.3.X/examples/photoalbum/source/web/src/main/webapp/WEB-INF/web.xml
Log:
add profile full into pom.xml
https://jira.jboss.org/jira/browse/RF-7201

Modified: branches/community/3.3.X/examples/photoalbum/source/ejb/pom.xml
===================================================================
--- branches/community/3.3.X/examples/photoalbum/source/ejb/pom.xml	2009-05-20 13:33:32 UTC (rev 14249)
+++ branches/community/3.3.X/examples/photoalbum/source/ejb/pom.xml	2009-05-20 14:53:29 UTC (rev 14250)
@@ -107,16 +107,16 @@
 					<!-- here the phase you need -->
 					<phase>validate</phase>
 					<goals>
-					  <goal>copy-resources</goal>
+						<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>
+							<resource>
+								<directory>src/main/resources-filtered</directory>
+								<filtering>true</filtering>
+							</resource>
+						</resources>
 					</configuration>
 				  </execution>
 				</executions>

Modified: branches/community/3.3.X/examples/photoalbum/source/pom.xml
===================================================================
--- branches/community/3.3.X/examples/photoalbum/source/pom.xml	2009-05-20 13:33:32 UTC (rev 14249)
+++ branches/community/3.3.X/examples/photoalbum/source/pom.xml	2009-05-20 14:53:29 UTC (rev 14250)
@@ -37,6 +37,8 @@
 		<imageset>short</imageset>
 		<imagespath>short</imagespath>
 		<environment.properties>environment/dev</environment.properties>
+		<environment.debug>true</environment.debug>
+		<environment.facelets.REFRESH_PERIOD>2</environment.facelets.REFRESH_PERIOD>
 	</properties>
 	<repositories>
 		<repository>
@@ -105,11 +107,31 @@
 	
 	<profiles>
 		<profile>
+			<id>short</id>
+			<properties>
+				<imageset>short</imageset>
+				<imagespath>short</imagespath>
+				<environment.properties>environment/dev</environment.properties>
+			</properties>
+		</profile>
+
+		<profile>
+			<id>full</id>
+			<properties>
+				<imageset>full</imageset>
+				<imagespath>full</imagespath>
+				<environment.properties>environment/dev</environment.properties>
+			</properties>
+		</profile>
+
+		<profile>
 			<id>livedemo</id>
 			<properties>
 				<imageset>full</imageset>
 				<imagespath>full</imagespath>
 				<environment.properties>environment/prod</environment.properties>
+				<environment.debug>false</environment.debug>
+				<environment.facelets.REFRESH_PERIOD>-1</environment.facelets.REFRESH_PERIOD>
 			</properties>
 		</profile>
 	</profiles>

Modified: branches/community/3.3.X/examples/photoalbum/source/web/pom.xml
===================================================================
--- branches/community/3.3.X/examples/photoalbum/source/web/pom.xml	2009-05-20 13:33:32 UTC (rev 14249)
+++ branches/community/3.3.X/examples/photoalbum/source/web/pom.xml	2009-05-20 14:53:29 UTC (rev 14250)
@@ -314,10 +314,29 @@
 					</execution>
 				</executions>
 			</plugin>
-			
+
 			<plugin>
+				<groupId>org.apache.maven.plugins</groupId>
 				<artifactId>maven-war-plugin</artifactId>
+				<configuration>
+					<webResources>
+						<webResource>
+							<directory>${basedir}/src/main/webapp/WEB-INF
+							</directory>
+							<includes>
+								<include>components.xml</include>
+								<include>web.xml</include>
+							</includes>
+							<targetPath>WEB-INF</targetPath>
+							<filtering>true</filtering>
+						</webResource>
+					</webResources>
+				</configuration>
 			</plugin>
+
+			<plugin>
+				<artifactId>maven-war-plugin</artifactId>
+			</plugin>
 		</plugins>
 	</build>
 </project>

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	2009-05-20 13:33:32 UTC (rev 14249)
+++ branches/community/3.3.X/examples/photoalbum/source/web/src/main/webapp/WEB-INF/components.xml	2009-05-20 14:53:29 UTC (rev 14250)
@@ -20,7 +20,7 @@
                  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">
 
-    <core:init transaction-management-enabled="false" debug="true" jndi-pattern="@jndiPattern@"/>
+    <core:init transaction-management-enabled="false" debug="${environment.debug}" jndi-pattern="@jndiPattern@"/>
     <core:manager concurrent-request-timeout="20000"
                   conversation-timeout="200000"
                   conversation-id-parameter="cid"

Modified: branches/community/3.3.X/examples/photoalbum/source/web/src/main/webapp/WEB-INF/web.xml
===================================================================
--- branches/community/3.3.X/examples/photoalbum/source/web/src/main/webapp/WEB-INF/web.xml	2009-05-20 13:33:32 UTC (rev 14249)
+++ branches/community/3.3.X/examples/photoalbum/source/web/src/main/webapp/WEB-INF/web.xml	2009-05-20 14:53:29 UTC (rev 14250)
@@ -70,10 +70,10 @@
 		<param-value>/WEB-INF/tags/photoalbum-taglib.xml</param-value>
 	</context-param>
 	
-	 <!--<context-param>
+	<context-param>
 		<param-name>facelets.REFRESH_PERIOD</param-name>
-		<param-value>-1</param-value>
-	</context-param>-->
+		<param-value>${environment.facelets.REFRESH_PERIOD}</param-value>
+	</context-param>
 	
 	<context-param>
 		<param-name>org.richfaces.LoadScriptStrategy</param-name>




More information about the richfaces-svn-commits mailing list