I disagree on that point, though there's obviously a lot of subjectivity here. In my opinion:
The current layout may be simple, but it isn't particularly elegant. The root of the project structure serves as a root for the project as a whole, with miscellaneous folders for things like examples, javadoc, etc., but also doubles as a root for Guice's core module. Additionally, all modules have src and test folders at the top level of their structure, despite those both being source folders that logically could be grouped together. The Maven layout, to me, is elegant in its logical structure: - Everything related to a single module is grouped together. - Logically related folders such as the two folders for sources (main and test) are grouped together. - Source folders are then divided by the type of files they contain as needed... while it's just an extra folder if you don't make use of this, it can be nice to separate resource files from Java files, and it's nice to not have to change the project layout to do so. I particularly like the way the core is treated as a module like any other, rather than having multiple directories related to it (lib, src, test) dropped in the project root with everything else there. I'm not going to argue that Guice should switch to Maven as the primary build system, but I felt the need to offer my opinion on the relative elegance of the structures. I'm also in agreement with the others on the benefits of a standardized project structure. Colin On Sat, Oct 9, 2010 at 8:34 PM, Dhanji R. Prasanna <[email protected]> wrote: > > > On Sun, Oct 10, 2010 at 3:31 AM, Mingfai <[email protected]> wrote: >> >> for sure Maven in theory "should" be able to handle different structure >> and Guice's developers could have their own preference, the maven's >> structure does have some advantages. Let's compare: >> src/... >> test/... >> >> with: >> >> core/src/main/java/... >> core/src/test/java/... >> > > Not to start a flame war here, but this comparison seems rather starkly to > point out the simplicity and elegance of our current layout. =) > > Also, I'm supporting mavenizing as an alternative for our users who are > familiar with maven, but it would be more difficult for me to make the > argument to replace Ant as the primary build system (that is another > discussion for another thread), which I am not proposing right now. > > Dhanji. > > -- > You received this message because you are subscribed to the Google Groups > "google-guice" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-guice%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-guice?hl=en. > -- You received this message because you are subscribed to the Google Groups "google-guice" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-guice?hl=en.
