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 Richard Jacob <ja...@apache.org> on 2003/11/14 17:19:16 UTC

copying portlet.tld

Hi,

when deploying portlets the war/WEB-INF/tld/portlet.tld is being copied 
to the webapp dir.
Why is this done? Shouldn't the portlets have their own tld shipped in 
the war file anyway?
The testsuite portlets have this tld stored in 
portlets/testsuite/WEB-INF/tld/portlet.tld.
This is done in portalImpl.Deploy.java, line 434.

-cheers
Richard


Re: copying portlet.tld

Posted by Stefan Hepper <st...@hursley.ibm.com>.
Hi Richard,
this is due to the fact that J2EE 1.3 does not specify classpath search 
orders for tlds. This is fixed with J2EE 1.4 and when we move to tomcat 
5 we can get rid of this and put the tld in the commons dir.

Stefan

Richard Jacob wrote:
> Hi,
> 
> when deploying portlets the war/WEB-INF/tld/portlet.tld is being copied 
> to the webapp dir.
> Why is this done? Shouldn't the portlets have their own tld shipped in 
> the war file anyway?
> The testsuite portlets have this tld stored in 
> portlets/testsuite/WEB-INF/tld/portlet.tld.
> This is done in portalImpl.Deploy.java, line 434.
> 
> -cheers
> Richard
> 
>