ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevin Toomey <toome...@yahoo.com>
Subject Re: Problem with javac task using -sourcepath
Date Thu, 06 Jul 2000 18:09:28 GMT
Thanks Pete;

Next time I'll read *all* the docy, not just the parts
I think are pertinent.

Kevin
--- Peter Donald <donaldp@mad.scientist.com> wrote:
> 
> Try:
> 
> <?xml version="1.0"?>
> 
> <project name="foo" default="all" base="/test">
>   <target name="init">
>     <property name="in" value="${base}/java" />
>     <property name="out" value="${base}/classes" />
>   </target>
>   <target name="all" depends="init"> 
>     <!-- changed to -->
>     <javac srcdir="${in}" destdir="${out}"
> includes="testa/**" />
>     <!-- or -->
>     <javac srcdir="${in}" destdir="${out}">
> 	<include name="testa/**" />
>     </javac>
>     <!-- or -->
>     <javac srcdir="${in}" destdir="${out}">
> 	<exclude name="testb/**" />
>     </javac>
> 
>   </target>
> </project>
> 
> >Am I missing something?
> 
> No. Everyone seems to fall for that (or at least a
> lot of traffic ion list
> is gernearated for it. So you are not alone :P
> Cheers,
> 
> Pete
> 
>
*------------------------------------------------------*
> | "Nearly all men can stand adversity, but if you
> want |
> | to test a man's character, give him power."       
>   |
> |       -Abraham Lincoln                            
>   |
>
*------------------------------------------------------*


__________________________________________________
Do You Yahoo!?
Send instant messages & get email alerts with Yahoo! Messenger.
http://im.yahoo.com/

Mime
View raw message