ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Ashton <mash...@Novarra.com>
Subject RE: com/sun/tools/Constants missing?
Date Wed, 20 Jun 2001 22:14:03 GMT
I'm not familiar with that usage of jar, but when I do the following, I
clearly have the class:

$ jar -tf tools.jar | grep Constants
sun/tools/agent/AgentConstants.class
sun/tools/agent/StepConstants.class
sun/tools/java/Constants.class
sun/tools/java/RuntimeConstants.class
sun/rmi/rmic/Constants.class
sun/rmi/rmic/iiop/Constants.class
sun/rmi/rmic/RMIConstants.class
com/sun/tools/example/debug/expr/ExpressionParserConstants.class

-----Original Message-----
From: Brett Knights [mailto:brett@knightsofthenet.com]
Sent: Wednesday, June 20, 2001 5:10 PM
To: ant-user@jakarta.apache.org
Subject: RE: com/sun/tools/Constants missing?


I have jdk 1.3.1 and don't have that class (or package) anywhere.

try 
jar -tf tools.jar com\sun\tools\Constants

or 
jar -tf tools.jar com\sun\tools\Constants.class

neither returns anything here.

HTH

> -----Original Message-----
> From: Mark Ashton [mailto:mashton@Novarra.com]
> Sent: Wednesday, June 20, 2001 2:41 PM
> To: 'ant-user@jakarta.apache.org'
> Subject: RE: com/sun/tools/Constants missing?
> 
> 
> I don't understand what you mean by clearing the classpath. 
> If you mean to
> unset the environment variable, we've tried that and it doesn't work.
> 
> It's clearly an environment problem, but I'm stumped as to what could
> possibly cause it.
> 
> -----Original Message-----
> From: babramo@uswest.com [mailto:babramo@uswest.com]
> Sent: Wednesday, June 20, 2001 3:22 PM
> To: ant-user@jakarta.apache.org
> Subject: RE: com/sun/tools/Constants missing?
> 
> 
> sounds more like environment issue with her machine, since it 
> is working on
> yours
> can you clear class path before you run the ant?
> 
> -----Original Message-----
> From: Mark Ashton [mailto:mashton@Novarra.com]
> Sent: Wednesday, June 20, 2001 2:50 PM
> To: 'ant-user@jakarta.apache.org'
> Subject: com/sun/tools/Constants missing?
> 
> 
> I've got a person at our site who is trying to use ant, and 
> gets a message
> saying that the com/sun/tools/Constants class can't be found. 
> The stack
> trace shows that this is propagating from an rmic task. No 
> one else has this
> problem. She has tools.jar installed in her jdk1.3/lib 
> directory, and we've
> even tried putting it explicitly in her classpath. Any ideas?
> 

Mime
View raw message