BadIDException finding MAP ID from jar
I am getting a BadIDException exception when i click my help button.
My Map.jhm file (and all my other help files) are in a jar file (whih has no subdirectories).
I added the iD in my java code by:
String urlString = new String("jar:file:c:/test/lib/myhelp.jar!/myhelp.hs");
URL url = new URL(urlString);
ClassLoader cl = this.getClass().getClassLoader();
HelpSet hs = new HelpSet(cl, url);
hb = hs.createHelpBroker();
It is my thought that I am missing something or somehow not reading the Map file (rather than the map file not containing the ID) because the map looks right to me:
my map.jhm file contains:
<?xml version="1.0" encoding="ISO-8859-1"?>
Thanks in advance for any advice anyone can provide.