Re: dods 5.1, Dods task in build.xml pb

Mathieu MANGEOT-NAGATA <[email protected]>
Newsgroups gmane.comp.java.enhydra.general
Message-ID <[email protected]>
Hi,

I went further in reading the Ant TaskDef api:
enhydra5.1/doc/AntTask/org/enhydra/ant/taskdefs/Dods.html

And I saw that the parameter is now called domlfile instead of doml.
You should change it in the doc and the example.

So I changed to domlfile but I still have an error:

BUILD FAILED
file:/Projects/PapillonDev/build.xml:157: The <dods> task doesn't 
support the "outdir" attribute.

This time, I don't know why because this parameter is indicated in the 
API.

Thank for your help.

Mathieu

On Wednesday, June 25, 2003, at 09:17 AM, Mathieu MANGEOT-NAGATA wrote:

>
> 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"/>
>

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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.