ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 47196] New: Can't use <packageset> to exclude packages from <javadoc> in 1.7.1, ok in 1.6
Date Thu, 14 May 2009 17:12:57 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=47196

           Summary: Can't use <packageset> to exclude packages from
                    <javadoc> in 1.7.1, ok in 1.6
           Product: Ant
           Version: 1.7.1
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: critical
          Priority: P5
         Component: Core tasks
        AssignedTo: notifications@ant.apache.org
        ReportedBy: eric.kaplan@armanta.com


I have the following <javadoc> command and am specifying a number of packages
to exclude from the javadoc. This works fine in Ant 1.6.1 but not in 1.7.1. I'm
running with java 1.5.0_16. For some reason, the packages I specify in the
<exclude> of the <packageset> aren't being excluded in 1.7.1, but are in 1.6.1.

<property name="doc.params.deploy" value="-d deploy/doc/api -breakiterator
-author -generic -docletpath
ydoc-3.0_01-jdk1.5/lib/ydoc.jar;ydoc-3.0_01-jdk1.5/resources;source/java
-doclet ydoc.doclets.YStandard -filterpath ydoc-3.0_01-jdk1.5/lib/ydoc.jar
-filter ydoc.filters.ExcludeFilter 
-tag y.precondition 
-tag y.postcondition 
-link http://java.sun.com/j2se/1.5/docs/api
-tag param
-tag return
-tag see
-noindex
-windowtitle 'Armanta Application Framework API'
-doctitle 'Armanta Application Framework API'
-bottom 'Copyright 2009 Armanta, Inc. All rights reserved.'
-version
-author
-protected"/>

...

<javadoc sourcepath="source/java" destdir="deploy/doc/api" windowtitle="Armanta
Application Framework API" doctitle="Armanta Application Framework API"
encoding="iso-8859-1" docencoding="iso-8859-1"
     bottom="Copyright (c) 2009 Armanta, Inc.."  
     additionalparam="${doc.params.deploy}" classpathref="build-classpath" 
     maxmemory="256m">
     <packageset dir="source/java" defaultexcludes="yes">
              <exclude name="com/armanta"/>
              <exclude name="com/armanta/app"/>
            ...
     </packageset>
</javadoc>

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Mime
View raw message