You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@netbeans.apache.org by William Crowell <WC...@perforce.com.INVALID> on 2023/12/15 19:10:49 UTC

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

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.


Re: NetBeans 20 release

Posted by Geertjan Wielenga <ge...@googlemail.com.INVALID>.
Yes, should’ve sent the announcement, will do in the coming days, go to the
homepage and download it, all the details are there.

Gj

On Sat, 16 Dec 2023 at 10:11, Tilman Hausherr <TH...@t-online.de> wrote:

>
> > migrating projects from a previous version of NetBeans to NetBeans 20?
>
> I missed the release. Either the ANNOUNCE post was lost or there wasn't
> such a post on the users mailing list. I'm on NB 19 and "check for
> updates" doesn't show anything.
>
> Tilman
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
> For additional commands, e-mail: users-help@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>

NetBeans 20 release

Posted by Tilman Hausherr <TH...@t-online.de>.
> migrating projects from a previous version of NetBeans to NetBeans 20?

I missed the release. Either the ANNOUNCE post was lost or there wasn't 
such a post on the users mailing list. I'm on NB 19 and "check for 
updates" doesn't show anything.

Tilman


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
For additional commands, e-mail: users-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


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

Posted by William Crowell <WC...@perforce.com.INVALID>.
Michael,

Thank you for your reply, and this is exactly the information I was looking for.  I am taking a project that was developed in NetBeans 12 and migrating over to 20.  This is the first or second time I have used NetBeans, and It looked like there were NetBean specific files (e.g. project.properties) related to the settings of the project preventing me from changing the project type from Java EE to Jakarta EE only in the IDE.  In newer versions of NetBeans it looks like each project has its own nb-configuration.xml with this statement in the file:

<org-netbeans-modules-maven-j2ee.netbeans_2e_hint_2e_j2eeVersion>10-web</org-netbeans-modules-maven-j2ee.netbeans_2e_hint_2e_j2eeVersion>

I used the transformer in the link you shared before, and it didn’t appear to migrate the settings for the project in the IDE to Jakarta EE.

Again, I realize there are several changes that need to be made in the code as well as dependencies, but my question was specific to the IDE settings for the project.

Regards,

William Crowell

From: Michael Bien <mb...@gmail.com>
Date: Saturday, December 16, 2023 at 12:16 AM
To: William Crowell <WC...@perforce.com>, users@netbeans.apache.org <us...@netbeans.apache.org>
Subject: Re: Is there documentation for migrating projects from a previous version of NetBeans to NetBeans 20?
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 <ge...@googlemail.com.INVALID>
Sent: Friday, December 15, 2023 5:51:44 PM
To: William Crowell <WC...@perforce.com.invalid>
Cc: users@netbeans.apache.org<ma...@netbeans.apache.org> <us...@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 <WC...@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 <ge...@googlemail.com.INVALID>
Date: Friday, December 15, 2023 at 4:25 PM
To: WCrowell@perforce.com.invalid<ma...@perforce.com.invalid> <WC...@perforce.com.invalid>
Cc: users@netbeans.apache.org<ma...@netbeans.apache.org> <us...@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 <WC...@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.




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.


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

Posted by Michael Bien <mb...@gmail.com>.
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 <ge...@googlemail.com.INVALID>
> *Sent:* Friday, December 15, 2023 5:51:44 PM
> *To:* William Crowell <WC...@perforce.com.invalid>
> *Cc:* users@netbeans.apache.org <us...@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 
> <WC...@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 <ge...@googlemail.com.INVALID>
>     *Date: *Friday, December 15, 2023 at 4:25 PM
>     *To: *WCrowell@perforce.com.invalid <WC...@perforce.com.invalid>
>     *Cc: *users@netbeans.apache.org <us...@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
>     <WC...@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.
>
>

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

Posted by William Crowell <WC...@perforce.com.INVALID>.
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 <ge...@googlemail.com.INVALID>
Sent: Friday, December 15, 2023 5:51:44 PM
To: William Crowell <WC...@perforce.com.invalid>
Cc: users@netbeans.apache.org <us...@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 <WC...@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 <ge...@googlemail.com.INVALID>
Date: Friday, December 15, 2023 at 4:25 PM
To: WCrowell@perforce.com.invalid <WC...@perforce.com.invalid>
Cc: users@netbeans.apache.org<ma...@netbeans.apache.org> <us...@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 <WC...@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.


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

Posted by Geertjan Wielenga <ge...@googlemail.com.INVALID>.
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 <WC...@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 <ge...@googlemail.com.INVALID>
> *Date: *Friday, December 15, 2023 at 4:25 PM
> *To: *WCrowell@perforce.com.invalid <WC...@perforce.com.invalid>
> *Cc: *users@netbeans.apache.org <us...@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
> <WC...@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.
>
>

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

Posted by William Crowell <WC...@perforce.com.INVALID>.
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 <ge...@googlemail.com.INVALID>
Date: Friday, December 15, 2023 at 4:25 PM
To: WCrowell@perforce.com.invalid <WC...@perforce.com.invalid>
Cc: users@netbeans.apache.org <us...@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 <WC...@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.


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

Posted by Geertjan Wielenga <ge...@googlemail.com.INVALID>.
Just open the project, documentation should not be needed for this.

Gj

On Fri, 15 Dec 2023 at 20:11, William Crowell <WC...@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.
>
>