You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Don Brown (JIRA)" <ji...@apache.org> on 2006/09/29 07:52:25 UTC

[jira] Resolved: (WW-1418) Struts 2 does not compile against Tiles 2.0-SNAPSHOT

     [ http://issues.apache.org/struts/browse/WW-1418?page=all ]

Don Brown resolved WW-1418.
---------------------------

    Resolution: Fixed
      Assignee: Don Brown

Fixed, thanks for the patch!

> Struts 2 does not compile against Tiles 2.0-SNAPSHOT
> ----------------------------------------------------
>
>                 Key: WW-1418
>                 URL: http://issues.apache.org/struts/browse/WW-1418
>             Project: Struts 2
>          Issue Type: Bug
>    Affects Versions: 2.0.0
>            Reporter: Wendy Smoak
>         Assigned To: Don Brown
>             Fix For: 2.0.1
>
>         Attachments: tiles-2.0.0.patch
>
>
> Updating the Tiles 2 dependency to the latest snapshot causes a compilation failure.
> Index: core/pom.xml
> ===================================================================
> --- core/pom.xml        (revision 437389)
> +++ core/pom.xml        (working copy)
> @@ -190,7 +190,7 @@
>          <dependency>
>              <groupId>org.apache.struts.tiles</groupId>
>              <artifactId>tiles-core</artifactId>
> -            <version>0.2-SNAPSHOT</version>
> +            <version>2.0-SNAPSHOT</version>
>              <optional>true</optional>
>          </dependency>
>          <dependency>
> Compiling 460 source files to e:\svn\struts\current\struts2\core\target\classes
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Compilation failure
> e:\svn\struts\current\struts2\core\src\main\java\org\apache\struts2\views\tiles\
> TilesResult.java:[112,24] setContext(org.apache.tiles.ComponentContext,org.apach
> e.tiles.TilesContext) in org.apache.tiles.ComponentContext cannot be applied to
> (org.apache.tiles.ComponentContext,javax.servlet.http.HttpServletRequest)
> e:\svn\struts\current\struts2\core\src\main\java\org\apache\struts2\views\tiles\
> TilesResult.java:[165,51] getContext(org.apache.tiles.TilesContext) in org.apach
> e.tiles.ComponentContext cannot be applied to (javax.servlet.http.HttpServletReq
> uest)
> e:\svn\struts\current\struts2\core\src\main\java\org\apache\struts2\views\tiles\
> TilesResult.java:[168,28] setContext(org.apache.tiles.ComponentContext,org.apach
> e.tiles.TilesContext) in org.apache.tiles.ComponentContext cannot be applied to
> (org.apache.tiles.ComponentContext,javax.servlet.http.HttpServletRequest)
> e:\svn\struts\current\struts2\core\src\main\java\org\apache\struts2\views\tiles\
> TilesResult.java:[201,18] execute(org.apache.tiles.TilesContext,org.apache.tiles
> .ComponentContext) in org.apache.tiles.Controller cannot be applied to (org.apac
> he.tiles.ComponentContext,javax.servlet.http.HttpServletRequest,javax.servlet.ht
> tp.HttpServletResponse,javax.servlet.ServletContext)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira