If you have a classpath set, remove it. Let Ant set the classpath for you.
Be sure JAVA_HOME is set properly. The only tools.jar file I have is
C:\j2sdk1.4.1_05\lib\tools.jar, I don't have a classpath env var set and it
works just fine for me.

HTH Bill 

-----Original Message-----
From: Rich Harris [mailto:[EMAIL PROTECTED] 
Sent: Friday, July 15, 2005 12:50 PM
To: Ant Users List
Subject: RE: native2ascii / ANT 1.6.5

Hmm...well...tools.jar was in my classpath. It didn't work so I even
manually copied into ANT_HOME/lib and it still didn't pick it up.
Bummer.

-R 


_____________________________________
Rich Harris
Release/Configuration Engineer
[EMAIL PROTECTED]
650-616-6866 
 
Shopping.com(tm), Inc.
Find. Compare. Buy.
www.shopping.com


-----Original Message-----
From: Stefan Bodewig [mailto:[EMAIL PROTECTED]
Sent: Friday, July 15, 2005 12:09 AM
To: user@ant.apache.org
Subject: Re: native2ascii / ANT 1.6.5

On Thu, 14 Jul 2005, Rich Harris <[EMAIL PROTECTED]> wrote:

> "Could not create task or type of type: native2ascii.
> 
> Ant could not find the task or a class this task relies upon."

If you run ant with -verbose it should give you information on which class
it fails to find.

Does Ant find tools.jar?  It will need it for SunNative2Ascii.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED] For additional
commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED] For additional
commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to