Peter Donald wrote:



They are included by <src/> element?


No. They are not included by Ant at all. Only the compiler includes them

The compile list is generated by the application of include and exclude patterns over the source paths (the srcDir and <src> elements). The following <exclude> elements
<exclude name="org/apache/avalon/excalibur/datasource/AbstractJdbcConnection.java"/>
<exclude name="org/apache/avalon/excalibur/datasource/JdbcConnection.java"/>
mean these classes are not in the compile list. The classes are compiled because other classes in the compile list depend on them, which causes the compiler to search the source path. It is at this point that the order of elements in the source path becomes important. The fact that two copies of the Java file exist in the available source paths means you need to rely on the order.


It is this reliance on ordering that is a hack, but you don't seem to agree.



In fact if they
were in the compile list it wouldn't work because javac would be given
two Java files for the same class. Don't you think it is odd that even
though the build just went to some trouble to filter these files it
specifically excludes them from compilation?



no seems fine to me.



Cool. Have you tried building it with myrmidon?

Conor





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



Reply via email to