Commit Graph

48 Commits

Author SHA1 Message Date
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 745cc03734 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@731670 13f79535-47bb-0310-9956-ffa450edef68
2009-01-05 19:57:47 +00:00
Musachy Barroso af624777ad [maven-release-plugin] prepare release STRUTS_2_1_6
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@731668 13f79535-47bb-0310-9956-ffa450edef68
2009-01-05 19:56:32 +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 85da3b3b1a [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@730774 13f79535-47bb-0310-9956-ffa450edef68
2009-01-02 16:28:44 +00:00
Musachy Barroso ed28964bce [maven-release-plugin] prepare release STRUTS_2_1_5
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@730771 13f79535-47bb-0310-9956-ffa450edef68
2009-01-02 16:27:28 +00:00
Musachy Barroso 056fc323e5 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@729969 13f79535-47bb-0310-9956-ffa450edef68
2008-12-29 18:57:01 +00:00
Musachy Barroso 0ba89c502b [maven-release-plugin] prepare release STRUTS_2_1_4
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@729967 13f79535-47bb-0310-9956-ffa450edef68
2008-12-29 18:56:15 +00:00
Musachy Barroso 81f7142724 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@729399 13f79535-47bb-0310-9956-ffa450edef68
2008-12-25 06:41:59 +00:00
Musachy Barroso 86b9438c95 [maven-release-plugin] prepare release STRUTS_2_1_3
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@729397 13f79535-47bb-0310-9956-ffa450edef68
2008-12-25 06:34:10 +00:00
Musachy Barroso 6aa62bed80 WW-2623 rollback maven release commit
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@729395 13f79535-47bb-0310-9956-ffa450edef68
2008-12-25 06:13:39 +00:00
Musachy Barroso 3607a431d8 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@729374 13f79535-47bb-0310-9956-ffa450edef68
2008-12-24 20:28:53 +00:00
Musachy Barroso 25168e8db3 [maven-release-plugin] prepare release STRUTS_2_1_3
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@729372 13f79535-47bb-0310-9956-ffa450edef68
2008-12-24 20:20:05 +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