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:[EMAIL PROTECTED]] 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:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>