Author: Bavencoff Date: 2013-05-30 15:41:17 +0200 (Thu, 30 May 2013) New Revision: 217 Url: http://forge.codelutin.com/projects/franciaflex-magalie/repository/revisions... Log: Prepare release : stuts.properties devmodes if release Modified: trunk/magalie-web/src/main/resources/struts.properties trunk/pom.xml Modified: trunk/magalie-web/src/main/resources/struts.properties =================================================================== --- trunk/magalie-web/src/main/resources/struts.properties 2013-05-30 12:55:46 UTC (rev 216) +++ trunk/magalie-web/src/main/resources/struts.properties 2013-05-30 13:41:17 UTC (rev 217) @@ -24,13 +24,13 @@ struts.ognl.allowStaticMethodAccess=true # Help debugging -struts.devMode=true -struts.ognl.logMissingProperties=true -struts.el.throwExceptionOnFailure=true -struts.i18n.reload=true +struts.devMode=${devMode} +struts.ognl.logMissingProperties=${devMode} +struts.el.throwExceptionOnFailure=${devMode} +struts.i18n.reload=${devMode} struts.custom.i18n.resources=resources -struts.configuration.xml.reload=true -struts.convention.classes.reload=true +struts.configuration.xml.reload=${devMode} +struts.convention.classes.reload=${devMode} # Performance tuning # see http://struts.apache.org/2.2.3/docs/performance-tuning.html Modified: trunk/pom.xml =================================================================== --- trunk/pom.xml 2013-05-30 12:55:46 UTC (rev 216) +++ trunk/pom.xml 2013-05-30 13:41:17 UTC (rev 217) @@ -123,6 +123,9 @@ <!--Site configuration --> <locales>fr</locales> + <!-- configuration --> + <devMode>true</devMode> + </properties> <dependencyManagement> @@ -429,6 +432,20 @@ </properties> </profile> + + <profile> + <id>admin-release</id> + <activation> + <property> + <name>performRelease</name> + <value>true</value> + </property> + </activation> + <properties> + <devMode>false</devMode> + </properties> + </profile> + </profiles> </project> \ No newline at end of file