https://defect.opensolaris.org/bz/show_bug.cgi?id=16986
Summary: Relative path for data root and source root has
stopped working
Classification: Development
Product: opengrok
Version: unspecified
Platform: ANY/Generic
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: indexer
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
When running the indexer with relative paths for source and data root (ex. java
-jar opengrok.jar -s src -d data -W conf.xml) I see these problems (not seen
with 0.9):
1) The generated configuration file will contain relative paths to source root
and data root. Expected result: absolute path should be stored in the config
file.
2) If the data root doesn't exist, the indexer fails (ERROR: data root must be
a directory: data) instead of creating the directory.
This is probably a fallout from bug #16913, which made the indexer work on the
Configuration object directly instead of going through RuntimeEnvironment.
RuntimeEnvironment has some extra code in its setDataRoot() and setSourceRoot()
methods to convert relative paths to absolute paths and to create the data root
if it doesn't already exist.
--
Configure bugmail: https://defect.opensolaris.org/bz/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
opengrok-dev mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opengrok-dev