Changeset 1710 for trunk/components/antlib/resources/omero.xml
- Timestamp:
- 07/06/07 14:41:24 (17 months ago)
- Files:
-
- 1 modified
-
trunk/components/antlib/resources/omero.xml (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/components/antlib/resources/omero.xml
r1643 r1710 23 23 24 24 <!-- This overrides the classpath.file properties of all the components. --> 25 <property name="ant.resources" value="${basedir}/components/antlib/resources/"/>26 <property name="classpath.file" value="${ant.resources}/dist-classpath.xml"/>25 <property name="import.dir" value="${basedir}/components/antlib/resources/"/> 26 <property name="classpath.file" value="${import.dir}/dist-classpath.xml"/> 27 27 <import file="${classpath.file}"/> <!-- imports global.xml --> 28 <import file="${ant.resources}/multiproject.xml"/> 28 <import file="${import.dir}/dependencies.xml"/> 29 <import file="${import.dir}/multiproject.xml"/> 30 <import file="${import.dir}/setup.xml"/> 31 <property file="${basedir}/etc/omero.properties"/> 29 32 30 33 <target name="classpath-define"> … … 42 45 43 46 <target name="update"> 47 <fail>etc/local.properties does not exist. Try calling "setup"<condition> 48 <not><available file="${basedir}/etc/local.properties"/></not></condition></fail> 44 49 45 50 <!-- copied from app/build.xml refactor --> … … 55 60 56 61 <jar update="true" 57 destfile="${ artifact.final.name}">62 destfile="${product.final.name}"> 58 63 <fileset dir="${basedir}/etc"> 59 64 <include name="local.properties"/> … … 89 94 <fileset dir="${omero.home}" includes="*.ear" id="ear.files"/> 90 95 </target> 91 <target name="deploy" depends="deploy-ear-jboss"/> 96 97 <target name="deploy" depends="update"> 98 <property name="jboss.deploy.dir" value="${env.JBOSS_HOME}/server/default/deploy"/> 99 <property name="jboss.deploy.dir" value="${env.JBOSS_HOME}/server/default/deploy"/> 100 <copy todir="${jboss.deploy.dir}"> 101 <fileset dir="${basedir}" includes="*.ear,*.war"/> 102 </copy> 103 </target> 92 104 93 105 <target name="check" depends="classpath-define,load-groovy">
