Changeset 10049
- Timestamp:
- 2005-06-13T11:18:53+12:00 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/cdm/CollectionConfiguration.java
r10006 r10049 498 498 command = toString(command_element, false); 499 499 } 500 if(command != null && command.length() > 0) { 501 write(buffered_writer, command); 502 buffered_writer.newLine(); 503 just_wrote_newline = false; 500 if(command != null && command.length()> 0 ) { 501 /* if command contains buildtype only, it means that the none of 502 * buildtype has been selected, so we don't want to write into 503 * collect.cfg file*/ 504 if (!command.matches("^buildtype\\s*")){ 505 write(buffered_writer, command); 506 buffered_writer.newLine(); 507 just_wrote_newline = false; 508 } 504 509 } 505 510 }
Note:
See TracChangeset
for help on using the changeset viewer.