[CONF] Confluence Changes in the last 24 hours
This is a daily summary of all recent changes in Confluence. - Updated Spaces: - Apache ActiveMQ (http://cwiki.apache.org/confluence/display/ACTIVEMQ) Pages - How can I monitor ActiveMQ edited by rajdavies (11:38 PM) http://cwiki.apache.org/confluence/display/ACTIVEMQ/How+can+I+monitor+ActiveMQ Apache Camel (http://cwiki.apache.org/confluence/display/CAMEL) Pages - Camel 2.0.0 Release edited by davsclaus (01:12 AM) http://cwiki.apache.org/confluence/display/CAMEL/Camel+2.0.0+Release Apache Felix (http://cwiki.apache.org/confluence/display/FELIX) Pages - Apache Felix Preferences Service edited by fdiotalevi (12:26 PM) http://cwiki.apache.org/confluence/display/FELIX/Apache+Felix+Preferences+Service Apache Geronimo Project Management (http://cwiki.apache.org/confluence/display/GMOxPMGT) Pages - Apache Geronimo Board Report - 2009-07 - July edited by kevan (08:15 PM) http://cwiki.apache.org/confluence/display/GMOxPMGT/Apache+Geronimo+Board+Report+-+2009-07+-+July Kato (http://cwiki.apache.org/confluence/display/KATO) Pages - JSR326Specification created by spoole (01:12 PM) http://cwiki.apache.org/confluence/display/KATO/JSR326Specification Index edited by spoole (01:09 PM) http://cwiki.apache.org/confluence/display/KATO/Index Apache Sling (http://cwiki.apache.org/confluence/display/SLING) Pages - Status Report (September 2009) edited by fmeschbe (12:02 PM) http://cwiki.apache.org/confluence/display/SLING/Status+Report+%28September+2009%29 Status Report (August 2009) edited by fmeschbe (12:01 PM) http://cwiki.apache.org/confluence/display/SLING/Status+Report+%28August+2009%29 Status Report (July 2009) edited by fmeschbe (12:01 PM) http://cwiki.apache.org/confluence/display/SLING/Status+Report+%28July+2009%29 Apache Sling Website (http://cwiki.apache.org/confluence/display/SLINGxSITE) Pages - Project Team edited by fmeschbe (02:49 PM) http://cwiki.apache.org/confluence/display/SLINGxSITE/Project+Team VMBuild (http://cwiki.apache.org/confluence/display/vmbuild) Pages - Current volunteers and administrators edited by brettporter (08:26 PM) http://cwiki.apache.org/confluence/display/vmbuild/Current+volunteers+and+administrators Apache Wink (http://cwiki.apache.org/confluence/display/WINK) Pages - Index edited by martins (04:14 AM) http://cwiki.apache.org/confluence/display/WINK/Index Apache Struts 2 Documentation (http://cwiki.apache.org/confluence/display/WW) Pages - Spring Plugin edited by musachy (11:27 AM) http://cwiki.apache.org/confluence/display/WW/Spring+Plugin Change your notification preferences: http://cwiki.apache.org/confluence/users/viewnotifications.action
Issues Opened: week of 2009-07-13
Struts2 - Monday, July 13, 2009 7 opened in last 7 days [WW-3178] struts.multipart.saveDir - Type: Improvement - Reporter: ctie_luxembourg - Components: [] - Affects Versions: [] - http://issues.apache.org/struts/browse/WW-3178 [WW-3179] StrutsPrepareAndExecuteFilter and StrutsPrepareFilter causes i18n problems - Type: Bug - Reporter: Árpád Tamási - Components: [Dispatch Filter] - Affects Versions: [] - http://issues.apache.org/struts/browse/WW-3179 [WW-3176] JSON result code (for licensing and legal stuff) - Type: Task - Reporter: Musachy Barroso - Components: [] - Affects Versions: [] - http://issues.apache.org/struts/browse/WW-3176 [WW-3177] i18n not supported for file upload error messages - Type: Bug - Reporter: Amit Sharma - Components: [Core Interceptors] - Affects Versions: [] - http://issues.apache.org/struts/browse/WW-3177 [WW-3181] Struts2 showcase does not deploy on JBoss 5.1 - Type: Bug - Reporter: Joerg Friedrich - Components: [] - Affects Versions: [] - http://issues.apache.org/struts/browse/WW-3181 [WW-3182] removeOptions will not remove some select option - Type: Bug - Reporter: Gene Wu - Components: [] - Affects Versions: [] - http://issues.apache.org/struts/browse/WW-3182 [WW-3180] Add the capabilities to activate validation only in some cases - Type: New Feature - Reporter: Laurent Mimoun - Components: ["New" API, Core Actions, Core Interceptors, XML Validators] - Affects Versions: [] - http://issues.apache.org/struts/browse/WW-3180
svn commit: r793626 - in /struts/struts2/trunk/plugins/spring/src/main/java/org/apache/struts2/spring: ClassReloadingXMLWebApplicationContext.java StrutsSpringObjectFactory.java
Author: musachy Date: Mon Jul 13 16:58:08 2009 New Revision: 793626 URL: http://svn.apache.org/viewvc?rev=793626&view=rev Log: add a constant to limit the classes that can be loaded by the reloading class loader, support relative paths Modified: struts/struts2/trunk/plugins/spring/src/main/java/org/apache/struts2/spring/ClassReloadingXMLWebApplicationContext.java struts/struts2/trunk/plugins/spring/src/main/java/org/apache/struts2/spring/StrutsSpringObjectFactory.java Modified: struts/struts2/trunk/plugins/spring/src/main/java/org/apache/struts2/spring/ClassReloadingXMLWebApplicationContext.java URL: http://svn.apache.org/viewvc/struts/struts2/trunk/plugins/spring/src/main/java/org/apache/struts2/spring/ClassReloadingXMLWebApplicationContext.java?rev=793626&r1=793625&r2=793626&view=diff == --- struts/struts2/trunk/plugins/spring/src/main/java/org/apache/struts2/spring/ClassReloadingXMLWebApplicationContext.java (original) +++ struts/struts2/trunk/plugins/spring/src/main/java/org/apache/struts2/spring/ClassReloadingXMLWebApplicationContext.java Mon Jul 13 16:58:08 2009 @@ -28,14 +28,19 @@ import org.apache.commons.jci.monitor.FilesystemAlterationListener; import org.apache.commons.jci.monitor.FilesystemAlterationMonitor; import org.apache.commons.jci.monitor.FilesystemAlterationObserver; +import org.apache.commons.lang.xwork.StringUtils; import org.springframework.web.context.support.XmlWebApplicationContext; import org.springframework.beans.factory.support.DefaultListableBeanFactory; import org.springframework.beans.factory.config.ConfigurableListableBeanFactory; import org.springframework.beans.BeansException; +import javax.servlet.ServletContext; import java.io.File; import java.util.List; import java.util.ArrayList; +import java.util.Set; +import java.util.HashSet; +import java.util.regex.Pattern; /** * This class can be used instead of XmlWebApplicationContext, and it will watch jar files and directories for changes @@ -46,7 +51,7 @@ * Set "struts.devMode" to "true" * Set "struts.class.reloading.watchList" to a comma separated list of directories, or jar files (absolute paths) * Add this to web.xml: - * + * ** contextClass *org.apache.struts2.spring.ClassReloadingXMLWebApplicationContext @@ -67,18 +72,34 @@ public class ClassReloadingXMLWebApplicationContext extends XmlWebApplicationContext implements FilesystemAlterationListener { private static final Logger LOG = LoggerFactory.getLogger(ClassReloadingXMLWebApplicationContext.class); -private ReloadingClassLoader classLoader; -private FilesystemAlterationMonitor fam; +protected ReloadingClassLoader classLoader; +protected FilesystemAlterationMonitor fam; -private ClassReloadingBeanFactory beanFactory; +protected ClassReloadingBeanFactory beanFactory; -public void setupReloading(String[] watchList) { +public void setupReloading(String[] watchList, String acceptClasses, ServletContext servletContext) { classLoader = new ReloadingClassLoader(ClassReloadingXMLWebApplicationContext.class.getClassLoader()); + +//make a list of accepted classes +if (StringUtils.isNotBlank(acceptClasses)) { +String[] splitted = acceptClasses.split(","); +Set patterns = new HashSet(splitted.length); +for (String pattern : splitted) +patterns.add(Pattern.compile(pattern)); + +classLoader.setAccepClasses(patterns); +} + fam = new FilesystemAlterationMonitor(); //setup stores for (String watch : watchList) { File file = new File(watch); + +//make it absolute, if it is a relative path +if (!file.isAbsolute()) +file = new File(servletContext.getRealPath(watch)); + if (watch.endsWith(".jar")) { classLoader.addResourceStore(new JarResourceStore(file)); //register with the fam @@ -157,6 +178,8 @@ } public void onDirectoryCreate(File file) { +if (classLoader != null) +classLoader.reload(); } public void onDirectoryDelete(File file) { @@ -168,6 +191,8 @@ } public void onFileCreate(File file) { +if (classLoader != null) +classLoader.reload(); } public void onFileDelete(File file) { Modified: struts/struts2/trunk/plugins/spring/src/main/java/org/apache/struts2/spring/StrutsSpringObjectFactory.java URL: http://svn.apache.org/viewvc/struts/struts2/trunk/plugins/spring/src/main/java/org/apache/struts2/spring/StrutsSpringObjectFactory.java?rev=793626&r1=793625&r2=793626&view=diff == --- struts/struts2/trunk/plugins/spring/src/main/java/org/apache
[OSS Bamboo] Struts 2 SVN - Main Build (Java 6) build 889 has FAILED (6 tests failed, no failures were new). Change made by Musachy Barroso
--- STRUTS-MAINJ6-889 failed. --- Code has been updated by Musachy Barroso. 6/1013 tests failed. http://opensource.bamboo.atlassian.com/browse/STRUTS-MAINJ6-889/ -- Code Changes -- Musachy Barroso (793626): >add a constant to limit the classes that can be loaded by the reloading class >loader, support relative paths -- Tests -- Failed Tests (6) - Struts2PortletTest: Form example (Existing) - Struts2PortletTest: Index page (Existing) - Struts2PortletTest: Switch from view to edit should go to default edit page (Existing) - Struts2PortletTest: Token example (Existing) - Struts2PortletTest: Validation error messages stick between window state changes (Existing) - Struts2PortletTest: Validation example (Existing) -- Error Summary -- [INFO] [ERROR] BUILD FAILURE [INFO] [INFO] Compilation failure /opt/j2ee/domains/bamboo.atlassian.com/opensource/home/xml-data/build-dir/STRUTS-MAINJ6/plugins/spring/src/test/java/org/apache/struts2/spring/StrutsSpringObjectFactoryTest.java:[42,40] cannot find symbol symbol : constructor StrutsSpringObjectFactory(, , ,org.springframework.mock.web.MockServletContext, ,java.lang.String) location: class org.apache.struts2.spring.StrutsSpringObjectFactory /opt/j2ee/domains/bamboo.atlassian.com/opensource/home/xml-data/build-dir/STRUTS-MAINJ6/plugins/spring/src/test/java/org/apache/struts2/spring/StrutsSpringObjectFactoryTest.java:[56,40] cannot find symbol symbol : constructor StrutsSpringObjectFactory(java.lang.String, , ,javax.servlet.ServletContext, ,java.lang.String) location: class org.apache.struts2.spring.StrutsSpringObjectFactory [INFO] [INFO] For more information, run Maven with the -e switch -- This message is automatically generated by Atlassian Bamboo
[OSS Bamboo] Struts 2 SVN - Main Build build 1160 has FAILED (6 tests failed, no failures were new). Change made by Musachy Barroso
--- STRUTS-MAIN-1160 failed. --- Code has been updated by Musachy Barroso. 6/1013 tests failed. http://opensource.bamboo.atlassian.com/browse/STRUTS-MAIN-1160/ -- Code Changes -- Musachy Barroso (793626): >add a constant to limit the classes that can be loaded by the reloading class >loader, support relative paths -- Tests -- Failed Tests (6) - Struts2PortletTest: Form example (Existing) - Struts2PortletTest: Index page (Existing) - Struts2PortletTest: Switch from view to edit should go to default edit page (Existing) - Struts2PortletTest: Token example (Existing) - Struts2PortletTest: Validation error messages stick between window state changes (Existing) - Struts2PortletTest: Validation example (Existing) -- Error Summary -- [INFO] [ERROR] BUILD FAILURE [INFO] [INFO] Compilation failure /opt/j2ee/domains/bamboo.atlassian.com/opensource/home/xml-data/build-dir/STRUTS-MAIN/plugins/spring/src/test/java/org/apache/struts2/spring/StrutsSpringObjectFactoryTest.java:[42,40] cannot find symbol symbol : constructor StrutsSpringObjectFactory(, , ,org.springframework.mock.web.MockServletContext, ,java.lang.String) location: class org.apache.struts2.spring.StrutsSpringObjectFactory /opt/j2ee/domains/bamboo.atlassian.com/opensource/home/xml-data/build-dir/STRUTS-MAIN/plugins/spring/src/test/java/org/apache/struts2/spring/StrutsSpringObjectFactoryTest.java:[56,40] cannot find symbol symbol : constructor StrutsSpringObjectFactory(java.lang.String, , ,javax.servlet.ServletContext, ,java.lang.String) location: class org.apache.struts2.spring.StrutsSpringObjectFactory [INFO] [INFO] For more information, run Maven with the -e switch -- This message is automatically generated by Atlassian Bamboo
[OSS Bamboo] Struts 2 SVN - Main Build (Java 6) build 890 has FAILED (6 tests failed, no failures were new)
--- STRUTS-MAINJ6-890 failed. --- This build occured because it is a dependant of XWORK-MAIN-384. 6/1013 tests failed. http://opensource.bamboo.atlassian.com/browse/STRUTS-MAINJ6-890/ -- Tests -- Failed Tests (6) - Struts2PortletTest: Form example (Existing) - Struts2PortletTest: Index page (Existing) - Struts2PortletTest: Switch from view to edit should go to default edit page (Existing) - Struts2PortletTest: Token example (Existing) - Struts2PortletTest: Validation error messages stick between window state changes (Existing) - Struts2PortletTest: Validation example (Existing) -- Error Summary -- [INFO] [ERROR] BUILD FAILURE [INFO] [INFO] Compilation failure /opt/j2ee/domains/bamboo.atlassian.com/opensource/home/xml-data/build-dir/STRUTS-MAINJ6/plugins/spring/src/test/java/org/apache/struts2/spring/StrutsSpringObjectFactoryTest.java:[42,40] cannot find symbol symbol : constructor StrutsSpringObjectFactory(, , ,org.springframework.mock.web.MockServletContext, ,java.lang.String) location: class org.apache.struts2.spring.StrutsSpringObjectFactory /opt/j2ee/domains/bamboo.atlassian.com/opensource/home/xml-data/build-dir/STRUTS-MAINJ6/plugins/spring/src/test/java/org/apache/struts2/spring/StrutsSpringObjectFactoryTest.java:[56,40] cannot find symbol symbol : constructor StrutsSpringObjectFactory(java.lang.String, , ,javax.servlet.ServletContext, ,java.lang.String) location: class org.apache.struts2.spring.StrutsSpringObjectFactory [INFO] [INFO] For more information, run Maven with the -e switch -- This message is automatically generated by Atlassian Bamboo
svn commit: r793636 - /struts/struts2/trunk/plugins/spring/src/test/java/org/apache/struts2/spring/StrutsSpringObjectFactoryTest.java
Author: musachy Date: Mon Jul 13 17:35:54 2009 New Revision: 793636 URL: http://svn.apache.org/viewvc?rev=793636&view=rev Log: fix broken build Modified: struts/struts2/trunk/plugins/spring/src/test/java/org/apache/struts2/spring/StrutsSpringObjectFactoryTest.java Modified: struts/struts2/trunk/plugins/spring/src/test/java/org/apache/struts2/spring/StrutsSpringObjectFactoryTest.java URL: http://svn.apache.org/viewvc/struts/struts2/trunk/plugins/spring/src/test/java/org/apache/struts2/spring/StrutsSpringObjectFactoryTest.java?rev=793636&r1=793635&r2=793636&view=diff == --- struts/struts2/trunk/plugins/spring/src/test/java/org/apache/struts2/spring/StrutsSpringObjectFactoryTest.java (original) +++ struts/struts2/trunk/plugins/spring/src/test/java/org/apache/struts2/spring/StrutsSpringObjectFactoryTest.java Mon Jul 13 17:35:54 2009 @@ -39,7 +39,7 @@ public void testNoSpringContext() throws Exception { // to cover situations where there will be logged an error -StrutsSpringObjectFactory fac = new StrutsSpringObjectFactory(null, null, null, new MockServletContext(), null, "false"); +StrutsSpringObjectFactory fac = new StrutsSpringObjectFactory(null, null, null, new MockServletContext(), null, "false", null); assertEquals(AutowireCapableBeanFactory.AUTOWIRE_BY_NAME, fac.getAutowireStrategy()); } @@ -53,7 +53,7 @@ ac.setServletContext(msc); ac.setConfigLocations(new String[] {"org/apache/struts2/spring/StrutsSpringObjectFactoryTest-applicationContext.xml"}); ac.refresh(); -StrutsSpringObjectFactory fac = new StrutsSpringObjectFactory("constructor", null, null, msc, null, "true"); +StrutsSpringObjectFactory fac = new StrutsSpringObjectFactory("constructor", null, null, msc, null, "true", null); assertEquals(AutowireCapableBeanFactory.AUTOWIRE_CONSTRUCTOR, fac.getAutowireStrategy()); }
[OSS Bamboo] Struts 2 SVN - Main Build (Java 6) build 891 has FAILED (6 tests failed, no failures were new). Change made by Musachy Barroso
--- STRUTS-MAINJ6-891 failed. --- Code has been updated by Musachy Barroso. 6/1015 tests failed. http://opensource.bamboo.atlassian.com/browse/STRUTS-MAINJ6-891/ -- Code Changes -- Musachy Barroso (793636): >fix broken build -- Tests -- Failed Tests (6) - Struts2PortletTest: Form example (Existing) - Struts2PortletTest: Index page (Existing) - Struts2PortletTest: Switch from view to edit should go to default edit page (Existing) - Struts2PortletTest: Token example (Existing) - Struts2PortletTest: Validation error messages stick between window state changes (Existing) - Struts2PortletTest: Validation example (Existing) -- Error Summary -- [INFO] [ERROR] BUILD FAILURE [INFO] [INFO] There are test failures. [INFO] [INFO] For more information, run Maven with the -e switch -- This message is automatically generated by Atlassian Bamboo
[OSS Bamboo] Struts 2 SVN - Main Build build 1161 has FAILED (6 tests failed, no failures were new). Change made by Musachy Barroso
--- STRUTS-MAIN-1161 failed. --- Code has been updated by Musachy Barroso. 6/1015 tests failed. http://opensource.bamboo.atlassian.com/browse/STRUTS-MAIN-1161/ -- Code Changes -- Musachy Barroso (793636): >fix broken build -- Tests -- Failed Tests (6) - Struts2PortletTest: Form example (Existing) - Struts2PortletTest: Index page (Existing) - Struts2PortletTest: Switch from view to edit should go to default edit page (Existing) - Struts2PortletTest: Token example (Existing) - Struts2PortletTest: Validation error messages stick between window state changes (Existing) - Struts2PortletTest: Validation example (Existing) -- Error Summary -- [INFO] [ERROR] BUILD FAILURE [INFO] [INFO] There are test failures. [INFO] [INFO] For more information, run Maven with the -e switch -- This message is automatically generated by Atlassian Bamboo
svn commit: r793692 - /struts/struts2/trunk/plugins/spring/src/main/resources/struts-plugin.xml
Author: musachy Date: Mon Jul 13 20:08:21 2009 New Revision: 793692 URL: http://svn.apache.org/viewvc?rev=793692&view=rev Log: define constants as empty as a workaround to the IoC container limitation ("required" is ignored in @Inject in constructor params) Modified: struts/struts2/trunk/plugins/spring/src/main/resources/struts-plugin.xml Modified: struts/struts2/trunk/plugins/spring/src/main/resources/struts-plugin.xml URL: http://svn.apache.org/viewvc/struts/struts2/trunk/plugins/spring/src/main/resources/struts-plugin.xml?rev=793692&r1=793691&r2=793692&view=diff == --- struts/struts2/trunk/plugins/spring/src/main/resources/struts-plugin.xml (original) +++ struts/struts2/trunk/plugins/spring/src/main/resources/struts-plugin.xml Mon Jul 13 20:08:21 2009 @@ -31,6 +31,9 @@ + + +
[OSS Bamboo] Struts 2 SVN - Main Build (Java 6) build 892 was SUCCESSFUL (with 1015 tests). Change made by Musachy Barroso
--- STRUTS-MAINJ6-892 was successful. --- Code has been updated by Musachy Barroso. 1015 tests in total. http://opensource.bamboo.atlassian.com/browse/STRUTS-MAINJ6-892/ -- Code Changes -- Musachy Barroso (793692): >define constants as empty as a workaround to the IoC container limitation >("required" is ignored in @Inject in constructor params) -- Tests -- Fixed Tests (6) - Struts2PortletTest: Form example - Struts2PortletTest: Index page - Struts2PortletTest: Switch from view to edit should go to default edit page - Struts2PortletTest: Token example - Struts2PortletTest: Validation error messages stick between window state changes - Struts2PortletTest: Validation example -- Error Summary -- [copy] Warning: /opt/j2ee/domains/bamboo.atlassian.com/opensource/home/xml-data/build-dir/STRUTS-MAINJ6/apps/src/main/java not found. [copy] Warning: /opt/j2ee/domains/bamboo.atlassian.com/opensource/home/xml-data/build-dir/STRUTS-MAINJ6/apps/src/main/resources not found. -- This message is automatically generated by Atlassian Bamboo
[OSS Bamboo] Struts 2 SVN - Main Build build 1162 was SUCCESSFUL (with 1015 tests). Change made by Musachy Barroso
--- STRUTS-MAIN-1162 was successful. --- Code has been updated by Musachy Barroso. 1015 tests in total. http://opensource.bamboo.atlassian.com/browse/STRUTS-MAIN-1162/ -- Code Changes -- Musachy Barroso (793692): >define constants as empty as a workaround to the IoC container limitation >("required" is ignored in @Inject in constructor params) -- Tests -- Fixed Tests (6) - Struts2PortletTest: Form example - Struts2PortletTest: Index page - Struts2PortletTest: Switch from view to edit should go to default edit page - Struts2PortletTest: Token example - Struts2PortletTest: Validation error messages stick between window state changes - Struts2PortletTest: Validation example -- Error Summary -- warning: Annotation types without processors: [java.lang.Override, com.opensymphony.xwork2.inject.Inject, java.lang.annotation.Target, java.lang.annotation.Retention, java.lang.SuppressWarnings] Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. 1 warning [copy] Warning: /opt/j2ee/domains/bamboo.atlassian.com/opensource/home/xml-data/build-dir/STRUTS-MAIN/apps/src/main/java not found. [copy] Warning: /opt/j2ee/domains/bamboo.atlassian.com/opensource/home/xml-data/build-dir/STRUTS-MAIN/apps/src/main/resources not found. warning: Annotation types without processors: [java.lang.Override, java.lang.Deprecated] 1 warning Unable to copy artifact java-1.4 since directory /opt/j2ee/domains/bamboo.atlassian.com/opensource/home/xml-data/build-dir/STRUTS-MAIN/backport does not exist. -- This message is automatically generated by Atlassian Bamboo