apache / netbeans

Apache NetBeans
https://netbeans.apache.org/
Apache License 2.0
2.6k stars 836 forks source link

Content of Project Group is not saved #7440

Open pschuett opened 1 month ago

pschuett commented 1 month ago

Apache NetBeans version

Apache NetBeans 22

What happened

If I create a project group (under File - Project Groups) and filled it e.g. by Open Project, then the project group is only saved, if I close Netbeans. If I open another project group the content of the previous open project group is not saved und it is empty when I open it again. There is also no way to explicitly save a project group.

Language / Project Type / NetBeans Component

No response

How to reproduce

Create a new project group (e.g. group1), fill it by open a maven project and then open another project group. If you open "group1" again, it is empty.

Did this work correctly in an earlier version?

No / Don't know

Operating System

Windows 11

JDK

JDK 21

Apache NetBeans packaging

Apache NetBeans provided installer

Anything else

This problem exists, since I use Netbeans.

Are you willing to submit a pull request?

No

neilcsmith-net commented 1 month ago

I cannot reproduce this. I use this all the time, and I've just tried to follow your instructions with an empty userdir - works fine. Only difference is Ubuntu vs Windows, which I assume isn't the cause here.

Have you been importing settings all along? Could you try with a clean userdir and cachedir - either CLI argument or rename them temporarily and restore afterwards (locations in About).

mbien commented 1 month ago

project groups have settings: image

did you change anything there?