On Fri, Sep 26, 2008 at 6:32 AM, Brett Porter <[EMAIL PROTECTED]> wrote: >> 1. Typical Maven single-module structure, single pom with separate >> source trees for code and tests. >> >> 2. Typical Maven multi-module structure, parent pom with modules, >> subdirectories for modules, each module containing source and tests as >> in 1. > > are these the src/main/csharp | src/test/csharp (or other language) > equivalents?
Yes. >> 3. Visual Studio flat structure with .sln, .csproj and source code all >> in the same directory. Source code is not typically put in a >> subdirectory under the module, but it might be. If present, NUnit test >> code should be in a directory named "Tests", which is not packaged in >> the main artifact. See note below about "nested" projects. The "flat" >> structure is only supported as a single project with no sub-modules. >> >> 4. Visual Studio multi-module solution with a parent pom containing >> modules, then a subdirectory for each module, which equates to a VS >> "project". The .sln file sits beside the parent pom, and each >> subdirectory contains a .csproj, pom.xml and source code. Source code >> is not typically put in a subdirectory under the module, but it might >> be. NUnit test code may be within each module in a directory named >> "Tests", or it may be in a separate module. > > +1 > > Given this is probably the near-ubiquitous set up, should these be the > default, and (1) and (2) be supported? (as would any configuration of > alternate source / test paths, really - like in Java). From what I've seen > of trunk this seems to be the case already there. What is the convention on trunk exactly? Does it want a directory for the source code, or is it fine if source is in the same directory as the pom and .csproj file (the VS default)? It would be good to change the archetypes to match the convention if that hasn't already been done. On the branch I believe dotnet-simple has src/main/csharp. -- Wendy
