Changeset 1306
- Timestamp:
- 03/07/07 15:54:09
- Files:
-
- trunk/build/buildwar.xml (modified) (6 diffs)
- trunk/build/libjars.properties (modified) (1 diff)
- trunk/config/configs/democal.properties (modified) (1 diff)
- trunk/deployment/dumprestore/shellscr/resources/dumpres.sh (modified) (1 diff)
- trunk/docs/BedeworkDeploymentManual.odt (modified) (previous)
- trunk/lib/liferay4.2 (added)
- trunk/lib/liferay4.2/util-bridges.jar (added)
- trunk/lib/liferay4.2/util-java.jar (added)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/build/buildwar.xml
r1213 r1306 64 64 65 65 <!--temp web.xml location --> 66 <property name="app.temp.web.xml" 67 location="${app.dest.webinf}/tempweb.xml" /> 68 69 <!--final web.xml location --> 66 70 <property name="app.dest.web.xml" 67 71 location="${app.dest.webinf}/web.xml" /> … … 146 150 </copy> 147 151 148 <!-- Make a modified copy of the web.xml file --> 152 <!-- Make a temp copy of the web.xml file --> 153 <copy tofile="${app.temp.web.xml}" file="${app.web.xml}" 154 overwrite="yes" /> 155 156 <antcall target="struts-stuff" inheritRefs="true" /> 157 158 <!-- Filter the temp copy of the web.xml file --> 149 159 <copy tofile="${app.dest.web.xml}" 150 file="${app. web.xml}"160 file="${app.temp.web.xml}" 151 161 overwrite="yes" > 152 162 <filterset> … … 156 166 </copy> 157 167 158 < antcall target="struts-stuff" inheritRefs="true" />168 <delete file="${app.temp.web.xml}" /> 159 169 160 170 <!-- =============================================================== … … 401 411 <antcall target="add.uportal2" inheritRefs="true" /> 402 412 <antcall target="add.liferay4" inheritRefs="true" /> 403 404 <replace file="${app.dest.webinf}/web.xml">405 <replacefilter token="@PORTLET-NAME@" value="${propval.app.portlet.name}"/>406 <replacefilter token="@PORTAL-SERVLET-CONTEXT-LISTENER@"407 value="${org.bedework.global.portal-servlet.context.listener}"/>408 </replace>409 413 </then> 410 414 </if> … … 449 453 450 454 <!-- Add the portlet servlet mapping --> 451 <replace file="${app. dest.webinf}/web.xml">455 <replace file="${app.temp.web.xml"> 452 456 <replacetoken><![CDATA[<!-- portlet servlet mapping here -->]]></replacetoken> 453 457 <replacevalue><![CDATA[<servlet-mapping> … … 482 486 </copy> 483 487 484 <!-- Add the portlet servlet mapping --> 485 <replace file="${app.dest.webinf}/web.xml"> 486 <replacetoken><![CDATA[<!-- portlet servlet mapping here -->]]></replacetoken> 487 <replacevalue><![CDATA[<listener> 488 <!-- Add the context params --> 489 <replace file="${app.temp.web.xml}"> 490 <replacetoken><![CDATA[<!-- add context params here -->]]></replacetoken> 491 <replacevalue><![CDATA[<!-- add context params here --> 492 493 <context-param> 494 <param-name>company_id</param-name> 495 <param-value>@LIFERAY-COMPANY-ID@</param-value> 496 </context-param>]]> 497 </replacevalue> 498 </replace> 499 500 <!-- Add the portal listener --> 501 <replace file="${app.temp.web.xml}"> 502 <replacetoken><![CDATA[<!-- add listeners here -->]]></replacetoken> 503 <replacevalue><![CDATA[<!-- add listeners here --> 504 505 <listener> 488 506 <listener-class> 489 507 @PORTAL-SERVLET-CONTEXT-LISTENER@ 490 508 </listener-class> 491 </listener> 509 </listener>]]> 510 </replacevalue> 511 </replace> 512 513 <!-- Add the portlet servlet definition --> 514 <replace file="${app.temp.web.xml}"> 515 <replacetoken><![CDATA[<!-- add servlet definitions here -->]]></replacetoken> 516 <replacevalue><![CDATA[<!-- add servlet definitions here --> 517 518 <!-- Servlet definition for portlet use. --> 519 <servlet> 520 <servlet-name>@PORTLET-NAME@</servlet-name> 521 <display-name>@PORTLET-NAME@ Wrapper</display-name> 522 <servlet-class>@PORTLET-SERVLET-CLASS@</servlet-class> 523 <init-param> 524 <param-name>portlet-class</param-name> 525 <param-value>@PORTLET-CLASS@</param-value> 526 </init-param> 527 <init-param> 528 <param-name>portlet-guid</param-name> 529 <param-value>@CONTEXT-ROOT@.@PORTLET-NAME@</param-value> 530 </init-param> 531 </servlet>]]> 532 </replacevalue> 533 </replace> 534 535 <!-- Add the portlet servlet mapping --> 536 <replace file="${app.temp.web.xml}"> 537 <replacetoken><![CDATA[<!-- add servlet mappings here -->]]></replacetoken> 538 <replacevalue><