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>





-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to