Subversion Repositories SmartDukaan

Rev

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

Rev 2197 Rev 2198
Line 309... Line 309...
309
		 * Copying the generated content from db/media to export/media. This
309
		 * Copying the generated content from db/media to export/media. This
310
		 * will also insert a timestamp tag in the file names.
310
		 * will also insert a timestamp tag in the file names.
311
		 */
311
		 */
312
		File sourceFile = new File(globalImageDirPath + catalogId);
312
		File sourceFile = new File(globalImageDirPath + catalogId);
313
		File destinationFile = new File(exportPath);
313
		File destinationFile = new File(exportPath);
314
		//copyDirectory(sourceFile, destinationFile, imagePrefix);
314
		copyDirectory(sourceFile, destinationFile, imagePrefix);
315
 
315
 
316
		/*
316
		/*
317
		 * Copy the thumbnail and the icon files. This is required so that we can display the
317
		 * Copy the thumbnail and the icon files. This is required so that we can display the
318
		 * thumbnail on the cart page and icon on the facebook.
318
		 * thumbnail on the cart page and icon on the facebook.
319
		 */
319
		 */
320
		   // copyFile(imageDirPath + "thumbnail.jpg", exportPath + File.separator + "thumbnail.jpg");
320
		copyFile(imageDirPath + "thumbnail.jpg", exportPath + File.separator + "thumbnail.jpg");
321
		   // copyFile(imageDirPath + "icon.jpg", exportPath + File.separator + "icon.jpg");
321
		copyFile(imageDirPath + "icon.jpg", exportPath + File.separator + "icon.jpg");
322
		}
322
		}
323
 
323
 
324
	/**
324
	/**
325
	 * Copies the contents of the input file into the output file. Creates the
325
	 * Copies the contents of the input file into the output file. Creates the
326
	 * output file if it doesn't exist already.
326
	 * output file if it doesn't exist already.