nickchalko 2004/03/11 11:20:41 Added: blog/Issues Struts-Velocity.txt Log: Struts- Veleocity issue.
PR: Obtained from: Submitted by: Reviewed by: CVS: ---------------------------------------------------------------------- CVS: PR: CVS: If this change addresses a PR in the problem report tracking CVS: database, then enter the PR number(s) here. CVS: Obtained from: CVS: If this change has been taken from another system, such as NCSA, CVS: then name the system in this line, otherwise delete it. CVS: Submitted by: CVS: If this code has been contributed to Apache by someone else; i.e., CVS: they sent us a patch or a new module, then include their name/email CVS: address here. If this is your work then delete this line. CVS: Reviewed by: CVS: If we are doing pre-commit code reviews and someone else has CVS: reviewed your changes, include their name(s) here. CVS: If you have not had it reviewed then delete this line. Revision Changes Path 1.1 gump/blog/Issues/Struts-Velocity.txt Index: Struts-Velocity.txt =================================================================== PREVIEW Struts broke an interface on a non-major version change (1.1 -> 1.2) and gump found it View at http://gump.chalko.com/gb/blog/Issues?permalink=STruts-Celocity.txt&preview=true&smm=y <br/> <p> It looks like Struts broke an interface on a non-major version change (1.1 -> 1.2) and <a href="http://lsd.student.utwente.nl/gump/jakarta-velocity-tools/jakarta-velocity-tools.html" >gump found it</a>. <more/> Velocity is working with Struts community to show them that what they are doing is harmful to client projects, and work out a compromise. </p> The specific compile errors were <pre> /data3/gump/jakarta-velocity-tools/src/java/org/apache/velocity/tools/struts/StrutsUtils.java:131: cannot resolve symbol symbol : variable FORWARDS_KEY location: class org.apache.struts.Globals return (ActionForwards)app.getAttribute(Globals.FORWARDS_KEY); ^ /data3/gump/jakarta-velocity-tools/src/java/org/apache/velocity/tools/struts/StrutsUtils.java:146: cannot resolve symbol symbol : class ActionForwards location: class org.apache.velocity.tools.struts.StrutsUtils ActionForwards forwards = getActionForwards(app); ^ /data3/gump/jakarta-velocity-tools/src/java/org/apache/velocity/tools/struts/StrutsUtils.java:164: cannot resolve symbol symbol : class ActionMappings location: class org.apache.velocity.tools.struts.StrutsUtils return (ActionMappings)app.getAttribute(Globals.MAPPINGS_KEY); ^ /data3/gump/jakarta-velocity-tools/src/java/org/apache/velocity/tools/struts/StrutsUtils.java:164: cannot resolve symbol symbol : variable MAPPINGS_KEY location: class org.apache.struts.Globals return (ActionMappings)app.getAttribute(Globals.MAPPINGS_KEY); ^ /data3/gump/jakarta-velocity-tools/src/java/org/apache/velocity/tools/struts/StrutsUtils.java:179: cannot resolve symbol symbol : class ActionMappings location: class org.apache.velocity.tools.struts.StrutsUtils ActionMappings mappings = getActionMappings(app); ^ /data3/gump/jakarta-velocity-tools/src/java/org/apache/velocity/tools/struts/StrutsUtils.java:578: forwardURL(javax.servlet.http.HttpServletRequest,org.apache.struts.config.ForwardConfig,org.apache.struts.config.ModuleConfig) in org.apache.struts.util.RequestUtils cannot be applied to (javax.servlet.http.HttpServletRequest,org.apache.struts.config.ForwardConfig) url.append(RequestUtils.forwardURL(request, fc)); ^ </pre> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
