Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 39076 invoked from network); 12 Dec 2002 22:40:28 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 12 Dec 2002 22:40:28 -0000 Received: (qmail 19834 invoked by uid 97); 12 Dec 2002 22:41:31 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 19813 invoked by uid 97); 12 Dec 2002 22:41:31 -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 19792 invoked by uid 98); 12 Dec 2002 22:41:30 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Message-ID: From: Dominique Devienne To: "'Ant Users List'" Subject: RE: Patternsets and Filesets Date: Thu, 12 Dec 2002 16:40:18 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Almost perfect ;-) What's below is equivalent, shorter, and the Ant-way: Glad I didn't write that cross-platform message for nothing. --DD -----Original Message----- From: Nathan Christiansen [mailto:Nathan_Christiansen@morinda.com] Sent: Thursday, December 12, 2002 4:34 PM To: Ant Users List Subject: RE: Patternsets and Filesets Yes. I'm running on *nix. The cool thing about it is that you can add things to your initial fileset without changing the rest. So a cross-platform example would be (tested on Linux and Windows 2000): -----Original Message----- From: Dominique Devienne [mailto:DDevienne@lgc.com] Sent: Thursday, December 12, 2002 3:06 PM To: 'Ant Users List' Subject: RE: Patternsets and Filesets Cool ;-) And congratulations ;-) Are you running on *nix? I would guess so, because of your from="${web.src.dir}/". I'm not 100% sure, but I believe you have to be careful with the path separator you use. To be really cross-platform, you should do: Note the use of for the property used in and the use of ${file.separator} instead of /. But if you are on Windows, then I'm wrong. --DD -- To unsubscribe, e-mail: For additional commands, e-mail: -- To unsubscribe, e-mail: For additional commands, e-mail: