jford 2004/08/16 14:29:14
Modified: components/deploy-tool/src/java/org/apache/jetspeed/tools/deploy
JetspeedWebApplicationRewriter.java
Log:
Add taglib to web.xml
Revision Changes Path
1.11 +2 -3
jakarta-jetspeed-2/components/deploy-tool/src/java/org/apache/jetspeed/tools/deploy/JetspeedWebApplicationRewriter.java
Index: JetspeedWebApplicationRewriter.java
===================================================================
RCS file:
/home/cvs/jakarta-jetspeed-2/components/deploy-tool/src/java/org/apache/jetspeed/tools/deploy/JetspeedWebApplicationRewriter.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- JetspeedWebApplicationRewriter.java 16 Aug 2004 02:57:19 -0000 1.10
+++ JetspeedWebApplicationRewriter.java 16 Aug 2004 21:29:14 -0000 1.11
@@ -176,12 +176,12 @@
insertElementCorrectly(root, jetspeedServletMappingElement,
ELEMENTS_BEFORE_SERVLET_MAPPING);
changed = true;
}
- /* remove this for now .. it seems to broken
+
if(portletTaglib == null)
{
Element taglib = new Element ("taglib");
Element taguri = (Element) new
Element("taglib-uri").addContent("http://java.sun.com/portlet");
- Element taglocation = (Element) new
Element("taglib-location").addContent("/WEB-INF/portlet.tld");
+ Element taglocation = (Element) new
Element("taglib-location").addContent("/WEB-INF/tld/portlet.tld");
taglib.addContent(taguri);
taglib.addContent(taglocation);
@@ -190,7 +190,6 @@
changed = true;
portletTaglibAdded = true;
}
- */
}
catch (Exception e)
{
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]