You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@velocity.apache.org by Mary Martin Melcy <mm...@cisco.com> on 2003/02/19 06:18:50 UTC

Jakarta Velocity Tools Build Failure

Hi,

I am trying to build the Jakarta Velocity Tools using "ant".
The build fails with the following error. Could any one help me out. I am
very new to Velocity and Struts.

BUILD FAILED
file:C:/jakarta-velocity-tools/view/build.xml:261: The <dvsl> task doesn't
support the nested "tool" element.

Below is the dvsl task definition in the build file.

<!-- create browser version of documentaiton -->
      <dvsl
           basedir="${docs.src}"
           destdir="${docs.dest}/"
    	   toolboxfile="${basedir}/../xdocs/toolbox.props"
           extension=".html"
           style="${basedir}/../xdocs/site.dvsl"
           excludes="*menue.xml"
           includes="**/*.xml">
         <tool name="toolbox.string.LinkToPrinterFriendlyVersion"
value="yes" />
         <tool name="toolbox.string.basedir" value="${basedir}" />
      </dvsl>

Also, could any one help me in understanding what is meant by a "nested
element".
Would appreciate an early response.

Thanks,
Melcy


---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org


Re: Jakarta Velocity Tools Build Failure

Posted by Nathan Bubna <na...@esha.com>.
Tim said:
...
> Build works for me too using Ant 1.5.1, although geez I get a lot of
> [javadoc] warnings. Gabe/Nathan - what's up with all that?

dunno.  it's not unique to veltools though.  i just recently switched to jdk
1.4 and started getting those pretty much everywhere.  i haven't really
cared enough to look into yet though.

Nathan Bubna
nathan@esha.com


---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org


RE: Jakarta Velocity Tools Build Failure

Posted by Tim Colson <tc...@cisco.com>.
Mary -
  What version of ant are you using? What is the classpath and OS? 

Build works for me too using Ant 1.5.1, although geez I get a lot of
[javadoc] warnings. Gabe/Nathan - what's up with all that?

Cheers,
Timo

---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org


Re: Jakarta Velocity Tools Build Failure

Posted by Gabriel Sidler <si...@teamup.com>.
Hi Mary,
I just tested that build again. I works for me. Do you possibly have an
older or incompatible version of DVSL in your CLASSPATH? Try unsetting
the classpath before running ant. The right DVSL jar is included in the
distribution.

 > Also, could any one help me in understanding what is meant by a "nested
 > element".

Look at the definition of the DVSL task in the build.xml file for an
example. <dvsl></dvsl> is the out element, <tool ... /> is the inner or
nested element.

 >       <dvsl
 >            basedir="${docs.src}"
 >            destdir="${docs.dest}/"
 >     	   toolboxfile="${basedir}/../xdocs/toolbox.props"
 >            extension=".html"
 >            style="${basedir}/../xdocs/site.dvsl"
 >            excludes="*menue.xml"
 >            includes="**/*.xml">
 >          <tool name="toolbox.string.LinkToPrinterFriendlyVersion" value="yes"/>
 >          <tool name="toolbox.string.basedir" value="${basedir}" />
 >       </dvsl>


 > Would appreciate an early response.

I hope it's early enough :-)

Gabe


Mary Martin Melcy wrote:

> Hi,
> 
> I am trying to build the Jakarta Velocity Tools using "ant".
> The build fails with the following error. Could any one help me out. I am
> very new to Velocity and Struts.
> 
> BUILD FAILED
> file:C:/jakarta-velocity-tools/view/build.xml:261: The <dvsl> task doesn't
> support the nested "tool" element.
> 
> Below is the dvsl task definition in the build file.
> 
> <!-- create browser version of documentaiton -->
>       <dvsl
>            basedir="${docs.src}"
>            destdir="${docs.dest}/"
>     	   toolboxfile="${basedir}/../xdocs/toolbox.props"
>            extension=".html"
>            style="${basedir}/../xdocs/site.dvsl"
>            excludes="*menue.xml"
>            includes="**/*.xml">
>          <tool name="toolbox.string.LinkToPrinterFriendlyVersion"
> value="yes" />
>          <tool name="toolbox.string.basedir" value="${basedir}" />
>       </dvsl>
> 
> Also, could any one help me in understanding what is meant by a "nested
> element".
> Would appreciate an early response.
> 
> Thanks,
> Melcy
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: velocity-user-help@jakarta.apache.org
> 
> 
> 
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org