I started to reply on this, but not sure if I really pressed the send
button, and I do not see my reply. So I'm sorry if I'm repeating myself.
So the Snap distribution does exactly the same (Snap provides the
infrastructure for that). Whenever NetBeans updated the user dir gets
copied from the current version to the new version and an empty cache
dir is created. It is relatively safe to do that in the last few years,
no one really touched the config settings part.
The import from previous version does the same, however it has some
rules importing from NetBeans 5.5, 6.0, pretty old versions (probably we
can remove that code).
On 9/15/22 10:34, Ernie Rael wrote:
On 9/14/22 5:55 PM, Michael Bien wrote:
On 10.09.22 01:53, Ernie Rael wrote:
With release 15 I did something like
mkdir 15
cp -a 14/userdir 15/userdir
Then start NetBeans-15 using 15/userdir and a fresh cachedir.
Simpler than import settings. Is there any problem/downside doing this?
the downside is that NB doesn't expect this to happen. So it might
work, or it might break (something). Since the config format might
have changed somewhere in between versions.
Yeah. And if it mostly works, that's the worst.
If you would just start NB 15 normally without a 15 folder, it will
ask you to migrate some of the config of 14.
I've had a non-standard setup/directories since windows days; can't
remember why exactly; maybe just cause I thought it sucked on windows.
Kept it when I moved to linux last year. Have my own startup scripts.
I looked for a --initial-startup-import-from option, couldn't find it
:-)
Is it the same (or close enough) to use "Tools > Options > Import",
and grab everything from the prev userdir on first startup? Don't
think it is, but it might be after installing favorite plugins, so
what to import is defined.
Making a symlink got it too work. "cd ~/.netbeans; ln -s
~/.nb/.../prevudir 15" works. Something to add to my install new NB
process. This seems to pull everything from Preferences, even if the
plugins aren't installed yet.
Thanks for waving me off use prev udir,
-ernie
It will import settings like project groups, platforms, editor config
(even custom jackpot rules now), theme etc. but window setup for
example is reset. Thats usually how I upgrade - setting up the
windows again is only a few clicks, most of the rest is already
migrated.
I actually wanted to take a look if it would be feasible to migrate
some of the window setup too, have that somewhere on my TODO list,
but never looked into it.
-mbien
-ernie
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
For additional commands, e-mail: dev-h...@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
For additional commands, e-mail: dev-h...@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
For additional commands, e-mail: dev-h...@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists