Changeset 1937
- Timestamp:
- 10/29/08 17:29:30
- Files:
-
- trunk/build/buildfilters.xml (modified) (3 diffs)
- trunk/build/buildwar.xml (modified) (3 diffs)
- trunk/build/loadDeployConfig.xml (modified) (3 diffs)
- trunk/build/portals (added)
- trunk/build/portals/jetspeed2War.xml (added)
- trunk/build/portals/liferay4War.xml (added)
- trunk/build/portals/liferay5War.xml (added)
- trunk/build/portals/uportal2War.xml (added)
- trunk/build/quickstart/build.xml (modified) (1 diff)
- trunk/build/quickstart/hsqldb.properties (added)
- trunk/build/quickstart/run-hsqldb.xml (modified) (9 diffs)
- trunk/config/bwbuild/.portal (added)
- trunk/config/bwbuild/.portal/common-resources (added)
- trunk/config/bwbuild/.portal/liferay4 (added)
- trunk/config/bwbuild/.portal/liferay4/portal.properties (added)
- trunk/config/bwbuild/.portal/liferay5 (added)
- trunk/config/bwbuild/.portal/liferay5/portal.properties (added)
- trunk/config/bwbuild/.portal/uportal2 (added)
- trunk/config/bwbuild/.portal/uportal2/portal.properties (added)
- trunk/config/bwbuild/.standalone (added)
- trunk/config/bwbuild/.standalone/standalone.properties (added)
- trunk/config/bwbuild/default/build.properties (modified) (1 diff)
- trunk/config/bwbuild/default/cal.options.xml (modified) (11 diffs)
- trunk/config/bwbuild/default/cal.properties (modified) (19 diffs)
- trunk/config/bwbuild/jboss/democal.options.xml (modified) (7 diffs)
- trunk/config/bwbuild/jboss/democal.properties (modified) (9 diffs)
- trunk/config/bwbuild/liferay5 (added)
- trunk/config/bwbuild/liferay5/build.properties (added)
- trunk/config/bwbuild/liferay5/cal.options.xml (added)
- trunk/config/bwbuild/liferay5/cal.properties (added)
- trunk/config/configs/democal.options.xml (modified) (8 diffs)
- trunk/config/configs/democal.properties (modified) (9 diffs)
- trunk/config/configs/freebusy (deleted)
- trunk/deployment/appjars.xml (modified) (2 diffs)
- trunk/deployment/build.xml (modified) (11 diffs)
- trunk/deployment/resources/build.xml (modified) (1 diff)
- trunk/deployment/termination/jetspeed (deleted)
- trunk/deployment/termination/liferay4 (deleted)
- trunk/deployment/termination/liferay5 (deleted)
- trunk/deployment/termination/uportal2 (deleted)
- trunk/deployment/webadmin/jetspeed (deleted)
- trunk/deployment/webadmin/liferay4 (deleted)
- trunk/deployment/webadmin/liferay5 (deleted)
- trunk/deployment/webadmin/portlet/jetspeed2-portlet.psml (added)
- trunk/deployment/webadmin/portlet/liferay4-display.xml (added)
- trunk/deployment/webadmin/portlet/liferay4-portlet.xml (added)
- trunk/deployment/webadmin/portlet/liferay5-display.xml (added)
- trunk/deployment/webadmin/portlet/liferay5-portlet.xml (added)
- trunk/deployment/webadmin/uportal2 (deleted)
- trunk/deployment/webadmin/webapp/build.xml (modified) (2 diffs)
- trunk/deployment/webconfig/webapp/build.xml (modified) (1 diff)
- trunk/deployment/webpublic/jetspeed (deleted)
- trunk/deployment/webpublic/liferay4 (deleted)
- trunk/deployment/webpublic/liferay5 (deleted)
- trunk/deployment/webpublic/portlet/jetspeed2-portlet.psml (added)
- trunk/deployment/webpublic/portlet/liferay4-display.xml (added)
- trunk/deployment/webpublic/portlet/liferay4-portlet.xml (added)
- trunk/deployment/webpublic/portlet/liferay5-display.xml (added)
- trunk/deployment/webpublic/portlet/liferay5-portlet.xml (added)
- trunk/deployment/webpublic/uportal2 (deleted)
- trunk/deployment/webpublic/webapp/build.xml (modified) (2 diffs)
- trunk/deployment/websubmit/jetspeed (deleted)
- trunk/deployment/websubmit/liferay4 (deleted)
- trunk/deployment/websubmit/liferay5 (deleted)
- trunk/deployment/websubmit/portlet/jetspeed2-portlet.psml (added)
- trunk/deployment/websubmit/portlet/liferay4-display.xml (added)
- trunk/deployment/websubmit/portlet/liferay4-portlet.xml (added)
- trunk/deployment/websubmit/portlet/liferay5-display.xml (added)
- trunk/deployment/websubmit/portlet/liferay5-portlet.xml (added)
- trunk/deployment/websubmit/uportal2 (deleted)
- trunk/deployment/websubmit/webapp/build.xml (modified) (1 diff)
- trunk/deployment/webuser/jetspeed (deleted)
- trunk/deployment/webuser/liferay4 (deleted)
- trunk/deployment/webuser/liferay5 (deleted)
- trunk/deployment/webuser/portlet/jetspeed2-portlet.psml (added)
- trunk/deployment/webuser/portlet/liferay4-display.xml (added)
- trunk/deployment/webuser/portlet/liferay4-portlet.xml (added)
- trunk/deployment/webuser/portlet/liferay5-display.xml (added)
- trunk/deployment/webuser/portlet/liferay5-portlet.xml (added)
- trunk/deployment/webuser/uportal2 (deleted)
- trunk/deployment/webuser/webapp/build.xml (modified) (1 diff)
- trunk/deployutil/src/org/bedework/deployment/ForEachAppTask.java (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/build/buildfilters.xml
r1933 r1937 26 26 <filter token="DIRECTORY-BROWSING-DISALLOWED" 27 27 value="${org.bedework.global.directory.browsing.disallowed}" /> 28 29 <filter token="PORTAL-PLATFORM"30 value="${org.bedework.global.portal.platform}"/>31 28 32 29 <filter token="SERVLET-CLASS" … … 78 75 <filter token="APP-NAME" 79 76 value="${propval.app.name}"/> 77 <filter token="APP-DESCRIPTION" 78 value="${propval.app.description}"/> 80 79 <filter token="APP-VERSION" 81 80 value="${org.bedework.global.version}"/> … … 89 88 <filter token="NOXSLT" 90 89 value="${propval.app.noxslt}" /> 91 <filter token="APPLICATION-ROOT"92 value="${propval.app.root}" />93 90 94 91 <!-- Change this to be an app par --> trunk/build/buildwar.xml
r1935 r1937 42 42 <project name="bedework.buildwar" default="build" > 43 43 <import file="${build.dir}/buildfilters.xml" /> 44 45 <if> 46 <isset property="org.bedework.global.portal.platform" /> 47 <then> 48 <import file="${build.dir}/portals/${org.bedework.global.portal.platform}War.xml" /> 49 </then> 50 </if> 44 51 45 52 <target name="init" depends="init.common,init.j2ee,init.standalone" /> … … 372 379 <isset property="org.bedework.global.portal.platform" /> 373 380 <then> 374 <!-- Add common portlet files --> 375 376 <copy todir="${app.dest.lib}" 377 file="${org.bedework.appjar.portals-bridges-common}"/> 378 <copy todir="${app.dest.lib}" 379 file="${org.bedework.appjar.portals-bridges-struts-1.2.7}"/> 380 381 <!-- Use generic bedework portlet tld --> 382 <copy todir="${app.dest.webinf}/tlds" 383 overwrite="yes" 384 failonerror="no" > 385 <fileset dir="${app.root.dir}/resources/portlet" > 386 <include name="*.tld"/> 387 </fileset> 388 </copy> 389 390 <copy todir="${app.dest.webinf}" 391 file="${org.bedework.deploy.type.dir}/portlet/struts-portlet-config.xml" 392 overwrite="yes" 393 failonerror="no" /> 394 395 <copy todir="${app.dest.webinf}" 396 file="${org.bedework.deploy.type.dir}/portlet/portlet.xml" 397 overwrite="yes" 398 failonerror="no" > 399 <filterset refid="property.filters" /> 400 </copy> 401 402 <!-- Add the portal bridge controller def --> 403 <replace file="${app.dest.webinf}/struts-config.xml"> 404 <replacetoken><![CDATA[<!-- portlet controller def here -->]]></replacetoken> 405 <replacevalue><![CDATA[<controller pagePattern="$M$P" inputForward="true" 406 processorClass="org.apache.portals.bridges.struts.PortletRequestProcessor"/>]]> 407 </replacevalue> 408 </replace> 409 410 <antcall target="add.jetspeed2" inheritRefs="true" /> 411 <antcall target="add.uportal2" inheritRefs="true" /> 412 <antcall target="add.liferay4" inheritRefs="true" /> 413 <antcall target="add.liferay5" inheritRefs="true" /> 381 <antcall target="doPortal" inheritRefs="true" /> 414 382 </then> 415 383 </if> … … 426 394 <copy todir="${app.dest.lib}" file="${org.bedework.appjar.jstl}"/> 427 395 <copy todir="${app.dest.lib}" file="${org.bedework.appjar.jstl-standard}"/> 428 </target>429 430 <!-- =================================================================431 Jetspeed 2 modifications432 ================================================================= -->433 434 <target name="add.jetspeed2" if="org.bedework.build.for.jetspeed2" >435 <copy todir="${app.dest.webinf}/tlds" >436 <fileset dir="${org.bedework.default.lib}/${jetspeed2.jars.dir}/portals-bridges-struts">437 <include name="*.tld"/>438 </fileset>439 </copy>440 </target>441 442 <!-- =================================================================443 Uportal 2 modifications444 ================================================================= -->445 446 <target name="add.uportal2" if="org.bedework.build.for.uportal2" >447 <copy todir="${app.dest.lib}" file="${org.bedework.appjar.uportal}"/>448 449 <!-- Add the portlet servlet mapping -->450 <replace file="${app.temp.web.xml}">451 <replacetoken><![CDATA[<!-- portlet servlet mapping here -->]]></replacetoken>452 <replacevalue><![CDATA[<servlet-mapping>453 <servlet-name>@PORTLET-NAME@</servlet-name>454 <url-pattern>/@PORTLET-NAME@/*</url-pattern>455 </servlet-mapping>]]>456 </replacevalue>457 </replace>458 459 </target>460 461 <!-- =================================================================462 Liferay 4 modifications463 ================================================================= -->464 465 <target name="add.liferay4" if="org.bedework.build.for.liferay4" >466 <!-- Add liferay config files -->467 <copy todir="${app.dest.webinf}" >468 <fileset dir="${app.sou.dir}/war/WEB-INF" >469 <include name="liferay*"/>470 </fileset>471 <filterset refid="property.filters" />472 </copy>473 474 <copy todir="${app.dest.lib}" file="${org.bedework.appjar.liferay}"/>475 <copy todir="${app.dest.lib}" file="${org.bedework.appjar.liferay.util-bridges}"/>476 <copy todir="${app.dest.lib}" file="${org.bedework.appjar.liferay.util-java}"/>477 478 <!-- Add the context params -->479 <replace file="${app.temp.web.xml}">480 <replacetoken><![CDATA[<!-- add context params here -->]]></replacetoken>481 <replacevalue><![CDATA[<!-- add context params here -->482 483 <context-param>484 <param-name>company_id</param-name>485 <param-value>@LIFERAY-COMPANY-ID@</param-value>486 </context-param>]]>487 </replacevalue>488 </replace>489 490 <!-- Add the portal listener -->491 <replace file="${app.temp.web.xml}">492 <replacetoken><![CDATA[<!-- add listeners here -->]]></replacetoken>493 <replacevalue><![CDATA[<!-- add listeners here -->494 495 <listener>496 <listener-class>497 @PORTAL-SERVLET-CONTEXT-LISTENER@498 </listener-class>499 </listener>]]>500 </replacevalue>501 </replace>502 503 <!-- Add the portlet servlet definition -->504 <replace file="${app.temp.web.xml}">505 <replacetoken><![CDATA[<!-- add servlet definitions here -->]]></replacetoken>506 <replacevalue><![CDATA[<!-- add servlet definitions here -->507 508 <!-- Servlet definition for portlet use. -->509 <servlet>510 <servlet-name>@PORTLET-NAME@</servlet-name>511 <display-name>@PORTLET-NAME@ Wrapper</display-name>512 <servlet-class>@PORTLET-SERVLET-CLASS@</servlet-class>513 <init-param>514 <param-name>portlet-class</param-name>515 <param-value>@PORTLET-CLASS@</param-value>516 </init-param>517 <init-param>518 <param-name>portlet-guid</param-name>519 <param-value>@CONTEXT-ROOT@.@PORTLET-NAME@</param-value>520 </init-param>521 </servlet>]]>522 </replacevalue>523 </replace>524 525 <!-- Add the portlet servlet mapping -->526 <replace file="${app.temp.web.xml}">527 <replacetoken><![CDATA[<!-- add servlet mappings here -->]]></replacetoken>528 <replacevalue><![CDATA[<!-- add servlet mappings here -->529 530 <servlet-mapping>531 <servlet-name>@PORTLET-NAME@</servlet-name>532 <url-pattern>/@PORTLET-NAME@/*</url-pattern>533 </servlet-mapping>]]>534 </replacevalue>535 </replace>536 </target>537 538 <!-- =================================================================539 Liferay 5 modifications540 ================================================================= -->541 542 <target name="add.liferay5" if="org.bedework.build.for.liferay5" >543 <!-- Add liferay config files -->544 <copy todir="${app.dest.webinf}" >545 <fileset dir="${app.sou.dir}/war/WEB-INF" >546 <include name="liferay*"/>547 </fileset>548 <filterset refid="property.filters" />549 </copy>550 551 <copy todir="${app.dest.lib}" file="${org.bedework.appjar.liferay.util-taglib}"/>552 <copy todir="${app.dest.lib}" file="${org.bedework.appjar.liferay.util-bridges}"/>553 <copy todir="${app.dest.lib}" file="${org.bedework.appjar.liferay.util-java}"/>554 555 <!-- Add the context params -->556 <replace file="${app.temp.web.xml}">557 <replacetoken><![CDATA[<!-- add context params here -->]]></replacetoken>558 <replacevalue><![CDATA[<!-- add context params here -->559 560 <context-param>561 <param-name>company_id</param-name>562 <param-value>@LIFERAY-COMPANY-ID@</param-value>563 </context-param>]]>564 </replacevalue>565 </replace>566 567 <!-- Add the portal listener -->568 <replace file="${app.temp.web.xml}">569 <replacetoken><![CDATA[<!-- add listeners here -->]]></replacetoken>570 <replacevalue><![CDATA[<!-- add listeners here -->571 572 <listener>573 <listener-class>574 @PORTAL-SERVLET-CONTEXT-LISTENER@575 </listener-class>576 </listener>]]>577 </replacevalue>578 </replace>579 580 <!-- Add the portlet servlet definition -->581 <replace file="${app.temp.web.xml}">582 <replacetoken><![CDATA[<!-- add servlet definitions here -->]]></replacetoken>583 <replacevalue><![CDATA[<!-- add servlet definitions here -->584 585 <!-- Servlet definition for portlet use. -->586 <servlet>587 <servlet-name>@PORTLET-NAME@</servlet-name>588 <display-name>@PORTLET-NAME@ Wrapper</display-name>589 <servlet-class>@PORTLET-SERVLET-CLASS@</servlet-class>590 <init-param>591 <param-name>portlet-class</param-name>592 <param-value>@PORTLET-CLASS@</param-value>593 </init-param>594 <init-param>595 <param-name>portlet-guid</param-name>596 <param-value>@CONTEXT-ROOT@.@PORTLET-NAME@</param-value>597 </init-param>598 </servlet>]]>599 </replacevalue>600 </replace>601 602 <!-- Add the portlet servlet mapping -->603 <replace file="${app.temp.web.xml}">604 <replacetoken><![CDATA[<!-- add servlet mappings here -->]]></replacetoken>605 <replacevalue><![CDATA[<!-- add servlet mappings here -->606 607 <servlet-mapping>608 <servlet-name>@PORTLET-NAME@</servlet-name>609 <url-pattern>/@PORTLET-NAME@/*</url-pattern>610 </servlet-mapping>]]>611 </replacevalue>612 </replace>613 396 </target> 614 397 trunk/build/loadDeployConfig.xml
r1935 r1937 9 9 <macrodef name="loadDeployConfig"> 10 10 <sequential> 11 <taskdef resource="net/sf/antcontrib/antcontrib.properties" /> 12 13 <property environment="env"/> 14 15 <echo message="Load user properties from ${org.bedework.user.build.properties}" /> 16 17 <!-- Load user property definition overrides --> 18 <property file="${org.bedework.user.build.properties}" /> 19 11 20 <property name="org.bedework.config.properties" 12 21 location="${org.bedework.config.base}/configs/democal.properties" /> … … 16 25 <echo message="==========================================================" /> 17 26 <echo message="Use config properties ${org.bedework.config.properties}" /> 18 <loadproperties srcFile="${org.bedework.config.properties}" > 19 <filterchain> 20 <expandproperties/> 21 </filterchain> 22 </loadproperties> 27 <property file="${org.bedework.config.properties}" /> 23 28 24 29 <!-- Load the run time options and define some properties based on some … … 27 32 <xmlproperty file="${org.bedework.config.options}"/> 28 33 34 <if> 35 <isset property="bedework-options.org.bedework.global.portal.platform"/> 36 <then> 37 <property name="org.bedework.global.portal.platform" 38 value="${bedework-options.org.bedework.global.portal.platform}" /> 39 40 <property name="org.bedework.config.portal.home" 41 value="${org.bedework.config.home}/.portal/${org.bedework.global.portal.platform}" /> 42 43 <property name="org.bedework.config.portal.common.home" 44 value="${org.bedework.config.home}/.portal/common-resources" /> 45 46 <echo message="******************* load from ${org.bedework.config.portal.home}/portal.properties" /> 47 <property file="${org.bedework.config.portal.home}/portal.properties" /> 48 </then> 49 <else> 50 <echo message="******************* load from ${org.bedework.config.home}/.standalone/standalone.properties" /> 51 <property file="${org.bedework.config.home}/.standalone/standalone.properties" /> 52 </else> 53 </if> 54 29 55 <property name="org.bedework.global.version" 30 56 value="${bedework-options.org.bedework.global.version}" /> 57 58 <property name="org.bedework.global.directory.browsing.disallowed" 59 value="${bedework-options.org.bedework.syspars.directoryBrowsingDisallowed}" /> 31 60 </sequential> 32 61 </macrodef> trunk/build/quickstart/build.xml
r1935 r1937 109 109 <property name="org.bedework.hsqldb.dir" 110 110 location="${org.bedework.project.bedework}/../hsqldb-1.7.3.3" /> 111 112 <echo message="Load user properties from ${org.bedework.user.build.properties}" />113 114 <!-- Load user property definition overrides -->115 <property file="${org.bedework.user.build.properties}" />116 117 <!-- ==================== config properties =========================118 <property name="org.bedework.config.properties"119 location="${org.bedework.config.base}/configs/democal.properties" />120 <property name="org.bedework.config.options"121 location="${org.bedework.config.base}/configs/democal.options.xml" />122 123 <echo message="==========================================================" />124 <echo message="Use config properties ${org.bedework.config.properties}" />125 <loadproperties126 srcFile="${org.bedework.config.properties}" >127 <filterchain>128 <expandproperties/>129 </filterchain>130 </loadproperties>131 -->132 111 </target> 133 112 trunk/build/quickstart/run-hsqldb.xml
r1933 r1937 19 19 </target> 20 20 21 <target name="hsql.init" depends="run.init"> 22 <!-- Set this property in the configuration if you want to overrride the 23 quickstart hsql defs. --> 24 <property name="org.bedework.quickstart.hsql.defs" 25 location="${org.bedework.project.bedework}/build/quickstart/hsqldb.properties" /> 26 27 <echo message="load hsql properties from ${org.bedework.quickstart.hsql.defs}"/> 28 29 <property file="${org.bedework.quickstart.hsql.defs}" /> 30 </target> 31 21 32 <!-- ================================================================= 22 33 The "hsqldb" target starts the hsqldb server 23 34 ================================================================= --> 24 35 25 <target name="hsqldb" depends=" run.init"36 <target name="hsqldb" depends="hsql.init" 26 37 description="starts the hsqldb server"> 27 <echo message="Starting hsqldb"/> 38 <echo message="Starting hsqldb on port ${org.bedework.hsqldb.port}"/> 39 28 40 <java fork="true" dir="${basedir}" classname="org.hsqldb.Server"> 29 41 <classpath> … … 33 45 <arg value="${org.bedework.hsqldb.dir}/${org.bedework.hsqldb.dbname}"/> 34 46 <arg value="-port"/> 35 <arg value=" 8887"/>47 <arg value="${org.bedework.hsqldb.port}"/> 36 48 </java> 37 49 </target> 38 50 39 <target name="hsqldb-trace" depends=" run.init"51 <target name="hsqldb-trace" depends="hsql.init" 40 52 description="starts the hsqldb server"> 41 <echo message="Starting hsqldb"/> 53 <echo message="Starting hsqldb on port ${org.bedework.hsqldb.port}"/> 54 42 55 <java fork="true" dir="${basedir}" classname="org.hsqldb.Server"> 43 56 <classpath> … … 51 64 <arg value="${org.bedework.hsqldb.dir}/${org.bedework.hsqldb.dbname}"/> 52 65 <arg value="-port"/> 53 <arg value=" 8887"/>66 <arg value="${org.bedework.hsqldb.port}"/> 54 67 </java> 55 68 </target> 56 69 57 <target name="hsqldb-trace-9887" depends=" run.init"70 <target name="hsqldb-trace-9887" depends="hsql.init" 58 71 description="starts the hsqldb server"> 59 72 <echo message="Starting hsqldb"/> … … 73 86 </target> 74 87 75 <target name="uportaldb" depends=" run.init"88 <target name="uportaldb" depends="hsql.init" 76 89 description="starts the hsqldb server"> 77 90 <echo message="Starting hsqldb"/> … … 87 100 </target> 88 101 89 <target name="liferaydb" depends=" run.init"102 <target name="liferaydb" depends="hsql.init" 90 103 description="starts the hsqldb server for likferay"> 91 104 <echo message="Starting hsqldb"/> … … 105 118 ================================================================= --> 106 119 107 <target name="hsqldb-test" depends=" run.init"120 <target name="hsqldb-test" depends="hsql.init" 108 121 description="starts the hsqldb server for testing"> 109 <echo message="Starting hsqldb for testing"/> 122 <echo message="Starting hsqldb on port ${org.bedework.hsqldb.port}"/> 123 110 124 <delete dir="${org.bedework.hsqldb.dbdir}" /> 111 125 … … 117 131 <arg value="${org.bedework.hsqldb.dir}/${org.bedework.hsqldb.test.dbdir}/events"/> 118 132 <arg value="-port"/> 119 <arg value=" 8887"/>133 <arg value="${org.bedework.hsqldb.port}"/> 120 134 </java> 121 135 </target> 122 136 123 <target name="hsqldb-test-trace" depends=" run.init"137 <target name="hsqldb-test-trace" depends="hsql.init" 124 138 description="starts the hsqldb server for testing"> 125 <echo message="Starting hsqldb for testing"/> 139 <echo message="Starting hsqldb on port ${org.bedework.hsqldb.port}"/> 140 126 141 <delete dir="${org.bedework.hsqldb.dbdir}" /> 127 142 … … 137 152 <arg value="${org.bedework.hsqldb.dir}/${org.bedework.hsqldb.test.dbdir}/events"/> 138 153 <arg value="-port"/> 139 <arg value=" 8887"/>154 <arg value="${org.bedework.hsqldb.port}"/> 140 155 </java> 141 156 </target> … … 146 161 ================================================================= --> 147 162 148 <target name="hsqldb-mngr" depends=" run.init"163 <target name="hsqldb-mngr" depends="hsql.init" 149 164 description="Runs the DatabaseManager class which provides a 150 165 gui interface to the running hsqldb database"> 151 166 <echo message="Starting hsqldb DatabaseManager"/> 152 167 <echo message="Select type: HSQL Database Engine Server"/> 153 <echo message="Set the URL to jdbc:hsqldb:hsql://localhost: 8887"/>168 <echo message="Set the URL to jdbc:hsqldb:hsql://localhost:${org.bedework.hsqldb.port}"/> 154 169 <java fork="true" dir="${basedir}" 155 170 classname="org.hsqldb.util.DatabaseManager"> trunk/config/bwbuild/default/build.properties
r1899 r1937 10 10 # <various other distributed properties> 11 11 # 12 # On entry 13 # env.BEDEWORK_CONFIGS is set to the directory containing all the confurations 14 # env.BEDEWORK_CONFIG is set to the directory containing the config files 15 # 12 16 13 17 compile.debug=yes 14 18 19 org.bedework.config.home=${env.BEDEWORK_CONFIGS_HOME} 15 20 org.bedework.config.properties=${env.BEDEWORK_CONFIG}/cal.properties 16 21 org.bedework.config.options=${env.BEDEWORK_CONFIG}/cal.options.xml trunk/config/bwbuild/default/cal.options.xml
r1935 r1937 15 15 them from user group names. --> 16 16 <adminGroupsIdPrefix>agrp_</adminGroupsIdPrefix> 17 18 <!-- Uncomment this and set the value to one of the supported portals 19 Values that will result in something happening are 20 liferay5 21 liferay4 22 uportal2 23 <portalPlatform>your-portal</portalPlatform> 24 --> 17 25 18 26 <module> … … 134 142 <usergroupsClass>org.bedework.calsvc.directory.GroupsDbImpl</usergroupsClass> 135 143 136 <directoryBrowsingDisallowed> @DIRECTORY-BROWSING-DISALLOWED@</directoryBrowsingDisallowed>144 <directoryBrowsingDisallowed>true</directoryBrowsingDisallowed> 137 145 138 146 <indexRoot>lucene/indexroot</indexRoot> … … 140 148 141 149 <app> 150 <!-- ================================================================== 151 Config web client 152 ================================================================== --> 153 <bwconfig classname="org.bedework.calfacade.configs.ConfigCommon"> 154 <appType>webconfig</appType> 155 <publicAdmin>false</publicAdmin> 156 <guestMode>false</guestMode> 157 </bwconfig> 158 142 159 <!-- ================================================================== 143 160 Admin web client CalAdmin … … 171 188 172 189 <appRoot>http://localhost:8080/caladminrsrc</appRoot> 173 <portalPlatform>@PORTAL-PLATFORM@</portalPlatform>174 190 </CalAdmin> 175 191 … … 201 217 202 218 <appRoot>http://localhost:8080/eventsubmitrsrc</appRoot> 203 <portalPlatform>@PORTAL-PLATFORM@</portalPlatform>204 219 205 220 <refreshAction>setup.do</refreshAction> … … 235 250 236 251 <appRoot>http://localhost:8080/calrsrc</appRoot> 237 <portalPlatform>@PORTAL-PLATFORM@</portalPlatform>238 252 239 253 <refreshAction>setup.do</refreshAction> … … 270 284 <logPrefix>SoEDept</logPrefix> 271 285 272 <appRoot>/calrsrc</appRoot> 273 <portalPlatform>@PORTAL-PLATFORM@</portalPlatform> 286 <appRoot>http://localhost:8080/calrsrc</appRoot> 274 287 275 288 <refreshAction>setup.do</refreshAction> … … 302 315 <logPrefix>PersonalCalendar</logPrefix> 303 316 304 <appRoot>/ucalrsrc</appRoot> 305 <portalPlatform>@PORTAL-PLATFORM@</portalPlatform> 317 <appRoot>http://localhost:8080/ucalrsrc</appRoot> 306 318 307 319 <refreshAction>setup.do</refreshAction> … … 313 325 ================================================================== --> 314 326 <Usercaldav classname="org.bedework.calfacade.configs.CalDAVConfig"> 327 <appType>usercaldav</appType> 315 328 <publicAdmin>false</publicAdmin> 316 329 <guestMode>false</guestMode> … … 334 347 ================================================================== --> 335 348 <Pubcaldav classname="org.bedework.calfacade.configs.CalDAVConfig"> 349 <appType>publiccaldav</appType> 336 350 <publicAdmin>false</publicAdmin> 337 351 <guestMode>true</guestMode> … … 353 367 354 368 <!-- ================================================================== 369 CalDAV test suite 370 ================================================================== --> 371 <caldavTest classname="org.bedework.calfacade.configs.ConfigCommon"> 372 <appType>caldavTest</appType> 373 <publicAdmin>false</publicAdmin> 374 <guestMode>false</guestMode> 375 </caldavTest> 376 377 <!-- ================================================================== 378 bedework test suite 379 ================================================================== --> 380 <test classname="org.bedework.calfacade.configs.ConfigCommon"> 381 <appType>testsuite</appType> 382 <publicAdmin>false</publicAdmin> 383 <guestMode>false</guestMode> 384 </test> 385 386 <!-- ================================================================== 355 387 Dump restore program dumpres 356 388 ================================================================== --> 357 389 <dumpres classname="org.bedework.calfacade.configs.DumpRestoreConfig"> 358 390 <debug>true</debug> 391 <appType>dumprestore</appType> 392 <guestMode>true</guestMode> 359 393 <debugEntity>false</debugEntity> 360 394 <superGroupName>campusAdminGroups</superGroupName> trunk/config/bwbuild/default/cal.properties
r1935 r1937 37 37 org.bedework.global.hibernate.cache.provider_class org.hibernate.cache.EhCacheProvider 38 38 39 # Uncomment this to enable building of a common context for common javascript.40 # This context will be deployed along with the applications and makes common41 # javascript available under, two paths at the contex defined here.42 #43 # This is necessary to deal with problems delivering commmon code from the same44 # server when the root context is defined to be an application rather than the45 # normal web server default.46 #47 # Don't work. Will try another approach or a modification of this.48 #org.bedework.global.build.common.context=yes49 #org.bedework.global.build.common.context.name=calcommon50 #org.bedework.global.build.common.context.root=/calcommon51 #org.bedework.global.build.common.context.war.name=calcommon52 #org.bedework.global.build.common.context.deploy.dir=/webapps53 54 org.bedework.global.directory.browsing.disallowed=false55 56 39 # Comment this out for j2ee deploy 57 40 org.bedework.global.build.standalone.app=true … … 69 52 org.bedework.global.common.deploydir=/webapps/ROOT/bedework-common 70 53 71 #72 # Specify the portal platform we want to run on. Enable the appropriaet section.73 # Properties rquired:74 # org.bedework.build.for.XXX Used to enable functions75 # org.bedework.global.portal.platform Used by deployment process to pick76 # appropriate build. Value is name of directory77 # in deployment/<kind> e.g. uportal278 #79 # For each portlet define the portlet name, e.g.80 # org.bedework.app.Events.portlet.name=PublicCal81 #82 # If you want to build some struts applications standalone, and others as83 # portlets you will need two configs and two builds84 85 # These for standalone and for j2ee86 org.bedework.global.servlet.class=org.apache.struts.action.ActionServlet87 org.bedework.global.ignoreContentType=false88 org.bedework.global.portlet.mapping=89 org.bedework.global.genurl.taglib.tld=struts-html.tld90 91 54 # enable this and standalone for jboss 92 55 #org.bedework.build.for.jboss=yes 93 56 94 # These for uportal95 #org.bedework.build.for.uportal2=yes96 #org.bedework.global.portal.platform=uportal297 #org.bedework.global.servlet.class=org.apache.portals.bridges.struts.PortletServlet98 #org.bedework.global.portlet-servlet.class=org.apache.pluto.core.PortletServlet99 #org.bedework.global.portlet.class=org.apache.portals.bridges.struts.StrutsPortlet100 #org.bedework.global.portal-servlet.context.provider=org.bedework.portal.uportal.PortalServletContextProvider101 #org.bedework.global.ignoreContentType=true102 #org.bedework.global.genurl.taglib.tld=bedework-portlet-struts-html.tld103 104 # These for liferay 4105 #org.bedework.build.for.liferay4=yes106 #org.bedework.global.portal.platform=liferay4107 # servlet-class is the action servlet in web.xml108 #org.bedework.global.servlet.class=org.apache.portals.bridges.struts.PortletServlet109 # portlet-servlet.class is the servlet-class element for the portlet servlet in web.xml110 #org.bedework.global.portlet-servlet.class=com.liferay.portal.servlet.PortletServlet111 # portlet.class is in portlet.xml and the value for the portlet-class init par in web.xml112 #org.bedework.global.portlet.class=com.liferay.portal.apache.bridges.LiferayStrutsPortlet113 # portal-servlet.context.provider is in portlet.xml114 #org.bedework.global.portal-servlet.context.provider=com.liferay.util.apache.bridges.struts.LiferayServletContextProviderWrapper115 #org.bedework.global.portal-servlet.context.listener=com.liferay.portal.kernel.servlet.PortletContextListener116 #org.bedework.global.ignoreContentType=true117 #org.bedework.global.genurl.taglib.tld=bedework-portlet-struts-html.tld118 #org.bedework.global.liferay.company-id=liferay.com119 #liferay4.lib=${org.bedework.default.lib}/liferay4120 57 # 121 58 # ------------------------------------------------------------------------ … … 138 75 # A place to put jdbc drivers. This can be directed at any local directory 139 76 org.bedework.jdbc.lib=${org.bedework.project.bedework}/lib/jdbc 140 141 # ------------------------------------------------------------------------142 # hsqldb defs143 # ------------------------------------------------------------------------144 145 # where the default db is146 org.bedework.hsqldb.dir=${org.bedework.project.bedework}/../hsqldb-1.7.3.3147 148 # hsqldb db name for bedework.149 org.bedework.hsqldb.dbname=demo/events150 151 # If uPortal2 builds are enabled this is the default dbname152 org.bedework.hsqldb.uportal2.dbname=uportal2/uportal153 154 # default db name for tests155 org.bedework.hsqldb.test.dbdir=test156 77 157 78 # ------------------------------------------------------------------------ … … 197 118 # 198 119 org.bedework.app.bwconfig.project=webapps 199 org.bedework.app.bwconfig.type=webconfig200 120 org.bedework.app.bwconfig.sou.dir=webconfig 201 121 org.bedework.app.bwconfig.default.contenttype=text/xml 202 122 org.bedework.app.bwconfig.war.name=bwconfig 203 123 org.bedework.app.bwconfig.context.root=/bwconfig 204 org.bedework.app.bwconfig.root=/bwconfigrsrc205 124 org.bedework.app.bwconfig.resources.dir=/webapps/ROOT/bwconfigrsrc 206 125 org.bedework.app.bwconfig.deploy.dir=/webapps … … 216 135 # 217 136 org.bedework.app.CalAdmin.project=webapps 218 org.bedework.app.CalAdmin.type=webadmin219 137 org.bedework.app.CalAdmin.sou.dir=webadmin 220 138 org.bedework.app.CalAdmin.default.contenttype=text/xml … … 228 146 # Set for jboss 229 147 #org.bedework.app.CalAdmin.virtual.host= 230 org.bedework.app.CalAdmin.root=http://localhost:8080/caladminrsrc231 148 org.bedework.app.CalAdmin.resources.dir=/webapps/ROOT/caladminrsrc 232 149 org.bedework.app.CalAdmin.deploy.dir=/webapps … … 246 163 # 247 164 org.bedework.app.EventSubmit.project=webapps 248 org.bedework.app.EventSubmit.type=websubmit249 165 org.bedework.app.EventSubmit.sou.dir=websubmit 250 166 org.bedework.app.EventSubmit.default.contenttype=text/xml … … 258 174 # Set for jboss 259 175 #org.bedework.app.EventSubmit.virtual.host= 260 org.bedework.app.EventSubmit.root=http://localhost:8080/eventsubmitrsrc261 176 org.bedework.app.EventSubmit.resources.dir=/webapps/ROOT/eventsubmitrsrc 262 177 org.bedework.app.EventSubmit.deploy.dir=/webapps … … 276 191 # 277 192 org.bedework.app.Events.project=webapps 278 org.bedework.app.Events.type=webpublic279 193 org.bedework.app.Events.sou.dir=webclient 280 194 org.bedework.app.Events.default.contenttype=text/xml … … 288 202 # Set for jboss 289 203 #org.bedework.app.Events.virtual.host= 290 org.bedework.app.Events.root=http://localhost:8080/calrsrc291 204 org.bedework.app.Events.resources.dir=/webapps/ROOT/calrsrc 292 205 org.bedework.app.Events.deploy.dir=/webapps … … 303 216 # 304 217 org.bedework.app.SoEDept.project=webapps 305 org.bedework.app.SoEDept.type=webpublic306 218 org.bedework.app.SoEDept.sou.dir=webclient 307 219 org.bedework.app.SoEDept.default.contenttype=text/xml … … 315 227 # Set for jboss 316 228 #org.bedework.app.SoEDept.virtual.host= 317 org.bedework.app.SoEDept.root=http://localhost:8080//calrsrc318 229 org.bedework.app.SoEDept.resources.dir=/webapps/ROOT/calrsrc 319 230 org.bedework.app.SoEDept.deploy.dir=/webapps … … 330 241 # 331 242 org.bedework.app.UserCal.project=webapps 332 org.bedework.app.UserCal.type=webuser333 243 org.bedework.app.UserCal.sou.dir=webclient 334 244 org.bedework.app.UserCal.default.contenttype=text/xml … … 342 252 # Set for jboss 343 253 #org.bedework.app.UserCal.virtual.host= 344 org.bedework.app.UserCal.root=http://localhost:8080//ucalrsrc345 254 org.bedework.app.UserCal.resources.dir=/webapps/ROOT/ucalrsrc 346 255 org.bedework.app.UserCal.deploy.dir=/webapps … … 360 269 # 361 270 org.bedework.app.Pubcaldav.project=caldav 362 org.bedework.app.Pubcaldav.type=publiccaldav363 271 org.bedework.app.Pubcaldav.sou.dir=server 364 272 org.bedework.app.Pubcaldav.interface.jar=bw-caldav … … 384 292 # 385 293 org.bedework.app.Usercaldav.project=caldav 386 org.bedework.app.Usercaldav.type=usercaldav387 294 org.bedework.app.Usercaldav.sou.dir=server 388 295 org.bedework.app.Usercaldav.interface.jar=bw-caldav … … 413 320 414 321 org.bedework.app.caldavTest.project=caldavTest 415 org.bedework.app.caldavTest.type=caldavTest416 322 org.bedework.app.caldavTest.sou.dir=caldavTest 417 323 org.bedework.app.caldavTest.shellscr.name=bwruntest … … 427 333 428 334 org.bedework.app.test.project=testsuite 429 org.bedework.app.test.type=testsuite430 335 org.bedework.app.test.sou.dir= 431 336 org.bedework.app.test.shellscr.name=bwruntest … … 444 349 445 350 org.bedework.app.dumpres.project=dumprestore 446 org.bedework.app.dumpres.type=dumprestore447 351 org.bedework.app.dumpres.sou.dir= 448 352 org.bedework.app.dumpres.shellscr.name=bwrun trunk/config/bwbuild/jboss/democal.options.xml
r1935 r1937 15 15 them from user group names. --> 16 16 <adminGroupsIdPrefix>agrp_</adminGroupsIdPrefix> 17 18 <!-- Uncomment this and set the value to one of the supported portals 19 Values that will result in something happening are 20 liferay5 21 liferay4 22 uportal2 23 <portalPlatform>your-portal</portalPlatform> 24 --> 17 25 18 26 <module> … … 126 134 <usergroupsClass>org.bedework.calsvc.directory.GroupsDbImpl</usergroupsClass> 127 135 128 <directoryBrowsingDisallowed> @DIRECTORY-BROWSING-DISALLOWED@</directoryBrowsingDisallowed>136 <directoryBrowsingDisallowed>true</directoryBrowsingDisallowed> 129 137 130 138 <indexRoot>lucene/indexroot</indexRoot> … … 163 171 164 172 <appRoot>http://localhost:8080/caladminrsrc</appRoot> 165 <portalPlatform>@PORTAL-PLATFORM@</portalPlatform>166 173 </CalAdmin> 167 174 … … 193 200 194 201 <appRoot>http://localhost:8080/eventsubmitrsrc</appRoot> 195 <portalPlatform>@PORTAL-PLATFORM@</portalPlatform>196 202 197 203 <refreshAction>setup.do</refreshAction> … … 227 233 228 234 <appRoot>http://localhost:8080/calrsrc</appRoot> 229 <portalPlatform>@PORTAL-PLATFORM@</portalPlatform>230 235 231 236 <refreshAction>setup.do</refreshAction> … … 262 267 <logPrefix>SoEDept</logPrefix> 263 268 264 <appRoot>/calrsrc</appRoot> 265 <portalPlatform>@PORTAL-PLATFORM@</portalPlatform> 269 <appRoot>http://localhost:8080/calrsrc</appRoot> 266 270 267 271 <refreshAction>setup.do</refreshAction> … … 294 298 <logPrefix>PersonalCalendar</logPrefix> 295 299 296 <appRoot>/ucalrsrc</appRoot> 297 <portalPlatform>@PORTAL-PLATFORM@</portalPlatform> 300 <appRoot>http://localhost:8080/ucalrsrc</appRoot> 298 301 299 302 <refreshAction>setup.do</refreshAction> trunk/config/bwbuild/jboss/democal.properties
r1935 r1937 37 37 org.bedework.global.hibernate.cache.provider_class org.hibernate.cache.EhCacheProvider 38 38 39 # Uncomment this to enable building of a common context for common javascript.40 # This context will be deployed along with the applications and makes common41 # javascript available under, two paths at the contex defined here.42 #43 # This is necessary to deal with problems delivering commmon code from the same44 # server when the root context is defined to be an application rather than the45 # normal web server default.46 #47 # Don't work. Will try another approach or a modification of this.48 #org.bedework.global.build.common.context=yes49 #org.bedework.global.build.common.context.name=calcommon50 #org.bedework.global.build.common.context.root=/calcommon51 #org.bedework.global.build.common.context.war.name=calcommon52 #org.bedework.global.build.common.context.deploy.dir=/webapps53 54 org.bedework.global.directory.browsing.disallowed=true55 56 39 # Comment this out for j2ee deploy 57 40 #org.bedework.global.build.standalone.app=true … … 68 51 org.bedework.global.personal.calendar.uri=/ucal 69 52 70 #71 # Specify the portal platform we want to run on. Enable the appropriaet section.72 # Properties rquired:73 # org.bedework.build.for.XXX Used to enable functions74 # org.bedework.global.portal.platform Used by deployment process to pick75 # appropriate build. Value is name of directory76 # in deployment/<kind> e.g. uportal277 #78 # For each portlet define the portlet name, e.g.79 # org.bedework.app.Events.portlet.name=PublicCal80 #81 # If you want to build some struts applications standalone, and others as82 # portlets you will need two configs and two builds83 84 # These for standalone and for j2ee85 org.bedework.global.servlet.class=org.apache.struts.action.ActionServlet86 org.bedework.global.ignoreContentType=false87 org.bedework.global.portlet.mapping=88 org.bedework.global.genurl.taglib.tld=struts-html.tld89 90 53 # enable this and standalone for jboss 91 54 org.bedework.build.for.jboss=yes 92 55 93 # These for uportal94 #org.bedework.build.for.uportal2=yes95 #org.bedework.global.portal.platform=uportal296 #org.bedework.global.servlet.class=org.apache.portals.bridges.struts.PortletServlet97 #org.bedework.global.portlet-servlet.class=org.apache.pluto.core.PortletServlet98 #org.bedework.global.portlet.class=org.apache.portals.bridges.struts.StrutsPortlet99 #org.bedework.global.portal-servlet.context.provider=org.bedework.portal.uportal.PortalServletContextProvider100 #org.bedework.global.ignoreContentType=true101 #org.bedework.global.genurl.taglib.tld=bedework-portlet-struts-html.tld102 103 # These for liferay 4104 #org.bedework.build.for.liferay4=yes105 #org.bedework.global.portal.platform=liferay4106 # servlet-class is the action servlet in web.xml107 #org.bedework.global.servlet.class=org.apache.portals.bridges.struts.PortletServlet108 # portlet-servlet.class is the servlet-class element for the portlet servlet in web.xml109 #org.bedework.global.portlet-servlet.class=com.liferay.portal.servlet.PortletServlet110 # portlet.class is in portlet.xml and the value for the portlet-class init par in web.xml111 #org.bedework.global.portlet.class=com.liferay.portal.apache.bridges.LiferayStrutsPortlet112 # portal-servlet.context.provider is in portlet.xml113 #org.bedework.global.portal-servlet.context.provider=com.liferay.util.apache.bridges.struts.LiferayServletContextProviderWrapper114 #org.bedework.global.portal-servlet.context.listener=com.liferay.portal.kernel.servlet.PortletContextListener115 #org.bedework.global.ignoreContentType=true116 #org.bedework.global.genurl.taglib.tld=bedework-portlet-struts-html.tld117 #org.bedework.global.liferay.company-id=liferay.com118 #liferay4.lib=${org.bedework.default.lib}/liferay4119 56 # 120 57 # ------------------------------------------------------------------------ … … 136 73 # A place to put jdbc drivers. This can be directeed at any local directory 137 74 org.bedework.jdbc.lib=${org.bedework.project.bedework}/lib/jdbc 138 139 # ------------------------------------------------------------------------140 # hsqldb defs141 # ------------------------------------------------------------------------142 143 # where the default db is144 org.bedework.hsqldb.dir=${org.bedework.project.bedework}/../hsqldb-1.7.3.3145 146 # hsqldb db name for bedework.147 org.bedework.hsqldb.dbname=demo/events148 149 # If uPortal2 builds are enabled this is the default dbname150 org.bedework.hsqldb.uportal2.dbname=uportal2/uportal151 152 # default db name for tests153 org.bedework.hsqldb.test.dbdir=test154 75 155 76 # ------------------------------------------------------------------------ … … 212 133 org.bedework.app.bwconfig.war.name=bwconfig 213 134 org.bedework.app.bwconfig.context.root=/bwconfig 214 org.bedework.app.bwconfig.root=/bwconfigrsrc215 135 org.bedework.app.bwconfig.resources.dir=server/${org.bedework.jboss.config}/deploy/jboss-web.deployer/ROOT.war/bwconfigrsrc 216 136 org.bedework.app.bwconfig.deploy.dir=/webapps … … 238 158 # Set for jboss 239 159 #org.bedework.app.CalAdmin.virtual.host= 240 org.bedework.app.CalAdmin.root=http://localhost:8080/caladminrsrc241 160 org.bedework.app.CalAdmin.resources.dir=server/${org.bedework.jboss.config}/deploy/jboss-web.deployer/ROOT.war/caladminrsrc 242 161 org.bedework.app.CalAdmin.deploy.dir=/webapps … … 268 187 # Set for jboss 269 188 #org.bedework.app.EventSubmit.virtual.host= 270 org.bedework.app.EventSubmit.root=http://localhost:8080/eventsubmitrsrc271 189 org.bedework.app.EventSubmit.resources.dir=server/${org.bedework.jboss.config}/deploy/jboss-web.deployer/ROOT.war/eventsubmitrsrc 272 190 org.bedework.app.EventSubmit.deploy.dir=/webapps … … 298 216 # Set for jboss 299 217 #org.bedework.app.Events.virtual.host= 300 org.bedework.app.Events.root=http://localhost:8080/calrsrc301 218 org.bedework.app.Events.resources.dir=server/${org.bedework.jboss.config}/deploy/jboss-web.deployer/ROOT.war/calrsrc 302 219 org.bedework.app.Events.deploy.dir=/webapps … … 325 242 # Set for jboss 326 243 #org.bedework.app.SoEDept.virtual.host= 327 org.bedework.app.SoEDept.root=/calrsrc328 244 org.bedework.app.SoEDept.resources.dir=server/${org.bedework.jboss.config}/deploy/jboss-web.deployer/ROOT.war/calrsrc 329 245 org.bedework.app.SoEDept.deploy.dir=/webapps … … 352 268 # Set for jboss 353 269 #org.bedework.app.UserCal.virtual.host= 354 org.bedework.app.UserCal.root=/ucalrsrc355 270 org.bedework.app.UserCal.resources.dir=server/${org.bedework.jboss.config}/deploy/jboss-web.deployer/ROOT.war/ucalrsrc 356 271 org.bedework.app.UserCal.deploy.dir=/webapps trunk/config/configs/democal.options.xml
r1935 r1937 15 15 them from user group names. --> 16 16 <adminGroupsIdPrefix>agrp_</adminGroupsIdPrefix> 17 18 <!-- Uncomment this and set the value to one of the supported portals 19 Values that will result in something happening are 20 liferay5 21 liferay4 22 uportal2 23 <portalPlatform>your-portal</portalPlatform> 24 --> 17 25 18 26 <module> … … 134 142 <usergroupsClass>org.bedework.calsvc.directory.GroupsDbImpl</usergroupsClass> 135 143 136 <directoryBrowsingDisallowed> @DIRECTORY-BROWSING-DISALLOWED@</directoryBrowsingDisallowed>144 <directoryBrowsingDisallowed>true</directoryBrowsingDisallowed> 137 145 138 146 <indexRoot>lucene/indexroot</indexRoot> … … 140 148 141 149 <app> 150 <!-- ================================================================== 151 Config web client 152 ================================================================== --> 153 <bwconfig classname="org.bedework.calfacade.configs.ConfigCommon"> 154 <appType>webconfig</appType> 155 <publicAdmin>false</publicAdmin> 156 <guestMode>false</guestMode> 157 </bwconfig> 158 142 159 <!-- ================================================================== 143 160 Admin web client CalAdmin … … 171 188 172 189 <appRoot>http://localhost:8080/caladminrsrc</appRoot> 173 <portalPlatform>@PORTAL-PLATFORM@</portalPlatform>174 190 </CalAdmin> 175 191 … … 201 217 202 218 <appRoot>http://localhost:8080/eventsubmitrsrc</appRoot> 203 <portalPlatform>@PORTAL-PLATFORM@</portalPlatform>204 219 205 220 <refreshAction>setup.do</refreshAction> … … 235 250 236 251 <appRoot>http://localhost:8080/calrsrc</appRoot> 237 <portalPlatform>@PORTAL-PLATFORM@</portalPlatform>238 252 239 253 <refreshAction>setup.do</refreshAction> … … 270 284 <logPrefix>SoEDept</logPrefix> 271 285 272 <appRoot>/calrsrc</appRoot> 273 <portalPlatform>@PORTAL-PLATFORM@</portalPlatform> 286 <appRoot>http://localhost:8080/calrsrc</appRoot> 274 287 275 288 <refreshAction>setup.do</refreshAction> … … 302 315 <logPrefix>PersonalCalendar</logPrefix> 303 316 304 <appRoot>/ucalrsrc</appRoot> 305 <portalPlatform>@PORTAL-PLATFORM@</portalPlatform> 317 <appRoot>http://localhost:8080/ucalrsrc</appRoot> 306 318 307 319 <refreshAction>setup.do</refreshAction> trunk/config/configs/democal.properties
r1935 r1937 37 37 org.bedework.global.hibernate.cache.provider_class org.hibernate.cache.EhCacheProvider 38 38 39 # Uncomment this to enable building of a common context for common javascript.40 # This context will be deployed along with the applications and makes common41 # javascript available under, two paths at the contex defined here.42 #43 # This is necessary to deal with problems delivering commmon code from the same44 # server when the root context is defined to be an application rather than the45 # normal web server default.46 #47 # Don't work. Will try another approach or a modification of this.48 #org.bedework.global.build.common.context=yes49 #org.bedework.global.build.common.context.name=calcommon50 #org.bedework.global.build.common.context.root=/calcommon51 #org.bedework.global.build.common.context.war.name=calcommon52 #org.bedework.global.build.common.context.deploy.dir=/webapps53 54 org.bedework.global.directory.browsing.disallowed=false55 56 39 # Comment this out for j2ee deploy 57 40 org.bedework.global.build.standalone.app=true … … 69 52 org.bedework.global.common.deploydir=/webapps/ROOT/bedework-common 70 53 71 #72 # Specify the portal platform we want to run on. Enable the appropriaet section.73 # Properties rquired:74 # org.bedework.build.for.XXX Used to enable functions75 # org.bedework.global.portal.platform Used by deployment process to pick76 # appropriate build. Value is name of directory77 # in deployment/<kind> e.g. uportal278 #79 # For each portlet define the portlet name, e.g.80 # org.bedework.app.Events.portlet.name=PublicCal81 #82 # If you want to build some struts applications standalone, and others as83 # portlets you will need two configs and two builds84 85 # These for standalone and for j2ee86 org.bedework.global.servlet.class=org.apache.struts.action.ActionServlet87 org.bedework.global.ignoreContentType=false88 org.bedework.global.portlet.mapping=89 org.bedework.global.genurl.taglib.tld=struts-html.tld90 91 54 # enable this and standalone for jboss 92 55 #org.bedework.build.for.jboss=yes 93 94 # These for uportal95 #org.bedework.build.for.uportal2=yes96 #org.bedework.global.portal.platform=uportal297 #org.bedework.global.servlet.class=org.apache.portals.bridges.struts.PortletServlet98 #org.bedework.global.portlet-servlet.class=org.apache.pluto.core.PortletServlet99 #org.bedework.global.portlet.class=org.apache.portals.bridges.struts.StrutsPortlet100 #org.bedework.global.portal-servlet.context.provider=org.bedework.portal.uportal.PortalServletContextProvider101 #org.bedework.global.ignoreContentType=true102 #org.bedework.global.genurl.taglib.tld=bedework-portlet-struts-html.tld103 104 # These for liferay 4105 #org.bedework.build.for.liferay4=yes106 #org.bedework.global.portal.platform=liferay4107 # servlet-class is the action servlet in web.xml108 #org.bedework.global.servlet.class=org.apache.portals.bridges.struts.PortletServlet109 # portlet-servlet.class is the servlet-class element for the portlet servlet in web.xml110 #org.bedework.global.portlet-servlet.class=com.liferay.portal.servlet.PortletServlet111 # portlet.class is in portlet.xml and the value for the portlet-class init par in web.xml112 #org.bedework.global.portlet.class=com.liferay.portal.apache.bridges.LiferayStrutsPortlet113 # portal-servlet.context.provider is in portlet.xml114 #org.bedework.global.portal-servlet.context.provider=com.liferay.util.apache.bridges.struts.LiferayServletContextProviderWrapper115 #org.bedework.global.portal-servlet.context.listener=com.liferay.portal.kernel.servlet.PortletContextListener116 #org.bedework.global.ignoreContentType=true117 #org.bedework.global.genurl.taglib.tld=bedework-portlet-struts-html.tld118 #org.bedework.global.liferay.company-id=liferay.com119 #liferay4.lib=${org.bedework.default.lib}/liferay4120 56 # 121 57 # ------------------------------------------------------------------------ … … 137 73 # A place to put jdbc drivers. This can be directeed at any local directory 138 74 org.bedework.jdbc.lib=${org.bedework.project.bedework}/lib/jdbc 139 140 # ------------------------------------------------------------------------141 # hsqldb defs142 # ------------------------------------------------------------------------143 144 # where the default db is145 org.bedework.hsqldb.dir=${org.bedework.project.bedework}/../hsqldb-1.7.3.3146 147 # hsqldb db name for bedework.148 org.bedework.hsqldb.dbname=demo/events149 150 # If uPortal2 builds are enabled this is the default dbname151 org.bedework.hsqldb.uportal2.dbname=uportal2/uportal152 153 # default db name for tests154 org.bedework.hsqldb.test.dbdir=test155 75 156 76 # ------------------------------------------------------------------------ … … 201 121 org.bedework.app.bwconfig.war.name=bwconfig 202 122 org.bedework.app.bwconfig.context.root=/bwconfig 203 org.bedework.app.bwconfig.root=/bwconfigrsrc204 123 org.bedework.app.bwconfig.resources.dir=/webapps/ROOT/bwconfigrsrc 205 124 org.bedework.app.bwconfig.deploy.dir=/webapps … … 227 146 # Set for jboss 228 147 #org.bedework.app.CalAdmin.virtual.host= 229 org.bedework.app.CalAdmin.root=http://localhost:8080/caladminrsrc230 148 org.bedework.app.CalAdmin.resources.dir=/webapps/ROOT/caladminrsrc 231 149 org.bedework.app.CalAdmin.deploy.dir=/webapps … … 257 175 # Set for jboss 258 176 #org.bedework.app.EventSubmit.virtual.host= 259 org.bedework.app.EventSubmit.root=http://localhost:8080/eventsubmitrsrc260 177 org.bedework.app.EventSubmit.resources.dir=/webapps/ROOT/eventsubmitrsrc 261 178 org.bedework.app.EventSubmit.deploy.dir=/webapps … … 287 204 # Set for jboss 288 205 #org.bedework.app.Events.virtual.host= 289 org.bedework.app.Events.root=http://localhost:8080/calrsrc290 206 org.bedework.app.Events.resources.dir=/webapps/ROOT/calrsrc 291 207 org.bedework.app.Events.deploy.dir=/webapps … … 314 230 # Set for jboss 315 231 #org.bedework.app.SoEDept.virtual.host= 316 org.bedework.app.SoEDept.root=http://localhost:8080//calrsrc317 232 org.bedework.app.SoEDept.resources.dir=/webapps/ROOT/calrsrc 318 233 org.bedework.app.SoEDept.deploy.dir=/webapps … … 341 256 # Set for jboss 342 257 #org.bedework.app.UserCal.virtual.host= 343 org.bedework.app.UserCal.root=http://localhost:8080//ucalrsrc344 258 org.bedework.app.UserCal.resources.dir=/webapps/ROOT/ucalrsrc 345 259 org.bedework.app.UserCal.deploy.dir=/webapps trunk/deployment/appjars.xml
r1935 r1937 102 102 103 103 <if> 104 <isset property="org.bedework.build.for.liferay4" /> 104 <equals arg1="${org.bedework.global.portal.platform}" 105 arg2="liferay4" /> 105 106 <then> 106 107 <getJar lib="${org.bedework.app.lib}" … … 113 114 114 115 <if> 115 <isset property="org.bedework.build.for.liferay5" /> 116 <equals arg1="${org.bedework.global.portal.platform}" 117 arg2="liferay5" /> 116 118 <then> 117 119 <getJar lib="${org.bedework.app.lib}" trunk/deployment/build.xml
r1935 r1937 55 55 <loadDeployConfig /> 56 56 57 <!-- ==================== config properties =========================58 <property name="org.bedework.config.properties"59 location="${org.bedework.config.base}/configs/democal.properties" />60 <property name="org.bedework.config.options"61 location="${org.bedework.config.base}/configs/democal.options.xml" />62 63 <echo message="==========================================================" />64 <echo message="Use config properties ${org.bedework.config.properties}" />65 <loadproperties srcFile="${org.bedework.config.properties}" >66 <filterchain>67 <expandproperties/>68 </filterchain>69 </loadproperties>70 -->71 72 57 <!-- default to debug off --> 73 58 <property name="app.debug.val" value="0" /> … … 118 103 119 104 <antcall target="build.standalone.apps" inheritrefs="true" /> 120 121 <antcall target="build.portal.apps" inheritrefs="true" />122 105 123 106 <antcall target="build.j2ee.apps" inheritrefs="true" /> … … 131 114 132 115 <target name="build.standalone.apps" if="org.bedework.global.build.standalone.app" > 133 <!-- ======================= webconfig - only standalone =================134 <ant antfile="${org.bedework.deployment.base}/webconfig/webapp/build.xml"135 inheritrefs="true" target="build.configured" />136 -->137 138 116 <property name="org.bedework.deploy.kind" value="webapp" /> 139 <antcall target="build.configured.apps" inheritrefs="true" />140 </target>141 142 <target name="build.portal.apps" if="org.bedework.global.portal.platform" >143 <property name="org.bedework.deploy.kind"144 value="${org.bedework.global.portal.platform}" />145 117 <antcall target="build.configured.apps" inheritrefs="true" /> 146 118 </target> … … 176 148 check="true" /> 177 149 178 <echo message="LLLLLLLLLLLLLLLLLLLL locales=${org.bedework.locales}" />179 180 <!--<antcall target="deploy.standalone.apps" inheritrefs="true" />-->181 150 <if> 182 151 <isset property="org.bedework.global.build.standalone.app" /> … … 188 157 </if> 189 158 190 <!--<antcall target="deploy.shellscr.apps" inheritrefs="true" />-->191 159 <!-- Always build the shellscr stuff.--> 192 160 <antcall target="deploy.apps" inheritrefs="true" > … … 194 162 </antcall> 195 163 196 <!-- <antcall target="deploy.portal.apps" inheritrefs="true" />-->197 <if>198 <isset property="org.bedework.global.portal.platform" />199 <then>200 <antcall target="deploy.apps" inheritrefs="true" >201 <param name="org.bedework.deploy.kind"202 value="${org.bedework.global.portal.platform}" />203 </antcall>204 </then>205 </if>206 207 <!-- <antcall target="deploy.j2ee.apps" inheritrefs="true" />-->208 164 <if> 209 165 <isset property="org.bedework.global.j2ee.platform" /> … … 264 220 projectPrefix="org.bedework.project"> 265 221 <sequential> 266 <available file="${org.bedework.deploy.type.dir}/${org.bedework.deploy.kind}/build.xml"267 property="app.kind.available" />268 222 <antcall target="build.available.configured.app" inheritrefs="true" /> 269 223 </sequential> … … 271 225 272 226 <!-- ======================= termination tasks ================= --> 273 <!--274 <property name="org.bedework.deploy.type.dir"275 location="${org.bedework.deployment.base}/termination" />276 -->277 227 278 228 <ant antfile="${org.bedework.deployment.base}/termination/build.xml" … … 280 230 </target> 281 231 282 <target name="build.available.configured.app" if="app.kind.available"> 283 <!-- Pick out the application build properties based on the prefix "org.bedework.app." 284 and the deployment name --> 285 <propertyset id="build-app-properties"> 286 <propertyref prefix="org.bedework.app.${org.bedework.deploy.name}"/> 287 <globmapper from="org.bedework.app.${org.bedework.deploy.name}.*" to="propval.app.*"/> 288 </propertyset> 232 <target name="build.available.configured.app"> 233 <propertycopy name="propval.app.type" 234 from="bedework-options.org.bedework.app.${org.bedework.deploy.name}.appType" /> 235 <property name="org.bedework.deploy.type.dir" 236 location="${app.root.dir}/${org.bedework.deploy.name}/${propval.app.type}" /> 237 <echo message="*********************************** deploy directory is ${org.bedework.deploy.type.dir}" /> 238 239 <if> 240 <available file="${org.bedework.deploy.type.dir}/${org.bedework.deploy.kind}/build.xml"/> 241 <then> 242 <propertyset id="deploy-app-properties"> 243 <propertyref prefix="org.bedework.app.${org.bedework.deploy.name}"/> 244 <globmapper from="org.bedework.app.${org.bedework.deploy.name}.*" to="propval.app.*"/> 245 </propertyset> 246 247 <propertycopy name="propval.app.unauthenticated" 248 from="bedework-options.org.bedework.app.${org.bedework.deploy.name}.guestMode" /> 249 250 <ant antfile="${org.bedework.deploy.type.dir}/${org.bedework.deploy.kind}/build.xml" 251 inheritrefs="true" target="build.configured" > 252 <propertyset refid="deploy-app-properties" /> 253 </ant> 254 </then> 255 </if> 289 256 </target> 290 257 … … 306 273 307 274 <target name="deploy.available.app"> 275 <propertycopy name="propval.app.type" 276 from="bedework-options.org.bedework.app.${org.bedework.deploy.name}.appType" /> 277 <property name="org.bedework.deploy.type.dir" 278 location="${app.root.dir}/${propval.app.type}" /> 279 <echo message="*********************************** deploy directory is ${org.bedework.deploy.type.dir}" /> 280 308 281 <if> 309 282 <available file="${org.bedework.deploy.type.dir}/${org.bedework.deploy.kind}/build.xml"/> … … 314 287 </propertyset> 315 288 289 <propertycopy name="propval.app.unauthenticated" 290 from="bedework-options.org.bedework.app.${org.bedework.deploy.name}.guestMode" /> 291 316 292 <ant antfile="${org.bedework.deploy.type.dir}/${org.bedework.deploy.kind}/build.xml" 317 293 inheritrefs="true" target="deploy" > trunk/deployment/resources/build.xml
r1935 r1937 24 24 25 25 <property name="org.bedework.use.dojo" value="true" /> 26 27 <!-- This should be in the config stuff -->28 <property name="propval.directory.browsing.disallowed"29 value="${app.directory.browsing.disallowed}" />30 26 31 27 <property name="common.war.name" trunk/deployment/webadmin/webapp/build.xml
r1895 r1937 25 25 <property name="org.bedework.strutsapp" value="true" /> 26 26 27 <!-- This should be in the config stuff -->28 <property name="propval.directory.browsing.disallowed"29 value="${app.directory.browsing.disallowed}" />30 31 27 <property name="app.resources.dir" 32 28 location="${this.dir}/resources" /> … … 52 48 <fileset dir="${app.resources.dir}" /> 53 49 </copy> 50 51 <if> 52 <isset property="org.bedework.global.portal.platform" /> 53 <then> 54 <!-- The intent is to have a set of quickstart skins configured for 55 portal use. So far we've not managed that so for the time being we 56 will just use the standalone skin set. --> 57 <property name="dest.skins.dir" 58 location="${org.bedework.appserver.dir}/${propval.app.resources.dir}.${org.bedework.global.portal.platform}.${propval.app.cal.suite}" /> 59 <delete dir="${dest.skins.dir}" /> 60 <copy todir="${dest.skins.dir}"> 61 <fileset dir="${app.resources.dir}" /> 62 </copy> 63 </then> 64 </if> 54 65 </then> 55 66 </if> trunk/deployment/webconfig/webapp/build.xml
r1933 r1937 29 29 value="${app.sou.dir}/war/WEB-INF/web.xml" /> 30 30 --> 31 32 <!-- This should be in the config stuff -->33 <property name="propval.directory.browsing.disallowed"34 value="${app.directory.browsing.disallowed}" />35 31 36 32 <property name="app.resources.dir" trunk/deployment/webpublic/webapp/build.xml
r1933 r1937 31 31 --> 32 32 33 <!-- This should be in the config stuff -->34 <property name="propval.directory.browsing.disallowed"35 value="${app.directory.browsing.disallowed}" />36 37 33 <property name="app.resources.dir" 38 34 location="${this.dir}/resources" /> … … 60 56 <fileset dir="${app.resources.dir}/demoskins/${propval.app.cal.suite}" /> 61 57 </copy> 58 59 <if> 60 <isset property="org.bedework.global.portal.platform" /> 61 <then> 62 <!-- The intent is to have a set of quickstart skins configured for 63 portal use. So far we've not managed that so for the time being we 64 will just use the standalone skin set. --> 65 <property name="dest.skins.dir" 66 location="${org.bedework.appserver.dir}/${propval.app.resources.dir}.${org.bedework.global.portal.platform}.${propval.app.cal.suite}" /> 67 <delete dir="${dest.skins.dir}" /> 68 <copy todir="${dest.skins.dir}"> 69 <fileset dir="${app.resources.dir}/demoskins/${propval.app.cal.suite}" /> 70 </copy> 71 </then> 72 </if> 62 73 </then> 63 74 </if> trunk/deployment/websubmit/webapp/build.xml
r1933 r1937 56 56 <fileset dir="${app.resources.dir}/demoskins" /> 57 57 </copy> 58 59 <if> 60 <isset property="org.bedework.global.portal.platform" /> 61 <then> 62 <!-- The intent is to have a set of quickstart skins configured for 63 portal use. So far we've not managed that so for the time being we 64 will just use the standalone skin set. --> 65 <property name="dest.skins.dir" 66 location="${org.bedework.appserver.dir}/${propval.app.resources.dir}.${org.bedework.global.portal.platform}.${propval.app.cal.suite}" /> 67 <delete dir="${dest.skins.dir}" /> 68 <copy todir="${dest.skins.dir}"> 69 <fileset dir="${app.resources.dir}/demoskins" /> 70 </copy> 71 </then> 72 </if> 58 73 </then> 59 74 </if> trunk/deployment/webuser/webapp/build.xml
r1933 r1937 56 56 <fileset dir="${app.resources.dir}/demoskins" /> 57 57 </copy> 58 59 60 <if> 61 <isset property="org.bedework.global.portal.platform" /> 62 <then> 63 <!-- The intent is to have a set of quickstart skins configured for 64 portal use. So far we've not managed that so for the time being we 65 will just use the standalone skin set. --> 66 <property name="dest.skins.dir" 67 location="${org.bedework.appserver.dir}/${propval.app.resources.dir}.${org.bedework.global.portal.platform}" /> 68 <delete dir="${dest.skins.dir}" /> 69 <copy todir="${dest.skins.dir}"> 70 <fileset dir="${app.resources.dir}/demoskins" /> 71 </copy> 72 </then> 73 </if> 58 74 </then> 59 75 </if> trunk/deployutil/src/org/bedework/deployment/ForEachAppTask.java
r1076 r1937 76 76 * <p>Generated properties are all prefixed by the prefix attribute and are:<ul> 77 77 * <li>project.path Path to project</li> 78 * <li>type type of application</li>79 * <li>type.dir location of application type deployment directory</li>80 78 * <li>name name of the application</li> 81 79 * </ul> … … 167 165 String name = (String)nit.next(); 168 166 169 String appTypeProperty = appPrefix + name + ".type";170 String type = (String)props.getProperty(null, appTypeProperty);171 172 if (type == null) {173 throw new BuildException("Must supply property " + appTypeProperty);174 }175 176 167 String appProjectProperty = appPrefix + name + ".project"; 177 168 String project = (String)props.getProperty(null, appProjectProperty); … … 210 201 props.setProperty(null, prefix + "project.path", projectPath, false); 211 202 props.setProperty(null, prefix + "app.sou", appSou, false); 212 props.setProperty(null, prefix + "type", type, false);213 props.setProperty(null, prefix + "type.dir",214 bedeworkHome + "/deployment/" + type,215 false);216 203 217 204 super.execute();
