From: Justin D. <Jus...@co...> - 2003-07-28 20:24:22
|
I downloaded Marathon on Friday and believe, finally, I understand how it works. I'll review how I believe Marathon works as there is sparse documentation to verify my assumptions against. I am simply looking for someone to verify my set of premises and explain why the SwingSet demo is getting a specific error. 1. You click on 'run.bat' in the SwingSet2 directory. It runs an instance of DisplayWindow with the argument 'swingset.project'. So, it goes and finds the 'swingset.project' file and, probably, loads it. 2. Looking at 'swingset.project' I see it is an XML file. I do not completely understand the meaning of all the tags but one imparticular stands out; 'fixture="defaultFixture"'. I am assuming that Marathon, with its notion of fixtures, is being told 'defaultFixture' is the target to work with. As expected, there is a 'defaultFixture.py' in the SwingSet2 directory. 3. Looking at 'defaultFixture.py' it seems to create an instance of SwingSetFixture.java, though I do not know this for certain. I am assuming this is SwingSetFixture.java located in the SwingSet2 directory. 4. 'SwingSetFixture.java' is easy enough to follow. It has a setUp and tearDown method for creating the application and then destroying it. Stating all that, can someone tell me why I keep getting this error when I do the following: 1. Click on 'run.bat' 2. Click the red record button in DisplayWindow. 3. Get the following error message: "ScriptException: no fixture found in (New File), you need to create a Fixture and assign it to the variable 'fixture'" I am obviously missing something simple but what is it? The steps described above seem sound unless DisplayWindow is ignoring the 'swingset.project' file. At any rate, if someone can comment on this or point me in the right direction, it would be must appreciated. The steps seem relatively easy and I believe I could reproduce them to get my application up and running. |