commit: parses tasklist properties files

changeset:   1186:bfba1b260ed5
user:        Thomas Gambet <tgambet@w3.org>
date:        Thu Jun 10 14:49:26 2010 -0400
files:       src/org/w3c/unicorn/Framework.java
description:
parses tasklist properties files


diff -r 6e5355a51173 -r bfba1b260ed5 src/org/w3c/unicorn/Framework.java
--- a/src/org/w3c/unicorn/Framework.java	Thu Jun 10 14:48:06 2010 -0400
+++ b/src/org/w3c/unicorn/Framework.java	Thu Jun 10 14:49:26 2010 -0400
@@ -454,6 +454,7 @@
 		UCNProperties defaultProps = null;
 		try{
 			defaultProps = Language.load(defaultTaskFile);
+			defaultProps.parse();
 			logger.debug("> Found default tasks metadata file: " + defaultTaskFile.getPath());
 			LanguageAction.addMetadatasProperties(Language.getDefaultLocale(), defaultProps);
 			metadataProperties.put(Language.getDefaultLocale(), defaultProps);
@@ -507,6 +508,7 @@
 				ULocale fileLocale = Language.getLocaleFromFileName(taskFile.getName());
 				String lang = fileLocale.getName();
 				UCNProperties props = Language.load(taskFile);
+				props.parse();
 				logger.debug("> Found tasks metadata file: " + taskFile.getPath());
 				
 				ArrayList<Object> keys = new ArrayList<Object>();

Received on Thursday, 10 June 2010 18:56:48 UTC