ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Irfan Niaz" <in...@kelaroo.com>
Subject Duplicate class problem : Conor MacNeill
Date Wed, 01 May 2002 22:52:46 GMT
Thanks for your reply. 

The classes in source directory are not duplicated. 

I am using 
java -Dant.home=c:\javaetc\ant\jakarta-ant-1.4.1
org.apache.tools.ant.Main -buildfile build.xml

Message
compileMol:
    [javac] Compiling 93 source files to C:\MOL\build\WEB-INF\classes
    [javac] C:\MOL\src_v1.1\java\com\koo\mol\user\UserSettings.java:12:
duplicate class: java.com.koo.molio.user.UserSettings
    [javac] public class UserSettings {
    [javac]        ^

For sure there is only once instance of UserSettings.java

Package and source settings looks goods

Regards,
Irfan

-----Original Message-----
From: Conor MacNeill [mailto:conor@cortexebusiness.com.au] 
Sent: Wednesday, May 01, 2002 3:48 PM
To: Ant Users List
Subject: Re: 1.5 Release

Irfan Niaz wrote:

> Hi, 
> 
> On Build using Ant I am getting DUPLICATE CLASS error while I only
have
> one copy of the class.
> 
> Any clues?
> Regards,
> Irfan
> 


Um, what has this to do with the 1.5 release? Are you too lazy to create
a new 
message with an appropriate subject? While you are at it you could
actually 
provide some information about your error.

1. How is your <javac> setup?
2. What is reporting the error and what exactly does it say?
3. A -debug output of the compile run would be good.

Have you checked your source? Could the problem be there? Many non-ant
problems 
can cause this behaviour (case of Java filename, incorrect package defs,
etc).

Conor




--
To unsubscribe, e-mail:
<mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:ant-user-help@jakarta.apache.org>


--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message