Return-Path: Mailing-List: contact ant-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list ant-dev@jakarta.apache.org Received: (qmail 96105 invoked from network); 2 Jun 2000 14:53:30 -0000 Received: from i-gate.softwired.ch (212.40.20.70) by locus.apache.org with SMTP; 2 Jun 2000 14:53:30 -0000 Received: from artus.ii.softwired.ch (camelot.softwired.ch [212.40.20.71]) by i-gate.softwired.ch (8.9.1/8.9.1) with ESMTP id QAA18942 for ; Fri, 2 Jun 2000 16:53:30 +0200 Received: from vaio (dyna17.ii.softwired.ch [192.168.168.147]) by artus.ii.softwired.ch (8.9.3/8.9.3) with SMTP id QAA01298 for ; Fri, 2 Jun 2000 16:53:29 +0200 Message-ID: <007e01bfcca2$5947a8e0$93a8a8c0@ii.softwired.ch> From: "Thomas Haas" To: References: Subject: Re: Platform independent classpath in build.xml? Date: Fri, 2 Jun 2000 16:53:43 +0200 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 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N ----- Original Message ----- From: Brill Pappin > > That's exactly my point... if you standardize the path separator, then the > build file become platform independent. As it is now, you must use a > separator from unix or windows... just because they are interchangeable does > not make them platform independent. The fact that unix and windows > separators are interchangeable at all, is really a convenience for those who > are used to using a particular separator, but its not to someone who is > familiar with an entirely different separator. > > > I suggest you have a read of the core.html document in the spec directory. > > It discusses some of these issues. > > Right... ok... so basically you say that ":" is the ant path separator... > this is what I want to hear... however my point still stands that it might > not be obvious to someone who has never seen a unix style path separator... > like myself (who does use unix btw) they are first going to try and use a > comma, because most other lists in Ant use them. Its a natural assumption. ---- Lists should be defined using nested XML structures: ... and add a way to set a path predefined in a property. The predefined path should be parsed according to the local conventions and some Ant standard. Using /, \, ;, : as the standard separators is not bad, as this will be natural for most ant users. Note: A general path abstraction can also be used to modify the PATH environment variable. This can be used to spawn external processes. I will improve the existing classpath stuff a little bit and send a patch to this list and ask for comments. Then I hope we can finally end the discussion about files and pathes. - tom