----- Original Message -----
From: <[EMAIL PROTECTED]>
=>   Index: Zip.java
>   ===================================================================
>   RCS file:
/home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Zip.java,v
>   retrieving revision 1.78.2.2
>   retrieving revision 1.78.2.3
>   diff -u -r1.78.2.2 -r1.78.2.3
>   --- Zip.java 21 Jun 2002 07:08:16 -0000 1.78.2.2
>   +++ Zip.java 21 Jun 2002 17:29:44 -0000 1.78.2.3
>   @@ -144,7 +144,7 @@
>         * create the file.
>         * @since Ant 1.5
>         * @deprecated Use setDestFile(File) instead
>   -     * @ant.attribute ignore="true"
>   +     * @ant.attribute ignored="true"

But this is wrong.  Its "ignore".  What generator are you using anyway?!  :)

Here's the code MY generator uses:

    /**
     * For now, lump attributes and elements together since we won't
     * have those tags on the same method.
     */
    private boolean shouldIgnore (MethodDoc method) throws XDocletException
{
        String value = getTagValue(method, "ant:attribute", "ignore", -1,
                null, null, null, null,
                null, false, XDocletTagSupport.FOR_METHOD, false);
        if ("true".equals(value)) {
            return true;
        }
        value = getTagValue(method, "ant:element", "ignore", -1,
                null, null, null, null,
                null, false, XDocletTagSupport.FOR_METHOD, false);
        if ("true".equals(value)) {
            return true;
        }
        return false;
    }

Ugly, I know.  But works.

    Erik



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

Reply via email to