opengrok
opengrok copied to clipboard
use Path for {source,data,include}Root
The properties in Configuration pointing to various roots can be defined as Path objects which they really are.
The questions is what this will do in terms of serialization of the Configuration.
When I tried to use Path it seemed that XMLEncoder ignored the property when serializing (java.lang.InstantiationException: sun.nio.fs.UnixPath). I think this points to a better serialization technique which would support custom serializers/deserializers and probably different format (yaml ?) since XML produced by XMLEncoder is difficult to read.