On Mon, 2003-02-24 at 18:40, Modha Kumar wrote:
> Errors
>
> compile:
> [javac] Compiling 25 source files to C:\fnol\build\classes
> [javac] C:\fnol\build\generate\com\xxx\cure\server\CommandServer.java:9: du
> plicate class: com.xxx.cure.server.CommandServer
Looks like the compiler is finding two copies of the same
class/interface definitions in the specified source path.
> <javac srcdir="${src.dir}"
> destdir="${build.classes.dir}"
> debug="on"
> deprecation="on"
> classpathref="build.path"
> optimize="off"
> includes="**/*.java">
> <src path="${src.dir}"/>
> <src path="${build.generate.dir}"/>
> </javac>
Firstly, why do you have both srcdir="${src.dir}" and <src
path="${src.dir}"/> ? At best it's redundant, at worst the files in the
directory would be seen twice.
Secondly, although you're now generating files into
${build.generate.dir} is there perhaps another copy in ${src.dir}
(either generated there previously, or an old version that was written
by hand)?
Andrew.
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user