Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@jakarta.apache.org Received: (qmail 34285 invoked by uid 500); 13 Jun 2001 18:23:28 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: ant-user@jakarta.apache.org Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 34081 invoked from network); 13 Jun 2001 18:23:20 -0000 Message-ID: <20010613182323.18798.qmail@web13404.mail.yahoo.com> Date: Wed, 13 Jun 2001 11:23:23 -0700 (PDT) From: Diane Holt Subject: RE: Detecting jikes compiler To: ant-user@jakarta.apache.org In-Reply-To: <3DAC9CD31458D411BCE700D0B75D0A13018708E8@ES09-HOU.bmc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N --- "Vittoria, Felice" wrote: > Paul, > > My first guess is that you should replace: > > > > with > > > > Try that and let us know. Even with that fix (which should be made), it still isn't going to work the way I suspect Paul wants it to. It looks like he wants to search each of the directories in $PATH (or I guess I should say %PATH% :) for jikes.exe, which isn't going to happen. The ant.bat script checks to see if %JIKESPATH% is set, and will set the compiler to jikes if it is -- but that doesn't actually guarantee that jikes.exe is available, and it means having to have that var set in your env (which you might not want, and don't really need in order to use jikes). So I suppose I'd (yet again) have to recommend picking up the (unofficial) task from the mail archive (sure wish we could agree to just go ahead and commit the thing in optional). Diane > -----Original Message----- > From: LEVERETT,PAUL (HP-Roseville,ex1) [mailto:paul_leverett@hp.com] > Sent: Wednesday, June 13, 2001 12:47 PM > To: 'ant-user@jakarta.apache.org' > Subject: Detecting jikes compiler > > > I'm trying to detect the Jikes compiler and have the build process use > it > only if it's available. The following setting doesn't seem to work: > > > > > > value="${system_prop.PATH}/jikes.exe"/> > value="jikes"/> > > > Can anyone point out the problem? > > Thanks, > Paul ===== (holtdl@yahoo.com) __________________________________________________ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.com/