[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ant-user
Subject:    Re: use of 'includes' attribute in javac
From:       Peter Donald <peter () apache ! org>
Date:       2001-12-30 11:32:52
[Download RAW message or body]

On Sun, 30 Dec 2001 21:23, jfc100 wrote:
> whoops! Hang on - sorry, are you sure about the nested includes under
> the src tag?

Ooops - knew I would botch the syntax. The src is actually a "path-like" 
structure so you would have to do something like 


<javac  srcdir="${src.home}"
       destdir="/tmp/unwrap/boo"
       classpath="${classpath}"
       debug="on">
 <src>
   <fileset dir="~/dev/examples">
     <include name="org/jboss/docs/cmp/cd/bean/*.java"/>
     <include name="org/jboss/docs/cmp/cd/interfaces/*.java"/>
   </fileset>
 </src>
</javac>

-- 
Cheers,

Pete

---------------------------------------
Be nice to your friends. If it weren't 
for them, you'd be a complete stranger.
---------------------------------------

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic