logo       

Enhydra & DODS 5.1 : pb with dods task in build.xml: msg#00021

java.enhydra.general

Subject: Enhydra & DODS 5.1 : pb with dods task in build.xml


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: www.papillon-dictionary.org
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise