Re: Python development with NB

2023-01-31 Thread Michael Bien

On 30.01.23 21:46, Greenberg, Gary wrote:


I already asked this question some time ago, but didn’t get any clear 
answers.



No, NetBeans does not support Python at the moment.

-mbien

Re: A plain Java module shared between multiple Netbeans modules

2023-01-31 Thread Neil C Smith
On Tue, 31 Jan 2023 at 15:53, Admin Netcrystals
 wrote:
> I have got a question regarding modules in Rich Client Platform.
>
> I have got some plain Java modules. They are not related to Netbeans in any 
> way. They are general libraries. Lets call them A, B and C.
>
> Now, I program a Netbeans program having two Netbeans Modules, lets say NX an 
> NY.
>
> NX needs A and B, so I add them.
> NY needs B and C, so I add them.
>
> The problem is that if NX and NY are added to the platform B is loaded twice.
>
> I suppose that I have to set the scope of B to provided in either NX or NY. 
> However, this seems to be steange to me.
>
> Can someone tell me the correct way?

Check out -

https://netbeans.apache.org/wiki/DevFaqWrapperModules.html
https://netbeans.apache.org/wiki/DevFaqWhenUseWrapperModule.html

Are you using an Ant or Maven project for 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



A plain Java module shared between multiple Netbeans modules

2023-01-31 Thread Admin Netcrystals

  
  
  

	
	Hello,I have got a question regarding modules in Rich Client Platform.I have got some plain Java modules. They are not related to Netbeans in any way. They are general libraries. Lets call them A, B and C.Now, I program a Netbeans program having two Netbeans Modules, lets say NX an NY.NX needs A and B, so I add them.NY needs B and C, so I add them.The problem is that if NX and NY are added to the platform B is loaded twice.I suppose that I have to set the scope of B to provided in either NX or NY. However, this seems to be steange to me.Can someone tell me the correct way?Thanks.Regards  
	Netcrystals

  



-
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



Using the Libre Office UNO Java interface on MacOS with NetBeans

2023-01-31 Thread David Gradwell
Hi,

I am trying to write Java programs to make use of the  Libre Office UNO Java 
interface on MacOS.

I am aware of:
https://wiki.documentfoundation.org/Main_Page
https://wiki.documentfoundation.org/Documentation/DevGuide/LibreOffice_Developers_Guide
https://api.libreoffice.org/examples/DevelopersGuide/examples.html#FirstSteps
https://api.libreoffice.org/examples/examples.html#Java_examples
https://wiki.openoffice.org/wiki/Documentation/DevGuide/OpenOffice.org_Developers_Guide

I have succeeded in getting half a dozen of the examples to work.  I have 
NetBeans projects for each of these.  Getting the dependencies right was a 
struggle !

I had to make code changes so that the examples would run on MacOS (changes to 
the bootstrap to account for a Mac application code structure) and the bug in 
released version 7.4 issue that now has a fix.

I am happy to share these with anyone else that is trying to use UNO.

I am perplexed by the UNO interface and unable to access the attributes of the 
sub-types of the shapes in a diagram.  Help would be very welcome !

So, if anyone else is using UNO or trying to use UNO with Libre Office or 
Apache Open Office do make contact.

David Gradwell


Import Suggestions not working outside local module?

2023-01-31 Thread Karl Beckers
Hi,

so, this is on NB 16 with OpenJDK 17 in a Maven project.

I'm trying to have a java module of my own with test classes in the same 
module/packages.

Now, I have already added org.junit.jupiter.junit-jupiter-api to my 
dependencies.
So, in my test class I expect to type in TestInfo and be able to hit ALT-ENTER 
and get a suggestion for the import, but all I get are suggestions to add 
classes or search for dependencies.

So I remove the manually added dependency and let NB do the job ... still no 
cookie.
Then I close NB and remove the entire cache directory, restart and it rebuild 
the cache ... no change.

I can hit CMD-O and type in TestInfo and it actually _finds_ the right 
interface.
When I manually type in the right import, everything compiles just fine.



What's going on here?

TIA,

Karl.


-
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