On Thu, 23 Aug 2001, Gary Shea <[EMAIL PROTECTED]> wrote:

> Here's what I initially tried, which does not work with 1.3:
> 
>     <target name="init">
>       <property name="jars.dir" value="..."/>
>     </target>
> 
>     <taskdef name="sqlfwk3"
>           classname="com.gtsdesign.sqlfwk3.ant.Sqlfwk3Taskdef" >
>       <classpath>
>           <pathelement
>           location="${jars.dir}/sqlfwk3-taskdef.jar"/>
>       </classpath>
>     </taskdef>

<taskdef> is not inside a target, so it gets run before any target -
your property is not defined.

> Is that the expected behavior?

Yes.

Stefan

Reply via email to