source: trunk/components/bio-formats-auto/build.xml @ 4822

Revision 4822, 1.4 KB checked in by curtis, 11 years ago (diff)

Better build system for Bio-Formats C++ bindings on Linux.

Line 
1<!--
2build.xml
3
4Ant build file for Bio-Formats code generator.
5Download Apache Ant from http://ant.apache.org/.
6Type "ant -p" for a list of targets.
7-->
8
9<project name="formats-auto" default="jar" basedir=".">
10  <description>
11    Build file for Bio-Formats code generator
12  </description>
13  <property file="base.properties"/>
14  <import file="${root.dir}/java.xml"/>
15  <property file="build.properties"/>
16
17  <target name="gen-meta" depends="compile"
18    description="generate code for Bio-Formats metadata classes">
19    <java classname="${component.main-class}"
20      classpath="${classes.dir}:${component.runtime-cp}"
21      fork="true" dir="${root.dir}/components/bio-formats/src/loci/formats"/>
22  </target>
23
24  <target name="gen-meta-support" depends="compile"
25    description="generate documentation for Bio-Formats' metadata support">
26    <java classname="${component.meta-support-class}"
27      classpath="${classes.dir}:${component.runtime-cp}"
28      fork="true" dir="${root.dir}/components/bio-formats/">
29        <arg value="${omexml.version}"/>
30    </java>
31  </target>
32
33  <target name="gen-ice" depends="compile"
34    description="generate code for Bio-Formats Ice framework">
35    <java classname="${component.main-class}"
36      classpath="${classes.dir}:${component.runtime-cp}"
37      fork="true" dir="${root.dir}/components/bio-formats-ice/src">
38      <arg value="-ice"/>
39    </java>
40  </target>
41
42</project>
Note: See TracBrowser for help on using the repository browser.