I have added some variables to the JSON data as follows:
jm = new JSONMaker(engine);
jm.setIncludes(new String[] { "enableCartItems","animate","videoid","videoSource","audioSource" });
dataTree = jm.getTreeAsString(rootFolder);
The variable videoSource is in onload.bsh and was originally this:
JComboBox videoSource = new JComboBox(new Object[]{"video/youtube","video/facebook","video/vimeo","video/dailymotion","video/soundcloud"});
and then changed to this:
JComboBox videoSource = new JComboBox(new Object[]{"youtube","facebook","vimeo","dailymotion","soundcloud"});
The problem is that the dataTree JSON data still has "video/youtube" not "youtube". I have restarted Jalbum, deleted all files in the output directory and rebuilt again and again and it still persists. There is no other source of the variable videoSource than in onload.bsh. Driving me crazy!