Enhydra & DODS 5.1 : pb with dods task in build.xml
Mathieu MANGEOT-NAGATA <[email protected]>
| Newsgroups | gmane.comp.java.enhydra.general |
|---|---|
| Message-ID | <[email protected]> |
Hello,
I am trying to upgrade from enhydra5.0 to enhydra5.1 because I would
like to use the new
dods.
I compiled and installer enhydra5.1 with no problems.
But when I tried to compile my enhydra project with the new enhydra, I
found an
error in the build.xml file.
Extracts from the build.xml file:
<taskdef name="dods" classname="org.enhydra.ant.taskdefs.Dods"/>
...
...
<target name="dods" depends="prepare" if="dods.doml">
<mkdir dir="${dodsbuild.dir}"/>
<dods doml="${dir.project}/${dods.doml}"
outdir="${dodsbuild.dir}" />
<copy todir="${dir.classes}">
<fileset dir="${dodsbuild.dir}/classes" />
</copy>
</target>
...
And I have this error:
-----------------------------
ant
Buildfile: build.xml
dods:
BUILD FAILED
file:/Projects/PapillonDev/build.xml:157: The <dods> task doesn't
support the "doml" attribute.
-----------------------------
but in the doc, it is written to use the doml parameter:
Examples
<dods doml="${basedir}/discRack.doml"
outdir="${basedir}/src"/>
So where is the problem?
Thanks once again for your help!
Mathieu
Mathieu MANGEOT-NAGATA
Visiting Researcher National Institute of Informatics
Hitotsubashi 2-1-2-1913 Chiyoda-ku Tokyo 101-8430 Japan
Tel: +81-3-4212-2672 Fax: +81-3-3556-1916
http://www-clips.imag.fr/geta/mathieu.mangeot
Papillon project: http://www.papillon-dictionary.org