Re: How to reference a custom type via refid?

2011-03-17 Thread Dominique Devienne
On Thu, Mar 17, 2011 at 3:12 AM, Antoine Levy-Lambert wrote: > You may want to override this default method to do some extra checks, > for instance to throw exceptions if the build file writer uses both refid > and other attributes or nested elements. Indeed. I've always thought this is one of th

Re: error while using project helper

2011-03-17 Thread lindy512
Hi, seems this is an old issue here. It also occured to me from cmd .While it's ok from eclipse and hudson. I changed it to be ,and it works for me . thanks for your note. -- View this message in context: http://ant.1045680.n5.nabble.com/error-while-using-project-helper-tp1341859p3869623.html S

Re: How to reference a custom type via refid?

2011-03-17 Thread Antoine Levy-Lambert
On 3/16/11 2:09 PM, Carlton Brown wrote: > In a custom type, if I want to define it and reference it later, what's the > Java code to do that? > > this is probably what you want to write > > > > > > > The MyType class extends org.apache.tools.ant.types.DataType and it has a >