Bug 46171 - Define standard directory layout
Summary: Define standard directory layout
Status: NEW
Alias: None
Product: Ant
Classification: Unclassified
Component: Core (show other bugs)
Version: 1.8.2
Hardware: PC All
: P2 enhancement (vote)
Target Milestone: ---
Assignee: Ant Notifications List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-09 06:23 UTC by Grzegorz Borkowski
Modified: 2010-12-27 11:13 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Grzegorz Borkowski 2008-11-09 06:23:25 UTC
One of the best things I like in Maven is that every maven project I touch has the same directory structure. I immediately know where to look for java sources, web resources, test files etc. 
On the contrary, I hate Ant-based projects, because virtually every such project uses its own directory structure. Every time I have to spend some time on understanding the layout of the sources.
Fortunately, recently I see that many Ant-based project, even if not using maven, adopt the maven standard directory layout, so it seams that this layout becomes slowly the de-facto standard. So why not apply this concept into Ant directly?
We can take the maven directory layout (even if it is not absolutely perfect,  introducing different one would be the worst thing we can do) and make it also default for Ant. This would mean, that for tasks like javac, jar, war, javadoc, one does no longer need to specify argument like srcdir, destdir itp (still can do it obviously to override default values)
See also http://maven.apache.org/guides/introduction/introduction-to-the-standard-directory-layout.html.