Re: [rcp][platform] Moving UI application based on Netbeans RCP 6.9.1 to 9.0 ?

2018-10-19 Thread Emilian Bold
The RCP is still supported and will be. I don't think 9.0 versus 10.0
will matter in terms of RCP, so if you have to pick something, go with
the latest version.

Backporting stuff for 6.9.1 might be an option depending how expensive
the migration is going to be, but I think there's value in the
migration itself.

--emi

On Thu, Oct 18, 2018 at 7:13 PM tanas gjorgoski  wrote:
>
> Hi,
>
> The company I work for has an UI app built using the Netbeans Rich Client 
> Platform (RCP)  6.9.1 version. It has stopped working under JDK 9, and I got 
> the job of figuring out what to do.
> I think it would be best if we can move to Netbeans 9.0, instead of patching 
> the 6.9.1 code. But before I look into it , I thought to ask:
> a)  is the RCP still supported as part of Netbeans 9.0
> b) given that I expect the work might take possibly a month - is it better to 
> look into moving to 10.0?
> c) is the support for the RCP planned to continue in future?
>
> Thanks,
> Tanas Gjorgoski
> -
> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
> For additional commands, e-mail: users-h...@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>

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

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



Re: [rcp][platform] Moving UI application based on Netbeans RCP 6.9.1 to 9.0 ?

2018-10-19 Thread tanas gjorgoski
Thanks Eirik! 
That definitely seems like a promising path to take.
Also thanks for the script you attached to the jira ticket, it should be a big 
help!


> On 19 Oct 2018, at 15:55, Eirik Bakke  wrote:
> 
>> That is -  the Netbeans Platform code itself needs first to be built (using 
>> "regular" ant build?) and put in maven repo?
> That's exactly right. (At least until 
> https://issues.apache.org/jira/browse/NETBEANS-467 is resolved.)
> 
>> I'm asking because I would like to keep it possible for us to be able to 
>> make modifications in the Netbeans Platform code too.
> Yes, then it makes sense to always build the platform sources yourself and 
> populate your local maven repository using the nb-repository-plugin Maven 
> plugin. That's what I do with my own platform application.
> 
> 
> -Original Message-
> From: tanas gjorgoski  
> Sent: Friday, October 19, 2018 9:10 AM
> To: Neil C Smith 
> Cc: Eirik Bakke ; users@netbeans.apache.org
> Subject: Re: [rcp][platform] Moving UI application based on Netbeans RCP 
> 6.9.1 to 9.0 ?
> 
> Thanks for the link Neil!
> 
> I read through the text. Am I right thinking that in this case the Netbeans 
> Platform jars are maven dependency of the App, and they are downloaded from a 
> maven repo? 
> That is -  the Netbeans Platform code itself needs first to be built (using 
> "regular" ant build?) and put in maven repo? 
> I'm asking because I would like to keep it possible for us to be able to make 
> modifications in the Netbeans Platform code too.
> 
> Thanks, 
> Tanas
> 
> 
>> On 19 Oct 2018, at 12:17, Neil C Smith  wrote:
>> 
>> On Fri, 19 Oct 2018 at 11:08, tanas gjorgoski  wrote:
>>> It seems we are using ant build, but with a gradle wrapper which injects 
>>> the maven dependencies.
>>> Looking at our code I'm under impression that ant is the only option, do 
>>> newer versions support building the Netbeans Platform apps using maven too?
>>> If so, that would be great!
>> 
>> I have a feeling 6.9 did! ;-)
>> https://platform.netbeans.org/tutorials/69/nbm-maven-quickstart.html
>> 
>> Interesting you're doing that with a gradle wrapper - wonder if anyone
>> has used Ivy with the RCP?
>> 
>> Best wishes,
>> 
>> Neil
>> 
>> -
>> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
>> For additional commands, e-mail: users-h...@netbeans.apache.org
>> 
>> For further information about the NetBeans mailing lists, visit:
>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>> 
> 
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
> For additional commands, e-mail: users-h...@netbeans.apache.org
> 
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> 


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

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



RE: [rcp][platform] Moving UI application based on Netbeans RCP 6.9.1 to 9.0 ?

2018-10-19 Thread Eirik Bakke
> That is -  the Netbeans Platform code itself needs first to be built (using 
> "regular" ant build?) and put in maven repo?
That's exactly right. (At least until 
https://issues.apache.org/jira/browse/NETBEANS-467 is resolved.)

> I'm asking because I would like to keep it possible for us to be able to make 
> modifications in the Netbeans Platform code too.
Yes, then it makes sense to always build the platform sources yourself and 
populate your local maven repository using the nb-repository-plugin Maven 
plugin. That's what I do with my own platform application.


-Original Message-
From: tanas gjorgoski  
Sent: Friday, October 19, 2018 9:10 AM
To: Neil C Smith 
Cc: Eirik Bakke ; users@netbeans.apache.org
Subject: Re: [rcp][platform] Moving UI application based on Netbeans RCP 6.9.1 
to 9.0 ?

Thanks for the link Neil!

I read through the text. Am I right thinking that in this case the Netbeans 
Platform jars are maven dependency of the App, and they are downloaded from a 
maven repo? 
That is -  the Netbeans Platform code itself needs first to be built (using 
"regular" ant build?) and put in maven repo? 
I'm asking because I would like to keep it possible for us to be able to make 
modifications in the Netbeans Platform code too.

Thanks, 
Tanas


> On 19 Oct 2018, at 12:17, Neil C Smith  wrote:
> 
> On Fri, 19 Oct 2018 at 11:08, tanas gjorgoski  wrote:
>> It seems we are using ant build, but with a gradle wrapper which injects the 
>> maven dependencies.
>> Looking at our code I'm under impression that ant is the only option, do 
>> newer versions support building the Netbeans Platform apps using maven too?
>> If so, that would be great!
> 
> I have a feeling 6.9 did! ;-)
> https://platform.netbeans.org/tutorials/69/nbm-maven-quickstart.html
> 
> Interesting you're doing that with a gradle wrapper - wonder if anyone
> has used Ivy with the RCP?
> 
> Best wishes,
> 
> Neil
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
> For additional commands, e-mail: users-h...@netbeans.apache.org
> 
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> 


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

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



RE: [rcp][platform] Moving UI application based on Netbeans RCP 6.9.1 to 9.0 ?

2018-10-19 Thread Eirik Bakke
> do newer versions support building the Netbeans Platform apps using maven too?
Yes--myself I moved from Ant to Maven for my own platform app a few years ago. 
It works great.

(Note that for maven builds, platform developers must build the platform 
artifacts themselves using the nb-repository-plugin until 
https://issues.apache.org/jira/browse/NETBEANS-467 is resolved. I added a 
comment to that bug with the commands I used.)

-- Eirik

-Original Message-
From: tanas gjorgoski  
Sent: Friday, October 19, 2018 6:08 AM
To: Eirik Bakke 
Cc: NetBeans Mailing List 
Subject: Re: [rcp][platform] Moving UI application based on Netbeans RCP 6.9.1 
to 9.0 ?

Thanks Eric!

It seems we are using ant build, but with a gradle wrapper which injects the 
maven dependencies.
Looking at our code I'm under impression that ant is the only option, do newer 
versions support building the Netbeans Platform apps using maven too?
If so, that would be great!

Tanas

> On 19 Oct 2018, at 03:47, Eirik Bakke  wrote:
> 
> Hi, Tanas.
> 
>> It has stopped working under JDK 9, and I got the job of figuring out what 
>> to do.
> Yes, you'll need to use the 9.0 version of the NetBeans Platform or above to 
> work with Java 9 or above.
> 
> a)  is the RCP still supported as part of Netbeans 9.0 Yes! I'm 
> maintaining a NetBeans Platform (=RCP) application myself.
> 
> b) given that I expect the work might take possibly a month - is it better to 
> look into moving to 10.0?
> Yes, I'd move to 10.0. There's not a substantial difference from 9.0 to 10.0 
> from an RCP point of view, just lots of bugfixes.
> 
> I'd start by moving to 8.2 (the last pre-Apache version) and fixing any 
> issues you get up to that point. Then you can switch to 10. If you hit too 
> many problems at once, just go up one version at the time. 
> 
> c) is the support for the RCP planned to continue in future?
> As long as NetBeans exists as an IDE, the RCP will continue to work. The 
> NetBeans IDE is just another NetBeans Platform application.
> 
> Which build system are you using--ant or maven?
> 
> -- Eirik
> 
> -Original Message-
> From: tanas gjorgoski 
> Sent: Thursday, October 18, 2018 12:14 PM
> To: us...@netbeans.incubator.apache.org
> Subject: [rcp][platform] Moving UI application based on Netbeans RCP 6.9.1 to 
> 9.0 ?
> 
> Hi,
> 
> The company I work for has an UI app built using the Netbeans Rich Client 
> Platform (RCP)  6.9.1 version. It has stopped working under JDK 9, and I got 
> the job of figuring out what to do.
> I think it would be best if we can move to Netbeans 9.0, instead of patching 
> the 6.9.1 code. But before I look into it , I thought to ask:
> a)  is the RCP still supported as part of Netbeans 9.0
> b) given that I expect the work might take possibly a month - is it better to 
> look into moving to 10.0?
> c) is the support for the RCP planned to continue in future?
> 
> Thanks,
> Tanas Gjorgoski
> -
> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
> For additional commands, e-mail: users-h...@netbeans.apache.org
> 
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> 
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
> For additional commands, e-mail: users-h...@netbeans.apache.org
> 
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> 


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

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



Re: [rcp][platform] Moving UI application based on Netbeans RCP 6.9.1 to 9.0 ?

2018-10-19 Thread tanas gjorgoski
Thanks for the link Neil!

I read through the text. Am I right thinking that in this case the Netbeans 
Platform jars are maven dependency of the App, and they are downloaded from a 
maven repo? 
That is -  the Netbeans Platform code itself needs first to be built (using 
"regular" ant build?) and put in maven repo? 
I'm asking because I would like to keep it possible for us to be able to make 
modifications in the Netbeans Platform code too.

Thanks, 
Tanas


> On 19 Oct 2018, at 12:17, Neil C Smith  wrote:
> 
> On Fri, 19 Oct 2018 at 11:08, tanas gjorgoski  wrote:
>> It seems we are using ant build, but with a gradle wrapper which injects the 
>> maven dependencies.
>> Looking at our code I'm under impression that ant is the only option, do 
>> newer versions support building the Netbeans Platform apps using maven too?
>> If so, that would be great!
> 
> I have a feeling 6.9 did! ;-)
> https://platform.netbeans.org/tutorials/69/nbm-maven-quickstart.html
> 
> Interesting you're doing that with a gradle wrapper - wonder if anyone
> has used Ivy with the RCP?
> 
> Best wishes,
> 
> Neil
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
> For additional commands, e-mail: users-h...@netbeans.apache.org
> 
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> 


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

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



Re: [rcp][platform] Moving UI application based on Netbeans RCP 6.9.1 to 9.0 ?

2018-10-19 Thread Neil C Smith
On Fri, 19 Oct 2018 at 11:08, tanas gjorgoski  wrote:
> It seems we are using ant build, but with a gradle wrapper which injects the 
> maven dependencies.
> Looking at our code I'm under impression that ant is the only option, do 
> newer versions support building the Netbeans Platform apps using maven too?
> If so, that would be great!

I have a feeling 6.9 did! ;-)
https://platform.netbeans.org/tutorials/69/nbm-maven-quickstart.html

Interesting you're doing that with a gradle wrapper - wonder if anyone
has used Ivy with the RCP?

Best wishes,

Neil

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

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



Re: [rcp][platform] Moving UI application based on Netbeans RCP 6.9.1 to 9.0 ?

2018-10-19 Thread tanas gjorgoski
Thanks Eric!

It seems we are using ant build, but with a gradle wrapper which injects the 
maven dependencies.
Looking at our code I'm under impression that ant is the only option, do newer 
versions support building the Netbeans Platform apps using maven too?
If so, that would be great!

Tanas

> On 19 Oct 2018, at 03:47, Eirik Bakke  wrote:
> 
> Hi, Tanas.
> 
>> It has stopped working under JDK 9, and I got the job of figuring out what 
>> to do.
> Yes, you'll need to use the 9.0 version of the NetBeans Platform or above to 
> work with Java 9 or above.
> 
> a)  is the RCP still supported as part of Netbeans 9.0
> Yes! I'm maintaining a NetBeans Platform (=RCP) application myself.
> 
> b) given that I expect the work might take possibly a month - is it better to 
> look into moving to 10.0?
> Yes, I'd move to 10.0. There's not a substantial difference from 9.0 to 10.0 
> from an RCP point of view, just lots of bugfixes.
> 
> I'd start by moving to 8.2 (the last pre-Apache version) and fixing any 
> issues you get up to that point. Then you can switch to 10. If you hit too 
> many problems at once, just go up one version at the time. 
> 
> c) is the support for the RCP planned to continue in future?
> As long as NetBeans exists as an IDE, the RCP will continue to work. The 
> NetBeans IDE is just another NetBeans Platform application.
> 
> Which build system are you using--ant or maven?
> 
> -- Eirik
> 
> -Original Message-
> From: tanas gjorgoski 
> Sent: Thursday, October 18, 2018 12:14 PM
> To: us...@netbeans.incubator.apache.org
> Subject: [rcp][platform] Moving UI application based on Netbeans RCP 6.9.1 to 
> 9.0 ?
> 
> Hi, 
> 
> The company I work for has an UI app built using the Netbeans Rich Client 
> Platform (RCP)  6.9.1 version. It has stopped working under JDK 9, and I got 
> the job of figuring out what to do.
> I think it would be best if we can move to Netbeans 9.0, instead of patching 
> the 6.9.1 code. But before I look into it , I thought to ask:
> a)  is the RCP still supported as part of Netbeans 9.0
> b) given that I expect the work might take possibly a month - is it better to 
> look into moving to 10.0?
> c) is the support for the RCP planned to continue in future?
> 
> Thanks,
> Tanas Gjorgoski
> -
> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
> For additional commands, e-mail: users-h...@netbeans.apache.org
> 
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> 
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
> For additional commands, e-mail: users-h...@netbeans.apache.org
> 
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> 


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

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