ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carlton Brown <>
Subject How to reference a custom type via refid?
Date Wed, 16 Mar 2011 18:09:13 GMT
In a custom type, if I want to define it and reference it later, what's the
Java code to do that?

<my:type refid="foo" name="alpha"/>

    <my:type name="omega">
      <my:type refid="foo"/>

The MyType class extends and it has a
method addConfigured(MyType).  But the above sample code creates a new
my:type instance, it does not seem to dereference to foo.

I read the docs but I didn't recognize anything that explains this.

Thanks in advance,


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