DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24934>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24934

echo output of presetdef is always "[null]"

           Summary: echo output of presetdef is always "[null]"
           Product: Ant
           Version: 1.6Beta
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Core tasks
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


When I use presetdef in very recent CVS version of the 1.6 branch + the "local"
patch from bug 23942 (not sure if that matters or not?), the echo'ed output when
running is "[null]".

For instance, if I have this...

    <presetdef name="util-presetJavac">
        <javac
            includes="**/*.java"
            excludes="**/old**/**"
            debug="${build.debug}"
            deprecation="${build.deprecation}"
            optimize="${build.optimize}"
            verbose="${build.verbose}"/>
    </presetdef>

and call it like this...

    <util-presetJavac
        srcdir="${srcdir}"
        destdir="${destdir}"
        excludes="${excludes}">
        <classpath refid="${cprefid}"/>
    </util-presetJavac>

Actual output...
[null] Compiling 53 source files to
D:\myclasses\Repository\Codehaus\Prevayler_2003-11-03_SSH2\prevayler\target\contrib-classes

Expected output...
[javac] Compiling 53 source files to
D:\myclasses\Repository\Codehaus\Prevayler_2003-11-03_SSH2\prevayler\target\contrib-classes

or maybe even...
[util-presetJavac] Compiling 53 source files to
D:\myclasses\Repository\Codehaus\Prevayler_2003-11-03_SSH2\prevayler\target\contrib-classes


I really don't care which one is used, but "[null]" is most certainly incorrect.

Jake

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to