You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Andres March (JIRA)" <de...@tapestry.apache.org> on 2008/08/04 02:55:44 UTC

[jira] Commented: (TAPESTRY-2421) Allow Tapestry4/Tapestry5 to be deployed in the same WAR

    [ https://issues.apache.org/jira/browse/TAPESTRY-2421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12619395#action_12619395 ] 

Andres March commented on TAPESTRY-2421:
----------------------------------------

WTF, a package refactoring and class renaming in a patch?  At least some documentation on where to find the constants would have been a good idea.

> Allow Tapestry4/Tapestry5 to be deployed in the same WAR
> --------------------------------------------------------
>
>                 Key: TAPESTRY-2421
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-2421
>             Project: Tapestry
>          Issue Type: New Feature
>          Components: tapestry-core
>    Affects Versions: 5.0.11
>            Reporter: Howard M. Lewis Ship
>            Assignee: Howard M. Lewis Ship
>             Fix For: 5.0.12
>
>
> The main opposition to deploying a WAR containing both the T4 and the T5 libraries is class name conflicts in the org.apache.tapestry package.
> For a brief time, it was considered to rename org.apache.tapestry to org.apache.tapestry5.
> However, more research shows that there are only three naming conflicts:
> org.apache.tapestry.PageRenderSupport
> org.apache.tapestry.TapestryConstants
> org.apache.tapestry.TapestryUtils
> These could be rename or otherwise refactored to avoid the conflicts.
> In theory, and with a small amount of configuration, it should be possible to run Tapestry 4 and Tapestry 5 side-by-side in the same WAR.  The shared third-party dependencies, such as commons-logging and Javassist, should be compatible.
> T4 Friendly URLs might have to be disabled, however; otherwise it becomes very difficult to determine which requests are for T5 and which are for T4.
> Tapestry 3 has no overlap with Tapestry 5.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org