Changeset 3704
- Timestamp:
- 06/25/08 18:39:25 (8 weeks ago)
- Location:
- trunk
- Files:
-
- 30 modified
-
biocomplexity/build.xml (modified) (1 diff)
-
biogeme/build.xml (modified) (1 diff)
-
eugene/build.xml (modified) (1 diff)
-
eugene_zone/build.xml (modified) (1 diff)
-
inprocess/build.xml (modified) (1 diff)
-
mag_parcel/build.xml (modified) (1 diff)
-
opus_core/build.xml (modified) (1 diff)
-
opus_core/common.xml (modified) (1 diff)
-
opus_docs/build.xml (modified) (4 diffs)
-
opus_emme2/build.xml (modified) (1 diff)
-
opus_gui/build.xml (modified) (1 diff)
-
opus_upgrade/build.xml (modified) (1 diff)
-
pag_parcel/build.xml (modified) (1 diff)
-
paris/build.xml (modified) (1 diff)
-
psrc/build.xml (modified) (1 diff)
-
psrc_parcel/build.xml (modified) (1 diff)
-
randstad/build.xml (modified) (1 diff)
-
sanfrancisco/build.xml (modified) (1 diff)
-
seattle_parcel/build.xml (modified) (1 diff)
-
seattle_parcel_subarea/build.xml (modified) (1 diff)
-
transit_accessibility/build.xml (modified) (1 diff)
-
travel_model/build.xml (modified) (1 diff)
-
urbansim/build.xml (modified) (1 diff)
-
urbansim_cache/build.xml (modified) (1 diff)
-
urbansim_gridcell/build.xml (modified) (1 diff)
-
urbansim_parcel/build.xml (modified) (1 diff)
-
urbansim_zone/build.xml (modified) (1 diff)
-
washtenaw/build.xml (modified) (1 diff)
-
waterdemand/build.xml (modified) (1 diff)
-
z_template_project/build.xml (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/biocomplexity/build.xml
r406 r3704 1 1 <project name="biocomplexity" default="unit-tests"> 2 2 3 <property name="webdir" value="/projects/urbansim5/www.urbansim.org/opus/biocomplexity" /> 4 <property name="pythonpathdir" value="${basedir}/.." /> 5 <import file="${pythonpathdir}/opus_core/common.xml" /> 3 <import file="${basedir}/../opus_core/common.xml" /> 6 4 7 <target name="unit-tests" description="Run unit tests for this package" depends="update-python-build-number">8 <echo message="Running UnitTests." />9 <property environment="env" />10 <exec executable="python">11 <env key="PYTHONPATH" path="${pythonpathdir}:${env.PYTHONPATH}" />12 <arg line="tests/all_tests.py" />13 </exec>14 </target>15 16 <target name="release" description="Release module to the incremental website" depends="update-python-build-number">17 <delete includeemptydirs="true">18 <fileset dir="${webdir}" includes="**/*" />19 </delete>20 <copy todir="${webdir}/docs">21 <fileset dir="${basedir}/docs">22 <exclude name="**/*.tex" />23 <exclude name="**/*.sty" />24 <exclude name="**/*.cls" />25 <exclude name="**/*.ps" />26 </fileset>27 </copy>28 </target>29 30 <target name="build-latex-docs" depends="update-python-build-number">31 <property environment="env" />32 <exec executable="python" failonerror="true">33 <env key="PYTHONPATH" path="${pythonpathdir}:${env.PYTHONPATH}" />34 <arg line="docs/latex/build_docs.py" />35 </exec>36 </target>37 38 <target name="cruisecontrol">39 <exec executable="python" failonerror="True">40 <env key="PYTHONPATH" path="${pythonpathdir}:${env.PYTHONPATH}" />41 <arg line="tests/all_tests.py -x" />42 </exec>43 </target>44 5 </project> -
trunk/biogeme/build.xml
r411 r3704 1 1 <project name="biogeme" default="unit-tests"> 2 2 3 <property name="webdir" value="/projects/urbansim5/www.urbansim.org/opus/biogeme" /> 4 <property name="pythonpathdir" value="${basedir}/.." /> 5 <import file="${pythonpathdir}/opus_core/common.xml" /> 6 <property name="biogeme_path" location="/projects/urbansim/third-party/biogeme/biogeme/" /> 7 8 <!-- taskdef name="py-run" classname="org.pyant.tasks.PythonRunTask" / --> 9 10 <target name="unit-tests" description="Run unit tests for this package" depends="update-python-build-number"> 11 <echo message="Running UnitTests." /> 12 <property environment="env" /> 13 <exec executable="python"> 14 <env key="PYTHONPATH" path="${pythonpathdir}:${env.PYTHONPATH}" /> 15 <!-- edit the following line for development on an individual workstation --> 16 <env key="PATH_TO_BIOGEME" path="${biogeme_path}" /> 17 <arg line="tests/all_tests.py" /> 18 </exec> 19 </target> 20 21 <target name="release" description="Copies the docs for pyant to a public location" depends="update-python-build-number"> 22 <delete> 23 <fileset dir="${webdir}" /> 24 </delete> 25 <copy todir="${webdir}"> 26 <fileset dir="${basedir}/docs"> 27 <include name="**/*.html" /> 28 <include name="**/*.pdf" /> 29 <include name="**/*.png" /> 30 <include name="**/*.gif" /> 31 </fileset> 32 </copy> 33 </target> 34 35 <target name="cruisecontrol"> 36 <exec executable="python" failonerror="True"> 37 <env key="PYTHONPATH" path="${pythonpathdir}:${env.PYTHONPATH}" /> 38 <arg line="tests/all_tests.py -x" /> 39 </exec> 40 </target> 3 <import file="${basedir}/../opus_core/common.xml" /> 41 4 42 5 </project> -
trunk/eugene/build.xml
r415 r3704 1 1 <project name="eugene" default="unit-tests"> 2 2 3 <property name="webdir" value="/projects/urbansim5/www.urbansim.org/opus/eugene" /> 4 <property name="pythonpathdir" value="${basedir}/.." /> 5 <import file="${pythonpathdir}/opus_core/common.xml" /> 3 <import file="${basedir}/../opus_core/common.xml" /> 6 4 7 <target name="unit-tests" description="Run unit tests for this package" depends="update-python-build-number">8 <echo message="Running UnitTests." />9 <property environment="env" />10 <exec executable="python">11 <env key="PYTHONPATH" path="${pythonpathdir}:${env.PYTHONPATH}" />12 <arg line="tests/all_tests.py" />13 </exec>14 </target>15 16 <target name="release" description="Release module to the incremental website" depends="update-python-build-number">17 <delete includeemptydirs="true">18 <fileset dir="${webdir}" includes="**/*" />19 </delete>20 <copy todir="${webdir}/docs">21 <fileset dir="${basedir}/docs">22 <exclude name="**/*.tex" />23 <exclude name="**/*.sty" />24 <exclude name="**/*.cls" />25 <exclude name="**/*.ps" />26 </fileset>27 </copy>28 </target>29 30 <target name="build-latex-docs" depends="update-python-build-number">31 <property environment="env" />32 <exec executable="python" failonerror="true">33 <env key="PYTHONPATH" path="${pythonpathdir}:${env.PYTHONPATH}" />34 <arg line="docs/latex/build_docs.py" />35 </exec>36 </target>37 38 <target name="cruisecontrol">39 <exec executable="python" failonerror="True">40 <env key="PYTHONPATH" path="${pythonpathdir}:${env.PYTHONPATH}" />41 <arg line="tests/all_tests.py -x" />42 </exec>43 </target>44 5 </project> -
trunk/eugene_zone/build.xml
r3550 r3704 1 1 <project name="eugene_zone" default="unit-tests"> 2 2 3 <property name="webdir" value="/projects/urbansim5/www.urbansim.org/opus/eugene_zone" /> 4 <property name="pythonpathdir" value="${basedir}/.." /> 5 <import file="${pythonpathdir}/opus_core/common.xml" /> 3 <import file="${basedir}/../opus_core/common.xml" /> 6 4 7 <target name="unit-tests" description="Run unit tests for this package" depends="update-python-build-number">8 <echo message="Running UnitTests." />9 <property environment="env" />10 <exec executable="python">11 <env key="PYTHONPATH" path="${pythonpathdir}:${env.PYTHONPATH}" />12 <arg line="tests/all_tests.py" />13 </exec>14 </target>15 16 <target name="cruisecontrol">17 <exec executable="python" failonerror="True">18 <env key="PYTHONPATH" path="${pythonpathdir}:${env.PYTHONPATH}" />19 <arg line="tests/all_tests.py -x" />20 </exec>21 </target>22 5 </project> -
trunk/inprocess/build.xml
r419 r3704 1 1 <project name="inprocess" default="unit-tests"> 2 2 3 <property name="webdir" value="/projects/urbansim5/www.urbansim.org/opus/inprocess" /> 4 <property name="pythonpathdir" value="${basedir}/.." /> 5 <import file="${pythonpathdir}/opus_core/common.xml" /> 3 <import file="${basedir}/../opus_core/common.xml" /> 6 4 7 <target name="unit-tests" description="Run unit tests for this package" depends="update-python-build-number">8 <echo message="Running UnitTests." />9 <property environment="env" />10 <exec executable="python">11 <env key="PYTHONPATH" path="${pythonpathdir}:${env.PYTHONPATH}" />12 <arg line="tests/all_tests.py" />13 </exec>14 </target>15 16 <target name="release" description="Release module to the incremental website" depends="update-python-build-number">17 <delete includeemptydirs="true">18 <fileset dir="${webdir}" includes="**/*" />19 </delete>20 <copy todir="${webdir}/docs">21 <fileset dir="${basedir}/docs">22 <exclude name="**/*.tex" />23 <exclude name="**/*.sty" />24 <exclude name="**/*.cls" />25 <exclude name="**/*.ps" />26 </fileset>27 </copy>28 </target>29 30 <target name="build-latex-docs" depends="update-python-build-number">31 <property environment="env" />32 <exec executable="python" failonerror="true">33 <env key="PYTHONPATH" path="${pythonpathdir}:${env.PYTHONPATH}" />34 <arg line="docs/latex/build_docs.py" />35 </exec>36 </target>37 38 <target name="cruisecontrol">39 <exec executable="python" failonerror="True">40 <env key="PYTHONPATH" path="${pythonpathdir}:${env.PYTHONPATH}" />41 <arg line="tests/all_tests.py -x" />42 </exec>43 </target>44 5 </project> -
trunk/mag_parcel/build.xml
r552 r3704 1 <project default="unit-tests">1 <project name="mag_parcel" default="unit-tests"> 2 2 3 <property name="pythonpathdir" value="${basedir}/.." /> 4 <import file="${pythonpathdir}/opus_core/common.xml" /> 3 <import file="${basedir}/../opus_core/common.xml" /> 5 4 6 <target name="unit-tests" description="Run unit tests for this package" depends="update-python-build-number">7 <echo message="Running UnitTests." />8 <property environment="env" />9 <exec executable="python">10 <env key="PYTHONPATH" path="${pythonpathdir}:${env.PYTHONPATH}" />11 <arg line="tests/all_tests.py" />12 </exec>13 </target>14 15 <target name="cruisecontrol">16 <exec executable="python" failonerror="True">17 <env key="PYTHONPATH" path="${pythonpathdir}:${env.PYTHONPATH}" />18 <arg line="tests/all_tests.py -x" />19 </exec>20 </target>21 5 </project> -
trunk/opus_core/build.xml
r603 r3704 1 <project default="unit-tests">1 <project name="opus_core" default="unit-tests"> 2 2 3 <property name="project_name" value="opus_core" /> 4 <property name="webdir" value="/projects/urbansim5/www.urbansim.org/opus/${project_name}" /> 5 <property name="pythonpathdir" value="${basedir}/.." /> 6 <import file="${pythonpathdir}/opus_core/common.xml"/> 7 8 <target name="unit-tests" description="Run unit tests for this package" 9 depends="update-python-build-number"> 10 <echo message="Running UnitTests."/> 11 <chmod perm="u+w"> 12 <!-- opus_packager.py tests must be able to edit the files copied from package_template --> 13 <fileset dir="package_template"> 14 </fileset> 15 </chmod> 16 <exec executable="python"> 17 <env key="PYTHONPATH" path="${pythonpathdir}:${env.PYTHONPATH}" /> 18 <arg line="tests/all_tests.py"/> 19 </exec> 20 </target> 3 <import file="${basedir}/../opus_core/common.xml" /> 21 4 22 <target name="release" description="Release module to the incremental website"23 depends="update-python-build-number">24 <delete includeemptydirs="true">25 <fileset dir="${webdir}" includes="**/*"/>26 </delete>27 <copy todir="${webdir}">28 <fileset dir="${basedir}">29 <exclude name="**/*.pyc" />30 </fileset>31 </copy>32 </target>33 34 <target name="cruisecontrol">35 <exec executable="python" failonerror="True">36 <env key="PYTHONPATH" path="${pythonpathdir}:${env.PYTHONPATH}" />37 <arg line="tests/all_tests.py -x"/>38 </exec>39 </target>40 41 42 5 </project> -
trunk/opus_core/common.xml
r423 r3704 1 <project basedir="."> 2 <property environment="env"/> 3 <property name="fireman_user" value="${env.USER}" /> 4 <property name="major" value="4" /> 5 <property name="minor" value="1" /> 6 <property name="python_build_number_file" value="${basedir}/__init__.py" /> 1 <project> 7 2 8 <target name="update-python-build-number" if="fireman.build" description="Update build number"> 9 <echo message="Update build number"/> 10 <chmod perm="u+w"> 11 <fileset file="${python_build_number_file}" /> 12 </chmod> 13 <exec executable="python"> 14 <env key="PYTHONPATH" path="${pythonpathdir}:${env.PYTHONPATH}" /> 15 <arg line="${pythonpathdir}/opus_core/update_build_number.py ${python_build_number_file} ${BUILDNUMBER}"/> 16 </exec> 17 <cvs command="commit -m '(${fireman_user}) Updated build number.' ${python_build_number_file}" /> 18 </target> 3 <property name="pythonpathdir" value="${basedir}/.." /> 4 <property name="webdir" value="/projects/urbansim5/www.urbansim.org/" /> 5 <property environment="env" /> 6 7 <!-- Default target defintions --> 8 9 <target name="unit-tests"> 10 <exec executable="python" failonerror="True"> 11 <env key="PYTHONPATH" path="${pythonpathdir}:${env.PYTHONPATH}" /> 12 <arg line="${basedir}/tests/all_tests.py" /> 13 </exec> 14 </target> 15 16 <target name="unit-tests-with-xml-output"> 17 <exec executable="python" failonerror="True"> 18 <env key="PYTHONPATH" path="${pythonpathdir}:${env.PYTHONPATH}" /> 19 <arg line="${basedir}/tests/all_tests.py -x" /> 20 </exec> 21 </target> 22 23 <target name="cruisecontrol" depends="unit-tests-with-xml-output" /> 24 19 25 </project> -
trunk/opus_docs/build.xml
r3302 r3704 1 <project name="opus_docs" basedir="."> 1 <project name="opus_docs"> 2 2 3 <echo>entering opus_docs build</echo> 3 <property name="webdir" value="/projects/urbansim5/www.urbansim.org/" /> 4 <property name="pythonpathdir" value="${basedir}/.." /> 5 <property environment="env" /> 4 5 <import file="${basedir}/../opus_core/common.xml" /> 6 6 7 7 <echo>defining build-latex-docs </echo> … … 10 10 <exec executable="python" failonerror="true"> 11 11 <env key="PYTHONPATH" path="${pythonpathdir}:${env.PYTHONPATH}" /> 12 <arg line=" manual/build_docs.py" />12 <arg line="${basedir}/manual/build_docs.py" /> 13 13 </exec> 14 14 </target> … … 19 19 <exec executable="python" failonerror="true"> 20 20 <env key="PYTHONPATH" path="${pythonpathdir}:${env.PYTHONPATH}" /> 21 <arg line=" tutorials/build_docs.py" />21 <arg line="${basedir}/tutorials/build_docs.py" /> 22 22 </exec> 23 23 </target> … … 39 39 40 40 <target name="cruisecontrol" depends="build-latex-docs, build-tutorials, copy-to-webserver" /> 41 41 42 <echo>leaving opus_docs build</echo> 42 43 -
trunk/opus_emme2/build.xml
r428 r3704 1 <project default="unit-tests"> 2 <property environment="env" /> 1 <project name="opus_emme2" default="unit-tests"> 3 2 4 <property name="project_name" value="opus_emme2" /> 5 <property name="webdir" value="/projects/urbansim5/www.urbansim.org/opus/${project_name}" /> 6 <property name="pythonpathdir" value="${basedir}/.." /> 7 <import file="${pythonpathdir}/opus_core/common.xml" /> 3 <import file="${basedir}/../opus_core/common.xml" /> 8 4 9 <target name="unit-tests" description="Run unit tests for this package" depends="update-python-build-number">10 <echo message="Running UnitTests." />11 <property environment="env" />12 <exec executable="python">13 <env key="PYTHONPATH" path="${pythonpathdir}:${env.PYTHONPATH}" />14 <arg line="tests/all_tests.py" />15 </exec>16 </target>17 18 <target name="release" description="Release module to the incremental website" depends="update-python-build-number">19 <delete includeemptydirs="true">20 <fileset dir="${webdir}" includes="**/*" />21 </delete>22 <copy todir="${webdir}">23 <fileset dir="${basedir}">24 <exclude name="**/*.pyc" />25 </fileset>26 </copy>27 </target>28 29 <target name="cruisecontrol">30 <exec executable="python" failonerror="True">31 <env key="PYTHONPATH" path="${pythonpathdir}:${env.PYTHONPATH}" />32 <arg line="tests/all_tests.py -x" />33 </exec>34 </target>35 5 </project> -
trunk/opus_gui/build.xml
r2021 r3704 1 <project default="cruisecontrol">1 <project name="opus_gui" default="unit-tests"> 2 2 3 <property name="pythonpathdir" value="${basedir}/.." /> 4 <import file="${pythonpathdir}/opus_core/common.xml" /> 5 6 <target name="cruisecontrol"> 7 <exec executable="python" failonerror="True"> 8 <env key="PYTHONPATH" path="${pythonpathdir}:${env.PYTHONPATH}" /> 9 <arg line="tests/all_tests.py -x" /> 10 </exec> 11 </target> 3 <import file="${basedir}/../opus_core/common.xml" /> 12 4 13 5 </project> -
trunk/opus_upgrade/build.xml
r436 r3704 1 1 <project name="opus_upgrade" default="unit-tests"> 2 2 3 <property name="webdir" value="/projects/urbansim5/www.urbansim.org/opus/opus_upgrade" /> 4 <property name="pythonpathdir" value="${basedir}/.." /> 5 <import file="${pythonpathdir}/opus_core/common.xml" /> 3 <import file="${basedir}/../opus_core/common.xml" /> 6 4 7 <target name="unit-tests" description="Run unit tests for this package" depends="update-python-build-number">8 <echo message="Running UnitTests." />9 <property environment="env" />10 <exec executable="python">11 <env key="PYTHONPATH" path="${pythonpathdir}:${env.PYTHONPATH}" />12 <arg line="tests/all_tests.py" />13 </exec>14 </target>15 16 <target name="create-zip-files" description="Create zip files for each 'changes' subdirectory" depends="update-python-build-number">17 <subant target="">18 <property name="build.dir" value="subant1.build" />19 <property name="not.overloaded" value="not.overloaded" />20 <fileset dir="." includes="*/build.xml" />21 </subant>22 </target>23 24 <target name="release" description="Release module to the incremental website" depends="update-python-build-number">25 <delete includeemptydirs="true">26 <fileset dir="${webdir}" includes="**/*" />27 </delete>28 <copy todir="${webdir}">29 <fileset dir="${basedir}">30 <exclude name="**/*.pyc" />31 </fileset>32 </copy>33 </target>34 35 <target name="cruisecontrol">36 <exec executable="python" failonerror="True">37 <env key="PYTHONPATH" path="${pythonpathdir}:${env.PYTHONPATH}" />38 <arg line="tests/all_tests.py -x" />39 </exec>40 </target>41 5 </project> -
trunk/pag_parcel/build.xml
r552 r3704 1 <project default="unit-tests">1 <project name="pag_parcel" default="unit-tests"> 2 2 3 <property name="pythonpathdir" value="${basedir}/.." /> 4 <import file="${pythonpathdir}/opus_core/common.xml" /> 3 <import file="${basedir}/../opus_core/common.xml" /> 5 4 6 <target name="unit-tests" description="Run unit tests for this package" depends="update-python-build-number">7 <echo message="Running UnitTests." />8 <property environment="env" />9 <exec executable="python">10 <env key="PYTHONPATH" path="${pythonpathdir}:${env.PYTHONPATH}" />11 <arg line="tests/all_tests.py" />12 </exec>13 </target>14 15 <target name="cruisecontrol">16 <exec executable="python" failonerror="True">17 <env key="PYTHONPATH" path="${pythonpathdir}:${env.PYTHONPATH}" />18 <arg line="tests/all_tests.py -x" />19 </exec>20 </target>21 5 </project> -
trunk/paris/build.xml
r442 r3704 1 1 <project name="paris" default="unit-tests"> 2 2 3 <property name="webdir" value="/projects/urbansim5/www.urbansim.org/opus/paris" /> 4 <property name="pythonpathdir" value="${basedir}/.." /> 5 <import file="${pythonpathdir}/opus_core/common.xml" /> 3 <import file="${basedir}/../opus_core/common.xml" /> 6 4 7 <target name="unit-tests" description="Run unit tests for this package" depends="update-python-build-number">8 <echo message="Running UnitTests." />9 <property environment="env" />10 <exec executable="python">11 <env key="PYTHONPATH" path="${pythonpathdir}:${env.PYTHONPATH}" />12 <arg line="tests/all_tests.py" />13 </exec>14 </target>15 16 <target name="cruisecontrol">17 <exec executable="python" failonerror="True">18 &nb
