Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 65 lines (54 sloc) 2.519 kb
19bc392 @mmeisinger Added ion-definitions submodule and some build files
mmeisinger authored
1 <!-- Ant build file for pyon -->
2 <project name="pyon" default="info" basedir=".">
3 <description>
4 This is the ANT build file for the OOI COI Services module.
5 This module is set up to start the pyon CC and parts of the ION system from.
6 </description>
7
8 <!-- load python specific ant tasks from jar file -->
9 <taskdef resource="pyAntTasks.properties" classpath="scripts/lib/pyAntTasks-1.3.3.jar"/>
10
11 <!-- set global properties for this build -->
12 <property name="src" location="ion"/>
13 <property name="build" location="build"/>
14 <property name="dist" location="dist"/>
15
c607de1 @mmeisinger Changes to project setup
mmeisinger authored
16 <property name="pyon.base" location="../pyon"/>
17 <property name="iondef.base" location="../ion-definitions"/>
18
19bc392 @mmeisinger Added ion-definitions submodule and some build files
mmeisinger authored
19 <target name="info">
20 <echo message="Repository for COI-services as part of the ION system."/>
21 <echo message="This repository is enabled to launch the ION system and containers from."/>
22 <echo message="Run 'ant -p' to retrieve a list of targets."/>
23 </target>
24
25 <target name="init">
26 <!-- Create the time stamp -->
27 <tstamp/>
28 </target>
29
30 <!-- Precompiles all Python code without executing. Finds compile errors -->
31 <target name="compile" depends="init" description="Compile the source">
32 <py-compile dir="${src}" pythonpath="${src}" optimize="0"/>
33 <py-compile dir="scripts" pythonpath="${src}" optimize="0"/>
34 </target>
35
36 <target name="clean" description="clean up">
c607de1 @mmeisinger Changes to project setup
mmeisinger authored
37 <delete failonerror="false">
19bc392 @mmeisinger Added ion-definitions submodule and some build files
mmeisinger authored
38 <fileset dir="${src}" includes="**/*.pyc"/>
39 <fileset dir="scripts" includes="**/*.pyc"/>
4e9b2d8 @jamie-cyber1 Fix build xml
jamie-cyber1 authored
40 <fileset dir="examples" includes="**/*.pyc"/>
19bc392 @mmeisinger Added ion-definitions submodule and some build files
mmeisinger authored
41 </delete>
c607de1 @mmeisinger Changes to project setup
mmeisinger authored
42 <delete dir="interface" failonerror="false"/>
43 <delete dir="${build}" failonerror="false"/>
44 <delete dir="${dist}" failonerror="false"/>
45 <delete dir="pyon.egg-info" failonerror="false"/>
46
19bc392 @mmeisinger Added ion-definitions submodule and some build files
mmeisinger authored
47 <!--<antcall target="remeggs"/>-->
48 </target>
9267b54 @mmeisinger Revisions to resource registry and bootstrap
mmeisinger authored
49
50 <!-- Generates the interfaces -->
51 <target name="interfaces" depends="clean" description="Generate the interfces">
52 </target>
53
9daa213 @jamie-cyber1 Add ant clean-buildout
jamie-cyber1 authored
54 <target name="clean-buildout"
55 description="clean up buildout dirs" depends="clean" >
56 <echo message="Clean up buildout directories. Please run `python bootstrap.py` to start buildout."/>
57 <delete dir="parts"/>
58 <delete dir="develop-eggs"/>
59 <delete dir="bin"/>
60 <delete dir="downloads"/>
61 <delete dir="eggs"/>
62 <delete file=".installed.cfg"/>
63 </target>
19bc392 @mmeisinger Added ion-definitions submodule and some build files
mmeisinger authored
64 </project>
Something went wrong with that request. Please try again.