javatoolkit: new project layout

Alistair Bush <[email protected]>
Newsgroups gmane.linux.gentoo.java
Message-ID <[email protected]>
This email is to garner some discussion on my new project layout for
javatoolkit.

** Background **
Currently, javatoolkit installs *.py[c] files into /usr/share this is
actually against policy.  So after looking at the current javatoolkit
project layout, which is a collection of separate sub-projects, I
decided to branch and cleanup javatoolkit.

** New Project Layout **

"Root" contains the normal collection of files (AUTHORS, CHANGELOG,
README, ETC).  There are now no sub-project equivalents of these files

There are (or will be) the following directories

src/
src/py (python files, xml-rewrite-3.py, class-version-verify.py, etc,etc)
src/py/javatoolkit (all python classes located somewhere in this module)
src/java (java source)
src/man (man pages)
test/

currently (seeing that there is only python stuff) the root directory
contains a python setup.py file to do the install work.

** Current State **

At the moment the layout is pretty much complete.  I have had to split
some files to remove their classes into separate files (to stop pyc and
pyo files being located in /usr/bin) and I have not tested those yet.
Also I have ignored the files that seem to currently play no part in a
normal install (bsfix contains 1 java file for example, tho we don't
install it).  There also seem to be some bsfix test cases, which I
haven't migrated, yet.

All old projects are located in src/obsolete so I can finish that off
latter. This will be deleted.

You can browse the repo here
http://overlays.gentoo.org/proj/java/browser/projects/javatoolkit/branches/layout_refactor_branch

and there is a svn ebuild in java-exp (not keyworded)

Anyway, anyone have any problems, ideas etc etc

Thanks

Alistair
-- 
[email protected] mailing list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.