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:[EMAIL PROTECTED]] > Sent: Wednesday, 16 January 2002 2:42 AM > To: system; [EMAIL PROTECTED] > 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" <[EMAIL PROTECTED]> > 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" <[EMAIL PROTECTED]> > 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:[EMAIL PROTECTED]] > > Sent: Tuesday, 15 January 2002 8:13 AM > > To: [EMAIL PROTECTED] > > 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:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
