On Fri, 2009-05-29 at 10:49 -0700, Dean Schulze wrote: > > I wouldn't consider Maven 2 to be the convention for anything. There > are very few people using Maven. I've never worked on a project that > uses Maven. I know of some projects that are thinking of using Maven, > but they have never gotten past the initial evaluation phase with > Maven.
Sentences 1, 3 and 4 are your view or experience and I am happy to
accept that. Sentence 2 however is making a claim that you have
presented no evidence to back up. My experience is very different and I
know a lot of projects that are using Maven, and in preference to Ant.
Can I suggest making sweeping generalizations based on inappropriate
premises is not the way to progress the debate.
>Ant (which is almost universally used at this point) has no problem
with a project
>structure like
>
> src/
> com/...
> test/func/...
> test/unit/...
>
> You just tell the <javac ...> command to exclude test/**/*.*
Indeed and exactly. With this directory structure you are having to
condition the search, you cannot rely simply on the directory structure.
By separating the source and test so they are disjoint, you can just use
the directory as the location and there is no need for any exclude or
include.
> It's good to hear the it is easy to re-configure or override the Java
plugin.
It is, hopefully you will give it a try. I think you will find most
things very easy to change. I suspect though that the above issue will
present you with some difficulties. Having overlapping sets for the
source and tests is not easy to handle with a pure convention-based
system -- which relies of directories being used to create disjoint
sets..
--
Russel.
=============================================================================
Dr Russel Winder Partner
xmpp: [email protected]
Concertant LLP t: +44 20 7585 2200, +44 20 7193 9203
41 Buckmaster Road, f: +44 8700 516 084 voip: sip:[email protected]
London SW11 1EN, UK m: +44 7770 465 077 skype: russel_winder
signature.asc
Description: This is a digitally signed message part
