doc-files not being copied

[nobr]My doc-files folders are not being copied to the destination folder.

I have an ANT script that selects a fixed set of java files to javadoc. For example, I am trying to generate a javadoc for our external client that only contains the API and DTO classes and not all services, etc. I have tried everyting but I cannot get the doc-files folders to copy to the destination.

Below is the ANT task, properties file, and class list file.

Any help would be GREATLY apprecaited...

<!-- ***************************************************** -->

<!-- * Usethis target to generate the standard AirCore * -->

<!-- * javadoc* -->

<!-- ***************************************************** -->

<target name="javadoc">

<property file ="javadoc.properties"/>

<javadoc useexternalfile ="yes"

maxmemory="512m"

packagenames ="${javadoc.packagenames}"

noqualifier="${javadoc.noqualifier}"

destdir="${javadoc.destdir}"

Public="${javadoc.Public}"

Use="${javadoc.Use}"

Splitindex="${javadoc.Splitindex}"

Version="${javadoc.Version}"

Author="${javadoc.Author}"

Windowtitle="${javadoc.Windowtitle}"

Doctitle="${javadoc.Doctitle}"

Header="${javadoc.Header}"

Bottom="${javadoc.Bottom}"

doclet="${javadoc.doclet}"

docletpath="${javadoc.docletpath}"

additionalparam ="-docfilessubdirs

-tag See

-tag LogIdReason:a:'Reason Code:' -tag LogIdDescription:a:'Description:'

-tag LogIdAction:a:'Action:'-tag LogIdSeverity:a:'Severity:'">

<fileset dir="${javadoc.sourcepath}">

<includesfile name="${javadoc.finalClassList}" />

</fileset>

</javadoc>

</target>

javadoc.Public =true

javadoc.noqualifier= all

javadoc.Use=true

javadoc.Splitindex=true

javadoc.Version=true

javadoc.Author =true

javadoc.noqualifier= all

javadoc.Windowtitle= Unisys Global Transportation - AirCore Interface API Documentation

javadoc.Doctitle= AirCore <sup><font size=-2>TM</font></sup> Interface API Documentation

javadoc.Header = <b>AirCore </b><font size=-1>Release 2.4<br>Documented 28FEB2006</font>

javadoc.Bottom = <font size=-1><br>AirCore is a trademark of Unisys Corporation.<br>Java is a trademark or registered trademark of Sun Microsystems, Inc.<br>All Rights Reserved.</font>

javadoc.packagenames= com.unisys.trans.aircore

javadoc.destdir= G:/temp/javadoc

javadoc.filesetdir= G:/Reviews/JavaDoc/PdfDoclet

javadoc.doclet = unisys.trans.shared.javadoc.ExcludeDoclet

javadoc.docletpath= lib/excludedoclet.jar

javadoc.sourcepath= G:/Projects/javadoc/src

#javadoc.sourcepath= G:/temp/Constants/Constants

#javadoc.sourcepath= G:/AirCore/views/Release_02_4_Support_SS/aircore/src

#javadoc.sourcepath= G:/AirCore/views/Caritor_Release_02_4_SS/aircore/src

#javadoc.sourcepath= G:/Reviews/JavaDoc/PdfDoclet/src

#javadoc.sourcepath= G:/AirCore/views/Aircore_P_Integration_SS/shared/src

# javadoc.finalClassList= bkgClassList.txt

javadoc.finalClassList= bkgControllerList.txt

# javadoc.finalClassList= agrlist.txt

# javadoc.finalClassList= SpecialList.txt

# javadoc.finalClassList= passport.txt

# javadoc.finalClassList= sharedList.txt

# javadoc.finalClassList= avail.txt

# javadoc.finalClassList= csalist.txt

# javadoc.finalClassList= S-realist.txt

# javadoc.finalClassList= logId.txt

bkgControllerList.txt contains:

com/unisys/trans/aircore/bkg/controllerejb/Controller.java

I want:

com/unisys/trans/aircore/bkg/controllerejb.doc-files/**

to be copied to the destination.[/nobr]

[4807 byte] By [mpbaker01a] at [2007-10-2 14:39:30]
# 1

When javadoc is run without Ant, doc-files should be copied. Here is a quote from the documentation for the Javadoc tool:

"Directory doc-files is now copied when passing in .java files - When passing in source files (*.java) to Javadoc, it now copies the "doc-files" directories to the destination. (Formerly, the "doc-files" directories were not copied.) This behavior is now identical to that when passing in package names. (4340814)"

http://java.sun.com/j2se/1.4.2/docs/tooldocs/javadoc/whatsnew-1.4.html

I don't know enough about how Ant works to know why it's not working here. Perhaps Ant doesn't rely on Javadoc's built-in mechanism.

-Doug

dhkramera at 2007-7-13 13:07:06 > top of Java-index,Developer Tools,Debugging and Profiling Tool APIs...
# 2
Thanks for your reply.The problem was with:<fileset dir="${javadoc.sourcepath}"><includesfile name="${javadoc.finalClassList}" /></fileset>The doc-files are not copied when individual files are listed. You must use packages...
mpbaker01a at 2007-7-13 13:07:06 > top of Java-index,Developer Tools,Debugging and Profiling Tool APIs...