Skip to content

Target servers of web project are not retained when upgrading #9410

@NicolaIsotta

Description

@NicolaIsotta

Apache NetBeans version

Apache NetBeans 30

What happened

I have multiple apache tomcat servers and multiple maven web projects. Every projects targets one servers. When I download a new Netbeans version and import data from an older versions, the target servers of these project are not imported and they all target the first server of the list.

Language / Project Type / NetBeans Component

Maven Web application projects

How to reproduce

Import configuration from an older NB version

Did this work correctly in an earlier version?

No / Don't know

Operating System

All

JDK

All

Apache NetBeans packaging

Apache NetBeans binary zip

Anything else

I can work on this, but I need some input first.
I found out the target server of maven web projects are saved in the file var/attributes.xml (which is not imported in the migration):

  • would it be ok to migrate the file? it contains other data
  • if it's not ok, which is the right place to save server data?

Are you willing to submit a pull request?

Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind:bugBug report or fixneeds:triageRequires attention from one of the committers

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions