opengrok icon indicating copy to clipboard operation
opengrok copied to clipboard

use Path for {source,data,include}Root

Open vladak opened this issue 7 years ago • 2 comments

The properties in Configuration pointing to various roots can be defined as Path objects which they really are.

vladak avatar Jun 22 '18 12:06 vladak

The questions is what this will do in terms of serialization of the Configuration.

vladak avatar Jun 22 '18 12:06 vladak

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.

ahornace avatar Jul 28 '18 13:07 ahornace