ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter.V.W...@kp.org
Subject Re: The <javadoc> task doesn't support the nested "patternset" element
Date Wed, 24 Jul 2002 16:44:40 GMT
Sorry if somebody else already replied to this...
Your line 
<fileset dir="${dir.src}" />
should be changed to 
<fileset dir="${dir.src}">



Hallo,

I am getting the error message "The <javadoc> task doesn't 
support the nested "patternset" element."

The structure of my build.xml is:
        <patternset id="patternset.src" >
            <include name="..." />
        </patternset>
        <javadoc 
            destdir="${dir.javadoc}"
            access="protected"
            source="1.4">
            <classpath>
                <pathelement path="${java.class.path}" />
                <pathelement location="${dir.class}" />
                <fileset dir="${dir.servlet.lib}" includes="*.jar" />
                <fileset dir="lib">
                    <include name="log4j*.jar"/>
                    <include name="logkit*.jar"/>
                    <include name="fop*.jar"/>
                </fileset>
            </classpath>
            <fileset dir="${dir.src}" />
                <patternset refid="patternset.src" />
            </fileset>
        </javadoc>

What is wrong with this file? According to the Ant 1.5
documentation, a patternset can be nested within
a fileset. And the javadoc task does support filesets

Thanks,
Ronald
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message