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 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 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