ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nino Walker <>
Subject Runtime defined datatypes help.
Date Mon, 22 Apr 2002 16:54:03 GMT

I've been trying to use <typedef> to define type at runtime, but, it seems,
I can't declare an instance of the type. The type is registered w/ the
project, but Ant's UnknownElement barfs when it tries to handle the
<srcrule> tag.

My build file looks something like this:

<typedef name="srcrule" classname="...SomeSrcRuleImpl">
   <classpath ... />

<srcrule id="my.srcrule" aproperty="value" />
     <outputrule refId="my.srcrule" />

Is there something patently wrong with this?  It's not a classpath issue, as
the type is loaded...  

Help is greatly appreciated,



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