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.lemans"/>
|
---|
11 | <ant antfile="build.xml" target="@{target}" dir="fr.paris"/>
|
---|
12 | <ant antfile="build.xml" target="@{target}" dir="fr.sncf"/>
|
---|
13 | <ant antfile="build.xml" target="@{target}" dir="fr.toulouse"/>
|
---|
14 | </sequential>
|
---|
15 | </macrodef>
|
---|
16 | <target name="dist">
|
---|
17 | <mkdir dir="../dist"/>
|
---|
18 | <run_target target="dist"/>
|
---|
19 | <antcall target="list" />
|
---|
20 | </target>
|
---|
21 | <target name="clean">
|
---|
22 | <run_target target="clean"/>
|
---|
23 | </target>
|
---|
24 | <target name="install" depends="dist">
|
---|
25 | <run_target target="install"/>
|
---|
26 | </target>
|
---|
27 | <target name="list">
|
---|
28 | <mkdir dir="build"/>
|
---|
29 | <javac srcdir="../util" destdir="build" includes="opendata/**" includeantruntime="false" />
|
---|
30 | <java classpath="build" classname="opendata.ModuleListGenerator">
|
---|
31 | <arg line="../"/>
|
---|
32 | </java>
|
---|
33 | <delete dir="build" />
|
---|
34 | </target>
|
---|
35 | </project>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.