find-jpkgs - Find java package names from source tree. |
find-jpkgs - Find java package names from source tree.
find-jpkgs directory ...
This program searches from the top of the specified source directories,
and any directory that contains a .java
file, is identified as a
Java package. The package name is determined by translating '/
's to
'.
's.
This list of java package names are sent to stdout with each package name printed on a separate line.
-help
Display help message.
-man
Display manpage.
This program is best used within project makefiles to set a make variable representing all the applicable java packages to generate javadoc for. For example:
JDOC_PKGS = $(shell $(DEVTOOLS)/bin/find-jpkgs $(SRC_TOP))
This prevents the need to manually maintain the package list when new packages are added to a project.
$Id: find-jpkgs,v 1.4 2002/07/31 04:20:14 ehood Exp $
Earl Hood, earl@earlhood.com
This program comes with ABSOLUTELY NO WARRANTY and may be copied only under the terms of the GNU General Public License.
find-jpkgs - Find java package names from source tree. |