From: <[EMAIL PROTECTED]>
>
> > 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



Reply via email to