Subversion Repositories SmartDukaan

Rev

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

Rev 8865 Rev 9218
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
        for (Entity entity : validEntities) {
490
        for (Entity entity : validEntities) {
490
            log.info("Processing Entityid: " + entity.getID());
491
            log.info("Processing Entityid: " + entity.getID());
491
            vui.generateContentForOneEntity(entity, Utils.EXPORT_VELOCITY_PATH);
492
            vui.generateContentForOneEntity(entity, Utils.EXPORT_VELOCITY_PATH);
-
 
493
            pojoCreator.createAndStoreContentPojo(entity);
492
        }
494
        }
493
 
495
 
494
        
496
        
495
        if (newLastGenerationTime != 0) {
497
        if (newLastGenerationTime != 0) {
496
            CreationUtils.storeLastContentGenerationTime(newLastGenerationTime);
498
            CreationUtils.storeLastContentGenerationTime(newLastGenerationTime);