root/trunk/deployment/resources/build.xml

Revision 1170 (checked in by douglm, 6 years ago)

Little functional change here.

Created definitions for all error codes generated by the web code.
Created new errors.xsl common to all web apps
Copy dojo code into new common web directory for inclusion by web apps.
Copy new errors.xsl into same directory.

Delete all old errors.xsl

  • Property svn:eol-style set to LF
Line 
1 <?xml version="1.0"?>
2
3 <!-- ===================================================================
4      Default public events web application deployer
5      =================================================================== -->
6
7 <project name="bwcommonresources.deploy" default="deploy" >
8
9   <target name="init" >
10     <dirname property="common.resources.dir" file="${ant.file}"/>
11
12     <property name="app.common.resources.dest.dir"
13               location="${org.bedework.deploy.app.sou}" />
14
15     <property name="org.bedework.use.dojo" value="true" />
16
17     <!-- This should be in the config stuff -->
18     <property name="propval.directory.browsing.disallowed"
19               value="${app.directory.browsing.disallowed}" />
20   </target>
21
22   <!-- =================================================================
23        The "deploy" target is called by applications which need common
24        resources copied into their own directory structure.
25        ================================================================= -->
26
27   <target name="deploy" depends="init" >
28   </target>
29
30   <!-- =================================================================
31        The "deploy.common" target is called once to create a common web
32        accessible directory
33        ================================================================= -->
34
35   <target name="deploy.common" depends="init" >
36     <property name="cmn.destdir"
37               location="${org.bedework.appserver.dir}/${org.bedework.global.common.deploydir}"/>
38     <if>
39       <isset property="org.bedework.use.dojo" />
40       <then>
41         <!-- Add dojo -->
42         <copy todir="${cmn.destdir}/javascript/dojo">
43           <fileset dir="${common.resources.dir}/javascript/${dojo.dir}" />
44         </copy>
45       </then>
46     </if>
47
48     <copy todir="${cmn.destdir}">
49       <fileset dir="${common.resources.dir}/xsl" />
50     </copy>
51   </target>
52 </project>
53
Note: See TracBrowser for help on using the browser.