Changeset 1057
- Timestamp:
- 11/01/06 12:12:02 (2 years ago)
- Location:
- trunk
- Files:
-
- 1 added
- 13 modified
-
build.xml (modified) (3 diffs)
-
components/antlib/resources/dist-classpath.xml (added)
-
components/antlib/resources/macros.xml (modified) (1 diff)
-
components/antlib/resources/omero.xml (modified) (1 diff)
-
components/antlib/resources/usage-omero.txt (modified) (1 diff)
-
components/app/build.xml (modified) (1 diff)
-
components/client/build.xml (modified) (3 diffs)
-
components/common/build.xml (modified) (1 diff)
-
components/dsl/build.xml (modified) (1 diff)
-
components/ice/build.xml (modified) (1 diff)
-
components/policy/build.xml (modified) (1 diff)
-
components/rendering/build.xml (modified) (1 diff)
-
components/romio/build.xml (modified) (1 diff)
-
components/server/build.xml (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/build.xml
r904 r1057 113 113 </target> 114 114 115 <target name="dist" depends="integration">115 <target name="dist"> 116 116 <mkdir dir="${dist.dir}"/> 117 117 <echo>javadoc needs to copy images</echo> … … 144 144 <include name="lib/repository/groovy/**"/> 145 145 <include name="lib/repository/testng/**"/> 146 <!-- deploy --> 147 <include name="components/common/build.xml"/> 148 <!-- reload-db --> 149 <include name="components/server/build.xml"/> 150 <!-- usermgmt --> 151 <include name="components/client/build.xml"/> 146 152 </fileset> 147 153 </copy> … … 169 175 <fileset dir="${common.comp}/${target.rel}" includes="*.jar"/> 170 176 <fileset dir="${client.comp}/${target.rel}" includes="*.jar"/> 177 <fileset dir="${import.comp}/${target.rel}" includes="*.jar"/> 178 <fileset dir="${server.comp}/${target.rel}" includes="*.jar"/> 171 179 <fileset dir="${lib.dir}/repository"> 172 180 <include name="omero/jboss*/**/*.jar"/> 173 181 <include name="org/springframework/spring/**/*.jar"/> 174 182 <include name="commons-logging/commons-logging/**/*.jar"/> 183 <include name="log4j/**/*.jar"/> 184 <include name="omero/omejava/**/*.jar"/> 175 185 </fileset> 176 186 <flattenmapper/> -
trunk/components/antlib/resources/macros.xml
r1013 r1057 85 85 <property name="multi.test.skip" value="${test.skip}"/> 86 86 <property name="multi.generate.skip" value="${generate.skip}"/> 87 <property name="classpath.file" value="${classpath.file}"/> 87 88 <targets/> 88 89 </ant> -
trunk/components/antlib/resources/omero.xml
r593 r1057 41 41 --> 42 42 43 <!-- T ODO: need to get /etc working-->44 <property name=" omero.repo.local" value="lib/repository"/>45 <property file="etc/omero.properties"/>46 < property file="etc/hibernate.properties"/>43 <!-- This overrides the classpath.file properties of all the components. --> 44 <property name="ant.resources" value="${basedir}/components/antlib/resources/"/> 45 <property name="classpath.file" value="${ant.resources}/dist-classpath.xml"/> 46 <import file="${classpath.file}"/> <!-- imports global.xml --> 47 47 48 <import file="components/antlib/resources/global.xml"/> 49 50 <path id="generated.compile.classpath"> 51 <pathelement path="${omero.home}/etc"/> 52 <fileset dir="${omero.home}"> 53 <include name="client/*.jar"/> 54 <include name="lib/repository/groovy/**/*.jar"/> 55 <include name="lib/repository/omero/postgresql/**/*.jar"/> 56 </fileset> 57 </path> 58 59 <path id="generated.test.classpath"> 60 <path refid="generated.compile.classpath"/> 61 </path> 62 63 <path id="omero.classpath"> 64 <path refid="generated.compile.classpath"/> 65 </path> 66 48 <target name="classpath-define"> 49 <path id="omero.classpath"> 50 <path refid="generated.compile.classpath"/> 51 </path> 52 </target> 53 67 54 <target name="usage" 68 55 description="Usage information"> -
trunk/components/antlib/resources/usage-omero.txt
r581 r1057 4 4 _ 5 5 | 6 + Configuration 6 + Configuration targets (files availble under /etc) 7 7 | 8 | /etc contains ...9 | 8 | setup run the config target 9 | 10 10 + Deploy targets 11 11 | 12 | setup-db load database schema to db 12 13 | update copy new properties to *.ear 13 14 | deploy copy *.ear to ${jboss.home} -
trunk/components/app/build.xml
r903 r1057 9 9 <property name="artifact.packaging" value="ear"/> 10 10 11 <import file="classpath.xml"/> 11 <property name="classpath.file" value="classpath.xml"/> 12 <import file="${classpath.file}"/> 12 13 13 14 <property name="product.name" value="Omero Server"/> -
trunk/components/client/build.xml
r1054 r1057 2 2 <project name="client" default="install" basedir="."> 3 3 4 <import file="classpath.xml"/> 4 <property name="classpath.file" value="classpath.xml"/> 5 <import file="${classpath.file}"/> 5 6 6 7 <target name="package" depends="lifecycle.package"> … … 15 16 </target> 16 17 18 <macrodef name="fail-if-empty"> 19 <attribute name="property"/> 20 <sequential> 21 <property name="string" value="${@{property}}"/> 22 <fail unless="@{property}" message="Argument is required."/> 23 <fail message="Argument cannot be empty"> 24 <condition><length string="${string}" trim="true" length="0"/></condition> 25 </fail> 26 </sequential> 27 </macrodef> 28 17 29 <target name="addgroup" depends="prepare,load-groovy"> 18 30 <fail unless="omero.rootpass">No root password defined. See etc/local.properties</fail> 19 <input message="Please enter group name:" addproperty="newgroup.name"/> 31 <input message="Please enter group name:" addproperty="newgroup.name"/> 32 <fail-if-empty property="newgroup.name"/> 20 33 <input message="Please enter group description: (optional)" addproperty="newgroup.description"/> 21 34 <input message="Please enter name of the group owner: (optional)" addproperty="newgroup.owner" … … 56 69 defaultvalue="${user.name}"/> 57 70 <input message="Please enter user's first name:" addproperty="newuser.firstname"/> 71 <fail-if-empty property="newuser.firstname"/> 58 72 <input message="Please enter user's middle name: (optional)" addproperty="newuser.middlename"/> 59 73 <input message="Please enter user's last name:" addproperty="newuser.lastname"/> 74 <fail-if-empty property="newuser.lastname"/> 60 75 <input message="Please enter user's email: (optional)" addproperty="newuser.email"/> 61 76 <input message="Please enter user's institution: (optional)" addproperty="newuser.institution"/> -
trunk/components/common/build.xml
r1054 r1057 2 2 <!-- TODO add properties goal to update pref.properties --> 3 3 <project name="common" default="install" basedir="."> 4 5 <import file="classpath.xml"/> 4 5 <property name="classpath.file" value="classpath.xml"/> 6 <import file="${classpath.file}"/> 6 7 7 8 <!-- Lifecycle Overrides --> -
trunk/components/dsl/build.xml
r558 r1057 1 1 <?xml version="1.0" encoding="utf-8"?> 2 2 <project name="dsl" default="install" basedir="."> 3 4 <import file="classpath.xml"/> 3 4 <property name="classpath.file" value="classpath.xml"/> 5 <import file="${classpath.file}"/> 5 6 6 7 </project> -
trunk/components/ice/build.xml
r558 r1057 2 2 <project name="omero-ice" default="slice-all" basedir="."> 3 3 4 <import file="classpath.xml"/> 4 <property name="classpath.file" value="classpath.xml"/> 5 <import file="${classpath.file}"/> 5 6 6 7 <!-- Local properties --> -
trunk/components/policy/build.xml
r558 r1057 2 2 <!-- TODO add properties goal to update pref.properties --> 3 3 <project name="policy" default="check-policy" basedir="."> 4 5 <import file="classpath.xml"/> 4 5 <property name="classpath.file" value="classpath.xml"/> 6 <import file="${classpath.file}"/> 6 7 7 8 <target name="prepare" depends="lifecycle.prepare,load-hibernate"/> -
trunk/components/rendering/build.xml
r558 r1057 1 1 <?xml version="1.0" encoding="utf-8"?> 2 2 <project name="rendering" default="install" basedir="."> 3 4 <import file="classpath.xml"/> 3 4 <property name="classpath.file" value="classpath.xml"/> 5 <import file="${classpath.file}"/> 5 6 6 7 </project> -
trunk/components/romio/build.xml
r558 r1057 1 1 <?xml version="1.0" encoding="utf-8"?> 2 2 <project name="nio" default="install" basedir="."> 3 4 <import file="classpath.xml"/> 3 4 <property name="classpath.file" value="classpath.xml"/> 5 <import file="${classpath.file}"/> 5 6 6 7 </project> -
trunk/components/server/build.xml
r1011 r1057 1 1 <?xml version="1.0" encoding="utf-8"?> 2 2 <project name="services" default="install" basedir="."> 3 4 <import file="classpath.xml"/> 3 4 <property name="classpath.file" value="classpath.xml"/> 5 <import file="${classpath.file}"/> 5 6 6 7 <target name="reload-db" depends="prepare,load-groovy">
