Just change your build.xml to:
<copy todir="${dest.dir}/${project.name}.woa/INTCX_HOME">
<fileset dir="INTCX_HOME"/>
</copy>
It'll create INTCX_HOME if it doesn't exist yet.
Christian
> I'm trying to setup a target that will copy a directory from my
> source location to the install location. According to the Ant doc
> at apache.org, this should do it:
>
> <copy todir="${dest.dir}/${project.name}.woa">
> <fileset dir="INTCX_HOME"/>
> </copy>
>
> Unfortunately, what it does is take the files that are INSIDE the
> INTCX_HOME directory and place them into the .woa. The Ant doc
> says this:
>
> Copy a directory to another directory
>
> <copy todir="../new/dir">
> <fileset dir="src_dir"/>
> </copy>
This archive was generated by hypermail 2.0.0 : Thu Jun 15 2006 - 18:15:18 EDT