|
From: SourceForge.net <no...@so...> - 2006-10-17 14:29:38
|
Bugs item #1578343, was opened at 2006-10-16 12:10 Message generated for change (Comment added) made by milesparker You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=101703&aid=1578343&group_id=1703 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Repast Simphony Group: None Status: Open >Resolution: Fixed Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: Error Creating Boolean Field in sample Model.score Initial Comment: When I modify the "getting started" model from the RePast S documentation to include a boolean field, RePast S generates an exception: "The property 'boolField' is write-only." Version: repast_simphony_alpha.1, with Eclipse 3.2 Steps: 1. Follow the "getting started" directions in Repast Simphony Docs-20061005.pdf within the repast_simphony_alpha.1 distribution, creating the java files, model score, and scenario files. 2. Run the model to test that it is working correctly (it is). 3. In Eclipse, open the sample model's Model.score file in the scenario.rs folder. 4. Right click "Context My Model", and select "New Child->Field". 5. Edit the properties for the field, giving it a name (eg boolField), and a default value ("FALSE", "false", and "0" tried). 6. Save the model.score. 7. Open the model in RePast S. I have examined the model.score XML and the source code, and don't see any obvious cause of the error. ---------------------------------------------------------------------- >Comment By: Miles Parker (milesparker) Date: 2006-10-17 09:29 Message: Logged In: YES user_id=670434 Steve- this is not happening for me now, but I believe it was happening earlier and simply got fixed. (It has to do with incorrect ecore constraints. Please verify at the next code drop? ---------------------------------------------------------------------- Comment By: Steve Wendel (stevewendel) Date: 2006-10-16 12:13 Message: Logged In: YES user_id=1622282 [Sorry -- forgot to login first. Submitted by Steve Wendel, sub at agnos.net] ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=101703&aid=1578343&group_id=1703 |