ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeffrey E Care <>
Subject Re: look up property value inside custom condition...
Date Thu, 13 Oct 2005 16:13:29 GMT
IIRC so long as your condition impl. class extends form 
oata.ProjectComponent you can get a handle to the project. One way to do 
this would be to extend oata.taskdefs.condition.ConditionBase

Jeffrey E. Care (
WebSphere v7 Release Engineer
WebSphere Build Tooling Lead (Project Mantis)

Brian Kuhn <> wrote on 10/13/2005 11:59:39 AM:

> Hi all,
> I'm writing a custom condition that needs to get the value of a property 
> the project. How do I get a reference to the project from a condition? 
In a
> custom task, I would call this.getProject().getProperty("foo"). Since
> condition is an interface, I have no such option.
> Thanks,
> Brian

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