ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 24934] New: - echo output of presetdef is always "[null]"
Date Mon, 24 Nov 2003 06:23:46 GMT
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: dev@ant.apache.org
        ReportedBy: hoju@visi.com


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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message