Re: Getting javadoc to work for netbean modules

2023-07-25 Thread Antonio

Hi Juan,

## For Ant based NBP projects:

You should take a look at the "Tools/NetBeans Platforms..." in the 
NetBeans menu. That will show the NetBeans Platform Manager dialog.


In that dialog you can set the location of the NetBeans sources in the 
"Sources" tab. As in all Apache projects, NetBeans sources are always 
released as a zip file [1].


You also have a "Javadoc" tab to select a zip file with NetBeans 
Javadoc, but I'm afraid that we don't create a public .zip file with all 
Javadoc versions available at [2]. Anyway having the "Sources" tab in 
place should show good enough information.


## For Maven based NBP projects:

I think this should work as in all Maven projects, i.e., you have the 
option to download sources for any dependency: just right-click on it 
and choose "Download source". Again I don't think we build .zip files 
with Javadoc for NetBeans modules.


Hope this helps,
Antonio



[1]
https://netbeans.apache.org/download/

[2]
http://bits.netbeans.org/


On 25/7/23 6:03, Juan Algaba wrote:

Ant, but willing to move to maven if that helps the situation in any way.



-
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



Duplicates unit test methods generated and other issues

2023-07-25 Thread Greenberg, Gary
I recently installed NB 18 on my Windows laptop, switching from NB 14.
Noticed some strange behavior.

  1.  Sometimes within Netbeans window appears a smaller duplicate and all 
editing of the code can be perform only inside this smaller frame.
Some menu items (on the right side) becomes disabled. Resizing of the window 
doesn't work. The only way to fix is to shut down NB and restart it.
It happens sporadically (1-2 times a week) and I can't figure out what might 
cause it. Has anyone else notice such behavior?
  2.  When I generate unit test, all setup and teardown methods are generated 
twice. See snapshot:
[cid:image001.png@01D9BEDF.42F7C9A0]
I am using OpenJDK 18, BTW.
Gary Greenberg
Staff Software Engineer