ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nico Seessle" <n...@apache.org>
Subject Re: Can't find the files
Date Thu, 05 Apr 2001 21:47:31 GMT
----- Original Message -----
From: "Pinar Bicioglu" <p.bicioglu@CustomerDialogue.com>
To: <ant-user@jakarta.apache.org>
Sent: Thursday, April 05, 2001 11:09 PM
Subject: RE: Can't find the files


> I incredibly appreciat your help.
>
> Your understanding of my problem definetely correct. It doesn't matter how
I
> solve the problem. either with properties file or not.
>

Create a new file containing for example

jdk122Classes=D:/jdk1.2.2/jre/lib/rt.jar
jdk18Classes=C:/jdk1.8/lib/classes.zip

save it as for example "jdk.properties" in the same directory as your
build.xml.

You can then use

<property file="jdk.properties"/>

on the top of your build.xml to define these two properties.

To make it configurable for every user you can for example use <property
file="${user.home}/jdk.properties"/> to read that file. You can use every
name you like.

Nico




Mime
View raw message