From: <bh...@us...> - 2006-10-23 16:50:14
|
Revision: 304 http://svn.sourceforge.net/cishell/?rev=304&view=rev Author: bh2 Date: 2006-10-23 09:50:05 -0700 (Mon, 23 Oct 2006) Log Message: ----------- Modified Paths: -------------- trunk/templates/org.cishell.templates/src/org/cishell/templates/staticexecutable/StaticExecutableRunner.java Modified: trunk/templates/org.cishell.templates/src/org/cishell/templates/staticexecutable/StaticExecutableRunner.java =================================================================== --- trunk/templates/org.cishell.templates/src/org/cishell/templates/staticexecutable/StaticExecutableRunner.java 2006-10-19 19:22:57 UTC (rev 303) +++ trunk/templates/org.cishell.templates/src/org/cishell/templates/staticexecutable/StaticExecutableRunner.java 2006-10-23 16:50:05 UTC (rev 304) @@ -111,6 +111,20 @@ String label = props.getProperty("outFile["+i+"].label", f.getName()); data[i].getMetaData().put(DataProperty.LABEL, label); + + String type = props.getProperty("outFile["+i+"].type", DataProperty.OTHER_TYPE); + + if (type.equalsIgnoreCase(DataProperty.MATRIX_TYPE)) { + type = DataProperty.MATRIX_TYPE; + } else if (type.equalsIgnoreCase(DataProperty.NETWORK_TYPE)) { + type = DataProperty.NETWORK_TYPE; + } else if (type.equalsIgnoreCase(DataProperty.TREE_TYPE)) { + type = DataProperty.TREE_TYPE; + } else { + type = DataProperty.OTHER_TYPE; + } + + data[i].getMetaData().put(DataProperty.TYPE, type); } } else { Iterator iter = nameToFileMap.values().iterator(); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |