ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ylan Segal" <>
Subject RE: generating javadoc of diff packages under same folder
Date Fri, 26 Oct 2001 18:03:42 GMT
As far as I know, javadoc expect standar directory/package structure, do
that class lies in:

The structure you are handling, is not standard (Isn't it giving you
problems with javac also?). If you switch to a standar directory structure
your problems will be solved.

Try this.. make this structure:
                       '-------order(conatin java files)
                                      '------clients (conatin java files)
                                      '------htmlclients (conatin java
                                      '------orderbean (conatin java files)
'---query (conatin java files of wt.query package)

Now, if you use javadoc with src.home pointing to src and
packages="ext.*,wt.*" you will get all the packages and classes included in
the documentation.

Good Luck.

-----Original Message-----
From: Dhirendra Kulkarni []
Sent: Thursday, October 25, 2001 11:54 PM
Subject: generating javadoc of diff packages under same folder

I had alredy sent this mail earlier, since is has not appeared in list so
far, iam sending it agian. Please ignore if you receive the earlier one.

Hi all, Iam trying to generate javadoc of my project my files with javadoc
task of Ant. here i have directory structure is src/ext as shown below. Here
i have two java files in query folder and they both these files are in
wt.query package. Rest all java files under ext directory are in
ext.glynwed.* package. My javadoc task in build.xml is as shown below.

                       '-------order(conatin java files)
                                      '------clients (conatin java files)
                                      '------htmlclients (conatin java
                                      '------orderbean (conatin java files)


'---query (conatin java files of wt.query package)

<target name="javadoc">
  <mkdir dir="${build.javadoc}" />
  <javadoc packagenames="ext.glynwed.*"
           windowtitle="Glynwed WT extended API"
           doctitle="Glynwed WT extended API"
           bottom="&#169; Copyright 2001 Parametric Technology Corporation"
      <link href="../api" offline="true"
    packagelistLoc="${build.dir}/codebase/wt/clients/library/api" />
      <link offline="true"

If i remove Windchill_5.1 folder from src/ext then above code works fine, if
i include Windchill_5.1 then it gives error saying that
  [javadoc] javadoc: No package, class, or source file found named
  [javadoc] 1 error

This is because those two java files in query folder are in wt.querry
package. So please tell me how can i include more than one package . I tried
putting wt.* in packagenames attribute with comma, but it did not work. Also
javadoc does not support any include or exclude attributes.

Thanks in advance

View raw message