Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 42197 invoked from network); 16 Jun 2002 00:56:21 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 16 Jun 2002 00:56:21 -0000 Received: (qmail 4923 invoked by uid 97); 16 Jun 2002 00:56:23 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 4882 invoked by uid 97); 16 Jun 2002 00:56:23 -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 4870 invoked by uid 98); 16 Jun 2002 00:56:22 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Message-ID: <000d01c214d0$a6bafaa0$74c1f80c@abner> From: "Tony LaPaso" To: "Ant Users" Subject: ?? Simple Newbie Question ?? Date: Sat, 15 Jun 2002 19:56:18 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N May I ask a what must be a simple question (actually,it's two questions)? I'm using Ant v1.5b2. I have the following task to create a JAR file. I want to take everything in the ${build_dir} directory and put it into the JAR. Simple, right? Here's the task I used: I've used to ensure ${dist_dir} and ${build_dir} are correct. When I run this task, the only thing the JAR file contains is the default manifest (MANIFEST.MF) generated by jar. It does *not* contain any of the files in my ${build_dir} directory! Damn it!! What am I doing wrong? Can I not use "${build_dir}/" in the includes? If not, where the heck is that documented? Also, a related but more difficult problem. I have the following directories and files. The ".xml" and ".class" items are, of course, files while everything else is a directory. build-dir+ | +--META-INF+ | | | +--ejb-jar.xml | +--weblogic-ejb-jar.xml | +--classes-dir+ | +--com+ | +--abc+ | +--C_1.class +--C_2.class I want to construct a JAR file using the jar task. I think I should be able to somehow use "includes" and "excludes". Here's what I want my resulting JAR file to look like: /+ (root) | +--META-INF+ | | | +--ejb-jar.xml | +--weblogic-ejb-jar.xml | +--MANIFEST.MF | +--com+ | +--abc+ | +--C_1.class +--C_2.class Note that I do *not* want the "classes-dir" directory to appear in my resulting JAR. Can I do this? Can anyone offer a suggestion? What would the "includes" and "excludes" look like? Thanks very much... Tony -- To unsubscribe, e-mail: For additional commands, e-mail: