commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andy Paul <ap003a1...@blueyonder.co.uk>
Subject [JELLY]nested elements error
Date Fri, 14 Feb 2003 12:05:35 GMT

Hi,
	I've just installed everything and I'm trying some basic scripts
	The following script runs OK but throws an exception every time it 
executes the echo command

<?xml version="1.0"?>
<j:jelly
	xmlns:ant="jelly:ant"
	xmlns:j="jelly:core">

   <j:set var="mydir" 
value="F:\Phoenix\DEV\client\Evolution\EVOLUTION\com\auriga\util" />
   Scanning for files in ${mydir}...

   <ant:fileScanner var="scanner">
     <ant:fileset dir="${mydir}" includes="**/*.java" />
   </ant:fileScanner>

   Iterating through build files

   <j:forEach var="file" items="${scanner.iterator()}">
	<ant:echo message="Found ${file.absolutePath}" />
   </j:forEach>

</j:jelly>

Exception...
Class org.apache.commons.jelly.tags.core.ForEachTag doesn't support the 
nested "echo" element.

	Does anyone know where I'm going wrong?
	Thanks
		Andy


Mime
View raw message