Changeset 3103


Ignore:
Timestamp:
07/16/08 15:30:21 (5 years ago)
Author:
awwalter
Message:

added commented out block of code for auxPropFileTags

File:
1 edited

Legend:

Unmodified
Added
Removed
  • PP/trunk/jungle/src/org/trinet/jasi/JasiPropertyList.java

    r3031 r3103  
    115115 
    116116        if (readAuxFile) { 
     117          // Auxillary file can override properties already set in parent, since last read property trumps previously set property. 
    117118          String file = getUserFileNameFromProperty("auxPropFile"); 
    118119          if (file != null) { 
    119             System.out.println(getClass().getName() + " Loading auxPropFile properties from: " + file);  
     120            System.out.println(getClass().getName() + " Loading properties from auxPropFile : " + file);  
    120121            if (! readPropertiesFile(file) ) { 
    121                 System.err.println("    ERROR: unable to load auxPropFile properties from: " + file);  
     122                System.err.println("    ERROR: unable to load properties from auxPropFile : " + file);  
    122123                return false; 
    123124            } 
    124125          } 
     126          /* Below ok for input, but what about saving of GUI changed properties, they would all go into one file. 
     127          String [] propfileTags = getStringArray("auxPropFileTags"); 
     128          if (propfileTags != null && propfileTags.length > 0) { 
     129              for (int idx=0; idx < propfileTags.length; idx++) { 
     130                file = getUserFileNameFromProperty("auxPropFile."+propfileTags[i]); 
     131                if (file != null) { 
     132                  System.out.println(getClass().getName() + " Loading properties from auxPropFile." + propfileTags[i] + " : " + file);  
     133                  if (! readPropertiesFile(file) ) { 
     134                      System.err.println("    ERROR: unable to load properties from auxPropFile." + propfileTags[i] + " : " + file);  
     135                      return false; 
     136                  } 
     137                } 
     138              } 
     139          } 
     140          */ 
    125141        } 
    126142 
Note: See TracChangeset for help on using the changeset viewer.