Skip to content

RFE: 'For dummies' guide on to migrate an old CN1 project to a new one #5369

Description

@ThomasH99

I wanted to start using the on device debug and the page makes it sound simple to move an old project ("If you have an older project, generate a new project with initializr and copy over the .idea directory and maven pom.xml files") so I generated a project with Initializr but as a relatively basic developer I realized there are just too many moving parts I don't master well enough, such as maven and multiple poms, git (pointing the new project to my existing repos), updating JDKs, old cn1libs I've modified locally, etc.

As a small example I got stuck on, I selected Java 17 in the initializr (thinking this would be a good time to move up from Java 8), but with the generated pom I get compile errors like [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile (default-compile) on project myapp-common: Fatal error compiling: error: invalid target release: 17 -> [Help 1] and can see the generated pom.xml has lines like <java.version>1.8</java.version>.

So, and I guess it is a big ask, it would be really great to have some kind a 'for dummies' migration guide.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions