ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: problem with include
Date Thu, 23 Nov 2000 10:06:23 GMT
Robert Davies <> wrote:

> I am having a problem with including files with the build. It does
> not include them when compileing. It's probably a silly mistake like
> looking in the wrong path but I can't figure it out.

> The directory I am in is ~/triana/src/triana, the file I want
> to include is ~/triana/toolboxes/Common/Logic/src/ Thanks
> for any help. The build file is below :

> <javac srcdir="util:gui:toolkit:types:image:audio:ocl"
>        destdir="../../classes" deprecation="on" optimize="on" > 
>   <include name="../../toolboxes/Common/Logic/src/" />
>   <exclude name="tmp/**" /> 
> </javac>

You can't include things that are outside the base directory of a
given task. In your case you need to add something above
~/triana/toolboxes/Common/Logic/src/ to the src attribute
(which one, depends on the package lives in).

For example

<javac srcdir="util:gui:toolkit:types:image:audio:ocl:../../toolboxes/Common/Logic/src/"
       destdir="../../classes" deprecation="on" optimize="on" > 
  <include name="" />
  <exclude name="tmp/**" /> 


View raw message