All,
I'm new to NAnt but
definitely not new to any of the Ant-derived tools and in porting an existing
Ant script I've come across a weird issue in NAnt. I run the
following very basic script:
<project
name="myapp" basedir="." default="compile"
>
<!--
Compile -->
<target name="compile">
<echo message="Basedir is ${basedir}" />
</target>
<target name="compile">
<echo message="Basedir is ${basedir}" />
</target>
</project>
And I get the error
message:
"Property 'basedir'
has not been set."
Which is pretty
funny considering it's the very first thing I do in the script. This has
worked in all the other Ant tools I've used so I'm left scratching my head on
this one.
Thanks for any
help.
Shawn
