From: Terry W. <twa...@so...> - 2003-01-23 23:10:49
|
Hi, I'm not able to use ant's <echo> inside my <ejbdoclet's> <taskdef>. My <target> 'ejbdoclet' won't even run when I have my <echo message="${src.dir}"/> line inside my <ejbdoclet> 'taskdef'. but, will attempt and fail when its not there--it won't find the source files under the <fileset> OUTPUT: ++++++++++++++++++++++++++ ejbdoclet: [echo] +---------------------------------------------------+ [echo] | | [echo] | R U N N I N G E J B D O C L E T | [echo] | | [echo] +---------------------------------------------------+ BUILD FAILED file:/home/piter/xdockletWork/build.xml:123: Can't create a ejbdoclet element under {2}. Make sure the jar file containing the corresponding subtask class is on the classpath specified in the <taskdef> that defined {2}. Total time: 3 seconds ++++++++++++++++++++++++++ my build.xml target: <target name="ejbdoclet" depends="prepare, init"> <echo>+---------------------------------------------------+</echo> <echo>| |</echo> <echo>| R U N N I N G E J B D O C L E T |</echo> <echo>| |</echo> <echo>+---------------------------------------------------+</echo> <ejbdoclet destdir="${build.dir.classes}" mergedir="parent-fake-to-debug" ejbspec="2.0" force="false" verbose="false" > <echo message="${src.dir}"/> <fileset dir="${src.dir}"> <include name="**/*.java"/> </fileset> <remoteinterface/> <homeinterface/> <session/> <deploymentdescriptor destdir="${etc.dir.meta}" validatexml="true" mergedir="fake-to-debug" > </deploymentdescriptor> <jboss version="3.0" unauthenticatedPrincipal="nobody" xmlencoding="UTF-8" destdir="${etc.dir.meta}" validatexml="true" preferredrelationmapping="relation-table" /> </ejbdoclet> </target> |