Hi Jesse, I created a project in the default location, which was udig-workspace. Then I loaded some maps and closed udig. Then I reopened it and as expected, it loaded everything pretty. The map was called map and saved as map.umap.
After that I renamed udig-workspace to udigwspace and launched udig like: udig -data /home/moovida/udigwspace -configuration /home/moovida/udigwspace config map.umap It didn't load anything like it was before. The perspective configuration was remembered, but no map loaded. I then tried to open the project with the open project in the File menu, but that also didn't work. Didn't I get it right? Andrea Jesse Eichar probaly wrote: > Right you have to specify where the configuration area should be. add > the parameter -configuration %HOMEPATH%\uDigConfig > > So something like: > > udig -data %HOMEPATH%\uDigWorkspace\ > -configuration %HOMEPATH%\uDigWorkspace\ config testMap.umap > > Jesse > > On 13-Mar-07, at 9:46 AM, Andrea Antonello wrote: > >> And let me add another one :) (while I'm playing with it) >> >> 7) I burned udig on a cd to see what happens when launched from there >> (and on a windows box) and the answer is... nothing. Well almost >> nothing. The splashscreen starts, a folder >> .eclipse/net.refractions.udig_product...etc.etc. is created with the >> configuration in it and then... everything dies. No error, nothing at >> all. I tried to launch it from commandline and the same happened. (this >> makes me also think of the possibility to have a debug mode, which has >> some logging system (log4j?)) >> >> Ciao >> Andrea >> >> >> >> >> Andrea Antonello probaly wrote: >>> Let me add a number six: >>> >>> 6) The udig project file doesn't support relative paths? This would be >>> mandatory to have a project starting from cd. >>> >>> Cheers, >>> Andrea >>> >>> >>> >>> >>> >>> >>> Andrea Antonello probaly wrote: >>>> Hi, this is something that was discussed a bit in the past in udig and >>>> geotools, but I couldn't find answers to my doubts. >>>> It deals with the need of small and simple configurable viewers based on >>>> geotools, while geotools doesn't support the gui part any longer (at >>>> least not regularly). I support the decision, since geotools is the >>>> library and the viewers should be made on top of udig... >>>> >>>> ...BUT... udig is really a beast to tame :) and just knowing a bit of >>>> java is not enough, while it is/was with the geotools classes. >>>> >>>> So here I go with some straight questions regarding the possibility to >>>> start udig in lightweight mode (just some necessary modules) with >>>> preloaded data from a cd: >>>> >>>> 1) the udig executable has no command line arguments? For example to >>>> pass it a project to be loaded. I couldn't find any. >>>> >>>> 2) when launching udig from a cd, which is obviously readonly, is the >>>> default workspace created in the home? I assume it is not possible to >>>> have a project launched from cd, since the workspace containes >>>> .metadata, which are read and written every time to remember the >>>> perspective's configuration and other nice stuff. >>>> >>>> 3) the data instead should be no problem, even if readonly, just you >>>> will not be able to change the style, right? >>>> >>>> 4) imagine to have to automagically load a whole pile of geotiffs and >>>> geojpgs. Obviously you can't preload them, instead you could have >>>> somewhere a list with the bounds and you could load only the visible >>>> ones in the window and also make the visualization scaledependent. Where >>>> could I best nest the regarding code for this? >>>> >>>> 5) is it the product that one creates to keep the packaging infos, i.e. >>>> if I create a viewer with just sdk classes and no others, than will >>>> anyone be able to recreate that viewer just by having the product >>>> plugin? >>>> >>>> >>>> Thanks for any help that you will (hopefully) give me :) >>>> >>>> Andrea _______________________________________________ User-friendly Desktop Internet GIS (uDig) http://udig.refractions.net http://lists.refractions.net/mailman/listinfo/udig-devel
