--- "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