Project

General

Profile

« Previous | Next » 

Revision 7174

include all EML versions (had been only eml 2.1 for testing)

View differences:

src/edu/ucsb/nceas/metacat/admin/upgrade/dataone/GenerateORE.java
56 56
        	// get only local ids for this server
57 57
            List<String> idList = null;
58 58
            
59
//            idList = DBUtil.getAllDocidsByType(DocumentImpl.EML2_0_0NAMESPACE, true, serverLocation);
60
//            Collections.sort(idList);
61
//            SystemMetadataFactory.generateSystemMetadata(idList, includeOre, downloadData);
62
//            
63
//            idList = DBUtil.getAllDocidsByType(DocumentImpl.EML2_0_1NAMESPACE, true, serverLocation);
64
//            Collections.sort(idList);
65
//            SystemMetadataFactory.generateSystemMetadata(idList, includeOre, downloadData);
59
            idList = DBUtil.getAllDocidsByType(DocumentImpl.EML2_0_0NAMESPACE, true, serverLocation);
60
            Collections.sort(idList);
61
            SystemMetadataFactory.generateSystemMetadata(idList, includeOre, downloadData);
66 62
            
63
            idList = DBUtil.getAllDocidsByType(DocumentImpl.EML2_0_1NAMESPACE, true, serverLocation);
64
            Collections.sort(idList);
65
            SystemMetadataFactory.generateSystemMetadata(idList, includeOre, downloadData);
66
            
67 67
            idList = DBUtil.getAllDocidsByType(DocumentImpl.EML2_1_0NAMESPACE, true, serverLocation);
68 68
            Collections.sort(idList);
69 69
            SystemMetadataFactory.generateSystemMetadata(idList, includeOre, downloadData);
70 70
            
71
//            idList = DBUtil.getAllDocidsByType(DocumentImpl.EML2_1_1NAMESPACE, true, serverLocation);
72
//            Collections.sort(idList);
73
//            SystemMetadataFactory.generateSystemMetadata(idList, includeOre, downloadData);
71
            idList = DBUtil.getAllDocidsByType(DocumentImpl.EML2_1_1NAMESPACE, true, serverLocation);
72
            Collections.sort(idList);
73
            SystemMetadataFactory.generateSystemMetadata(idList, includeOre, downloadData);
74 74
            
75 75
		} catch (Exception e) {
76 76
			String msg = "Problem generating missing system metadata: " + e.getMessage();

Also available in: Unified diff