ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ylan Segal" <y...@digiworks.tv>
Subject RE: javac task
Date Mon, 11 Mar 2002 17:38:07 GMT

> 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:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message