Re: php development

2020-07-06 Thread Juan Algaba
> Will someone(kindly or otherwise) point me to docs that show how to set > up NB-12 with a server to write/debug/test php/mysql stuff locally? Here you go: http://netbeans.apache.org/kb/docs/php/ You'll see PHP 5 mentioned a lot, but just ignore that and use 7.x (where x is the newest your host

Re: php development

2020-07-06 Thread Alan
That's a question with a pretty broad scope. There isn't much that's Netbeans specific. My preferred approach is to set up a local development environment with Apache and MySQL, but there's a single-threaded web server built into PHP as well. Getting the xdebug set up seems to cause the most

Re: Nb12 create package not working

2020-07-06 Thread Juan Algaba
People might be able to help you better with some more info: * What build system are you using? If gradle, does your project get recognized as a web app by netbeans (IIRC it's the green gradle icon with a small blue world)? * Are you doing this in the Projects Panel or the Files Panel * When you

Re: php development

2020-07-06 Thread Ernie Rael
On 7/6/2020 4:47 PM, Alan wrote: 5.6 and 7.0 are ancient, unsupported.You should be running 7.3 at least, and 7.4 offers more great features and performance. Thanks for the info, but I've got 6 months. I was in a rush, my bad for not doing up front research. I will certainly keep your words

Re: php development

2020-07-06 Thread Alan
5.6 and 7.0 are ancient, unsupported.You should be running 7.3 at least, and 7.4 offers more great features and performance. If your starter kit package doesn't offer a current PHP, you have a crap host. Likely there will be many other problems. I strongly suggest finding a better one. [my

php development

2020-07-06 Thread Ernie Rael
Hi all, Perhaps I'm finally reaching the late 20th century... I've gotten a web hosting package (starter kit). It has mysql and php; php 5.6 by default, can select 7.0. (MySql seems to be 5.6, coincidence?) Will someone(kindly or otherwise) point me to docs that show how to set up NB-12

Re: Issue with recognizing functions

2020-07-06 Thread slipbits
Thanks On 7/6/2020 9:39 AM, HRH wrote: This statement in your codeSystem.out.println(attr.toString()); will not print the permissions. The toString() operation on PosixFilePermissions class requires a parameter. Here is the method signature: PosixFilePermissions.toString​(Set perms) On

unsubscribe

2020-07-06 Thread Qingtian Wang
- 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: Apache update server unavailable

2020-07-06 Thread Neil C Smith
On Mon, 6 Jul 2020 at 17:38, John G. Weed wrote: > Am trying to run updates on NetBeans 11.2. List of required updates seems to > work, however when I tell it to go ahead and update I get a pop up error > indicating that update server is unavailable... > >

Re: Issue with recognizing functions

2020-07-06 Thread HRH
This statement in your code System.out.println(attr.toString()); will not print the permissions. The toString() operation on PosixFilePermissions class requires a parameter. Here is the method signature:PosixFilePermissions.toString​(Set perms) On Monday, July 6, 2020, 8:08:10 PM

Apache update server unavailable

2020-07-06 Thread John G. Weed
Am trying to run updates on NetBeans 11.2. List of required updates seems to work, however when I tell it to go ahead and update I get a pop up error indicating that update server is unavailable...

Re: JavaFx Problem

2020-07-06 Thread Brain Rebooting
Thank you for your important information. Anyone who is interested in deep level of learning regarding math or computer science, can use your website as a resource center or library. On Mon, Jul 6, 2020 at 10:22 PM slipbits wrote: > They are all downloadable. If I've done my job correctly, you

Issue with recognizing functions

2020-07-06 Thread slipbits
I am trying to create files/directories and to assign attributes to them. I would like my software to play on multiple OS's and I am trying to find the Java way of identifying OS specific attributes. Two issues came up. In one, there is no discussion of Windows attributes. I have assumed that

Re: JavaFx Problem

2020-07-06 Thread slipbits
Hi; Learning is a lifetime avocation. Once you 'start' to enjoy it, you will always enjoy it. And that's what gets you through the day. I used to say (still do for that matter) that anything that I once learned I will use. Sometimes I will use it years after I 'learned' it. When this

Re: JavaFx Problem

2020-07-06 Thread Brain Rebooting
Wow. Some great things I came to know about you. Especially "always learning new things" probably take a special kind of mindset. Otherwise, very fewer people are willing to do that. And you people are some of those fewer people. But I'm a little shocked by knowing that, you don't drink coffee

Re: JavaFx Problem

2020-07-06 Thread Laszlo Kishalmi
On 7/6/20 7:16 AM, Brain Rebooting wrote: I have some questions since last couple of years. Here I want to ask you now. If it is possible for you, kindly answer my question. 1. What motivate or inspires you for working in an open source project, when you can spend that time too in commercial

Re: JavaFx Problem

2020-07-06 Thread Brain Rebooting
I have some questions since last couple of years. Here I want to ask you now. If it is possible for you, kindly answer my question. 1. What motivate or inspires you for working in an open source project, when you can spend that time too in commercial purpose ? (I supposed that, because of your

Re: JavaFx Problem

2020-07-06 Thread Brain Rebooting
 Actually I code that scene part, out of outer loop in IntelliJ IDEA community edition. That's why it works. Actually I am feeling embarrassed to ask for this question now. I should be more careful. By the way, I have no tutor or mentor. Whatever I learn, I learned it myself. I learned in

Re: JavaFx Problem

2020-07-06 Thread Geertjan Wielenga
But it works in IntelliJ IDEA community edition? Gj On Mon, Jul 6, 2020 at 12:27 PM Brain Rebooting wrote: > Thank you. Your program works. I made a silly mistake. Create scene inside > the for loop. > Take my greetings. > > Samiul alom sium > > On Mon, Jul 6, 2020 at 3:19 PM Geertjan Wielenga

Re: JavaFx Problem

2020-07-06 Thread Brain Rebooting
Thank you. Your program works. I made a silly mistake. Create scene inside the for loop. Take my greetings. Samiul alom sium On Mon, Jul 6, 2020 at 3:19 PM Geertjan Wielenga wrote: > This is probably what you want to do: > > package com.mycompany.mavenproject22; > > import

Re: JavaFx Problem

2020-07-06 Thread Geertjan Wielenga
This is probably what you want to do: package com.mycompany.mavenproject22; import javafx.application.Application; import javafx.scene.Scene; import javafx.scene.layout.Pane; import javafx.scene.paint.Color; import javafx.stage.Stage; import javafx.scene.shape.Rectangle; /** * JavaFX App */

Re: JavaFx Problem

2020-07-06 Thread Geertjan Wielenga
You're creating a scene at the end of some kind of nested for loop? Gj On Mon, Jul 6, 2020 at 10:54 AM Brain Rebooting wrote: > OK. Here I am going to submit my simple source code of JavaFX program, > that should show a black and white chessboard. > > >

Re: Maven Modular Projects with Java 11

2020-07-06 Thread Luff,Chris
+1 I have been using Maven projects with modules for some time. Use NetBeans to generate the module-info in the default package. Will like need some tweaking to export the right packages for consumption by the other projects. > On 6 Jul 2020, at 09:26, Neil C Smith wrote: > > On Mon, 6 Jul

Re: JavaFx Problem

2020-07-06 Thread Brain Rebooting
OK. Here I am going to submit my simple source code of JavaFX program, that should show a black and white chessboard. import

RE: NB12 - debugger is not going into the method

2020-07-06 Thread Joao Rebelo
Hi, some times i have this problem in java, too. Also when debugging in PHP with PHPUnit is worst, the break point is ignored and is has not exist, or stop In a line which is not the one where is the breakpoint De: Greenberg, Gary Enviada: 6 de julho de 2020 07:20 Para:

Re: Maven Modular Projects with Java 11

2020-07-06 Thread Neil C Smith
On Mon, 6 Jul 2020 at 08:21, Shaun Flynn wrote: > My question is: is there a way to create a Maven project which uses the Java > Module system? > > I do have a work around but it feels quite hacky: each Java is it's own Maven > project, or is this how it is supposed to be? Sounds right to me.

Re: [Bugtracking API] Create new task in LocalTasks Repository programmatically ?

2020-07-06 Thread Bilu
Is this possible ? Le 29/06/2020 à 10:59, Bilu a écrit : > > Hello, > > Is there a way to add new task to the local repository programmatically ? > > Bugtracking API provides Util.createIssue(Repository repository,  > String summary,  String description) but this method throw  an >

Nb12 wizard create entity from database and wizard persistence.xml not working with jee8

2020-07-06 Thread Mauro Chi
Hi all. I have probems with nb 12. I create a datasource into wildfly 19 and 20. Next i try to create entity from database with wizard. But nb not detect the datasource anyway. Also if i simple try to create the persistence.xml from tge appropriate wizard. This problem appair both for ant ant

Maven Modular Projects with Java 11

2020-07-06 Thread Shaun Flynn
Hello there folks, First time poster, so please be gentle :) I have recently gained the confidence to stsrt using Maven after learning how to use the module system in Java 11. My question is: is there a way to create a Maven project which uses the Java Module system? I do have a work around

Nb12 create package not working

2020-07-06 Thread Mauro Chi
If into nb12 on win10 with jdk 1.8 you try to create a new package or sub package for a web app java with right click on source folder java, the new created package appair with a icon like a simple dir and nb not detect the new package like package

Re: JavaFx Problem

2020-07-06 Thread Geertjan Wielenga
Can you provide any info so someone can reproduce the problem? Gj On Mon, 6 Jul 2020 at 08:02, Brain Rebooting wrote: > Probably not only this specific program. After installing NetBeans 12, > none of my JavaFX program show output (with ant build). But NetBeans 11.3 > with all same

RE: NB12 - debugger is not going into the method

2020-07-06 Thread Greenberg, Gary
No, I was not using lambda expressions. Gary Greenberg Staff Software Engineer Data Product Development, BI-A E: ggree...@visa.com M: 650-269-7902 [EmailSig-TaglineVersion] From: András Sik Sent: Sunday, July 5, 2020 11:13 PM Cc: users@netbeans.apache.org Subject: Re: NB12 - debugger is not

Re: NB12 - debugger is not going into the method

2020-07-06 Thread András Sik
Is there any chance this had anything to do with lambda expressions? I know NB had issues with these before, IDK whether or not it has been fixed. -- To the optimist, the glass is half-full. To the pessimist, the glass is half-empty. To the engineer, the glass is twice as big as it needs to be.

Re: JavaFx Problem

2020-07-06 Thread Brain Rebooting
Probably not only this specific program. After installing NetBeans 12, none of my JavaFX program show output (with ant build). But NetBeans 11.3 with all same configuration, did output my JavaFX program. On Mon, Jul 6, 2020 at 11:47 AM Brain Rebooting wrote: > > Problems started from this line

RE: NB12 - debugger is not going into the method

2020-07-06 Thread Greenberg, Gary
I do not have a small example and I cannot send out any significant piece of code. However, I believe that I have explained steps to reproduce very clearly. I do not mind to repeat it, though. Create a class bar with a function foo(). Write a method in this class that will be calling function