ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan.Mate...@rzf.fin-nrw.de
Subject RE: Multiple source paths for javac
Date Fri, 20 Feb 2004 16:06:52 GMT
<javac>
    <src/>
    <src/>
</javac>

like the manual sais ...


Jan

> -----Original Message-----
> From: Matt Benson [mailto:gudnabrsam@yahoo.com]
> Sent: Friday, February 20, 2004 5:06 PM
> To: Ant Users List
> Subject: Re: Multiple source paths for javac
> 
> 
> --- "Digambar, Shaligram  (Consultant)"
> <Shaligram.Digambar@GTECH.COM> 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: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message