ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeroen Breedveld" <jero...@x-hive.com>
Subject RE: Problem with typedefs
Date Thu, 05 Dec 2002 11:19:12 GMT
Hi Dominique, 

 | -----Original Message-----
 | From: Dominique Devienne [mailto:DDevienne@lgc.com]
 | Sent: woensdag 4 december 2002 17:51
 | To: 'Ant Users List'
 | Cc: Ant Developers List
 | Subject: RE: Problem with typedefs
 | 
 | 
 | Object o = r.getReferencedObject(getProject());
 | // we only support references to paths right now
 | if (!(o instanceof Path)) {
 |   String msg = r.getRefId() + " doesn\'t denote a path";
 |   throw new BuildException(msg);
 | }

Looking at this code I realize that the problem probably is that my
assumption that the superclass takes care of all the magic is wrong. I
will look more deeply into the code of the Path class and report back if
I still can't solve it or run into other problems...

 | I'm assuming you added the add/createDatabase methods to 
 | your classes.
 | 
 | I hope this helps. 

Thanks again and regards,

Jeroen Breedveld
--

X-Hive Corporation
e-mail: jeroenb@x-hive.com
phone: +31 10 7108622
http://www.x-hive.com

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message