You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Jacques Le Roux (JIRA)" <ji...@apache.org> on 2013/10/23 13:29:45 UTC

[jira] [Closed] (OFBIZ-5369) Change GROOVY_SUPPORT position in .classpath to remove "The method getContextPath() is undefined for the type ServletContext" message in Eclipse.

     [ https://issues.apache.org/jira/browse/OFBIZ-5369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacques Le Roux closed OFBIZ-5369.
----------------------------------

    Resolution: Fixed
      Assignee: Jacques Le Roux

Thanks Jinghai,

Your slightly enhanced patch is in trunk at revision: 1534989  

I needed to also remove the now useless warning message I put in ControlServlet.java, well done!

> Change GROOVY_SUPPORT position in .classpath to remove "The method getContextPath() is undefined for the type   ServletContext" message in Eclipse.
> ---------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-5369
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-5369
>             Project: OFBiz
>          Issue Type: Improvement
>            Reporter: Shi Jinghai
>            Assignee: Jacques Le Roux
>            Priority: Trivial
>         Attachments: OFBiz-5369-classpath.patch
>
>
> While editing some java files with "request.getSession().getServletContext().getContextPath()" in Eclipse, an error message appears:
> "The method getContextPath() is undefined for the type ServletContext".
> This error message can be removed by changing GROOVY_SUPPORT position to be after servlet jar in .classpath



--
This message was sent by Atlassian JIRA
(v6.1#6144)