The MIB Compiler is not working when OpenNMS is running on Windows

Description

When trying to compile a MIB, it returns a invalid list of dependencies. Looking at Karaf's log, I can see that the problem is inside the third-party library called JSMIParser which is what the MIB Compiles uses to compile the MIBs.

I'm attaching the log.

Acceptance / Success Criteria

None

Attachments

1

Lucidchart Diagrams

Activity

Alejandro Galue October 31, 2014 at 11:06 AM

Fixed on revision 503f93c8b159466023f5d84e282ba5a65058f345 for rc/stable/1.14.0

Alejandro Galue October 29, 2014 at 5:05 PM

The problem is that JSMIParser requires to pass the files to be compiled as java.net.URL classes, and mibFile.toURI().toURL(), considering that mibFile is a java.io.File object, is not working as expected on Windows.

Fixed

Details

Assignee

Reporter

Components

Fix versions

Priority

PagerDuty

Created October 29, 2014 at 4:31 PM
Updated October 31, 2014 at 3:05 PM
Resolved October 31, 2014 at 11:06 AM