ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Irfan Niaz" <>
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 -buildfile build.xml

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

For sure there is only once instance of

Package and source settings looks goods


-----Original Message-----
From: Conor MacNeill [] 
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
> 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
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
can cause this behaviour (case of Java filename, incorrect package defs,


To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message