meydrew / otroslogviewer

Automatically exported from code.google.com/p/otroslogviewer
0 stars 0 forks source link

olv.bat doesn't load all configs if run from different Windows drive #321

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Modify a plugins/logimporters/*.pattern file in some way to make it visible 
to the pattern listing on the OLV startup screen.  One modification that would 
work would be to temporarily change a "description" value.
1.Get a Windows CMD shell
2.Invoke "olv.bat" with current directory on same drive as the "olv.bat" script 
resides on.  Verify that the modified pattern description appears.
3.Change your current disk drive to a different drive letter so that your 
current directory is not on the same drive as the "olv.bat" script resides on.  
Check and see that your *.pattern file customizations did not load.

"plugins/logimporter/*".pattern modifications should take effect regardless of 
where "olv.bat" is invoked from. Instead, these customizations (and presumably 
other config file customizations) are not effective if "olv.bat" is invoked 
from a different disk drive on Windows.

Original issue reported on code.google.com by blaine.s...@admc.com on 18 Dec 2014 at 4:45

GoogleCodeExporter commented 9 years ago

Original comment by blaine.s...@admc.com on 30 Jan 2015 at 3:25