Re: Spring Boot

2019-05-21 Thread John McDonnell
What problem are you getting?

When I'm starting a spring boot application I start @
https://start.spring.io/ and generate a Maven project.  Download this and
open it in NetBeans without any issues.

Note with NetBeans 11 now, you can also generate a Gradle project, and
there use to be a plugin to avoid the website, but I think the website is
the way to go...

Regards

John

On Tue, 21 May 2019 at 22:19,  wrote:

> Try this introduction
>
> https://www.baeldung.com/the-persistence-layer-with-spring-data-jpa
>
> It uses maven to get all dependencies.
>
> I had no problems.
>
> Daniel
>
> Dne 21.05.2019 23:04, Michael Spence napsal:
>
> I am trying to set up a project using Spring Boot to avoid "just use
> Eclipse".  I have not been able to get this to work in either 8.2 or 11
> (not sure if 11 is supposed to support this).  Is there a how-to somewhere,
> or even a pom that works that I could study?
>
> Thanks,
> Michael D. Spence
> Mockingbird Data Systems, Inc.
>
>
>
>


Re: Spring Boot

2019-05-21 Thread Jonathan Bergh
I have found the Springboot plugin for Netbeans works really well,
including the SpringBoot Initializer. You get x2 nice Maven project types.

Works fine in 8.2 & 10 so far.

Search for it in the plugins listing

On Tue, May 21, 2019 at 11:19 PM  wrote:

> Try this introduction
>
> https://www.baeldung.com/the-persistence-layer-with-spring-data-jpa
>
> It uses maven to get all dependencies.
>
> I had no problems.
>
> Daniel
>
> Dne 21.05.2019 23:04, Michael Spence napsal:
>
> I am trying to set up a project using Spring Boot to avoid "just use
> Eclipse".  I have not been able to get this to work in either 8.2 or 11
> (not sure if 11 is supposed to support this).  Is there a how-to somewhere,
> or even a pom that works that I could study?
>
> Thanks,
> Michael D. Spence
> Mockingbird Data Systems, Inc.
>
>
>
>


Re: Spring Boot

2019-05-21 Thread daniel
Try this introduction 

https://www.baeldung.com/the-persistence-layer-with-spring-data-jpa 

It uses maven to get all dependencies. 

I had no problems. 

Daniel 

Dne 21.05.2019 23:04, Michael Spence napsal:

> I am trying to set up a project using Spring Boot to avoid "just use 
> Eclipse".  I have not been able to get this to work in either 8.2 or 11 (not 
> sure if 11 is supposed to support this).  Is there a how-to somewhere, or 
> even a pom that works that I could study? 
> 
> Thanks, 
> Michael D. Spence 
> Mockingbird Data Systems, Inc.

Java Swing vs AWT

2019-05-21 Thread Ed Sowell
I've been working on my Windows Java app for several years using NetBeans 7
& later. All my dialogs use Swing components from the visual designer. Now,
after switching to 11, I constructed a new dialog and discovered certain
things weren't available, e.g., setInputVerifier(). When I dug in a bit it
seems to be because before I was able to select text boxes etc. from Swing,
whereas now components like text boxes are available only under AWT. How can
I get the Swing components back on the Palette?

 

Ed



Spring Boot

2019-05-21 Thread Michael Spence
I am trying to set up a project using Spring Boot to avoid "just use
Eclipse".  I have not been able to get this to work in either 8.2 or 11
(not sure if 11 is supposed to support this).  Is there a how-to somewhere,
or even a pom that works that I could study?

Thanks,
Michael D. Spence
Mockingbird Data Systems, Inc.


NB 11 Gradle support for java modules?

2019-05-21 Thread Terrell, Roger (CCI-Atlanta)
Using NB 11, Gradle 5.4.1, and  Java 11 or 12... Is there a supported/correct 
way to develop multi-module applications?

I can easily get them working without NetBeans by using the popular 
"org.javamodularity.moduleplugin" gradle plugin, but NB doesn't recognize the 
modules so it doesn't resolve the cross-module dependencies. I.e., the 
'requires' statements in the module-info.java file, and imports across modules.

Thanks!



Re: Building Windows Launchers only

2019-05-21 Thread Jean-Marc Borer
Well, I cannot really help here, but did you try relatives path in your
application.conf file to the JRE that would be embedded in the app?

On Thu, May 16, 2019 at 4:39 PM Mark Phipps  wrote:

> Thanks - actually I want to (re)build the launchers in the NBI engine,
> because I want to change/debug the code in JavaUtils.c because it is
> preventing my app launcher with bundled Java 11 runtime.
>
> Any hints on how to do this?
>
> There is no Make.mingw file at nbi/engine/native/launcher/windows
>
> Is there an easy way to convert a "regular" make file into MinGW format?
>
> I really don't know what I 'm doing when it comes to compiling C, but I
> can see the code I want to change.
>
> Looking at the PRs 1145 etc, and your suggestion below, I can find the
> MinGW make files and build the other launchers, but it is the NBI one I
> want to manipulate.
>
> Any help much appreciated.
>
> Thanks
> Mark
>
>
> On 16/05/2019 10:09, Emilian Bold wrote:
>
> Hm, last I looked we had some makefiles in about 2-3 places so I just
> invoked those.
>
> I assume the build system does something like that.
>
> --emi
>
> joi, 16 mai 2019, 11:51 Mark Phipps  a scris:
>
>> On the Apache NetBeans github page, is the instruction to build the
>> Windows launchers:
>>
>> ant -Ddo.build.windows.launchers=true
>>
>> This also builds the entire system, which takes a long time.
>>
>> Is there an addition to this incantation which builds JUST the launchers?
>>
>> Thanks
>> Mark
>>
>> *Mark Phipps |* Front Office Development Manager
>> *Sucden Financial Limited |* Plantation Place South *|* 60 Great Tower
>> Street *| *London EC3R 5AZ
>>
>> *Telephone (DDI): *+44 (0)20 3207 5140* | Switchboard:* +44 (0)20 3207
>> 5000
>> *Email: *mark.phi...@sucfin.com | *Website:* www.sucdenfinancial.com
>>
>>
>> [image: Description: signature20170705.jpg]
>> 
>>
>> Twitter  | LinkedIn
>> 
>>
>> www.sucdenfinancial.com
>>
>> Sucden Financial Limited, Plantation Place South, 60 Great Tower Street,
>> London EC3R 5AZ
>> Telephone +44 203 207 5000
>>
>> Registered in England no. 1095841
>> VAT registration no. GB 446 9061 33
>>
>> Authorised and Regulated by the Financial Conduct Authority (FCA) and
>> entered in the FCA register under no. 114239
>>
>> This email, including any files transmitted with it, is confidential and
>> may be privileged. It may be read, copied and used only by the intended
>> recipient. If you are not the intended recipient of this message, please
>> notify *postmas...@sucfin.com * immediately and
>> delete it from your computer system.
>>
>> We believe, but do not warrant, that this email and its attachments are
>> virus-free, but you should check.
>>
>>
>>
>> Sucden Financial Limited may monitor traffic data of both business and
>> personal emails. By replying to this email, you consent to Sucden
>> Financial's monitoring the content of any emails you send to or receive
>> from Sucden Financial. Sucden Financial is not liable for any opinions
>> expressed by the sender where this is a non-business email.
>>
>>
>>
>> The contents of this e-mail do not constitute advice and should not be
>> regarded as a recommendation to buy, sell or otherwise deal with any
>> particular investment.Where any trade ideas are made by an employee of
>> Sucden Financial in an electronic communication, these are made
>> incidentally to your dealing relationship with us and are provided solely
>> to enable you to make your own investment decisions and do not amount to
>> advice. Please note that the employee may have had many, varied trade ideas
>> over the past 12 months, including contrary ideas. Any trade ideas are
>> solely based on the employee’s market knowledge and experience and may not
>> be tailored to your specific circumstances or investment objectives. Please
>> contact the employee who made the trade idea if you would like to see any
>> of his/her trade ideas made in the previous 12 months for comparative
>> purposes. Please visit our website to view our full risk warnings and
>> disclaimers: www.sucdenfinancial.com
>>
>>
>>
>> This message has been scanned for viruses by Mimecast
>> 
>>
>
>


Re: Trying to set up Tomcat with Netbeans

2019-05-21 Thread Owen Thomas
Thanks Josh.

Perhaps I'll just install Netbeans in my existing Ubuntu tomorrow and see
how that goes.


On Tue, 21 May 2019 at 20:53, Josh Juneau  wrote:

> Hi Owen,
>
> As mentioned by Geertjan, if you install NetBeans 11 then it should work.
> Once installed, open the "Services" tab, then right-click on "Servers" and
> choose "Add Server".  One of the available server options is "Apache Tomcat
> or TomEE".
>
> Thanks
> Josh Juneau
> juneau...@gmail.com
> http://jj-blogger.blogspot.com
> https://www.apress.com/us/search?query=Juneau
> 
>
>
>
> On Tue, May 21, 2019 at 12:47 AM Geertjan Wielenga 
> wrote:
>
>> I'd recommend to use Apache NetBeans 11, no need to install any plugins
>> for what you describe.
>>
>> Gj
>>
>> On Tue, May 21, 2019 at 7:46 AM Owen Thomas 
>> wrote:
>>
>>> Catalina base is Catalina home.
>>>
>>> On Tue, 21 May 2019 at 14:18, Owen Thomas 
>>> wrote:
>>>
 I've installed version 8.5.32 of Tomcat, and I have also installed the
 plugins as instructed for Netbeans 8.2. I'm trying to configure the server
 in Netbeans by right clicking Servers from the services tab, choosing Add
 Server, entering "/opt/tomcat/apache-tomcat-8.5.32" for the server
 location, but Netbeans tells me that "The specified Server Location
 (Catalina Home) folder is not valid.

 This is the folder to which $CATALINA_HOME is set. What's going wrong?




Re: Trying to set up Tomcat with Netbeans

2019-05-21 Thread Owen Thomas
Yeah, I suppose its time I upgraded to the next LTS for Ubuntu as well.

On Tue, 21 May 2019 at 15:47, Geertjan Wielenga  wrote:

> I'd recommend to use Apache NetBeans 11, no need to install any plugins
> for what you describe.
>
> Gj
>
> On Tue, May 21, 2019 at 7:46 AM Owen Thomas 
> wrote:
>
>> Catalina base is Catalina home.
>>
>> On Tue, 21 May 2019 at 14:18, Owen Thomas 
>> wrote:
>>
>>> I've installed version 8.5.32 of Tomcat, and I have also installed the
>>> plugins as instructed for Netbeans 8.2. I'm trying to configure the server
>>> in Netbeans by right clicking Servers from the services tab, choosing Add
>>> Server, entering "/opt/tomcat/apache-tomcat-8.5.32" for the server
>>> location, but Netbeans tells me that "The specified Server Location
>>> (Catalina Home) folder is not valid.
>>>
>>> This is the folder to which $CATALINA_HOME is set. What's going wrong?
>>>
>>>


Re: Trying to set up Tomcat with Netbeans

2019-05-21 Thread Josh Juneau
Hi Owen,

As mentioned by Geertjan, if you install NetBeans 11 then it should work.
Once installed, open the "Services" tab, then right-click on "Servers" and
choose "Add Server".  One of the available server options is "Apache Tomcat
or TomEE".

Thanks
Josh Juneau
juneau...@gmail.com
http://jj-blogger.blogspot.com
https://www.apress.com/us/search?query=Juneau




On Tue, May 21, 2019 at 12:47 AM Geertjan Wielenga 
wrote:

> I'd recommend to use Apache NetBeans 11, no need to install any plugins
> for what you describe.
>
> Gj
>
> On Tue, May 21, 2019 at 7:46 AM Owen Thomas 
> wrote:
>
>> Catalina base is Catalina home.
>>
>> On Tue, 21 May 2019 at 14:18, Owen Thomas 
>> wrote:
>>
>>> I've installed version 8.5.32 of Tomcat, and I have also installed the
>>> plugins as instructed for Netbeans 8.2. I'm trying to configure the server
>>> in Netbeans by right clicking Servers from the services tab, choosing Add
>>> Server, entering "/opt/tomcat/apache-tomcat-8.5.32" for the server
>>> location, but Netbeans tells me that "The specified Server Location
>>> (Catalina Home) folder is not valid.
>>>
>>> This is the folder to which $CATALINA_HOME is set. What's going wrong?
>>>
>>>