top-level class directories should all be put under jnode/src

Project:JNode All
Component:Miscellaneous
Category:bug report
Priority:normal
Assigned:Unassigned
Status:by design
Description

Every other Java project I have worked with uses a top-level src/ directory, under which go all the Java sources and their subdirectory hierarchies. Right now there are top-level fs/, net/ and a few other directories, all with the standard src/ directory underneath them. This makes the Eclipse importer come up with over 40 top-level entries in the package explorer for Java classes, when there should only be one....

#1

You have not proposed any significant technical reason why JNode should follow the convention of other Java projects by having a single top-level src directory.

Without a strong technical reason for making such a change, the prime counter-reason should (and will) prevail. There are more important and useful things for the core developers to spend their time on. (I can think of other good counter-reasons too, but they are moot.)

#2

I'm agree with Stephen. Each top level directory in jnode is a sub-project by itself so there is no reason (for the moment) to change that.

#3

I'm afraid I don't understand.

First off, I don't see what makes those eight or so directories "subprojects". Are they designed for separate distribution outside of the JNode project?

If every one of those eight or so directories is a separate entity, why do I see those 40+ separate class hierarchies when I import JNode into an Eclipse project? I have worked with a lot of Java projects, and every single one of them uses one single top-level src/ directory for the source hierarchy. Isn't everything in JNode's sourcebase under a jnode.* class hierarchy?

I'm not trying to be argumentative for no reason, I just want to understand....

Jon

#4

Status:active» by design

You should see these subprojects as a high level separation of sourcebase.

Documentation :

  • docs

Sources to build JNode :

  • all
  • builder

Applications for JNode :

  • distr

Architectural layers of JNode :

  • core
  • cli
  • fs
  • gui
  • net
  • shell
  • sound
  • textui

I set the status 'by design' because it's about the structure of the sourcebase.