Most projects use something like this: Code goes in
src/com/... Tests go in /src/test/func/... src/test/unit/... --- On Thu, 5/28/09, Hans Dockter <[email protected]> wrote: From: Hans Dockter <[email protected]> Subject: Re: [gradle-user] Is there an example for migrating a J2EE project from Ant to Gradle? To: [email protected] Date: Thursday, May 28, 2009, 9:29 AM On May 27, 2009, at 4:26 PM, Dean Schulze wrote: > > If conventions are so important I wish they would stick with the most widely > use conventions. (That's why they're called conventions.) > > I haven't seen a project where Java source code is put in src/main. It's > almost always in src/, sometimes src/java. If you use a just the src/ folder, where do you put your tests? And do you put your resources together with your code? And how do use different content for test resources compared to production resources with the same qualified name? We think those conventions make sense and _that_ is the reason why they are there. > > I'm not going to refactor existing projects just to conform to a build system > that is not even being used yet. You don't have to. Any of the layout's you have mentioned above are easily supported by Gradle. - Hans -- Hans Dockter Gradle Project Manager http://www.gradle.org --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
