• Views
  • Iteration Report
  • My Iteration Report
  •  
OMERO.server
  • Login
  • Help/Guide
  • About Trac
  • Preferences
  • Wiki
  • Timeline
  • Roadmap
  • Browse Source
  • View Tickets
  • Search

Context Navigation

  • ← Previous Change
  • Next Change →

Changeset 1710 for trunk/components/antlib/resources/omero.xml

Show
Ignore:
Timestamp:
07/06/07 14:41:24 (17 months ago)
Author:
jmoore
Message:

More Ivy cleanups: * Fixing omero.xml -> dist/build.xml * Setting import.dir * Better deploy (depends on update (tests for local.properties)) * Remove check-system from setup * Moved product.properties to omero.properties

Files:
1 modified

  • trunk/components/antlib/resources/omero.xml (modified) (4 diffs)

Legend:

Unmodified
Added
Removed
  • trunk/components/antlib/resources/omero.xml

    r1643 r1710  
    2323 
    2424        <!-- 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"/> 
    2727        <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"/> 
    2932 
    3033        <target name="classpath-define"> 
    … …  
    4245 
    4346        <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> 
    4449 
    4550                <!-- copied from app/build.xml refactor --> 
    … …  
    5560 
    5661                <jar update="true" 
    57                   destfile="${artifact.final.name}"> 
     62                  destfile="${product.final.name}"> 
    5863                        <fileset dir="${basedir}/etc"> 
    5964                                <include name="local.properties"/> 
    … …  
    8994                <fileset dir="${omero.home}" includes="*.ear" id="ear.files"/> 
    9095        </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> 
    92104 
    93105        <target name="check" depends="classpath-define,load-groovy"> 

Download in other formats:

  • Unified Diff
  • Zip Archive

Trac Powered

Powered by Trac 0.11
By Edgewall Software.

Visit the Trac open source project at
http://trac.edgewall.org/