1 |
This email is to garner some discussion on my new project layout for |
2 |
javatoolkit. |
3 |
|
4 |
** Background ** |
5 |
Currently, javatoolkit installs *.py[c] files into /usr/share this is |
6 |
actually against policy. So after looking at the current javatoolkit |
7 |
project layout, which is a collection of separate sub-projects, I |
8 |
decided to branch and cleanup javatoolkit. |
9 |
|
10 |
** New Project Layout ** |
11 |
|
12 |
"Root" contains the normal collection of files (AUTHORS, CHANGELOG, |
13 |
README, ETC). There are now no sub-project equivalents of these files |
14 |
|
15 |
There are (or will be) the following directories |
16 |
|
17 |
src/ |
18 |
src/py (python files, xml-rewrite-3.py, class-version-verify.py, etc,etc) |
19 |
src/py/javatoolkit (all python classes located somewhere in this module) |
20 |
src/java (java source) |
21 |
src/man (man pages) |
22 |
test/ |
23 |
|
24 |
currently (seeing that there is only python stuff) the root directory |
25 |
contains a python setup.py file to do the install work. |
26 |
|
27 |
** Current State ** |
28 |
|
29 |
At the moment the layout is pretty much complete. I have had to split |
30 |
some files to remove their classes into separate files (to stop pyc and |
31 |
pyo files being located in /usr/bin) and I have not tested those yet. |
32 |
Also I have ignored the files that seem to currently play no part in a |
33 |
normal install (bsfix contains 1 java file for example, tho we don't |
34 |
install it). There also seem to be some bsfix test cases, which I |
35 |
haven't migrated, yet. |
36 |
|
37 |
All old projects are located in src/obsolete so I can finish that off |
38 |
latter. This will be deleted. |
39 |
|
40 |
You can browse the repo here |
41 |
http://overlays.gentoo.org/proj/java/browser/projects/javatoolkit/branches/layout_refactor_branch |
42 |
|
43 |
and there is a svn ebuild in java-exp (not keyworded) |
44 |
|
45 |
Anyway, anyone have any problems, ideas etc etc |
46 |
|
47 |
Thanks |
48 |
|
49 |
Alistair |
50 |
-- |
51 |
gentoo-java@g.o mailing list |