The first line should have said &quot;some basic <b>data</b>&quot; of course.<br><br><br><div class="gmail_quote">On Mon, Aug 31, 2009 at 1:18 AM, Ramiro Diaz Trepat <span dir="ltr">&lt;<a href="mailto:ramiro@diaztrepat.name">ramiro@diaztrepat.name</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi guys,<br>I want my application to automatically create a repository with some basic date if my image is started somewhere that does not have a preexisting database.<br>
I was making a few tests, basically to see what happened with Magma if when restarting an image that had an open session, the database directory was not found.<br>
<br>I opened my session with something like this.<br><br>magmaServer := MagmaServerConsole new.<br>[ magmaServer open: path ]<br>    on: Error<br>    do: [ :ex | Transcript show: ex ].<br><br>magmaServer processOn: 51001.<br>

magmaServer shutdown.<br><br>I realized then that in spite of runnring the last #shutdown, if I closed the image and then restarted it it was still reopening the repository.<br><br>Then I executed things like:<br><br>MagmaRepositoryController initialize.<br>

MagmaSession cleanUp.<br>magmaServer controller closeRepository.<br><br>Neither could avoid the automatic attempts to reopen the repository after I restarted the image.<br><br>Then, I lost the pointer to that magmaServer and every time my image starts it still tries to open that repository and it fails.<br>

<br>What are the commands to execute to reset it all? to stop Magma from trying to open anything at all at start up so I can start from a clean slate again.<br><br>Thanks<br><font color="#888888"><br>r.<br><br>
</font></blockquote></div><br>