| 55 | | <!-- ======================= webconfig ================= --> |
|---|
| 56 | | <ant antfile="${org.bedework.deployment.base}/webconfig/webapp/build.xml" |
|---|
| 57 | | inheritrefs="true" target="build.configured" /> |
|---|
| 58 | | |
|---|
| 59 | | <antcall target="build.webadmin.webapp" inheritrefs="true" /> |
|---|
| 60 | | |
|---|
| 61 | | <antcall target="build.webadmin.portal" inheritrefs="true" /> |
|---|
| 62 | | |
|---|
| 63 | | <antcall target="build.pubevents.webapp" inheritrefs="true" /> |
|---|
| 64 | | |
|---|
| 65 | | <antcall target="build.pubevents.portal" inheritrefs="true" /> |
|---|
| 66 | | |
|---|
| 67 | | <antcall target="build.personal.webapp" inheritrefs="true" /> |
|---|
| 68 | | |
|---|
| 69 | | <antcall target="build.personal.portal" inheritrefs="true" /> |
|---|
| 70 | | |
|---|
| 71 | | <antcall target="build.public.caldav" inheritrefs="true" /> |
|---|
| 72 | | |
|---|
| 73 | | <antcall target="build.personal.caldav" inheritrefs="true" /> |
|---|
| | 55 | <antcall target="build.standalone.apps" inheritrefs="true" /> |
|---|
| | 56 | |
|---|
| | 57 | <antcall target="build.portal.apps" inheritrefs="true" /> |
|---|
| | 58 | |
|---|
| | 59 | <antcall target="build.j2ee.apps" inheritrefs="true" /> |
|---|
| 90 | | </target> |
|---|
| 91 | | |
|---|
| 92 | | <target name="build.webadmin.portal" if="org.bedework.webadmin.portal.platform" > |
|---|
| 93 | | <!-- ======================= webadmin - portal ================= --> |
|---|
| 94 | | <ant antfile="${org.bedework.deployment.base}/webadmin/${admin.portal.platform}/build.xml" |
|---|
| 95 | | inheritrefs="true" target="build.configured" /> |
|---|
| 96 | | </target> |
|---|
| 97 | | |
|---|
| 98 | | <target name="build.pubevents.webapp" if="org.bedework.webpubevents.build.standalone.app" > |
|---|
| 99 | | <!-- ======================= pubevents - standalone ================= --> |
|---|
| 100 | | <ant antfile="${org.bedework.deployment.base}/webpublic/webapp/build.xml" |
|---|
| 101 | | inheritrefs="true" target="build.configured" /> |
|---|
| 102 | | </target> |
|---|
| 103 | | |
|---|
| 104 | | <target name="build.pubevents.portal" if="org.bedework.webpubevents.portal.platform" > |
|---|
| 105 | | <!-- ======================= pubevents - portal ================= --> |
|---|
| 106 | | <ant antfile="${org.bedework.deployment.base}/webpublic/${pubevents.portal.platform}/build.xml" |
|---|
| 107 | | inheritrefs="true" target="build.configured" /> |
|---|
| 108 | | </target> |
|---|
| 109 | | |
|---|
| 110 | | <target name="build.personal.webapp" if="org.bedework.webpersonal.build.standalone.app" > |
|---|
| 111 | | <!-- ======================= pubevents - standalone ================= --> |
|---|
| 112 | | <ant antfile="${org.bedework.deployment.base}/webuser/webapp/build.xml" |
|---|
| 113 | | inheritrefs="true" target="build.configured" /> |
|---|
| 114 | | </target> |
|---|
| 115 | | |
|---|
| 116 | | <target name="build.personal.portal" if="org.bedework.webpersonal.portal.platform" > |
|---|
| 117 | | <!-- ======================= pubevents - portal ================= --> |
|---|
| 118 | | <ant antfile="${org.bedework.deployment.base}/webuser/${personal.portal.platform}/build.xml" |
|---|
| 119 | | inheritrefs="true" target="build.configured" /> |
|---|
| 120 | | </target> |
|---|
| 121 | | |
|---|
| 122 | | <target name="build.public.caldav" if="org.bedework.install.public.caldav" > |
|---|
| 123 | | <!-- ======================= caldav - public ================= --> |
|---|
| 124 | | <ant antfile="${org.bedework.deployment.base}/publiccaldav/servlet/build.xml" |
|---|
| 125 | | inheritrefs="true" target="build.configured" /> |
|---|
| 126 | | </target> |
|---|
| 127 | | |
|---|
| 128 | | <target name="build.personal.caldav" if="org.bedework.install.personal.caldav" > |
|---|
| 129 | | <!-- ======================= caldav - user ================= --> |
|---|
| 130 | | <ant antfile="${org.bedework.deployment.base}/usercaldav/servlet/build.xml" |
|---|
| 131 | | inheritrefs="true" target="build.configured" /> |
|---|
| | 76 | |
|---|
| | 77 | <build.configured.apps kind="webapp" /> |
|---|
| | 78 | </target> |
|---|
| | 79 | |
|---|
| | 80 | <target name="build.portal.apps" if="org.bedework.global.portal.platform" > |
|---|
| | 81 | <build.configured.apps kind="${org.bedework.global.portal.platform}" /> |
|---|
| | 82 | </target> |
|---|
| | 83 | |
|---|
| | 84 | <target name="build.j2ee.apps" if="org.bedework.global.j2ee.platform" > |
|---|
| | 85 | <build.configured.apps kind="${org.bedework.global.j2ee.platform}" /> |
|---|
| 142 | | <!-- ======================= webconfig ================= --> |
|---|
| 143 | | <ant antfile="${org.bedework.deployment.base}/webconfig/webapp/build.xml" |
|---|
| 144 | | inheritrefs="true" target="deploy" /> |
|---|
| 145 | | |
|---|
| 146 | | <antcall target="webadmin.webapp" inheritrefs="true" /> |
|---|
| 147 | | |
|---|
| 148 | | <antcall target="webadmin.portal" inheritrefs="true" /> |
|---|
| 149 | | |
|---|
| 150 | | <antcall target="pubevents.webapp" inheritrefs="true" /> |
|---|
| 151 | | |
|---|
| 152 | | <antcall target="pubevents.portal" inheritrefs="true" /> |
|---|
| 153 | | |
|---|
| 154 | | <antcall target="personal.webapp" inheritrefs="true" /> |
|---|
| 155 | | |
|---|
| 156 | | <antcall target="personal.portal" inheritrefs="true" /> |
|---|
| 157 | | |
|---|
| 158 | | <antcall target="public.caldav" inheritrefs="true" /> |
|---|
| 159 | | |
|---|
| 160 | | <antcall target="personal.caldav" inheritrefs="true" /> |
|---|
| | 96 | <antcall target="deploy.standalone.apps" inheritrefs="true" /> |
|---|
| | 97 | |
|---|
| | 98 | <antcall target="deploy.portal.apps" inheritrefs="true" /> |
|---|
| | 99 | |
|---|
| | 100 | <antcall target="deploy.j2ee.apps" inheritrefs="true" /> |
|---|
| 181 | | </target> |
|---|
| 182 | | |
|---|
| 183 | | <target name="webadmin.portal" if="org.bedework.webadmin.portal.platform" > |
|---|
| 184 | | <!-- ======================= webadmin - portal ================= --> |
|---|
| 185 | | <ant antfile="${org.bedework.deployment.base}/webadmin/${admin.portal.platform}/build.xml" |
|---|
| 186 | | inheritrefs="true" target="deploy" /> |
|---|
| 187 | | </target> |
|---|
| 188 | | |
|---|
| 189 | | <target name="pubevents.webapp" if="org.bedework.webpubevents.build.standalone.app" > |
|---|
| 190 | | <!-- ======================= pubevents - standalone ================= --> |
|---|
| 191 | | <ant antfile="${org.bedework.deployment.base}/webpublic/webapp/build.xml" |
|---|
| 192 | | inheritrefs="true" target="deploy" /> |
|---|
| 193 | | </target> |
|---|
| 194 | | |
|---|
| 195 | | <target name="pubevents.portal" if="org.bedework.webpubevents.portal.platform" > |
|---|
| 196 | | <!-- ======================= pubevents - portal ================= --> |
|---|
| 197 | | <ant antfile="${org.bedework.deployment.base}/webpublic/${pubevents.portal.platform}/build.xml" |
|---|
| 198 | | inheritrefs="true" target="deploy" /> |
|---|
| 199 | | </target> |
|---|
| 200 | | |
|---|
| 201 | | <target name="personal.webapp" if="org.bedework.webpersonal.build.standalone.app" > |
|---|
| 202 | | <!-- ======================= pubevents - standalone ================= --> |
|---|
| 203 | | <ant antfile="${org.bedework.deployment.base}/webuser/webapp/build.xml" |
|---|
| 204 | | inheritrefs="true" target="deploy" /> |
|---|
| 205 | | </target> |
|---|
| 206 | | |
|---|
| 207 | | <target name="personal.portal" if="org.bedework.webpersonal.portal.platform" > |
|---|
| 208 | | <!-- ======================= pubevents - portal ================= --> |
|---|
| 209 | | <ant antfile="${org.bedework.deployment.base}/webuser/${personal.portal.platform}/build.xml" |
|---|
| 210 | | inheritrefs="true" target="deploy" /> |
|---|
| 211 | | </target> |
|---|
| 212 | | |
|---|
| 213 | | <target name="public.caldav" if="org.bedework.install.public.caldav" > |
|---|
| 214 | | <!-- ======================= caldav - public ================= --> |
|---|
| 215 | | <ant antfile="${org.bedework.deployment.base}/publiccaldav/servlet/build.xml" |
|---|
| 216 | | inheritrefs="true" target="deploy" /> |
|---|
| 217 | | </target> |
|---|
| 218 | | |
|---|
| 219 | | <target name="personal.caldav" if="org.bedework.install.personal.caldav" > |
|---|
| 220 | | <!-- ======================= caldav - user ================= --> |
|---|
| 221 | | <ant antfile="${org.bedework.deployment.base}/usercaldav/servlet/build.xml" |
|---|
| 222 | | inheritrefs="true" target="deploy" /> |
|---|
| | 121 | |
|---|
| | 122 | <deploy.apps kind="webapp" /> |
|---|
| | 123 | </target> |
|---|
| | 124 | |
|---|
| | 125 | <target name="deploy.portal.apps" if="org.bedework.global.portal.platform" > |
|---|
| | 126 | <deploy.apps kind="${org.bedework.global.portal.platform}" /> |
|---|
| | 127 | </target> |
|---|
| | 128 | |
|---|
| | 129 | <target name="deploy.j2ee.apps" if="org.bedework.global.j2ee.platform" > |
|---|
| | 130 | <deploy.apps kind="${org.bedework.global.j2ee.platform}" /> |
|---|
| | 151 | |
|---|
| | 152 | <!-- ================================================================= |
|---|
| | 153 | Targets called by the build.configured target. Each is conditional on a |
|---|
| | 154 | config property and each executes a build file in a subdirectory of |
|---|
| | 155 | this component. |
|---|
| | 156 | ================================================================= --> |
|---|
| | 157 | <macrodef name="build.configured.apps"> |
|---|
| | 158 | <attribute name="kind" /> |
|---|
| | 159 | <sequential> |
|---|
| | 160 | <!-- ======================= webadmin ================= --> |
|---|
| | 161 | <ant antfile="${org.bedework.deployment.base}/webadmin/@{kind}/build.xml" |
|---|
| | 162 | inheritrefs="true" target="build.configured" /> |
|---|
| | 163 | |
|---|
| | 164 | <!-- ======================= pubevents ================= --> |
|---|
| | 165 | <ant antfile="${org.bedework.deployment.base}/webpublic/@{kind}/build.xml" |
|---|
| | 166 | inheritrefs="true" target="build.configured" /> |
|---|
| | 167 | |
|---|
| | 168 | <!-- ======================= personal ================= --> |
|---|
| | 169 | <ant antfile="${org.bedework.deployment.base}/webuser/@{kind}/build.xml" |
|---|
| | 170 | inheritrefs="true" target="build.configured" /> |
|---|
| | 171 | |
|---|
| | 172 | <!-- ======================= caldav - public ================= --> |
|---|
| | 173 | <ant antfile="${org.bedework.deployment.base}/publiccaldav/@{kind}/build.xml" |
|---|
| | 174 | inheritrefs="true" target="build.configured" /> |
|---|
| | 175 | |
|---|
| | 176 | <!-- ======================= caldav - user ================= --> |
|---|
| | 177 | <ant antfile="${org.bedework.deployment.base}/usercaldav/@{kind}/build.xml" |
|---|
| | 178 | inheritrefs="true" target="build.configured" /> |
|---|
| | 179 | |
|---|
| | 180 | <!-- ======================= termination tasks ================= --> |
|---|
| | 181 | <ant antfile="${org.bedework.deployment.base}/termination/@{kind}/build.xml" |
|---|
| | 182 | inheritrefs="true" target="build.configured" /> |
|---|
| | 183 | </sequential> |
|---|
| | 184 | </macrodef> |
|---|
| | 185 | |
|---|
| | 186 | <macrodef name="deploy.apps"> |
|---|
| | 187 | <attribute name="kind" /> |
|---|
| | 188 | <sequential> |
|---|
| | 189 | <!-- ======================= webadmin ================= --> |
|---|
| | 190 | <ant antfile="${org.bedework.deployment.base}/webadmin/@{kind}/build.xml" |
|---|
| | 191 | inheritrefs="true" target="deploy" /> |
|---|
| | 192 | |
|---|
| | 193 | <!-- ======================= pubevents ================= --> |
|---|
| | 194 | <ant antfile="${org.bedework.deployment.base}/webpublic/@{kind}/build.xml" |
|---|
| | 195 | inheritrefs="true" target="deploy" /> |
|---|
| | 196 | |
|---|
| | 197 | <!-- ======================= personal ================= --> |
|---|
| | 198 | <ant antfile="${org.bedework.deployment.base}/webuser/@{kind}/build.xml" |
|---|
| | 199 | inheritrefs="true" target="deploy" /> |
|---|
| | 200 | |
|---|
| | 201 | <!-- ======================= caldav - public ================= --> |
|---|
| | 202 | <ant antfile="${org.bedework.deployment.base}/publiccaldav/@{kind}/build.xml" |
|---|
| | 203 | inheritrefs="true" target="deploy" /> |
|---|
| | 204 | |
|---|
| | 205 | <!-- ======================= caldav - user ================= --> |
|---|
| | 206 | <ant antfile="${org.bedework.deployment.base}/usercaldav/@{kind}/build.xml" |
|---|
| | 207 | inheritrefs="true" target="deploy" /> |
|---|
| | 208 | |
|---|
| | 209 | <!-- ======================= termination tasks ================= --> |
|---|
| | 210 | <ant antfile="${org.bedework.deployment.base}/termination/@{kind}/build.xml" |
|---|
| | 211 | inheritrefs="true" target="deploy" /> |
|---|
| | 212 | </sequential> |
|---|
| | 213 | </macrodef> |
|---|