public static void main(String[] args) { PropertyManager manager = PropertyManager.newInstance(args[0]); try { Generator generator = new JspToFaceletsTLD21Generator(manager); generator.generate(GeneratorUtil.getConfigBean(args[1])); } catch (Exception e) { throw new RuntimeException(e); } } // END main
public static void main(String[] args) throws Exception { PropertyManager propManager = PropertyManager.newInstance(args[0]); Generator generator = new AttributeManagerGenerator(propManager); generator.generate(GeneratorUtil.getConfigBean(args[1])); }