Changeset 448 in tmcsimulator for trunk/src/tmcsim/cadsimulator/CADServer.java
- Timestamp:
- 07/16/2019 06:34:33 AM (7 years ago)
- File:
-
- 1 edited
-
trunk/src/tmcsim/cadsimulator/CADServer.java (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/tmcsim/cadsimulator/CADServer.java
r407 r448 133 133 * Filepath to which is written the simulation time. 134 134 */ 135 ELAPSED_TIME_FILE("ElapsedTimeFile"); 135 ELAPSED_TIME_FILE("ElapsedTimeFile"), 136 /** 137 * Filepath to which is written the CADcomments log. 138 */ 139 CAD_COMMENTS_LOG("CADcommentsLog"); 136 140 137 141 public String name; … … 255 259 throw new SimulationException(SimulationException.PROPERTY_MISSING_ERROR); 256 260 } 257 theCoordinator = new Coordinator(theModel, simTimeFilename); 261 /** Load the CAD comments log filename from properties */ 262 String commentLogname = 263 cadServerProperties.getProperty( 264 CAD_PROPERTIES.CAD_COMMENTS_LOG.name); 265 if (commentLogname == null) 266 { 267 cadSimLogger.logp(Level.SEVERE, "CADSimulator", "Constructor", 268 propertiesFile + " missing property for " + CAD_PROPERTIES.CAD_COMMENTS_LOG.name); 269 throw new SimulationException(SimulationException.PROPERTY_MISSING_ERROR); 270 } 271 theCoordinator = new Coordinator(theModel, simTimeFilename, commentLogname); 258 272 259 273 startRegistry(Integer.parseInt(
Note: See TracChangeset
for help on using the changeset viewer.
