Thanks for the suggestion.
I tried exactly that, and I get
'The <path> data type doesn't support the nested "present" element.'

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Thursday, December 30, 2004 5:02 PM
To: user@ant.apache.org
Subject: RE: Compiling against a shared code area


I didn't test this, but I think it should work; the manual says that <src>
acts as a fileset, so I would think you could use a selector...

<javac destdir="${dest}">
        <src dir="${local}"/>
        <src dir="${shared}">
                <present present="srconly" targetdir="${local}"/>
        </src>
</javac>

HTH

Kajsa Anderson

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to