ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reshma Pai <>
Subject New comer to ant
Date Wed, 27 Nov 2002 10:29:54 GMT
Hi All,

In the ant build file displayed below, when i am trying to reference the src 
directory declared with the name src.dir, it say ${src.dir} directory not 
found. Why is this happening so, to my understanding, ${src} should obtain 
the value associated with that name.

<?xml version = '1.0' encoding = 'ISO-8859-1'?>
<project name="Learn_Ant" default="compile" 
  <target name="init">
    <property name="src.dir" value="src"/>
  <target name="compile" >
    <javac srcdir="${src}" destdir="."/>
    <echo message="${build.dir}"/>

Thanks in advance,
Reshma Pai

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message