}
System.out.println(getProlog());
cocoon.initialize();
cocoon.warmup();
cocoon.process(targets, new FileDestination(destDir));
cocoon.dispose();
long duration = System.currentTimeMillis() - startTimeMillis;
System.out.println("Total time: " + (duration / 60000) + " minutes " + (duration % 60000)/1000 + " seconds");