| Line | |
|---|
| 1 | <?xml version="1.0" encoding="utf-8"?>
|
|---|
| 2 | <project name="josm-opendata-modules" default="dist" basedir=".">
|
|---|
| 3 | <macrodef name="run_target">
|
|---|
| 4 | <attribute name="target" />
|
|---|
| 5 | <sequential>
|
|---|
| 6 | <ant antfile="build.xml" target="@{target}" dir="be.bruxelles"/>
|
|---|
| 7 | <ant antfile="build.xml" target="@{target}" dir="be.datagovbe"/>
|
|---|
| 8 | <ant antfile="build.xml" target="@{target}" dir="fr.cg41"/>
|
|---|
| 9 | <ant antfile="build.xml" target="@{target}" dir="fr.datagouvfr"/>
|
|---|
| 10 | <ant antfile="build.xml" target="@{target}" dir="fr.paris"/>
|
|---|
| 11 | <ant antfile="build.xml" target="@{target}" dir="fr.sncf"/>
|
|---|
| 12 | <ant antfile="build.xml" target="@{target}" dir="fr.toulouse"/>
|
|---|
| 13 | </sequential>
|
|---|
| 14 | </macrodef>
|
|---|
| 15 | <target name="dist">
|
|---|
| 16 | <mkdir dir="../dist"/>
|
|---|
| 17 | <run_target target="dist"/>
|
|---|
| 18 | <antcall target="list" />
|
|---|
| 19 | </target>
|
|---|
| 20 | <target name="clean">
|
|---|
| 21 | <run_target target="clean"/>
|
|---|
| 22 | </target>
|
|---|
| 23 | <target name="install" depends="dist">
|
|---|
| 24 | <run_target target="install"/>
|
|---|
| 25 | </target>
|
|---|
| 26 | <target name="list">
|
|---|
| 27 | <mkdir dir="build"/>
|
|---|
| 28 | <javac srcdir="../util" destdir="build" includes="opendata/**" includeantruntime="false" />
|
|---|
| 29 | <java classpath="build" classname="opendata.ModuleListGenerator">
|
|---|
| 30 | <arg line="../"/>
|
|---|
| 31 | </java>
|
|---|
| 32 | <delete dir="build" />
|
|---|
| 33 | </target>
|
|---|
| 34 | </project>
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.