4344454647484950515253
if (!cocoon.isPrecompileOnly() && cocoon.getTargetCount() ==0) { listener.messageGenerated("Please, specify at least one starting URI."); System.exit(1); } cocoon.initialize(); cocoon.process(); cocoon.dispose(); listener.complete(); return listener.isSuccessful() ? 0 : 1;
315316317318319320321322323324325
if (cocoon.getTargetCount() == 0 && cocoon.isPrecompileOnly()) { listener.messageGenerated("Please, specify at least one starting URI."); System.exit(1); } cocoon.initialize(); cocoon.process(); cocoon.dispose(); listener.complete();
395396397398399400401402403404405
cocoon.addTargets(line.getArgList(), destDir); System.out.println(getProlog()); cocoon.initialize(); cocoon.process(); cocoon.dispose(); listener.complete();
386387388389390391392393394395396
cocoon.addTargets(line.getArgList(), destDir); System.out.println(getProlog()); cocoon.initialize(); cocoon.process(); cocoon.dispose(); listener.outputBrokenLinks();