You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Ted Husted (JIRA)" <ji...@apache.org> on 2007/02/05 03:58:16 UTC

[jira] Updated: (WW-1699) Cannot build from SVN: StrutsMockServletContext.getContextPath() is missing

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

Ted Husted updated WW-1699:
---------------------------

    Fix Version/s: 2.0.6

I'm not having any troubling building from source myself. 

Is this a method needed by one of your own tests?


> Cannot build from SVN: StrutsMockServletContext.getContextPath() is missing
> ---------------------------------------------------------------------------
>
>                 Key: WW-1699
>                 URL: https://issues.apache.org/struts/browse/WW-1699
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Tests
>    Affects Versions: 2.0.5
>            Reporter: Stepan Koltsov
>            Priority: Trivial
>             Fix For: 2.0.6
>
>
> Index: core/src/test/java/org/apache/struts2/views/jsp/StrutsMockServletContext.java
> ===================================================================
> --- core/src/test/java/org/apache/struts2/views/jsp/StrutsMockServletContext.java       (revision 503218)
> +++ core/src/test/java/org/apache/struts2/views/jsp/StrutsMockServletContext.java       (working copy)
> @@ -158,4 +158,8 @@
>      public void setServletInfo(String servletInfo) {
>          this.servletInfo = servletInfo;
>      }
> +    
> +    public String getContextPath() {
> +       throw new UnsupportedOperationException();
> +    }
>  }

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.