Commit Graph

522 Commits

Author SHA1 Message Date
Musachy Barroso 60fdb065c5 WW-3217 Bring JSON plugin into trunk
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@802878 13f79535-47bb-0310-9956-ffa450edef68
2009-08-10 18:19:48 +00:00
Musachy Barroso 2f7177ce8f Add a class loader interface (bundle based) to the ServletContext so it cann be used by other plugins to lookup resources
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@802870 13f79535-47bb-0310-9956-ffa450edef68
2009-08-10 17:40:46 +00:00
Musachy Barroso 7e0ad932de fix log message
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@802862 13f79535-47bb-0310-9956-ffa450edef68
2009-08-10 17:00:49 +00:00
Musachy Barroso d89c7186a1 minor formatting thingy
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@802133 13f79535-47bb-0310-9956-ffa450edef68
2009-08-07 18:24:45 +00:00
Musachy Barroso a5d0e408c6 organize imports
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@802129 13f79535-47bb-0310-9956-ffa450edef68
2009-08-07 18:14:48 +00:00
Musachy Barroso 81fee36664 remove commented code
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@802126 13f79535-47bb-0310-9956-ffa450edef68
2009-08-07 18:11:39 +00:00
Musachy Barroso 976863cfb7 git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@802124 13f79535-47bb-0310-9956-ffa450edef68 2009-08-07 18:11:11 +00:00
Musachy Barroso 51a68818dc WW-3208 Spring Plugin using commons.lang.StringUtils instead of shaded class in xwork library
thanks to  Tom Terrace for the patch

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@799123 13f79535-47bb-0310-9956-ffa450edef68
2009-07-29 23:27:25 +00:00
Musachy Barroso a6f1e0d755 fix build
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@796774 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22 15:48:06 +00:00
Musachy Barroso fe7a12574b fix bug that added all the watched dirs as stores to the reloading classloader
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@794418 13f79535-47bb-0310-9956-ffa450edef68
2009-07-15 21:07:45 +00:00
Musachy Barroso 0fd40525cd Make the class reloading implementation work with convention. (use the reloading class loader when an instance is requested using the class name)
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@794116 13f79535-47bb-0310-9956-ffa450edef68
2009-07-14 23:44:43 +00:00
Musachy Barroso 4eb9f31c67 init reloading class loader before calling setApplication
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@794105 13f79535-47bb-0310-9956-ffa450edef68
2009-07-14 22:45:13 +00:00
Musachy Barroso 125522566e add some logging to class reloading
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@794094 13f79535-47bb-0310-9956-ffa450edef68
2009-07-14 22:24:56 +00:00
Musachy Barroso 49e5110dd4 define constants as empty as a workaround to the IoC container limitation ("required" is ignored in @Inject in constructor params)
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@793692 13f79535-47bb-0310-9956-ffa450edef68
2009-07-13 20:08:21 +00:00
Musachy Barroso 577840562a fix broken build
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@793636 13f79535-47bb-0310-9956-ffa450edef68
2009-07-13 17:35:54 +00:00
Musachy Barroso 6539d0dd80 add a constant to limit the classes that can be loaded by the reloading class loader, support relative paths
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@793626 13f79535-47bb-0310-9956-ffa450edef68
2009-07-13 16:58:08 +00:00
Musachy Barroso b2cf05e87a WW-3183 Add class reloading to the Spring plugin
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@793388 13f79535-47bb-0310-9956-ffa450edef68
2009-07-12 18:17:55 +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 350acd8bc9 WW-3128, screwed up originally, forgot to svn add this file after applying the patch
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@791565 13f79535-47bb-0310-9956-ffa450edef68
2009-07-06 19:01:15 +00:00
Nils-Helge Garli eca561c674 WW-3164
Need to inject ActionMapper in PortletUrlRenderer to avoid NPE when passing through to ServletUrlRenderer.

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@788633 13f79535-47bb-0310-9956-ffa450edef68
2009-06-26 08:43:42 +00:00
Wesley Wannemacher 3e33a7b70c [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@786191 13f79535-47bb-0310-9956-ffa450edef68
2009-06-18 18:09:00 +00:00
Wesley Wannemacher 87321e8d2b [maven-release-plugin] prepare release STRUTS_2_1_7
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@786189 13f79535-47bb-0310-9956-ffa450edef68
2009-06-18 18:07:01 +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 55fdb0e0f3 rname file(agrrr)
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@781887 13f79535-47bb-0310-9956-ffa450edef68
2009-06-05 02:06:13 +00:00
Musachy Barroso 7953458fc0 rname file(did my cat walk on the keyboard?)
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@781886 13f79535-47bb-0310-9956-ffa450edef68
2009-06-05 02:05:35 +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 47fa0c6635 trying to make bamboo happy
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@781096 13f79535-47bb-0310-9956-ffa450edef68
2009-06-02 17:47:00 +00:00
Wesley Wannemacher e9978d5c29 WW-3128, thanks Brian!
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@780096 13f79535-47bb-0310-9956-ffa450edef68
2009-05-29 20:22:09 +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
Rainer Hermanns 4ae3847628 Fixing test failures for locales other than US
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@779761 13f79535-47bb-0310-9956-ffa450edef68
2009-05-28 20:34:35 +00:00
Musachy Barroso e97d30adf6 WW-3135 OVal Plugin doesn't add field errors for "subfields"
patch provided by rdk@

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@777502 13f79535-47bb-0310-9956-ffa450edef68
2009-05-22 12:58:29 +00:00
Musachy Barroso c282bc85f5 WW-3124 make IoC dependency not required
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@773903 13f79535-47bb-0310-9956-ffa450edef68
2009-05-12 13:59:48 +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
Rainer Hermanns a3d11038eb WW-3116 Update sitemesh-plugin to use version 2.4.2 (GAE compliancy)
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@771849 13f79535-47bb-0310-9956-ffa450edef68
2009-05-05 15:53:49 +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
Wesley Wannemacher f64557a7bc WW-3103, patch from Jordi Albert, fixing emptyOption param, thanks!
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@771753 13f79535-47bb-0310-9956-ffa450edef68
2009-05-05 14:43:54 +00:00
Wesley Wannemacher f699fd2c23 WW-3100 updating poms that are pointing to unencrypted http for developerConnection
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@769390 13f79535-47bb-0310-9956-ffa450edef68
2009-04-28 13:28:43 +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
Nils-Helge Garli 28f40ede15 WW-3087 Using session to store location.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@768803 13f79535-47bb-0310-9956-ffa450edef68
2009-04-26 21:34:45 +00:00
Nils-Helge Garli 23be5b9bfe WW-3087 Using session to store location.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@768802 13f79535-47bb-0310-9956-ffa450edef68
2009-04-26 21:34:14 +00:00
Musachy Barroso 9ea8a2a74d Add version option to properties
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@768377 13f79535-47bb-0310-9956-ffa450edef68
2009-04-24 17:29:40 +00:00
Rainer Hermanns c6e09bf395 WW-2742 Paramters not being set in JFreeChart Plugin
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@768217 13f79535-47bb-0310-9956-ffa450edef68
2009-04-24 08:08:43 +00:00
Musachy Barroso bcef9830de fix runlevels loading
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@768048 13f79535-47bb-0310-9956-ffa450edef68
2009-04-23 20:48:57 +00:00
Musachy Barroso 5ea573404c Add support for runlevels
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@767967 13f79535-47bb-0310-9956-ffa450edef68
2009-04-23 16:39:23 +00:00
Rainer Hermanns efd35b5e9a WW-3009 Extensibility Improvements to javatemplates plugin - patch (project scope)
submitted by Eric Chijioke

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@767518 13f79535-47bb-0310-9956-ffa450edef68
2009-04-22 13:37:01 +00:00
Rainer Hermanns b84fc5b6bc WWW-2884 Support for report JDBC connection
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@767507 13f79535-47bb-0310-9956-ffa450edef68
2009-04-22 13:09:32 +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