You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pluto-dev@portals.apache.org by "David DeWolf (JIRA)" <ji...@apache.org> on 2007/02/03 23:30:05 UTC

[jira] Resolved: (PLUTO-285) Will no compile against servlet-api 2.3, nor servlet-api 2.5 at` the same time

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

David DeWolf resolved PLUTO-285.
--------------------------------

    Resolution: Cannot Reproduce

I can't duplicate this.  You should be able to simply do:

mvn install.

We're currently dependent on:
        <servlet-api.version>2.3</servlet-api.version>
        <jsp-api.version>2.0</jsp-api.version>

> Will no compile against servlet-api 2.3, nor servlet-api 2.5 at` the same time
> ------------------------------------------------------------------------------
>
>                 Key: PLUTO-285
>                 URL: https://issues.apache.org/jira/browse/PLUTO-285
>             Project: Pluto
>          Issue Type: Bug
>          Components: build system
>    Affects Versions: 1.1.1
>            Reporter: George Lindholm
>
> Current subversion source checked out.
> With the default servlet of 2.3 I get:
>   [INFO] [compiler:compile]
> Compiling 8 source files to D:\DaS\DJ\work-build\pluto\pluto-taglib\target\class
> es
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Compilation failure
> D:\DaS\DJ\work-build\pluto\pluto-taglib\src\main\java\org\apache\pluto\tags\el\P
> aramTag.java:[28,46] cannot find symbol
> symbol  : method getExpressionEvaluator()
> location: class javax.servlet.jsp.PageContext
> D:\DaS\DJ\work-build\pluto\pluto-taglib\src\main\java\org\apache\pluto\tags\el\P
> aramTag.java:[34,31] cannot find symbol
> symbol  : method getVariableResolver()
> location: class javax.servlet.jsp.PageContext
> So I change the version to 2,5, but then I get:
> ....
>  D:\DaS\DJ\work-build\pluto\pluto-portal-driver\src\main\java\org\apache\pluto\dr
> iver\tags\PortletRenderTag.java:[69,26] cannot find symbol
> symbol  : class JspException
> location: class org.apache.pluto.driver.tags.PortletRenderTag
> D:\DaS\DJ\work-build\pluto\pluto-portal-driver\src\main\java\org\apache\pluto\dr
> iver\tags\PortletRenderTag.java:[74,15] cannot find symbol
> symbol  : variable SKIP_BODY
> location: class org.apache.pluto.driver.tags.PortletRenderTag
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ------------------------------------------------------------------------
> So then I switch back to the 2.3 servlet everything finally compiles:

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