As part of the GSoC2008 I'm developing a new tool for Harmony: policytool
My mentors are Sian January and Mark Hindess, probably they will handle this patch.
This initial patch contains the first files of policytool.
I checked out a part of Harmony project from the SVN repository from here:
Inside this I went into the modules/samsa folder, and added a new entry in the build.xml so a new policytool.exe will be generated in the bin folder of the JDK/JRE.
I put the files of policytool in a new package: org.apache.harmony.tools.policytool
I created a Main.java file as needed for all tools which is the entry point of policytool.
Much needs to be done until policytool can be used, but the version contained the attached patch can be built and can be run.
If we start it, it's main frame will appear with a menubar and a tabbed pane with 2 tabs: the 2 editor panels. The first one will be the graphical editor panel which is yet to be implemented. The second panel is the direct text editing which is basically done. We can use a text area to edit the policy text and we can save it using the appropriate menu items. We can load existing files.
During the development process I keep it important that the sources must be very easily readable and well documented. For that I use rather small, understandable classes and I write javadoc for all entity: to all classes, attributes, methods, method params, return values etc.
I'm just about to continue coding but wanted to submit a patch as soon as possible.