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