Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added ant build file; supports clean and start of CC

  • Loading branch information...
commit 7d23793713cd6b69746d668517fea9044cec72ef 1 parent 169c338
@mmeisinger mmeisinger authored
View
6 README.txt
@@ -99,7 +99,7 @@ carrot (use txamqp branch)
git clone git://amoeba.ucsd.edu/carrot.git
(cd carrot; git checkout -b txamqp origin/txamqp)
(cd carrot; python setup.py install)
-
+
MsgPack
----------------------------
::
@@ -126,6 +126,10 @@ again (see above). Please review the branch logs for any hints.
Change log:
===========
+2010-08-03:
+- Added ant build.xml file to LCAarch root dir. Start with ant.
+ Supports ant clean, which removes all *.pyc from ion path.
+
2010-07-23:
- Refactored the Registry Services to inherit from a common base class. This
will allow easier implementation of the many registries in the OOICI. The
View
61 build.xml
@@ -0,0 +1,61 @@
+<!-- Ant build file for LCAarch -->
+<project name="LCAarch" default="info" basedir=".">
+ <description>
+ This is the ANT build file for the LCAarch OOI CI Python capability
+ container and service platform.
+ </description>
+
+ <!-- load python specific ant tasks from jar file -->
+ <taskdef resource="pyAntTasks.properties" classpath="res/lib/pyAntTasks-1.3.3.jar"/>
+
+ <!-- set global properties for this build -->
+ <property name="src" location="ion"/>
+ <property name="build" location="build"/>
+ <property name="dist" location="dist"/>
+
+ <target name="info">
+ <echo message="LCAarch ant build file. Specify a target to build"/>
+ </target>
+
+ <target name="init">
+ <!-- Create the time stamp -->
+ <tstamp/>
+ </target>
+
+ <target name="compile" depends="init"
+ description="compile the source" >
+ <!-- Precompiles all Python code without executing. Finds compile errors -->
+ <py-compile dir="${src}" pythonpath="${src}" optimize="0"/>
+ </target>
+
+ <target name="dist" depends="compile"
+ description="generate the distribution" >
+ <!-- Create the distribution directory -->
+ <mkdir dir="${dist}/lib"/>
+ </target>
+
+ <target name="clean"
+ description="clean up" >
+ <delete>
+ <fileset dir="${src}" includes="**/*.pyc"/>
+ </delete>
+ <delete dir="${build}"/>
+ <delete dir="${dist}"/>
+ </target>
+
+ <target name="newcc" depends=""
+ description="start a Python CC" >
+ <!-- Run new empty capability container without shell -->
+ <echo message="Starting empty ION PyCC with sysname=${user.name}"/>
+ <exec executable="twistd">
+ <arg value="-n"/>
+ <arg value="magnet"/>
+ <arg value="-h"/>
+ <arg value="amoeba.ucsd.edu"/>
+ <arg value="-a"/>
+ <arg value="sysname=${user.name}"/>
+ <arg value="-n"/>
+ <arg value="res/scripts/newcc.py"/>
+ </exec>
+ </target>
+</project>
View
BIN  res/lib/pyAntTasks-1.3.3.jar
Binary file not shown
Please sign in to comment.
Something went wrong with that request. Please try again.