ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vittoria, Felice" <Felice_Vitto...@bmc.com>
Subject RE: Detecting jikes compiler
Date Wed, 13 Jun 2001 17:49:46 GMT
Paul,

My first guess is that you should replace:

<property environment="system_prop." />

with 

<property environment="system_prop" />

Try that and let us know.   

Felice

-----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:


<property environment="system_prop." />

<target name="check_for_optional_packages">
  <property name="jikes.compiler" value="${system_prop.PATH}/jikes.exe"/>
  <available file="${jikes.compiler}" property="build.compiler"
value="jikes"/>
</target>

Can anyone point out the problem?

Thanks,
Paul

Mime
View raw message