Révision 971
tmp/org.txm.core.tests/src/org/txm/core/tests/manual/WriteQualifierInBuildPropertiesFromSVN.java (revision 971) | ||
---|---|---|
116 | 116 |
String oldDate = props.getProperty("qualifier"); |
117 | 117 |
|
118 | 118 |
if(oldDate == null || !oldDate.equals(date)) { |
119 |
|
|
120 |
if(oldDate == null) { |
|
121 |
oldDate = "none"; |
|
122 |
} |
|
123 |
|
|
119 | 124 |
updatedFilesCount++; |
120 |
System.err.println("Setting qualifier to " + date); |
|
125 |
System.err.println("Setting qualifier from " + oldDate + " to " + date);
|
|
121 | 126 |
props.setProperty("qualifier", date); |
122 | 127 |
props.store(new FileOutputStream(buildFile), null); |
123 | 128 |
} |
Formats disponibles : Unified diff