Project

General

Profile

Revision 4358

Added by walbridge over 12 years ago

Replace usage of temp-dir with proper application.tempDir property

View differences:

src/edu/ucsb/nceas/metacat/util/MetaCatUtil.java
772 772
        String tempFilePath = null;
773 773
        String tempDirPath = null;
774 774
        try {
775
        	tempDirPath = PropertyService.getProperty("temp-dir");
775
        	tempDirPath = PropertyService.getProperty("application.tempDir");
776 776
        } catch (PropertyNotFoundException pnfe) {
777 777
        	logMetacat.warn("Temp property not found.  An attempt will be made " 
778 778
        			+ "to use system temp directory: " + pnfe.getMessage());

Also available in: Unified diff