Re: Error in documentation (zipfileset, single argument resource collection)

2010-08-19 Thread Jann Röder
Well you can use the usual includes excludes parameters in . One problem though is, that if you include files with a common directory in their path such as org/github and org/postgresql only one of them will end up in the jar file unless you specify duplicate="preserve" in the task. Jann Am 19.0

Re: Error in documentation (zipfileset, single argument resource collection)

2010-08-19 Thread Peter Reilly
Brilliant! That does exactly what I want. Only issue is that I cannot see how to exclude classes/resources from the jars. However, that does not affect my build file. Peter On Thu, Aug 19, 2010 at 4:38 PM, Jann Röder wrote: > I discovered that one can also use > > Am 19.08.10 17:10, schrieb

Re: Error in documentation (zipfileset, single argument resource collection)

2010-08-19 Thread Jann Röder
I discovered that one can also use Am 19.08.10 17:10, schrieb Peter Reilly: > Yes, tis is a known problem with the manual. > > Stefan Bodewig came up then the correct expression: > > > > > > > > > > > The manual will be updated.. > Peter > > On Thu, Aug 19, 2010 at 3:29

Re: Error in documentation (zipfileset, single argument resource collection)

2010-08-19 Thread Peter Reilly
Yes, tis is a known problem with the manual. Stefan Bodewig came up then the correct expression: The manual will be updated.. Peter On Thu, Aug 19, 2010 at 3:29 PM, Jann Röder wrote: > Hi, > I think I might have found an error in the documentation. On the page > about the

Error in documentation (zipfileset, single argument resource collection)

2010-08-19 Thread Jann Röder
Hi, I think I might have found an error in the documentation. On the page about the jar task (http://ant.apache.org/manual/Tasks/jar.html) it says: [quote] Creates an executable jar file with a main class "com.acme.ch