Hi Stephen, Our short-cut to this in an uDig RCP Extension, is launching the application from a .bat file [1] (of course in windows ;-)) in the /eclipse directory. This .bat file deletes the workspace directory, and run udig.exe afterwards. Another advantage of doing this is that you can manage memory params as well.
We know this is not the best way of doing this, so may be someone can give us a more advanced help about this issue. On the other hand, we are trying to start blank default project with different default preferences parameters without editing uDig source code. Does anyone know how to do that? [1] .bat file: ... rd /Q /S workspace udig.exe -clean -vmargs -Xms256m -Xmx256m -XX:PermSize=64m -XX:MaxPermSize=64m -Dosgi.parentClassloader=ext ... Thanks for any help, Javi. www.jsgisdev.wordpress.com ---------------------------------------------- Javier Sánchez Ramírez Genasys II Spain, S.A. Project Manager Ventura de la Vega, 5 28014 - Madrid, SPAIN Phone + 34 91 364 91 00 Fax + 34 91 364 91 19 GSM + 34 619413878 Email [EMAIL PROTECTED] www.genasys.com ---------------------------------------------- > Date: Fri, 17 Oct 2008 20:06:41 -0400 > From: "Stephen Kilburn" <[EMAIL PROTECTED]> > Subject: [udig-devel] How to circumvent map/project serialization? > To: "'User-friendly Desktop Internet GIS'" > <[email protected]> > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; charset="us-ascii" > > I want to start up my uDig application each time with a blank (empty) default > project with no contained maps (and then populate a new > project programmatically). However, uDig saves its state on shutdown and > restores it on startup. How can I circumvent this functionality > and have uDig start up "clean" every time? > _____________________________________________________________ > Stephen Kilburn > GeoPraxis Inc. _______________________________________________ User-friendly Desktop Internet GIS (uDig) http://udig.refractions.net http://lists.refractions.net/mailman/listinfo/udig-devel
