Subversion Repositories SmartDukaan

Rev

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

Rev 4962 Rev 4969
Line 187... Line 187...
187
            } catch (Exception e) {
187
            } catch (Exception e) {
188
                log.error("Error updating prices", e);
188
                log.error("Error updating prices", e);
189
            }
189
            }
190
        }
190
        }
191
 
191
 
192
        /*GmailUtils gm = new GmailUtils();
192
        GmailUtils gm = new GmailUtils();
193
        String[] sendTo = { "rajveer.singh@shop2020.in", "mandeep.dhir@shop2020.in" };
193
        String[] sendTo = { "rajveer.singh@shop2020.in", "mandeep.dhir@shop2020.in" };
194
 
194
 
195
        try {
195
        try {
196
            gm.sendSSLMessage(sendTo, "Content Generation Successful ? : "
196
            gm.sendSSLMessage(sendTo, "Content Generation Successful ? : "
197
                    + isSuccess, "Content generation completed at time : "
197
                    + isSuccess, "Content generation completed at time : "
198
                    + Calendar.getInstance().getTime().toString(),
198
                    + Calendar.getInstance().getTime().toString(),
199
                    "build@shop2020.in", "cafe@nes", logfile);
199
                    "build@shop2020.in", "cafe@nes", logfile);
200
        } catch (MessagingException e) {
200
        } catch (MessagingException e) {
201
            log.error("Could not send status mail", e);
201
            log.error("Could not send status mail", e);
202
        }*/
202
        }
203
    }
203
    }
204
 
204
 
205
    public boolean cleanDir(File dir, boolean deleteSelf) {
205
    public boolean cleanDir(File dir, boolean deleteSelf) {
206
        if (dir.isDirectory()) {
206
        if (dir.isDirectory()) {
207
            String[] children = dir.list();
207
            String[] children = dir.list();