From ant-dev-return-31013-qmlist-jakarta-archive-ant-dev=jakarta.apache.org@jakarta.apache.org Wed Apr 24 15:56:57 2002 Return-Path: Delivered-To: apmail-jakarta-ant-dev-archive@apache.org Received: (qmail 49680 invoked from network); 24 Apr 2002 15:56:57 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 24 Apr 2002 15:56:57 -0000 Received: (qmail 11457 invoked by uid 97); 24 Apr 2002 15:56:57 -0000 Delivered-To: qmlist-jakarta-archive-ant-dev@jakarta.apache.org Received: (qmail 11439 invoked by uid 97); 24 Apr 2002 15:56:57 -0000 Mailing-List: contact ant-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list ant-dev@jakarta.apache.org Received: (qmail 11427 invoked from network); 24 Apr 2002 15:56:56 -0000 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: RPMs X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3 Date: Wed, 24 Apr 2002 17:57:12 +0200 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: RPMs Thread-Index: AcHrp/WunNTmKSeWRVuKzQV3+IO65AAAA8Rw From: "GOMEZ Henri" To: "Ant Developers List" Cc: X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N >>>ant -Dbuild.compiler=3Djikes >>=20 >> Yes but what happen if there is no jikes present ? > >We assume the user knows whether jikes is available before asking for >it 8-) True in interactive job, but not in rpm build mode whereas the user have no control on jikes/ant only on rpm. In that case he should modify the spec file which is bad. typicall case: user install xerces 1.4.4 rpm rpm -Uvh xerces-j-1.4.4.1.src.rpm user go to spec file and rebuild the rpm cd /usr/src/redhat/SPECS rpm -ba xerces.spec =3D> he's got the binaries rpm =20 >> I recall the goal is to have jikes used when present and >> if not fall back to javac. > >The goal of the script in the RPM, yes. Not the goal of "Ant's" >script. The goal of the script in Ant's distribution is to use the >compiler the user specifies and its default is javac. I'll modify the jakarta rpm accordingly (for ant 1.5) >> gcj produce native code which is not what we want. > >Should have thought of that myself, yes. ;) >> btw, jikes is fast, well-know and produce good code... > >Sure, I use it myself (1.14 as 1.15 is far to buggy). But my defaults >shouldn't necessarily be Ant's. That's why I think it could be nice to have such --with-jikes flag added to ant script. Just tell ant to check for jikes and use it if available if not fallback silently to javac. -- To unsubscribe, e-mail: For additional commands, e-mail: