// harvest proj file public void harvestProj(File f) throws Exception { Project proj = new Project("proj", pappl); JSReadable r = new JSReadable(f); try { proj.importXML(r); for (int i = 0; i < proj.nChild(); i++) { if (!(proj.child(i) instanceof PModel)) continue; PModel pmodel = (PModel) proj.child(i); String mml = pmodel.modelSource.stringVal(); processMML(f, pmodel.name(), mml); } } catch (Exception e) { System.out.println("Ignoring read error " + f); } }