Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 98448 invoked from network); 11 May 2004 14:40:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 11 May 2004 14:40:54 -0000 Received: (qmail 7343 invoked by uid 500); 11 May 2004 14:39:18 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 7145 invoked by uid 500); 11 May 2004 14:39:17 -0000 Mailing-List: contact user-help@ant.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 user@ant.apache.org Received: (qmail 7064 invoked by uid 98); 11 May 2004 14:39:16 -0000 Received: from Ken.Rider@intelliden.com by hermes.apache.org by uid 82 with qmail-scanner-1.20 (clamuko: 0.70. Clear:RC:0(12.41.186.100):. Processed in 0.130138 secs); 11 May 2004 14:39:16 -0000 X-Qmail-Scanner-Mail-From: Ken.Rider@intelliden.com via hermes.apache.org X-Qmail-Scanner: 1.20 (Clear:RC:0(12.41.186.100):. Processed in 0.130138 secs) Received: from unknown (HELO COSIUM03.intelliden.net) (12.41.186.100) by hermes.apache.org with SMTP; 11 May 2004 14:39:14 -0000 X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Linux/Windows portability Date: Tue, 11 May 2004 08:37:29 -0600 Message-ID: <3CABD13EA1D5D347A1B75014BD54CFD50FBEB7@COSIUM03.intelliden.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Linux/Windows portability Thread-Index: AcQ3Hfj5Et/FcU/OQy2kX33xWDchvgAR0U8g From: "Ken Rider" To: "Ant Users List" X-Spam-Rating: hermes.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N We do the following to get around the various Windows os.name values. -----Original Message----- From: Jan.Materne@rzf.fin-nrw.de [mailto:Jan.Materne@rzf.fin-nrw.de]=20 Sent: Tuesday, May 11, 2004 12:05 AM To: user@ant.apache.org Subject: RE: Linux/Windows portability I think I should make a FAQ entry :-) Create a property file for your platform specific configurations and use But be careful. I remember a discussion that on some win32 systems (nt/2k/xp -=20 one of these) the value of os.name is not "windows" :-) Jan > -----Original Message----- > From: Bernd Juergens [mailto:juergens@promedico.com] > Sent: Monday, May 10, 2004 3:56 PM > To: 'Ant Users List' > Subject: Linux/Windows portability >=20 >=20 > Hi, >=20 > I need a build.xml for both Windows and Linux. Currently, I=20 > uses something=20 > like this: >=20 >=20 > location=3D"c:/jarbox/mysql-connector-java-3.0.11-stable-bin.jar"/> > location=3D"/usr/share/jdbc-mysql/lib/mysql-connector-java-3.0.1 > 1-stable-bin.jar"/> >=20 > >=20 > > includes=3D"heather/**" classpath=3D"${mysql}" failonerror=3D"on"/> > >=20 > So, in ${mysql} are both Windows and Linux pathes - though only > one would be needed. >=20 > Any better way of doing this?=20 >=20 > The problem is that I have a lot of dependencies on external=20 > jar files and I=20 > want a simple way to put all those jars in a directory. >=20 > Thanks a lot, > Bernd >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org >=20 =3D_NextPart_001_01C4371D.EFEB21C0-- --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org