Subversion Repositories SmartDukaan

Rev

Rev 7226 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 7226 Rev 7677
Line 151... Line 151...
151
    
151
    
152
    private static String getExportPath(){
152
    private static String getExportPath(){
153
        String exportPath=null;
153
        String exportPath=null;
154
        ConfigClient client = ConfigClient.getClient();
154
        ConfigClient client = ConfigClient.getClient();
155
        try{
155
        try{
156
            exportPath = client.get("export_entities_path");
156
            exportPath = client.get("export_entities_path_for_storewebsite");
157
        }catch(ConfigException ce){
157
        }catch(ConfigException ce){
158
            logger.error("Unable to read export path from the config client: ", ce);
158
            logger.error("Unable to read export path from the config client: ", ce);
159
            logger.warn("Setting the default export path");
159
            logger.warn("Setting the default export path");
160
            exportPath = "/var/lib/tomcat6/webapps/export/html/entities/";
160
            exportPath = "/var/lib/tomcat6/webapps/export/html/entities/";
161
        }
161
        }