ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Murdoch" <adammurdoch...@yahoo.com>
Subject RE: How to I prevent jar to include subdirectories
Date Tue, 15 Jan 2002 23:56:04 GMT

Hi,

Just leave the .* off the end of the package names.  For example:

<javadoc sourcepath="some/src/dir" packagenames="my.package" ... />

Will run javadoc against the files in package 'my.package', but none of the
sub-packages.


Adam

> -----Original Message-----
> From: Bernhard Lenz [mailto:BLenz@BerMark.com]
> Sent: Wednesday, 16 January 2002 2:42 AM
> To: system; ant-user@jakarta.apache.org
> Subject: How to I prevent jar to include subdirectories
>
>
> Hi Adam,
> I'm sorry to bother you again.
> Do you know if there is something similiar to prevent javadoc from
> documenting subdirectories?
> ThanksBernie
> List:     ant-user
> Subject:  How to I prevent jar to include subdirectories
> From:     "Bernhard Lenz" <BLenz@BerMark.com>
> Date:     2002-01-14 23:14:17
> [Download message RAW]
>
> Bull's eye...
>
> includes="*" filesonly="true" works perfect.
>
> Thanks all for your help.
> Bernie
>
> List:     ant-user
> Subject:  RE: How to I prevent jar to include subdirectories
> From:     "Adam Murdoch" <adammurdoch_ml@yahoo.com>
> Date:     2002-01-14 22:42:25
> [Download message RAW]
>
>
> Hi,
>
> If you want to just grab the files directly under the root directory and
> ignore everything else, try something like:
>
> <jar jarfile="somefile.jar" basedir="rootdir" includes="*"
> filesonly="true"/>
>
> Note: a single * in the includes, not ** (which is the default).
>
>
> Adam
>
> > -----Original Message-----
> > From: Bernhard Lenz [mailto:BLenz@BerMark.com]
> > Sent: Tuesday, 15 January 2002 8:13 AM
> > To: ant-user@jakarta.apache.org
> > Subject: How to I prevent jar to include subdirectories
> >
> >
> > Is there any way to prevent jar to package subdirectories without
> > explicitly
> > naming each single subdirectory,
> > e.g. package root directory / but not /usr, /bin, /export, etc.?
> >
> > Thanks for your help.
> > Bernie
>
>
>


--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message