Hi,

NB 20 (you are using NB 10?!) has the jakarta transformer integrated which might assist somewhat with the migration:
https://github.com/apache/netbeans/pull/5847

but if your project is still at J2EE 1.5 level, this certainly won't be possible in one step. It might be best to migrate it to the "latest" J2EE version first, then continue till it works with Jakarta EE 8 and then finally make the namespace change to Jakarta EE 10+.

I suppose your project is also still using Ant, given how old J2EE 1.5 is, this might have to be moved to maven too to simplify migration.

(btw this all doesn't really have anything to do with NetBeans versions, its more about how to migrate enterprise applications)

-mbien


On 16.12.23 00:03, William Crowell wrote:
I understand that, but what would you need to do only in the IDE?  I get there are namespace changes and all.
------------------------------------------------------------------------
*From:* Geertjan Wielenga <geertjan.wiele...@googlemail.com.INVALID>
*Sent:* Friday, December 15, 2023 5:51:44 PM
*To:* William Crowell <wcrow...@perforce.com.invalid>
*Cc:* users@netbeans.apache.org <users@netbeans.apache.org>
*Subject:* Re: Is there documentation for migrating projects from a previous version of NetBeans to NetBeans 20? I think there’s quite a bit more involved in migrating to Jakarta EE than looking for a property switch in NetBeans.

Gj

On Fri, 15 Dec 2023 at 23:30, William Crowell <wcrow...@perforce.com.invalid> wrote:

    Gj,

    Thank you for your reply.  I am trying to migrate an application
    from Java EE to Jakarta EE 10.  For some reason in NetBeans 10 I
    cannot switch from Java EE to Jakarta EE in the project
    properties. The project has a nbproject/project.properties which
    has the following:

    j2ee.platform=1.5

    Is this a NetBeans specified file and how would I get the project
    in NetBeans switched over to Jakarta EE 10?

    Regards,

    William Crowell

    *From: *Geertjan Wielenga <geertjan.wiele...@googlemail.com.INVALID>
    *Date: *Friday, December 15, 2023 at 4:25 PM
    *To: *wcrow...@perforce.com.invalid <wcrow...@perforce.com.invalid>
    *Cc: *users@netbeans.apache.org <users@netbeans.apache.org>
    *Subject: *Re: Is there documentation for migrating projects from
    a previous version of NetBeans to NetBeans 20?

    Just open the project, documentation should not be needed for this.

    Gj

    On Fri, 15 Dec 2023 at 20:11, William Crowell
    <wcrow...@perforce.com.invalid> wrote:

        Is there documentation for migrating projects from a previous
        version of NetBeans to NetBeans 20?

        Regards,

        William Crowell

        /This e-mail may contain information that is privileged or
        confidential. If you are not the intended recipient, please
        delete the e-mail and any attachments and notify us immediately./

    *CAUTION:*This email originated from outside of the organization.
    Do not click on links or open attachments unless you recognize the
    sender and know the content is safe.


    This e-mail may contain information that is privileged or
    confidential. If you are not the intended recipient, please delete
    the e-mail and any attachments and notify us immediately.




*CAUTION:*This email originated from outside of the organization. Do not click on links or open attachments unless you recognize the sender and know the content is safe.


This e-mail may contain information that is privileged or confidential. If you are not the intended recipient, please delete the e-mail and any attachments and notify us immediately.


Reply via email to