ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthew Inger <ma...@sedonacorp.com>
Subject Re: custom task location ??
Date Tue, 14 Aug 2001 14:03:10 GMT
T Master wrote:

>*cough*
>taskdef supports the classpath attribute.
>
>*whistles and walks away quietly before anyone notices...*
>
>
>----- Original Message -----
>From: "T Master" <tmaster@iknowledgeinc.com>
>To: <ant-user@jakarta.apache.org>
>Sent: Monday, August 13, 2001 3:20 PM
>Subject: Re: custom task location ??
>


Bad idea.  As a general rule, you should not create classes in the 
default package
as some classloaders will barf at that.  Putting the class in a package 
will elminiate
the possibility of some classloader barfing at your task.

file in: my/package/myClass.java
--------------------------------------
package my.package;

public class myClass
{
...
}



-- 
Matt Inger (matt.inger@sedonacorp.com)
Sedona Corporation
455 S. Gulph Road, Suite 300
King of Prussia, PA 19406
(484) 679-2213
"Self-respect - the secure feeling that no one,
 as yet, is suspicious." -H.L. Mencken 




Mime
View raw message