Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!mx05.eternal-september.org!.POSTED!not-for-mail From: markspace Newsgroups: comp.lang.java.programmer Subject: Re: Package naming, disk organization Date: Wed, 03 Jul 2013 20:35:29 -0700 Organization: A noiseless patient Spider Lines: 20 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Thu, 4 Jul 2013 03:29:58 +0000 (UTC) Injection-Info: mx05.eternal-september.org; posting-host="fba3415ba68d85d643935af2f52f0b4b"; logging-data="15789"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+USL74DhXWUHRBjVcNNiS7RlY3jhj9QD0=" User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130620 Thunderbird/17.0.7 In-Reply-To: Cancel-Lock: sha1:xTew4oyswu1QrC8Ihtsk/Y7mI0w= Xref: csiph.com comp.lang.java.programmer:24618 On 7/2/2013 8:09 AM, Dave wrote: > 2. For now, use foo.dboland. as the URL. The disk > organization would then be (Linux): > home/user/javadev/src/foo/dboland/ > home/user/javadev/class/foo/dboland/ > The class path will be: home/user/javadev/class > And the package specification will be: foo.dboland. I don't like "foo", too likely to collide with something. Use dboland as the top name, I think that's much better. I still don't like the split between src and class at the top level. It's weird, and as others have pointed out you'll fight most tools (IDEs, etc.) to do it this way. Easier is project_name/src and project_name/build/classes. Getting a domain name is the absolute least of your concerns.