Subversion Repositories SmartDukaan

Rev

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

Rev 7662 Rev 7708
Line 42... Line 42...
42
		for(Long entityId : entityIdItemMap.keySet()) {
42
		for(Long entityId : entityIdItemMap.keySet()) {
43
			if(allEntities.containsKey(entityId)){
43
			if(allEntities.containsKey(entityId)){
44
				allValidEntities.add(allEntities.get(entityId));
44
				allValidEntities.add(allEntities.get(entityId));
45
			}
45
			}
46
		}
46
		}
-
 
47
		try {
-
 
48
		//Temporarily added
-
 
49
		AmazonSCDataGenerator asg = new AmazonSCDataGenerator(allValidEntities, "ALL");
-
 
50
		asg.generateSCProdData();
-
 
51
		}catch(Exception e){
-
 
52
			System.out.println("Could not generate Amazon feed.");
47
		
53
		}
48
		
54
		
49
		// Upload catalog to Google App Engine.
55
		// Upload catalog to Google App Engine.
50
		log.info("Uploading Catalog to Google app engine");
56
		log.info("Uploading Catalog to Google app engine");
51
		CatalogUploderToGAE catalogUploaderToGAE = new CatalogUploderToGAE();
57
		CatalogUploderToGAE catalogUploaderToGAE = new CatalogUploderToGAE();
52
		catalogUploaderToGAE.uploadItems(items);
58
		catalogUploaderToGAE.uploadItems(items);