Missing top level dir in jar file

2001-12-06 Thread Roger Marlow
Hello, Using the jar task in ant.1.4.1 I am missing the top level dir from the paths in the jar. For example if I have files and dirs like this:- . ./base ./base/sub ./base/sub/file1.class ./base/sub/file2.class Then in . I run jar cf ajar.jar base then jar tf ajar.jar we see :- META-INF/

RE: Missing top level dir in jar file

2001-12-06 Thread Marko Srdanovic
Try: jar jarfile=ajar.jar basedir=. includes=base/ You might have to play with the excludes directive also. -Original Message- From: Roger Marlow [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 06, 2001 11:00 AM To: [EMAIL PROTECTED] Subject: Missing top level dir in jar file

Re: Missing top level dir in jar file

2001-12-06 Thread Stefan Bodewig
On Thu, 6 Dec 2001, Marko Srdanovic [EMAIL PROTECTED] wrote: Try: jar jarfile=ajar.jar basedir=. includes=base/ this would only include the directory base and nothing else, it should probably be jar jarfile=ajar.jar basedir=. includes=base/**/ Stefan -- To unsubscribe, e-mail:

RE: Missing top level dir in jar file

2001-12-06 Thread Marko Srdanovic
Oops, that's what you get when you don't test things first - Thanks! ;-) -Original Message- From: Stefan Bodewig [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 06, 2001 11:05 AM To: [EMAIL PROTECTED] Subject: Re: Missing top level dir in jar file On Thu, 6 Dec 2001, Marko

Re: Missing top level dir in jar file

2001-12-06 Thread Roger Marlow
Try: jar jarfile=ajar.jar basedir=. includes=base/ this would only include the directory base and nothing else, it should probably be jar jarfile=ajar.jar basedir=. includes=base/**/ Unfortunately that just looks for the files under base. There's only a directory there, so it

Re: Missing top level dir in jar file

2001-12-06 Thread Stefan Bodewig
On Thu, 6 Dec 2001, Roger Marlow [EMAIL PROTECTED] wrote: Try: jar jarfile=ajar.jar basedir=. includes=base/ this would only include the directory base and nothing else, it should probably be jar jarfile=ajar.jar basedir=. includes=base/**/ Unfortunately that just looks for

RE: Missing top level dir in jar file

2001-12-06 Thread Matt Lyon
PROTECTED]] Sent: Thursday, December 06, 2001 11:36 AM To: [EMAIL PROTECTED] Subject: Re: Missing top level dir in jar file On Thu, 6 Dec 2001, Roger Marlow [EMAIL PROTECTED] wrote: Try: jar jarfile=ajar.jar basedir=. includes=base/ this would only include the directory base and nothing

Re: Missing top level dir in jar file

2001-12-06 Thread Roger Marlow
Try: jar jarfile=ajar.jar basedir=. includes=base/ this would only include the directory base and nothing else, it should probably be jar jarfile=ajar.jar basedir=. includes=base/**/ Unfortunately that just looks for the files under base. and recursively below

RE: Missing top level dir in jar file

2001-12-06 Thread Diane Holt
--- Matt Lyon [EMAIL PROTECTED] wrote: A quick question on recursion. Just out of curiosity, is there any difference between ** and **/* in Pattern Sets? See the Example patterns table in the Directory-based Tasks section of the user manual. Diane = ([EMAIL PROTECTED])