On Sat, May 25, 2002 at 01:37:52PM +0100, Vincent Massol wrote: > Anyway I find it a bit weird that we define the source directories in 2 > places : > > - once in the POM > - and another time in the maven.src.dir property > > Any reason for that ?
The reason that maven.src.dir exists is because not all Ant tasks can utilize Ant path references. The maven.src.set path reference is created from the list of directories that are specified in the POM. Ant tasks that do not support the use of path references need to be passed a single directory to operate on, thus maven.src.dir should be the top-most common directory of the ones specified in the POM. I think we should limit the source directories in the POM to a single directory only (this was done for the unit test and iutest test source directories already) as it just makes life much easier in general. Linking between the outputs of these various Ant tasks would also be much easier. Just my two cents. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
