ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anuj Agrawal <agra...@lucent.com>
Subject Re: FW: Can't find the files
Date Fri, 06 Apr 2001 17:03:38 GMT
Pinar -

please note that the build.properties file is NOT an XML file.

E.g. in your case, it would look like:
Java122Classes=d:/jdk1.2.2/jre/lib/rt.jar
Java118Classes=d:/jdk1.1.8/lib/classes.zip

And in your build.xml file you would have:
<property file="build.properties" />
which basically looks in your build.properties file and converts the entries in
<property>'s for use within ANT.

Anuj.

Pinar Bicioglu wrote:

> Just for trying, since my JDKs live in D drive in my machine, I wrote
>
> <property name="$Java122Classes" value="d:/jdk1.2.2/jre/lib/rt.jar" />
> <property name="Java118Classes" value="d:/jdk1.1.8/lib/classes.zip" />
>
> in my "build.properties" file. After deleting
>
> <property name= " Java122Classes" value="/jdk122/jre/lib/rt.jar" />
> <property name= " Java118Classes" value="/jdk118/jre/lib/classes.zip" />
>
> lines from build.xml file, I wrote
>
> <property file="build.properties" /> on the top of build.xml file.
>
> So it's suppose to go and find files and work correctly right? but it's not
> working and I don't know what I am doing wrong here :(


Mime
View raw message