ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Jan.Mate...@rzf.fin-nrw.de>
Subject AW: JavaFront: use of nested elements
Date Mon, 10 Nov 2008 16:04:38 GMT
I added support for AntLibs ...


Jan 

>-----Urspr√ľngliche Nachricht-----
>Von: Jan.Materne@rzf.fin-nrw.de [mailto:Jan.Materne@rzf.fin-nrw.de] 
>Gesendet: Montag, 10. November 2008 13:13
>An: dev@ant.apache.org
>Betreff: JavaFront: use of nested elements
>
>I have rewritten the command line parsing to support the use of nested
>elements and text like
>    <copy todir="test">
>        <fileset dir="src"/>
>    </copy>
>    <echo>Hello World</echo>
>
>The examples now show the XML-Syntax followed by the command line.
>
>But the last example doesnt work:
>
>XML: <concat>
>         <fileset dir="src" includes="*.properties"/>
>         <header>Ant Version ${ant.version}</header>
>         <footer>End of text</footer>
>     </concat>
>CMD: concat + fileset dir src includes *.properties - + header # Ant
>Version ${ant.version} - + footer # End of text
>---------------------------------------------------------------
>---------
>-----------------------
>Problem: failed to create task or type footer
>Cause: The name is undefined.
>Action: Check the spelling.
>Action: Check that any custom tasks/types have been declared.
>Action: Check that any <presetdef>/<macrodef> declarations have taken
>place.
>
>        at
>org.apache.tools.ant.UnknownElement.getNotFoundException(Unknow
>nElement.
>java:481)
>        at
>org.apache.tools.ant.UnknownElement.makeObject(UnknownElement.java:413)
>        at
>org.apache.tools.ant.UnknownElement.maybeConfigure(UnknownEleme
>nt.java:1
>60)
>        at org.apache.ant.javafront.builder.Tag.build(Tag.java:70)
>        at 
>org.apache.ant.javafront.TaskExec.startAnt(TaskExec.java:110)
>        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
>        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
>
>
>Ideas?
>
>
>Jan
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message