Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 24115 invoked from network); 23 Apr 2002 02:11:37 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 23 Apr 2002 02:11:37 -0000 Received: (qmail 17351 invoked by uid 97); 23 Apr 2002 02:11:28 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 17320 invoked by uid 97); 23 Apr 2002 02:11:28 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 17309 invoked from network); 23 Apr 2002 02:11:27 -0000 Message-ID: <8A6F09AD8049134282148A453CB93B9A0160424D@roc-mail1.xelus.com> From: "Schaefer, Don" To: 'Ant Users List' Subject: RE: Runtime defined datatypes help. Date: Mon, 22 Apr 2002 22:10:26 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C1EA6C.08599260" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ------_=_NextPart_001_01C1EA6C.08599260 Content-Type: text/plain; charset="iso-8859-1" "typedef" does not appear to be working in ant 1.4.1 (See bug 4452). I found that "typedef" was fixed for ant 1.5. I had to modify the default.properties file in the types package manually for ant 1.4.1 to make my typedef visible to ant. I asked here for a workaround but none was posted. hth, don. -----Original Message----- From: Steve Loughran [mailto:steve_l@iseran.com] Sent: Monday, April 22, 2002 7:46 PM To: Ant Users List Subject: Re: Runtime defined datatypes help. ----- Original Message ----- From: "Nino Walker" To: Sent: Monday, April 22, 2002 9:54 AM Subject: Runtime defined datatypes help. > Hi, > > I've been trying to use 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 > tag. > > My build file looks something like this: > > > ... > > > > > > ... > > > > > > > > Is there something patently wrong with this? It's not a classpath issue, as > the type is loaded... try using it inside a target, rather than outside...I think you need to be running ant1.5 to use a new datatype outside a target -- To unsubscribe, e-mail: For additional commands, e-mail: ------_=_NextPart_001_01C1EA6C.08599260--