devicemap-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Werner Keil (JIRA)" <>
Subject [jira] [Created] (DMAP-186) Some arguments like debug/log won't work in Java Console
Date Sat, 19 Dec 2015 15:21:46 GMT
Werner Keil created DMAP-186:

             Summary: Some arguments like debug/log won't work in Java Console
                 Key: DMAP-186
             Project: DeviceMap
          Issue Type: Bug
          Components: Java Client
    Affects Versions: 1.1.0 Java
            Reporter: Werner Keil
            Assignee: Werner Keil
             Fix For: 1.1.1 Java

Passing arguments like {{-d}} or the improved {{-l}} to actually define the log level rather
than just turning Debugging off causes exceptions in Java Console
Exception in thread "main" no protocol: -l/DeviceDataSource.xml
	at org.apache.devicemap.loader.resource.URLResource.getResource(
	at org.apache.devicemap.loader.impl.DDRLoader.getData(
	at org.apache.devicemap.DeviceMapClient.initDeviceData(
	at org.apache.devicemap.console.Main.main(

It seems nested Ifs for command line arguments don't work properly. Using a small but effective
command definition like Airline ( helped other comand line
tools and should help solve this.

This message was sent by Atlassian JIRA

View raw message