Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #24623
| Newsgroups | comp.lang.java.programmer |
|---|---|
| Date | 2013-07-04 11:26 -0700 |
| References | <kqssv3$dfm$1@speranza.aioe.org> <kquqfj$38p$1@speranza.aioe.org> <kr2q7l$fdd$1@dont-email.me> <51D5A431.4060001@fastmail.fm> |
| Message-ID | <b2a53ddf-167e-43fb-b96c-5b9382fe7df5@googlegroups.com> (permalink) |
| Subject | Re: Package naming, disk organization |
| From | Lew <lewbloch@gmail.com> |
Dave wrote: > This is the one thing (so far) that I really don't like about Java. The > > Oracle assumes that developers are corporations with web sites. The You have been disabused of this notion by several in this thread. Are you paying attention to the responses? > reality is that some are learning a new language, or developing software > for others, etc. So, the package name/path needs to reflect this > diversity. By the way, the idea for a source and a class path is Okay. > discussed by the Oracle at: > http://docs.oracle.com/javase/tutorial/java/package/managingfiles.html > > I should also point out that I'm a tad old[-]fashion[ed] (I guess) because I Why the colorful characterization? > use an editor and command line. I do plan to go to an IDE - once I'm Does "command line" for you include tools like Ant and Gradle? > told which one everyone wants to use. I recommend you use the one you want to use. Don't be a sheep. There are three commonly recommended, NetBeans, Eclipse and IntelliJ. It makes no difference to anyone else which one you prefer, or if you prefer none. > Ok, back to the subject. I want to obey the conventions, but not box > myself in or create future problems. So how about: Three things, divergent. You "obey" conventions (the correct term is "follow") in order to facilitate social integration. It was ever thus. Conventions are not strait jackets. Programmers are logical. Use what works. > * domain (used for general Java development for now): dboland > > * source: home/user/javadev/dboland/proj_name/src > > * classes: home/user/javadev/dboland/proj_name/classes There are several conventions for the output of the compiler and other build steps. Raw "classes" isn't really one of them. The IDEs and many projects use "build/" or "bin/", and beneath that, "classes/". The reason is that there are many artifacts, not just classes. There is ample material online as to what is a good project structure. I strongly suggest you look those up and follow them. > // I don't get the need for build/classes. So you ignore it without investigation? Tsk. You will have great difficulties in your programming life. In this case you made the wrong decision for a large number of real-world scenarios. Find out why, and under what circumstances your choice is appropriate, and under which not. > * CLASSPATH: home/user/javadev/dboland Nope. That will not work. Classpath is the root of the *class* hierarchy, which you already specified to be your "classes/" subdirectory. Study the docs. > Comments? RTFM more. -- Lew
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Package naming, disk organization Dave <dboland9@fastmail.fm> - 2013-07-01 17:39 -0400
Re: Package naming, disk organization markspace <markspace@nospam.nospam> - 2013-07-01 15:22 -0700
Re: Package naming, disk organization Martin Gregorie <martin@address-in-sig.invalid> - 2013-07-01 23:56 +0000
Re: Package naming, disk organization Roedy Green <see_website@mindprod.com.invalid> - 2013-07-01 15:35 -0700
Re: Package naming, disk organization Roedy Green <see_website@mindprod.com.invalid> - 2013-07-01 15:36 -0700
Re: Package naming, disk organization Lew <lewbloch@gmail.com> - 2013-07-01 17:22 -0700
Re: Package naming, disk organization Jukka Lahtinen <jtfjdehf@hotmail.com.invalid> - 2013-07-02 18:51 +0300
Re: Package naming, disk organization Arved Sandstrom <asandstrom2@eastlink.ca> - 2013-07-18 23:50 -0300
Re: Package naming, disk organization Eric Sosman <esosman@comcast-dot-net.invalid> - 2013-07-01 21:30 -0400
Re: Package naming, disk organization markspace <markspace@nospam.nospam> - 2013-07-01 18:43 -0700
Re: Package naming, disk organization Dave <dboland9@fastmail.fm> - 2013-07-02 11:09 -0400
Re: Package naming, disk organization Arne Vajhøj <arne@vajhoej.dk> - 2013-07-03 22:53 -0400
Re: Package naming, disk organization markspace <markspace@nospam.nospam> - 2013-07-03 20:35 -0700
Re: Package naming, disk organization Dave <dboland9@fastmail.fm> - 2013-07-04 12:34 -0400
Re: Package naming, disk organization Jukka Lahtinen <jtfjdehf@hotmail.com.invalid> - 2013-07-04 20:08 +0300
Re: Package naming, disk organization lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-07-04 18:24 +0100
Re: Package naming, disk organization Lew <lewbloch@gmail.com> - 2013-07-04 11:26 -0700
Re: Package naming, disk organization Arne Vajhøj <arne@vajhoej.dk> - 2013-07-04 15:42 -0400
Re: Package naming, disk organization Martin Gregorie <martin@address-in-sig.invalid> - 2013-07-04 20:40 +0000
Re: Package naming, disk organization Lew <lewbloch@gmail.com> - 2013-07-04 14:01 -0700
Re: Package naming, disk organization Arne Vajhøj <arne@vajhoej.dk> - 2013-07-04 17:06 -0400
Re: Package naming, disk organization Arne Vajhøj <arne@vajhoej.dk> - 2013-07-04 15:39 -0400
csiph-web