shale-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig McClanahan (JIRA)" <j...@apache.org>
Subject [jira] Commented: (SHALE-242) Review dependency version numbers
Date Wed, 09 Aug 2006 06:09:21 GMT
    [ http://issues.apache.org/struts/browse/SHALE-242?page=comments#action_37936 ] 
            
Craig McClanahan commented on SHALE-242:
----------------------------------------

I am trying to update the Tiles dependency from 0.2-SNAPSHOT to 2.0-SNAPSHOT, and as Wendy
warns there is breakage here.  I get the following compile errors:

==========
/home/craigmcc/Apache/shale/current/framework/shale-tiles/src/main/java/org/apache/shale/tiles/TilesViewHandler.java:[266,30]
getDefinition(java.lang.String,org.apache.tiles.TilesContext) in org.apache.tiles.TilesUtil
cannot be applied to (java.lang.String,javax.servlet.ServletRequest,javax.servlet.ServletContext)

/home/craigmcc/Apache/shale/current/framework/shale-tiles/src/main/java/org/apache/shale/tiles/TilesViewHandler.java:[309,53]
getContext(org.apache.tiles.TilesContext) in org.apache.tiles.ComponentContext cannot be applied
to (javax.servlet.ServletRequest)

/home/craigmcc/Apache/shale/current/framework/shale-tiles/src/main/java/org/apache/shale/tiles/TilesViewHandler.java:[312,25]
setContext(org.apache.tiles.ComponentContext,org.apache.tiles.TilesContext) in org.apache.tiles.ComponentContext
cannot be applied to (org.apache.tiles.ComponentContext,javax.servlet.ServletRequest)
==========

Greg, could you help us resolve this changes?  To test it out, change your shale-tiles/pom.xml
with the following diff:

Index: pom.xml
===================================================================
--- pom.xml     (revision 429894)
+++ pom.xml     (working copy)
@@ -40,7 +40,7 @@
         <dependency>
             <groupId>org.apache.struts.tiles</groupId>
             <artifactId>tiles-core</artifactId>
-            <version>0.2-SNAPSHOT</version>
+            <version>2.0-SNAPSHOT</version>
         </dependency>
     </dependencies>

==========

(And, feel free to check this change in when the shale-tiles module compiles successfully).



> Review dependency version numbers
> ---------------------------------
>
>                 Key: SHALE-242
>                 URL: http://issues.apache.org/struts/browse/SHALE-242
>             Project: Shale
>          Issue Type: Task
>          Components: Core, Clay, Remoting, Tiger, Test, Tiles
>            Reporter: Craig McClanahan
>         Assigned To: Craig McClanahan
>             Fix For: 1.0.3-SNAPSHOT
>
>
> Review version numbers of dependencies listed in our POMs to make sure we've got the
desired versions (normally latest release).

-- 
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

        

Mime
View raw message