<javac>
    <src/>
    <src/>
</javac>

like the manual sais ...


Jan

> -----Original Message-----
> From: Matt Benson [mailto:[EMAIL PROTECTED]
> Sent: Friday, February 20, 2004 5:06 PM
> To: Ant Users List
> Subject: Re: Multiple source paths for javac
> 
> 
> --- "Digambar, Shaligram  (Consultant)"
> <[EMAIL PROTECTED]> wrote:
> > I have a javac task that looks like
> > <javac destdir="builddir"
> > srcdir="buildroot/${srcPath}"> 
> > where I have defined srcPath in properties file as
> > srcPath=src/folder1:src/folder2
> 
> > want. I want the the srcdir path as
> > "buildroot/src/folder1:buildroot/src/folder2" etc -
> > (note the path for
> > folder2).
> > 
> > How do I achive this?
> 
> First, I would try
> <javac destdir="builddir" srcdir="${srcPath}">
>   ...
> </javac> 
> 
> if that doesn't work, this--
> 
> <pathconvert property="expanded.srcPath"
>              targetos="unix">
>   <path id="src.path">
>     <pathelement path="${srcPath}" />
>   </path>
> </pathconvert>
> 
> <javac destdir="builddir" 
>        srcdir="${expanded.srcPath}">
>   ...
> </javac> 
> 
> --should.
> 
> -Matt
> 
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail SpamGuard - Read only the mail you want.
> http://antispam.yahoo.com/tools
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

Reply via email to