From: brett l. <bre...@gm...> - 2012-10-09 14:17:14
|
I don't have any objections to this. ---Brett. On Tue, Oct 9, 2012 at 9:13 AM, Stefan Frey <ste...@we...> wrote: > Brett and Erik: > in preparation of a rails2.0 alpha release (including webstart > hopefully), I want to change the directory layout of rails2.0. > > I already separated the test from the main code by introducing the two > main folders src/ and junit/. > > * The next step is to move to a structure which is similar to maven > (even if we keep ant as our build tool I think the directory structure > is not worse than any other and it makes it easier to move to maven if > we want to do so) > > The structure is the following: > > http://maven.apache.org/guides/introduction/introduction-to-the-standard-directory-layout.html > > * The other thing I want to fix is the standard Java directory layout in > which the namespace is mirrored by directories: I propose to change > rails/ into net/sf/rails. > > Combined the changes will be: > > A) Move code from src/rails to src/main/java/net/sf/rails > B) Move files from src/tiles and src/data to src/main/resources/... > C) Move jars in lib from src/lib to src/main/resources/... > D) Move code from junit/rails to src/test/java/net/sf/rails > E) Move code from src/test to src/test/java/net/sf/rails/test > F) Move files from src/test/data to src/test/resources/... > G) Keep readme and other files at top-level directory > > I would also add a basic pom.xml at the top-level directory. > > Any objections to that? > > I know that it might not so easy to navigate around (at least on the > command line), but it is close to the standards. > > Stefan > > > > ------------------------------------------------------------------------------ > Don't let slow site performance ruin your business. Deploy New Relic APM > Deploy New Relic app performance management and know exactly > what is happening inside your Ruby, Python, PHP, Java, and .NET app > Try New Relic at no cost today and get our sweet Data Nerd shirt too! > http://p.sf.net/sfu/newrelic-dev2dev > _______________________________________________ > Rails-devel mailing list > Rai...@li... > https://lists.sourceforge.net/lists/listinfo/rails-devel |