From ant-user-return-7083-apmail-jakarta-ant-user-archive=jakarta.apache.org@jakarta.apache.org Wed Apr 25 17:55:54 2001 Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@jakarta.apache.org Received: (qmail 78948 invoked by uid 500); 25 Apr 2001 17:55:54 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: ant-user@jakarta.apache.org Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 78927 invoked from network); 25 Apr 2001 17:55:54 -0000 Message-ID: From: Aarti Chandnani To: "'ant-user@jakarta.apache.org'" Subject: RE: Ambigous name error Date: Wed, 25 Apr 2001 10:54:21 -0700 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C0CDB0.C1C0CC70" X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C0CDB0.C1C0CC70 Content-Type: text/plain; charset="iso-8859-1" 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] 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. ------_=_NextPart_001_01C0CDB0.C1C0CC70 Content-Type: text/html; charset="iso-8859-1" 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]
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.

------_=_NextPart_001_01C0CDB0.C1C0CC70--