I can't see anything amiss in your code, although the --> in your
description attribute did catch my eye :-).

It's better if you can show the actual error printed by Ant in most
cases and the corresponding line in your build. Ant usually includes
line numbers and these can help know where to look.

Conor

[EMAIL PROTECTED] wrote:
> Dear, 
> 
> I have the following part of a build file :
> 
>     <path id="build.path"> 
>       <pathelement location="${lib.dir}/jfreechart-1.0.0-rc1.jar"/>
>       <pathelement location="${lib.dir}/gnujaxp.jar"/>
>       <pathelement location="${lib.dir}/servlet.jar"/>
>       <pathelement location="${lib.dir}/jfreechart-1.0.0-rc1.jar"/>
>     </path> 
> 
>     <target name="compile" description="--> description">
>      <javac destdir="${build.dir}" >     
>       <src dir="${src.dir}" />      
>       <src dir="${test-src.dir}" />      
>       <classpath refid="build.path" />
>      </javac> 
>     </target>
> 
> But when I run it, I get :
> The <path> type doesn't support the "dir" attribute.
> 
> \T,
> 
> Any fool can write code that a computer can understand. 
> Good programmers write code that humans can understand.
>                                                    Martin Fowler 
> T. : +32 (0)2 742 05 94
> M. : +32 (0)497 44 68 12
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to