Commit Graph

48 Commits

Author SHA1 Message Date
Musachy Barroso 986e389a18 WW-3263 Convention does not check for "struts.enable.SlashesInActionNames"
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@818953 13f79535-47bb-0310-9956-ffa450edef68
2009-09-25 18:52:26 +00:00
Musachy Barroso 1994d0549d throw exception when class name equals the action suffix
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@816008 13f79535-47bb-0310-9956-ffa450edef68
2009-09-16 23:36:03 +00:00
Musachy Barroso cc423fc301 WW-3121 IllegalArgumentException using struts2-convention-plugin-2.1.6.jar on JBoss
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@805664 13f79535-47bb-0310-9956-ffa450edef68
2009-08-19 05:13:48 +00:00
Musachy Barroso 8325875695 WW-3142 Convention plugin support for default actionless dispatcher results exposes raw source code of index.jsp files on Google AppEngine
Thanks to Kent R. Spillner for the patch

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@805661 13f79535-47bb-0310-9956-ffa450edef68
2009-08-19 04:23:45 +00:00
Musachy Barroso e0e2c4fbb8 WW-3121 IllegalArgumentException using struts2-convention-plugin-2.1.6.jar on JBoss
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@803335 13f79535-47bb-0310-9956-ffa450edef68
2009-08-12 00:28:59 +00:00
Musachy Barroso 3959fe30f4 move ReloadingClassLoader impl to XWork
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@793257 13f79535-47bb-0310-9956-ffa450edef68
2009-07-12 01:47:44 +00:00
Musachy Barroso 22949c709d Fix NPE from class loader and add a JarResourceStore
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@793255 13f79535-47bb-0310-9956-ffa450edef68
2009-07-12 01:36:27 +00:00
Wesley Wannemacher 3dbd0294e8 WW-3163, fixing NPE, but throwing StrutsException instead, not a great fix, but when I get a chance to work closer with JBoss, I will come back to this
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@786061 13f79535-47bb-0310-9956-ffa450edef68
2009-06-18 13:35:03 +00:00
Wesley Wannemacher d8e5ea68d9 WW-3162, properly supporting inheritance for ParentPackage annotation
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@786050 13f79535-47bb-0310-9956-ffa450edef68
2009-06-18 13:21:57 +00:00
Musachy Barroso db349486d7 change some javadocs and method visibility
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@781447 13f79535-47bb-0310-9956-ffa450edef68
2009-06-03 15:59:27 +00:00
Wesley Wannemacher 281a3a8cbd WW-3110 using newer UrlSet constructor, patch from Jordi Albert, thanks!
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@779950 13f79535-47bb-0310-9956-ffa450edef68
2009-05-29 12:58:15 +00:00
Musachy Barroso 4a56baf819 WW-3123 Add constant to Convention to prevent mapping default action to execute if other mappings exist on the same class
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@773894 13f79535-47bb-0310-9956-ffa450edef68
2009-05-12 13:44:17 +00:00
René Gielen ef0eca1083 WW-3121:
Print a helpful message when a container's virtual filesystem architecture prevents the reloading classloader to work correctly. Afterwards exception is rethrown

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@772776 13f79535-47bb-0310-9956-ffa450edef68
2009-05-07 21:15:45 +00:00
Wesley Wannemacher 6ccf7b21c6 WW-3114, working around GAE class loader incompatibilities, patch from Leonard Broman, thanks!
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@771772 13f79535-47bb-0310-9956-ffa450edef68
2009-05-05 15:09:45 +00:00
Musachy Barroso 790073ebf5 WW-3101 @Action and @Actions should be able to be applied to classes, the method will be determined at runtime by Dynamic Action invocation mechanism
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@768826 13f79535-47bb-0310-9956-ffa450edef68
2009-04-26 22:58:17 +00:00
Musachy Barroso b7778152e7 WW-308 PackageBasedActionConfigBuilder.buildUrlSet() does not find actions when ReloadingClassLoader is used
Patch from Lukasz Racon

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@766104 13f79535-47bb-0310-9956-ffa450edef68
2009-04-17 18:03:05 +00:00
Musachy Barroso bd09bac0b0 WW-3083 fix how packages and actions are scanned for annotations
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@764310 13f79535-47bb-0310-9956-ffa450edef68
2009-04-12 18:16:43 +00:00
Musachy Barroso 5089d17588 Lower log level. Patch from Lukasz Racon
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@763792 13f79535-47bb-0310-9956-ffa450edef68
2009-04-09 20:30:06 +00:00
Musachy Barroso 0851ba55d8 Make @Action available for methods only. Update plugin xml
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@762877 13f79535-47bb-0310-9956-ffa450edef68
2009-04-07 17:58:19 +00:00
Musachy Barroso 081d136083 Use ClassLoaderInterface for resource finding and class loading
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@762186 13f79535-47bb-0310-9956-ffa450edef68
2009-04-05 23:45:49 +00:00
Musachy Barroso 1e8e03611a WW-3071 API adjustment: cannot override DefaultResultMapBuilder.createResultConfig due to limited DefaultResultMapBuilder.ResultInfo visibility
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@761314 13f79535-47bb-0310-9956-ffa450edef68
2009-04-02 14:41:57 +00:00
Musachy Barroso 30c95e8129 WW-3044 Replace code by similar code in commons lang
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@755679 13f79535-47bb-0310-9956-ffa450edef68
2009-03-18 18:00:45 +00:00
Musachy Barroso e6cfa82cd0 WW-3044 Replace code by similar code in commons lang
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@755607 13f79535-47bb-0310-9956-ffa450edef68
2009-03-18 14:41:00 +00:00
Musachy Barroso a2d87bd21f WW-3045 Replace TextUtils String methods
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@755410 13f79535-47bb-0310-9956-ffa450edef68
2009-03-17 21:50:59 +00:00
Musachy Barroso 32316d22e4 WW-3043 Result annotations at the method level should overwrite result annotations at the class level in the Convention plugin
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@755382 13f79535-47bb-0310-9956-ffa450edef68
2009-03-17 20:24:26 +00:00
Musachy Barroso 5f133f1e98 WW-3023 Use ClassLoaderUtils to resolve the class in ConcentionServiceImpl
thanks to Travis Rein for the patch



git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@750965 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 16:36:22 +00:00
Musachy Barroso 370a35fa1f Pass the file protocols to ClassFinder constructor
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@747050 13f79535-47bb-0310-9956-ffa450edef68
2009-02-23 15:33:11 +00:00
Musachy Barroso 5d40839f77 WW-3003 The "name" attribute in @Result (Convention plugin) should default to "success"
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@745559 13f79535-47bb-0310-9956-ffa450edef68
2009-02-18 16:26:29 +00:00
Musachy Barroso 5b9665f5f6 Update javadoc
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@744170 13f79535-47bb-0310-9956-ffa450edef68
2009-02-13 16:39:30 +00:00
Musachy Barroso db9a9587b1 Add missing javadoc tags, remove unused code and add some logging
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@744139 13f79535-47bb-0310-9956-ffa450edef68
2009-02-13 15:04:51 +00:00
Musachy Barroso f5903ef2b4 Log classes that will be ignored because they failed the instantiation test
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@744133 13f79535-47bb-0310-9956-ffa450edef68
2009-02-13 14:51:43 +00:00
Musachy Barroso c30364dfcc WW-2983 exclude anonymous classes
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@744125 13f79535-47bb-0310-9956-ffa450edef68
2009-02-13 14:30:38 +00:00
Musachy Barroso 09871d7da2 Cleanup some warnings
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@743883 13f79535-47bb-0310-9956-ffa450edef68
2009-02-12 21:06:41 +00:00
Musachy Barroso 3334651a89 Add a setting so file protocols can be set by a constant
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@743831 13f79535-47bb-0310-9956-ffa450edef68
2009-02-12 18:45:14 +00:00
Musachy Barroso cf7b322bd5 WW-2990 support result inheritance
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@743811 13f79535-47bb-0310-9956-ffa450edef68
2009-02-12 17:13:21 +00:00
Musachy Barroso 9a1aa35714 WW-2775 refactor class instantiation decision to a protected method
Thanks to Richard Wallace for patch

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@743781 13f79535-47bb-0310-9956-ffa450edef68
2009-02-12 15:37:19 +00:00
Musachy Barroso 585d84bc2a WW-2982 add jspx files as a possible view to Convention plugin
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@743777 13f79535-47bb-0310-9956-ffa450edef68
2009-02-12 15:19:05 +00:00
Musachy Barroso b5f0f9b30c WW-2994 Add extension points for Convention plugin classes
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@743366 13f79535-47bb-0310-9956-ffa450edef68
2009-02-11 15:53:17 +00:00
Musachy Barroso 79cec0d488 Add a name to bean definition for UnknownHandler
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@738909 13f79535-47bb-0310-9956-ffa450edef68
2009-01-29 16:14:41 +00:00
Musachy Barroso 45d5c756c8 Remove comment
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@731128 13f79535-47bb-0310-9956-ffa450edef68
2009-01-03 23:58:12 +00:00
Musachy Barroso 415f08e575 Minor change to makig logging consistent
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@731127 13f79535-47bb-0310-9956-ffa450edef68
2009-01-03 23:49:51 +00:00
Jeromy Evans 92ab09649e WW-2947 added LOG.warn()'s for includeJars patterns that fail to match any jars
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@731124 13f79535-47bb-0310-9956-ffa450edef68
2009-01-03 23:15:34 +00:00
Musachy Barroso f11b40aa46 WW-2947 Remove convention's "excludeJars" and add "includeJars" instead
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@731070 13f79535-47bb-0310-9956-ffa450edef68
2009-01-03 19:36:36 +00:00
Musachy Barroso e2a7c4c183 WW-2947 Remove convention's "excludeJars" and add "includeJars" instead
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@731063 13f79535-47bb-0310-9956-ffa450edef68
2009-01-03 18:59:19 +00:00
Musachy Barroso 6756f368f5 Remove annoying warning
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@731023 13f79535-47bb-0310-9956-ffa450edef68
2009-01-03 16:58:42 +00:00
Musachy Barroso 254df5ef9b WW-2931 Make convention plugin reload the configuration when a class that contains actions changes in the file system
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@728469 13f79535-47bb-0310-9956-ffa450edef68
2008-12-21 18:30:18 +00:00
Musachy Barroso 7b0ae6e96a Update test for changes in xwork
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@727840 13f79535-47bb-0310-9956-ffa450edef68
2008-12-18 22:19:49 +00:00
Musachy Barroso 352fdb5300 WW-2922 move convention plugin out of sandbox
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@727418 13f79535-47bb-0310-9956-ffa450edef68
2008-12-17 15:39:34 +00:00