ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Conor MacNeill" <co...@cortexebusiness.com.au>
Subject Re: Fileset initialization problem
Date Wed, 29 Aug 2001 12:21:38 GMT
From: <Sivaprasad.Kancherla@itsindia.com>
>
> > replace
> >
> > <target name="init">
> >  <property name="src.dir" value="d:\src"/>
> > </target>
> It is actually ${build.dir}. Sorry about the confusion. I need to create
> this directory in the init target. Now the problem is that the build
fails
> saying the directory does not exist. How do I create a directory before
Ant
> evaluates the fileset?

OK, in that case move the <fileset> definition into the "init" target after
the directory is created. You can still refer to it by id later in the
<ejbjar> task.

Conor




Mime
View raw message