ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sunil Peter Maliyakkal <...@condat.de>
Subject AW: Ambigous name error
Date Thu, 26 Apr 2001 12:54:42 GMT
No. The fact is that I dont have any class with the name de
anywhere and Ant functions well when I do a cleanAll. 
The java souces are copied from the ClearCase View to 
my D: drive (I use NT) and they are complied to avoid any
private files hanging in the ClearCase View.  I tried a diff
between the file in the ClearCase and on the D: drive. They 
are absolutely identical. 
 
Its is not desired to always call a cleanAll. And that is my problem
 
Sunil

-----Urspr√ľngliche Nachricht-----
Von: Aarti Chandnani [mailto:Aarti.Chandnani@XUMA.com]
Gesendet am: Mittwoch, 25. April 2001 19:54
An: 'ant-user@jakarta.apache.org'
Betreff: RE: Ambigous name error


Probably there is a class named "de" somewhere and it is in ur classpath. 
Thus in the import statement it gives you that error. 
Check your classpath and put only the files u need in your classpath. 


-----Original Message----- 
From: Sunil Peter Maliyakkal [ mailto:spm@condat.de <mailto:spm@condat.de> ]

Sent: Wednesday, April 25, 2001 9:06 AM 
To: 'ant-user@jakarta.apache.org' 
Subject: Ambigous name error 


Hello 
I am using Ant and ClearCase. I use Ant to copy my Java files to 
drive D:\home and use it to build my files. I always get the following 
error message when I start the build. 
Can anybody tell me where I might be wrong ? 

Thanks 
Sunil 

Error Message:---- 

[javac] 
D:\home\spm\build\camo\br_camo_ap3\src\de\condat\camo\ejb\base\service\lectu

rer\impl\LectSessionBean.java:11: 
Ambiguous name: de is both a class and a package. 
    [javac] import de.condat.camo.ejb.ccm.business.course.*; 
    [javac]        ^ 
[javac] 
D:\home\spm\build\camo\br_camo_ap3\src\de\condat\camo\ejb\base\service\lectu

rer\impl\LectSessionBean.java:12: 
Ambiguous name: de is both a class and a package. 


Mime
View raw message