Subversion Repositories SmartDukaan

Rev

Rev 9218 | Rev 9996 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 9218 Rev 9280
Line 484... Line 484...
484
        bjc.writeToJSONFile(new File(Utils.EXPORT_JAVASCRIPT_CONTENT_PATH
484
        bjc.writeToJSONFile(new File(Utils.EXPORT_JAVASCRIPT_CONTENT_PATH
485
                + "special-pages.json"));
485
                + "special-pages.json"));
486
 
486
 
487
        log.info("Generating velocity templates, images, documents etc.");
487
        log.info("Generating velocity templates, images, documents etc.");
488
        NewVUI vui = new NewVUI(lastGenerationTime);
488
        NewVUI vui = new NewVUI(lastGenerationTime);
489
        PojoCreator pojoCreator = new PojoCreator();
489
        
490
        for (Entity entity : validEntities) {
490
        for (Entity entity : validEntities) {
491
            log.info("Processing Entityid: " + entity.getID());
491
            log.info("Processing Entityid: " + entity.getID());
492
            vui.generateContentForOneEntity(entity, Utils.EXPORT_VELOCITY_PATH);
492
            vui.generateContentForOneEntity(entity, Utils.EXPORT_VELOCITY_PATH);
493
            pojoCreator.createAndStoreContentPojo(entity);
-
 
494
        }
493
        }
495
 
494
 
496
        
495
        
497
        if (newLastGenerationTime != 0) {
496
        if (newLastGenerationTime != 0) {
498
            CreationUtils.storeLastContentGenerationTime(newLastGenerationTime);
497
            CreationUtils.storeLastContentGenerationTime(newLastGenerationTime);