Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 96563 invoked from network); 6 Dec 2001 16:09:02 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 6 Dec 2001 16:09:02 -0000 Received: (qmail 25976 invoked by uid 97); 6 Dec 2001 16:08:55 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 25960 invoked by uid 97); 6 Dec 2001 16:08:55 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 25949 invoked from network); 6 Dec 2001 16:08:54 -0000 Message-ID: <0EBCC63B4041D311876000902757D9373C4BCD@mother.improv-tech.com> From: Marko Srdanovic To: 'Ant Users List' Subject: RE: Missing top level dir in jar file Date: Thu, 6 Dec 2001 11:08:49 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Try: You might have to play with the excludes directive also. -----Original Message----- From: Roger Marlow [mailto:roger_marlow@yahoo.com] Sent: Thursday, December 06, 2001 11:00 AM To: ant-user@jakarta.apache.org Subject: Missing top level dir in jar file 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/ META-INF/MANIFEST.MF base/ base/sub/ base/sub/file1.class base/sub/file2.class (note the top level base dir is included) However if I have an ant file that tries to create the same jar file:- And I run "ant" then "jar tf ajar.jar" on the resulting file I get:- META-INF/ META-INF/MANIFEST.MF sub/ sub/file1.class sub/file2.class Where has the "base" dir gone? What do I have to do to get "base" dir into the path, other than by creating a dummy parent dir? Regards, Roger. ________________________________________________________________ Nokia 5510 looks weird sounds great. Go to http://uk.promotions.yahoo.com/nokia/ discover and win it! The competition ends 16 th of December 2001. -- To unsubscribe, e-mail: For additional commands, e-mail: -- To unsubscribe, e-mail: For additional commands, e-mail: