Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!news.linkpendium.com!news.linkpendium.com!newsfeeds.ihug.co.nz!lust.ihug.co.nz!ihug.co.nz!not-for-mail From: Lawrence D'Oliveiro Newsgroups: comp.lang.java.programmer Subject: Death To Sub-Sub-Sub-Directories! Followup-To: comp.lang.java.programmer Date: Thu, 5 May 2011 02:31:23 +0000 (UTC) Organization: Geek Central Lines: 8 Message-ID: NNTP-Posting-Host: 118-92-95-246.dsl.dyn.ihug.co.nz Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8Bit X-Trace: lust.ihug.co.nz 1304562683 27572 118.92.95.246 (5 May 2011 02:31:23 GMT) X-Complaints-To: abuse@ihug.co.nz NNTP-Posting-Date: Thu, 5 May 2011 02:31:23 +0000 (UTC) User-Agent: Emacs 23 Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:3532 Google’s tool for creating an Android project insists on creating a subdirectory hierarchy corresponding to the package naming hierarchy. Thus, if you name your class “com.example.test_project.Main”, it will put Main.java inside the subdirectory src/com/example/test_project/. But it turns out no part of the build process depends on this: you can put all source files at the top level of your “src” subdirectory, and the project still builds just fine.