> Lets say I have a build system laid out like this:
>
> top/
>      build.xml
>      foo/
>          a.java
>          b.java
>      bar/
>          a.java
>          c.java
>
Packages should be used in this case, to avoid your problem, which is two
classes having the exact name.
So, the complete name for the classes will be:
foo.a
bar.a

This would be the best solution IMHO, but it does require to implement
package naming conventions in all your classes (which should have been done
in the first place, if you ask me).

Read the sun tutorial on package names:
http://java.sun.com/docs/books/tutorial/java/interpack/packages.html

Cheers,

Ylan Segal.



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to