Re: Blank Terminal window on M1 Mac with Netbeans 12.5

2022-01-16 Thread antonio

Hi Tim,

Thanks for your report!

It seems we're not contemplating the new M1 Apple computers. Since not 
all of us have access to one of these, would you please add the 
following to this ticket?


a) The result of "uname -p" (this is what we call CPUTYPE in [1])
b) The result of "uname -n" (this is what we call HOSTNAME in [1])
c) The result of "uname -s" (this is what we call OS in [1]).
d) The result of "uname -a" (we use it elsewhere in [1]).
e) The result of "sysctl hw.cpu64bit_capable" (may require 'sudo', this 
is what we call BITNESS, I assume this is 64 bit).

f) The result of "hostinfo"

It would be great if we could compile "dlight.nativeexecution/tools" for 
the new M1 processors by running "build.sh" in [2] on one of these 
computers (I don't own one, though). This will probably require adding 
new #include's in different parts of the code. We'll talk to ASF Infra 
to see if we can have one of these to compile.


Thanks again,
Antonio


[1]
https://github.com/apache/netbeans/blob/master/ide/dlight.nativeexecution/release/bin/nativeexecution/hostinfo.sh

[2]
https://github.com/apache/netbeans/tree/master/ide/dlight.nativeexecution/tools


On 14/01/2022 19:46, Tim Mullé wrote:
I messed around some more and figured out the cause, but there are still 
some issues that are beyond me.


filed a ticket: https://issues.apache.org/jira/browse/NETBEANS-6391 




On Jan 14, 2022, at 7:58 AM, Tim Mullé > wrote:


Thanks, I wonder for the people who the terminals do work they are 
using Rosetta and a non-ARM(x86) based JDK install so the code is 
properly picking the platform.


I have Rosetta also, but since I’m using a native ARM JDK, it is not 
being run under Rosetta.


Just thinking out loud.

@Geertjan - Should I file a bug with the info I posted in this group?

Thanks again…


On Jan 13, 2022, at 7:23 PM, David Green > wrote:


I used the MacOSX installer.   I do see the files in the
/Applications/NetBeans/Apache\ NetBeans\ 
12.6.app/Contents/Resources/NetBeans/netbeans/ide/bin/nativeexecution


and also don’t have any arm/m1 arch files.  There is also a 
hosting.sh file there which also does not have any ARM info/logic.


I have Rosetta installed although I strive to use native code when 
possible.


On Jan 13, 2022 at 5:27:42 PM, Tim Mullé > wrote:
I did more searching in my netbeans installation folder and found 
the list of files the Terminal was looking for, but I noticed that 
there is no ARM or AARCH files mentioned for any OS.


My `uname -a` reports: Darwin mars.fios-router.home 21.2.0 Darwin 
Kernel Version 21.2.0: Sun Nov 28 20:28:41 PST 2021; 
root:xnu-8019.61.5~1/RELEASE_ARM64_T6000 arm64


And I’m running a M1 native JDK from Temurin 17.0.1+12 and tried 
Azul 11.0.13+8 both arm ARM64 JDKs



more 
./ide/update_tracking/org-netbeans-modules-dlight-nativeexecution.xml
codename="org.netbeans.modules.dlight.nativeexecution">
   origin="installer" specification_version="1.53.0.1">
   name="bin/nativeexecution/Linux-sparc_64/killall"/>
   name="bin/nativeexecution/Linux-sparc_64/process_start"/>
   name="bin/nativeexecution/Linux-sparc_64/pty"/>
   name="bin/nativeexecution/Linux-sparc_64/pty_open"/>
   name="bin/nativeexecution/Linux-sparc_64/sigqueue"/>
   name="bin/nativeexecution/Linux-sparc_64/stat"/>
   name="bin/nativeexecution/Linux-sparc_64/unbuffer.so"/>
   name="bin/nativeexecution/Linux-x86/killall"/>
   name="bin/nativeexecution/Linux-x86/process_start"/>

   
   name="bin/nativeexecution/Linux-x86/pty_open"/>
   name="bin/nativeexecution/Linux-x86/sigqueue"/>

   
   name="bin/nativeexecution/Linux-x86/unbuffer.so"/>
   name="bin/nativeexecution/Linux-x86_64/killall"/>
   name="bin/nativeexecution/Linux-x86_64/process_start"/>
   name="bin/nativeexecution/Linux-x86_64/pty"/>
   name="bin/nativeexecution/Linux-x86_64/pty_open"/>
   name="bin/nativeexecution/Linux-x86_64/sigqueue"/>
   name="bin/nativeexecution/Linux-x86_64/stat"/>
   name="bin/nativeexecution/Linux-x86_64/unbuffer.so"/>
   name="bin/nativeexecution/MacOSX-x86/killall"/>
   name="bin/nativeexecution/MacOSX-x86/process_start"/>

   
   name="bin/nativeexecution/MacOSX-x86/pty_open"/>
   name="bin/nativeexecution/MacOSX-x86/stat"/>
   name="bin/nativeexecution/MacOSX-x86/unbuffer.dylib"/>
   name="bin/nativeexecution/MacOSX-x86_64/killall"/>
   name="bin/nativeexecution/MacOSX-x86_64/process_start"/>
   name="bin/nativeexecution/MacOSX-x86_64/pty"/>
   name="bin/nativeexecution/MacOSX-x86_64/pty_open"/>
   name="bin/nativeexecution/MacOSX-x86_64/stat"/>
   name="bin/nativeexecution/MacOSX-x86_64/unbuffer.dylib"/>
   name="bin/nativeexecution/SunOS-sparc_64/killall"/>
   name="bin/nativeexecution/SunOS-sparc_64/privp"/>
   

Re: Updating an Old Plugin and Having Issues

2022-01-16 Thread Michael Bien

the class seems to be still there
https://github.com/apache/netbeans/blob/c084119009d2e0f736f225d706bc1827af283501/java/form.nb/src/org/netbeans/modules/nbform/FormEditorSupport.java

which is in org.netbeans.modules.form.nb but it doesn't appear to be 
public API unless i overlooked something.


have you updated the dependencies? To access it you might need to depend 
on the implementation version, and keep that version in sync.


"Additionally, sometimes a module wishes to get unrestricted access to 
non-public packages of an API module. This is discouraged, but possible 
if such module declares a /direct/ dependency on the API module using an 
implementation version dependency - this kind of dependency indicates 
that the client module is prepared to track every idiosyncrasy of the 
API module, and knows how to safely use "

https://bits.netbeans.org/11.1/javadoc/org-openide-modules/org/openide/modules/doc-files/api.html


-michael


On 17.01.22 01:54, Sean Carrick wrote:

Hey All!

I am updating an old plugin to bring it up to NetBeans 12.6 and have 
run into an issue. The old code is using 
/org.netbeans.modules.form.FormEditorSupport/i, but when I try to 
include it, it does not seem to be found.


Did this class get moved to a different module? Was it dropped altogether?

What I am attempting to update is locating the variables 
(edit-blocked) section in the form class and get its offset so that I 
can declare variables just below it. The original code is:


if (c instanceof FormEditorSupport) {
    doc = c.getDocument();
    pos = ((FormEditorSupport) 
c).getVariablesSection().getStartPosition().getOffset();

} else {
    // ... rest of code goes on for lines and lines ...

IF someone can point me in the right direction, it will be greatly 
appreciated!


Sincerely,

Sean Carrick
Owner - PekinSOFT Systems
s...@pekinsoft.com
(309) 989-0672




Updating an Old Plugin and Having Issues

2022-01-16 Thread Sean Carrick
Hey All!

I am updating an old plugin to bring it up to NetBeans 12.6 and have run
into an issue. The old code is using
*org.netbeans.modules.form.FormEditorSupport*i, but when I try to include
it, it does not seem to be found.

Did this class get moved to a different module? Was it dropped altogether?

What I am attempting to update is locating the variables (edit-blocked)
section in the form class and get its offset so that I can declare
variables just below it. The original code is:

if (c instanceof FormEditorSupport) {
doc = c.getDocument();
pos = ((FormEditorSupport)
c).getVariablesSection().getStartPosition().getOffset();
} else {
// ... rest of code goes on for lines and lines ...

IF someone can point me in the right direction, it will be greatly
appreciated!

Sincerely,

Sean Carrick
Owner - PekinSOFT Systems
s...@pekinsoft.com
(309) 989-0672


Re: Offline Install of Netbeans on JDK 8 (with nb-javac)

2022-01-16 Thread Michael Bien
filing an issue would be pointless since as Geerjan already mentioned, 
the next version will have nb-javac installed by default - so you could 
close that issue right away.


Several options, like for example: upgrading the JDK itself (which would 
be the easiest) were already provided.


best regards,

michael


On 16.01.22 20:18, Brad K. wrote:
So, anyone have any idea what I'm doing wrong? (See my previous post 
-- can't figure out how to reply to my own post and have it actually 
show up on the list.)


If I'm not doing anything wrong, should I open a bug/issue?

Thanks,

BK

On 12/31/2021 1:43 PM, Geertjan Wielenga wrote:
You’ll have to provide complete instructions, step by step, for 
someone to reproduce the situation.


Gj

On Fri, 31 Dec 2021 at 20:41, Brad K. > wrote:


    I have no choice in the Java version; as I said, I'm working for the
    gov't and they have to decide to move forward; I have no say in the
    matter.

    As for nb-javac, I'm struggling here.

    Could you point me to the correct link/location for the correct
    "nb-javac" to download?

    I can't get Netbeans to quit asking me to install nb-javac on my
    network
    disconnected Windows installation even after installing the plugin.

    Thanks,

    BK

    On 12/25/2021 3:17 PM, Geertjan Wielenga wrote:
 > Download nb-javac at home where you have Internet, put it on a 
usb

 > stick, take the usb stick to work, upload nb-javac into your
 > environment, then install it via the Plugin Manager.
 >
 > Or use a later version of the JDK where you don’t need nb-javac,
    i.e.,
 > any version after JDK 8, or wait until NetBeans 13, in the first
 > months of 2022, where nb-javac will be part of NetBeans.
 >
 > Best to start moving away from JDK 8, though. There are now 
two LTS

 > releases since 8.
 >
 > Gj
 >
 > On Sat, 25 Dec 2021 at 22:09, Brad K. mailto:zel...@gmail.com>> wrote:
 >
 >     Yep, it installs fine. But activating the Java parts of 
the IDE

 >     doesn't
 >     work without being forced to download/install the nb-javac
 >     plugin/module. And I can't do that in the stand-alone network
 >     environment I'm in (air-gapped.)
 >
 >     So, I'm trying to find a way to install the nb-javac without
    Internet
 >     access. Everything I've tried always ends up with the IDE 
to keep

 >     asking
 >     to install nb-javac.
 >
 >     On 12/25/2021 3:00 PM, Geertjan Wielenga wrote:
 >     > “installed over Oracle’s JDK 8”
 >     >
 >     > What does this mean? NetBeans runs on any JDK from 8 
onwards.

 >     >
 >     > Gj
 >     >
 >     >
 >     >
 >     > On Sat, 25 Dec 2021 at 21:51, Brad K. mailto:zel...@gmail.com>> wrote:
 >     >
 >     >     Hey all --
 >     >
 >     >     (I'm resending this since my original seems to have 
gotten

 >     lost.)
 >     >
 >     >     I've been trying to find a definitive yes or no to the
 >     question: can
 >     >     Netbeans 11.3 (or later) be installed over Oracle's JDK
    8 in a
 >     >     non-internet connected environment and successfully add
 >     nb-javac?
 >     >
 >     >     I work in gov't and our development network is 
completely

 >     >     air-gapped to
 >     >     everything.
 >     >
 >     >     Every time we try to start up a Java project, it 
asks us to

 >     install
 >     >     nb-javac (as well as JavaFX stuff -- which is 
included in

 >     JDK 8.)
 >     >     We've
 >     >     tried downloading various versions of javac-api,
    javac-impl and
 >     >     nb-javac
 >     >     and the updater, plugins handler, etc., won't use 
any of

 >     them to meet
 >     >     the nb-javac requirement plugin listed in the 
"Available

 >     Plugins"
 >     >     dialog.
 >     >
 >     >     If it is possible, what are the actual directions? Is
    it posted
 >     >     somewhere
 >     >     and my Google-fu is lacking?
 >     >
 >     >     If its not possible, are there solutions that don't 
require

 >     Internet
 >     >     connectivity? Could we setup our own plugin/update 
repo on

 >     our dev
 >     >     net?
 >     >
 >     >     Please help!
 >     >
 >     >     V/r,
 >     >
 >     >     Brad
 >     >
 >     >
 >     >
 > 
  -

 >     >     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:
 >  

Re: Offline Install of Netbeans on JDK 8 (with nb-javac)

2022-01-16 Thread Brad K.
So, anyone have any idea what I'm doing wrong? (See my previous post -- 
can't figure out how to reply to my own post and have it actually show 
up on the list.)


If I'm not doing anything wrong, should I open a bug/issue?

Thanks,

BK

On 12/31/2021 1:43 PM, Geertjan Wielenga wrote:
You’ll have to provide complete instructions, step by step, for someone 
to reproduce the situation.


Gj

On Fri, 31 Dec 2021 at 20:41, Brad K. > wrote:


I have no choice in the Java version; as I said, I'm working for the
gov't and they have to decide to move forward; I have no say in the
matter.

As for nb-javac, I'm struggling here.

Could you point me to the correct link/location for the correct
"nb-javac" to download?

I can't get Netbeans to quit asking me to install nb-javac on my
network
disconnected Windows installation even after installing the plugin.

Thanks,

BK

On 12/25/2021 3:17 PM, Geertjan Wielenga wrote:
 > Download nb-javac at home where you have Internet, put it on a usb
 > stick, take the usb stick to work, upload nb-javac into your
 > environment, then install it via the Plugin Manager.
 >
 > Or use a later version of the JDK where you don’t need nb-javac,
i.e.,
 > any version after JDK 8, or wait until NetBeans 13, in the first
 > months of 2022, where nb-javac will be part of NetBeans.
 >
 > Best to start moving away from JDK 8, though. There are now two LTS
 > releases since 8.
 >
 > Gj
 >
 > On Sat, 25 Dec 2021 at 22:09, Brad K. mailto:zel...@gmail.com>> wrote:
 >
 >     Yep, it installs fine. But activating the Java parts of the IDE
 >     doesn't
 >     work without being forced to download/install the nb-javac
 >     plugin/module. And I can't do that in the stand-alone network
 >     environment I'm in (air-gapped.)
 >
 >     So, I'm trying to find a way to install the nb-javac without
Internet
 >     access. Everything I've tried always ends up with the IDE to keep
 >     asking
 >     to install nb-javac.
 >
 >     On 12/25/2021 3:00 PM, Geertjan Wielenga wrote:
 >     > “installed over Oracle’s JDK 8”
 >     >
 >     > What does this mean? NetBeans runs on any JDK from 8 onwards.
 >     >
 >     > Gj
 >     >
 >     >
 >     >
 >     > On Sat, 25 Dec 2021 at 21:51, Brad K. mailto:zel...@gmail.com>> wrote:
 >     >
 >     >     Hey all --
 >     >
 >     >     (I'm resending this since my original seems to have gotten
 >     lost.)
 >     >
 >     >     I've been trying to find a definitive yes or no to the
 >     question: can
 >     >     Netbeans 11.3 (or later) be installed over Oracle's JDK
8 in a
 >     >     non-internet connected environment and successfully add
 >     nb-javac?
 >     >
 >     >     I work in gov't and our development network is completely
 >     >     air-gapped to
 >     >     everything.
 >     >
 >     >     Every time we try to start up a Java project, it asks us to
 >     install
 >     >     nb-javac (as well as JavaFX stuff -- which is included in
 >     JDK 8.)
 >     >     We've
 >     >     tried downloading various versions of javac-api,
javac-impl and
 >     >     nb-javac
 >     >     and the updater, plugins handler, etc., won't use any of
 >     them to meet
 >     >     the nb-javac requirement plugin listed in the "Available
 >     Plugins"
 >     >     dialog.
 >     >
 >     >     If it is possible, what are the actual directions? Is
it posted
 >     >     somewhere
 >     >     and my Google-fu is lacking?
 >     >
 >     >     If its not possible, are there solutions that don't require
 >     Internet
 >     >     connectivity? Could we setup our own plugin/update repo on
 >     our dev
 >     >     net?
 >     >
 >     >     Please help!
 >     >
 >     >     V/r,
 >     >
 >     >     Brad
 >     >
 >     >
 >     >
 >   
   -

 >     >     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

Re: Upgrading Dependencies when new Netbean Releases

2022-01-16 Thread Eric Bresie
Looking in the console during attempted run I do see..

--- nbm-maven-plugin:4.6:run-ide (default-cli) @ python ---
Configuring mojo org.apache.netbeans.utilities:nbm-maven-plugin:4.6:run-ide
from plugin realm
ClassRealm[plugin>org.apache.netbeans.utilities:nbm-maven-plugin:4.6,
parent: jdk.internal.loader.ClassLoaders$AppClassLoader@4e0e2f2a]
Configuring mojo
'org.apache.netbeans.utilities:nbm-maven-plugin:4.6:run-ide' with basic
configurator -->
  (f) clusterBuildDir =
C:\git\netbeans-python\python\target\netbeans_clusters
  (f) netbeansInstallation = C:\Program Files\NetBeans-12.5\netbeans
  (f) netbeansUserdir = C:\git\netbeans-python\python\target\userdir
-- end configuration --

Where does the "netbeansInstallation" get set?

Is there a new "nb-maven-plugin" beyond 4.6 associated with the 12.6 build?

Eric Bresie
ebre...@gmail.com


On Sun, Jan 16, 2022 at 10:02 AM Eric Bresie  wrote:

> I only updated the netbeans specific dependencies which previously
> referenced "125" and no other dependencies.  Is it possible some other
> dependencies not references with 125 are needing updates as well and if so,
> is there an easy way to determine what else may need to be updated?
>
> I'm running on Windows 10 and JDK 15 ( not sure why I haven't updated the
> JDK in use recently but maybe I should and/or downgrade to an older one
> [JDK 11 or 8 maybe]).
>
> In addition to the "Netbean showing the 12.5 version", I also get messages
> like the following:
>
> Warning - could not install some modules:
> My Editor - The module Progress API was requested in version >= 1.62 but
> only 1.61 was found.
> My Editor - The module UI Utilities API was requested in version >= 7.82
> but only 7.81 was found.
> My  Editor - The module External Execution API was requested in version >=
> 1.63 but only 1.62 was found.
> My Editor - The module MultiView Windows was requested in version >= 1.58
> but only 1.57 was found.
> My Editor - The module Options Dialog and SPI was requested in version >=
> 1.59 but only 1.58 was found.
> My Editor - The module File Templates was requested in version >= 1.22 but
> only 1.21 was found.
> My Editor - The module Dialogs API was requested in version >= 7.56 but
> only 7.55 was found.
> My Editor - The module Common Annotations was requested in version >= 1.42
> but only 1.41 was found.
> My Editor - The module File System API was requested in version >= 9.26
> but only 9.25 was found.
> My Editor - The module Lookup API was requested in version >= 8.48 but
> only 8.47 was found.
> My  Editor - The module Utilities API was requested in version >= 9.22 but
> only 9.21 was found.
> My Editor - The module TextMate Lexer was requested in version >= 1.14.0.1
> but only 1.13.0.1 was found.
> My Editor - The module Filesystems NetBeans Client was requested in
> version >= 9.24 but only 9.23 was found.
> My Editor - The module Module System API was requested in version >= 7.62
> but only 7.61 was found.
> My Editor - The module Text API was requested in version >= 6.82 but only
> 6.81 was found.
> My Editor - The module Editor Indentation was requested in version >= 1.57
> but only 1.56 was found.
> My Editor - The module Datasystems API was requested in version >= 7.84
> but only 7.83 was found.
> My Editor - The module Nodes API was requested in version >= 7.59 but only
> 7.58 was found.
> My Editor - The module LSP Client was requested in version >= 1.13.0.1.1
> but only 1.12.0.1.1 was found.
> My Editor - The module Lexer was requested in version >= 1.77.0.1 but only
> 1.76.0.1 was found.
> My Editor - The module LSP APIs was requested in version >= 1.6 but only
> 1.5 was found.
> My Editor - The module Project API was requested in version >= 1.82 but
> only 1.81 was found.
> My Editor - The module External Execution Base API was requested in
> version >= 1.20 but only 1.19 was found.
>
> I've tried downloading dependencies, cleaning and rebuilding but still no
> luck.
>
> Is there a specific property somewhere that specifies the netbean platform
> to be used?
>
> I see the "Set Configuration" with "default config", "netbeans-ide", and
> "release" but using these don't seem to help either.
>
> Eric Bresie
> ebre...@gmail.com
>
>
> On Sun, Jan 16, 2022 at 9:46 AM Eric Bresie  wrote:
>
>> I have been working on a Maven Netbeans module project in Netbeans which
>> has many Netbean specific dependencies.  I started this with Netbeans 12.5
>> based dependencies and all seemed to work well.
>>
>> When Netbeans 12.6 came out I figured I would upgrade the dependencies to
>> be compatible with 12.6 versions so I modified all the dependencies to be
>> like RELEASE126.
>>
>> This seemed to work someone but there were issues none the less.  For
>> example:
>>
>> When attempting "Run" on the project in Netbeans, it continued to use the
>> "Netbean 12.5 platform" during running and complained about some older
>> modules being present instead of newer modules.  Assume it's still using
>> Netbeans 12.5 for 

Re: Upgrading Dependencies when new Netbean Releases

2022-01-16 Thread Eric Bresie
I only updated the netbeans specific dependencies which previously
referenced "125" and no other dependencies.  Is it possible some other
dependencies not references with 125 are needing updates as well and if so,
is there an easy way to determine what else may need to be updated?

I'm running on Windows 10 and JDK 15 ( not sure why I haven't updated the
JDK in use recently but maybe I should and/or downgrade to an older one
[JDK 11 or 8 maybe]).

In addition to the "Netbean showing the 12.5 version", I also get messages
like the following:

Warning - could not install some modules:
My Editor - The module Progress API was requested in version >= 1.62 but
only 1.61 was found.
My Editor - The module UI Utilities API was requested in version >= 7.82
but only 7.81 was found.
My  Editor - The module External Execution API was requested in version >=
1.63 but only 1.62 was found.
My Editor - The module MultiView Windows was requested in version >= 1.58
but only 1.57 was found.
My Editor - The module Options Dialog and SPI was requested in version >=
1.59 but only 1.58 was found.
My Editor - The module File Templates was requested in version >= 1.22 but
only 1.21 was found.
My Editor - The module Dialogs API was requested in version >= 7.56 but
only 7.55 was found.
My Editor - The module Common Annotations was requested in version >= 1.42
but only 1.41 was found.
My Editor - The module File System API was requested in version >= 9.26 but
only 9.25 was found.
My Editor - The module Lookup API was requested in version >= 8.48 but only
8.47 was found.
My  Editor - The module Utilities API was requested in version >= 9.22 but
only 9.21 was found.
My Editor - The module TextMate Lexer was requested in version >= 1.14.0.1
but only 1.13.0.1 was found.
My Editor - The module Filesystems NetBeans Client was requested in version
>= 9.24 but only 9.23 was found.
My Editor - The module Module System API was requested in version >= 7.62
but only 7.61 was found.
My Editor - The module Text API was requested in version >= 6.82 but only
6.81 was found.
My Editor - The module Editor Indentation was requested in version >= 1.57
but only 1.56 was found.
My Editor - The module Datasystems API was requested in version >= 7.84 but
only 7.83 was found.
My Editor - The module Nodes API was requested in version >= 7.59 but only
7.58 was found.
My Editor - The module LSP Client was requested in version >= 1.13.0.1.1
but only 1.12.0.1.1 was found.
My Editor - The module Lexer was requested in version >= 1.77.0.1 but only
1.76.0.1 was found.
My Editor - The module LSP APIs was requested in version >= 1.6 but only
1.5 was found.
My Editor - The module Project API was requested in version >= 1.82 but
only 1.81 was found.
My Editor - The module External Execution Base API was requested in version
>= 1.20 but only 1.19 was found.

I've tried downloading dependencies, cleaning and rebuilding but still no
luck.

Is there a specific property somewhere that specifies the netbean platform
to be used?

I see the "Set Configuration" with "default config", "netbeans-ide", and
"release" but using these don't seem to help either.

Eric Bresie
ebre...@gmail.com


On Sun, Jan 16, 2022 at 9:46 AM Eric Bresie  wrote:

> I have been working on a Maven Netbeans module project in Netbeans which
> has many Netbean specific dependencies.  I started this with Netbeans 12.5
> based dependencies and all seemed to work well.
>
> When Netbeans 12.6 came out I figured I would upgrade the dependencies to
> be compatible with 12.6 versions so I modified all the dependencies to be
> like RELEASE126.
>
> This seemed to work someone but there were issues none the less.  For
> example:
>
> When attempting "Run" on the project in Netbeans, it continued to use the
> "Netbean 12.5 platform" during running and complained about some older
> modules being present instead of newer modules.  Assume it's still using
> Netbeans 12.5 for the platform for some reason and may not be picking up
> newer dependencies, has stale jars, or platform setup issues.
>
> In the Tools...Netbeans Platform, only 12.6 platforms are defined with no
> 12.5 present.
>
> In the project folder, I removed the "target" cache/user folders which
> caused them to be repopulated at next build but still no luck.
>
> Any idea?
>
> Eric Bresie
> ebre...@gmail.com
>
>


Upgrading Dependencies when new Netbean Releases

2022-01-16 Thread Eric Bresie
I have been working on a Maven Netbeans module project in Netbeans which
has many Netbean specific dependencies.  I started this with Netbeans 12.5
based dependencies and all seemed to work well.

When Netbeans 12.6 came out I figured I would upgrade the dependencies to
be compatible with 12.6 versions so I modified all the dependencies to be
like RELEASE126.

This seemed to work someone but there were issues none the less.  For
example:

When attempting "Run" on the project in Netbeans, it continued to use the
"Netbean 12.5 platform" during running and complained about some older
modules being present instead of newer modules.  Assume it's still using
Netbeans 12.5 for the platform for some reason and may not be picking up
newer dependencies, has stale jars, or platform setup issues.

In the Tools...Netbeans Platform, only 12.6 platforms are defined with no
12.5 present.

In the project folder, I removed the "target" cache/user folders which
caused them to be repopulated at next build but still no luck.

Any idea?

Eric Bresie
ebre...@gmail.com