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
