8/8/05, Wendy Smoak <java (AT) wendysmoak (DOT) comwrote:
Faces is using a formerly deprecated, and now removed, method in
RequestUtils. This breaks the Maven build, which works against
struts-core-1.3.0-dev.
Is this the correct fix?
Conceptually that fix makes sense in that it solves the compilation
problem but I don't believe that struts-faces should inherit a
dependency on 1.3.x. Today it works (runtime) on 1.1 and 1.2, and it
would be pretty pointless to throw away the vast majority of the
potential target market.
I think Struts-Faces (if it's going to be built with Maven :-) needs
its own set of dependencies, independent of whatever Struts Core is
using. That may mean decoupling from the shared "build"
infrastructure that is so handy across Struts Core but this
problem is going to get faced by other subcomponents as soon as they
contemplate independent release cycles.
Maybe the Maven mavens can figure out a way to share the build
infrastructure without sharing the dependency information?
Craig
Thanks,
Wendy
Index:
(revision 230657)
(working copy)
@@ -35,6 +35,7 @@
import ;
import ;
import ;
+import ;
import ;
@@ -152,7 +153,7 @@
// Invoke the appropriate request processor for this request
try {
request.setAttribute(Constants.ACTIN_EVENT_KEY, event);
- RequestUtils.selectModule(request, servletContext);
+ ModuleUtils.getInstance().selectModule(request,
servletContext);
ModuleConfig moduleConfig = (ModuleConfig)
request.getAttribute(Globals.MDULE_KEY);
if (log.isTraceEnabled()) {
To unsubscribe, e-mail: dev-unsubscribe (AT) struts (DOT) apache.org
For additional commands, e-mail: dev-help (AT) struts (DOT) apache.org
To unsubscribe, e-mail: dev-unsubscribe (AT) struts (DOT) apache.org
For additional commands, e-mail: dev-help (AT) struts (DOT) apache.org