ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mikkel Bruun <mikkel.br...@valtech.dk>
Subject newbie problem javadoc
Date Mon, 02 Oct 2000 09:27:26 GMT
Hi guys

Im having problems generating javadoc using ant.
Im running win32...
Standing in directory dist i have src.dir (src) and build.javadocs
(dest/docs)...
running ant i get the following:

-------------

Buildfile: build.xml

docs:
  [javadoc] Generating Javadoc
  [javadoc] Parsing source files for packages
  [javadoc] Javadoc execution
  [javadoc] javadoc: No packages or classes specified.
  [javadoc] usage: javadoc [options] [packagenames] [sourcefiles]
[classnames] [

-------------

the docs target is like below:


<javadoc 
	packagenames="org.xxx.product.*"
	sourcepath="${src.dir}" 
	destdir="${build.javadocs}" 
	author="true" 
	version="true" 
	use="true" 
>

</javadoc>


thanks!

Mikkel Bruun
mikkel.bruun@valtech.dk 
Direct +45 32 88 22 73

AHEAD/Valtech - e-business development
Kanonbaadsvej 10
DK-1437 Copenhagen, Denmark
Tel  +45 32 88 20 00
Fax +45 32 88 20 20

Take time to visit us at: www.ahead.com
or www.valtech.com


-----Oprindelig meddelelse-----
Fra: Nico Seessle [mailto:nico@seessle.de]
Sendt: Monday, October 02, 2000 11:08 AM
Til: ant-dev@jakarta.apache.org
Emne: [PATCH] Property.java Re: <delete> unable to remove a file


Ensure the property-file is always closed after reading it - don't rely on
garbage collection.

----- Original Message -----
From: "Peter Donald" <pjdonald@cs.latrobe.edu.au>
To: <ant-dev@jakarta.apache.org>
Sent: Monday, October 02, 2000 11:42 AM
Subject: Re: <delete> unable to remove a file


> >I'm not sure what Java is 'required to do' if you use something like
> >'props.load(new FileInputStream(file));' - it can immediately close the
file
> >after loading, but will it do in all cases?
>
> Nope and it is the source of much hell in developing on NT. You should
> always explictly close all file handles or else NT will not be able to
> delete them ;(
>


Mime
View raw message