[jira] [Updated] (NETBEANS-5588) Upgrade to JaCoCo 0.8.6 for Gradle Code Coverage

2021-04-15 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-5588?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated NETBEANS-5588:
-
Labels: pull-request-available  (was: )

> Upgrade to JaCoCo 0.8.6 for Gradle Code Coverage
> 
>
> Key: NETBEANS-5588
> URL: https://issues.apache.org/jira/browse/NETBEANS-5588
> Project: NetBeans
>  Issue Type: Improvement
>Reporter: Laszlo Kishalmi
>Assignee: Laszlo Kishalmi
>Priority: Major
>  Labels: pull-request-available
>  Time Spent: 10m
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Created] (NETBEANS-5588) Upgrade to JaCoCo 0.8.6 for Gradle Code Coverage

2021-04-15 Thread Laszlo Kishalmi (Jira)
Laszlo Kishalmi created NETBEANS-5588:
-

 Summary: Upgrade to JaCoCo 0.8.6 for Gradle Code Coverage
 Key: NETBEANS-5588
 URL: https://issues.apache.org/jira/browse/NETBEANS-5588
 Project: NetBeans
  Issue Type: Improvement
Reporter: Laszlo Kishalmi
Assignee: Laszlo Kishalmi






--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Closed] (NETBEANS-5370) Generate abstract method with array return type in PHPDocs

2021-04-15 Thread Junichi Yamamoto (Jira)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-5370?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Junichi Yamamoto closed NETBEANS-5370.
--
Fix Version/s: 12.4
   Resolution: Fixed

> Generate abstract method with array return type in PHPDocs
> --
>
> Key: NETBEANS-5370
> URL: https://issues.apache.org/jira/browse/NETBEANS-5370
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Editor
>Affects Versions: 12.3
>Reporter: Czukowski
>Assignee: Junichi Yamamoto
>Priority: Minor
>  Labels: pull-request-available
> Fix For: 12.4
>
>  Time Spent: 40m
>  Remaining Estimate: 0h
>
> Please see the example code below. Create a new PHP file in NetBeans and 
> paste the code into it. At each class declaration for {{Class1}}, {{Class2}} 
> and {{Class3}}, click the  Hint icon and select _Implement All Abstract 
> Methods_. The issue will become apparent. If PHPDocs has return type 
> specified as eg. {{return string[]}}, the generated code will be broken.
> {code:php}
>  namespace Cz\Test\GenerateMethod;
> class Class1 extends Base1
> {
> }
> abstract class Base1
> {
> abstract public function getSingleItem(): string;
> }
> class Class2 extends Base2
> {
> }
> abstract class Base2
> {
> /**
>  * @return string[]
>  */
> abstract public function getItemsList(): array;
> }
> class Class3 extends Base3
> {
> }
> abstract class Base3
> {
> abstract public function getSingleItem(): string;
> /**
>  * @return string[]
>  */
> abstract public function getItemsList(): array;
> }
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[netbeans] branch master updated: [NETBEANS-5370] Prevent generating abstract methods with PHPDoc return array type

2021-04-15 Thread tmysik
This is an automated email from the ASF dual-hosted git repository.

tmysik pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans.git


The following commit(s) were added to refs/heads/master by this push:
 new 90c4382  [NETBEANS-5370] Prevent generating abstract methods with 
PHPDoc return array type
 new 2ff26ae  Merge pull request #2886 from junichi11/netbeans-5370-code-gen
90c4382 is described below

commit 90c43825b1aa23f76db3c66489fb056a45f3403f
Author: Junichi Yamamoto 
AuthorDate: Fri Feb 26 14:56:48 2021 +0900

[NETBEANS-5370] Prevent generating abstract methods with PHPDoc return 
array type

https://issues.apache.org/jira/browse/NETBEANS-5370

```php
http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+namespace Netbeans5370;
+
+class TestClass1 extends TestAbstractClass {
+
+}
+
+abstract class TestAbstractClass
+{
+/**
+ * @return string[]
+ */
+abstract public function test(): array;
+}
+
+class TestClass2 implements TestInterface {
+
+}
+
+interface TestInterface
+{
+/**
+ * @return string[]
+ */
+public function test(): array;
+}
diff --git 
a/php/php.editor/test/unit/data/testfiles/codegen/testNetbeans5370/testNetbeans5370.php.testNetbeans5370_01.codegen
 
b/php/php.editor/test/unit/data/testfiles/codegen/testNetbeans5370/testNetbeans5370.php.testNetbeans5370_01.codegen
new file mode 100644
index 000..4d4ecb8
--- /dev/null
+++ 
b/php/php.editor/test/unit/data/testfiles/codegen/testNetbeans5370/testNetbeans5370.php.testNetbeans5370_01.codegen
@@ -0,0 +1,2 @@
+public function test(): array{
+}
diff --git 
a/php/php.editor/test/unit/data/testfiles/codegen/testNetbeans5370/testNetbeans5370.php.testNetbeans5370_02.codegen
 
b/php/php.editor/test/unit/data/testfiles/codegen/testNetbeans5370/testNetbeans5370.php.testNetbeans5370_02.codegen
new file mode 100644
index 000..4d4ecb8
--- /dev/null
+++ 
b/php/php.editor/test/unit/data/testfiles/codegen/testNetbeans5370/testNetbeans5370.php.testNetbeans5370_02.codegen
@@ -0,0 +1,2 @@
+public function test(): array{
+}
diff --git 
a/php/php.editor/test/unit/data/testfiles/completion/lib/nb5370/testAbstract.php
 
b/php/php.editor/test/unit/data/testfiles/completion/lib/nb5370/testAbstract.php
new file mode 100644
index 000..30ca921
--- /dev/null
+++ 
b/php/php.editor/test/unit/data/testfiles/completion/lib/nb5370/testAbstract.php
@@ -0,0 +1,32 @@
+http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+namespace Netbeans5370;
+
+abstract class TestAbstractClass
+{
+/**
+ * @return string[]
+ */
+abstract public function testAbstract(): array;
+}
+
+class TestClass1 extends TestAbstractClass {
+test
+}
diff --git 
a/php/php.editor/test/unit/data/testfiles/completion/lib/nb5370/testAbstract.php.testAbstract.cccustomtpl
 
b/php/php.editor/test/unit/data/testfiles/completion/lib/nb5370/testAbstract.php.testAbstract.cccustomtpl
new file mode 100644
index 000..27bb7aa
--- /dev/null
+++ 
b/php/php.editor/test/unit/data/testfiles/completion/lib/nb5370/testAbstract.php.testAbstract.cccustomtpl
@@ -0,0 +1,4 @@
+Name: testAbstract
+public function testAbstract(): array {
+${cursor};
+}
diff --git 
a/php/php.editor/test/unit/data/testfiles/completion/lib/nb5370/testInterface.php
 
b/php/php.editor/test/unit/data/testfiles/completion/lib/nb5370/testInterface.php
new file mode 100644
index 000..4beaec7
--- /dev/null
+++ 
b/php/php.editor/test/unit/data/testfiles/completion/lib/nb5370/testInterface.php
@@ -0,0 +1,32 @@
+http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+namespace Netbeans5370;
+
+interface TestInterface
+{
+/**
+ * @return string[]
+ */
+public function testInterface(): array;
+}
+
+class TestClass2 implements TestInterface {
+test
+}
diff --git 
a/php/php.editor/test/unit/data/testfiles/completion/lib/nb5370/testInterface.php.testInterface.cccustomtpl
 

[jira] [Updated] (NETBEANS-5586) not showing the parameters name

2021-04-15 Thread jose luis romero (Jira)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-5586?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

jose luis romero updated NETBEANS-5586:
---
Description: 
I noticed a week ago this problem, creating a new method, when I tried to use 
it, it didn't show me the parameters name that I specified, tried to edit the 
Javadoc (nothing fancy, just Text and @param and @return), then removing it and 
adding again, but nothing worked and now it is also happening with external 
libs, this also happens with some JDK libs and classes

 !screenshot-1.png! 

  was:
I noticed a week ago this problem, creating a new method, when I tried to use 
it, it didn't show me the parameters name that I specified, tried to edit the 
Javadoc, then removing it and adding again, but nothing worked and now it is 
also happening with external libs, this doesn't happen with JDK libs and classes

 !screenshot-1.png! 


> not showing the parameters name
> ---
>
> Key: NETBEANS-5586
> URL: https://issues.apache.org/jira/browse/NETBEANS-5586
> Project: NetBeans
>  Issue Type: Bug
>  Components: apisupport - API docs
>Affects Versions: 12.0
> Environment: oracle jdk 1.8, windows 10
>Reporter: jose luis romero
>Priority: Major
> Attachments: screenshot-1.png, screenshot-2.png
>
>
> I noticed a week ago this problem, creating a new method, when I tried to use 
> it, it didn't show me the parameters name that I specified, tried to edit the 
> Javadoc (nothing fancy, just Text and @param and @return), then removing it 
> and adding again, but nothing worked and now it is also happening with 
> external libs, this also happens with some JDK libs and classes
>  !screenshot-1.png! 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Updated] (NETBEANS-5586) not showing the parameters name

2021-04-15 Thread jose luis romero (Jira)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-5586?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

jose luis romero updated NETBEANS-5586:
---
Environment: oracle jdk 1.8, windows 10  (was: jdk 1.8, windows 10)

> not showing the parameters name
> ---
>
> Key: NETBEANS-5586
> URL: https://issues.apache.org/jira/browse/NETBEANS-5586
> Project: NetBeans
>  Issue Type: Bug
>  Components: apisupport - API docs
>Affects Versions: 12.0
> Environment: oracle jdk 1.8, windows 10
>Reporter: jose luis romero
>Priority: Major
> Attachments: screenshot-1.png, screenshot-2.png
>
>
> I noticed a week ago this problem, creating a new method, when I tried to use 
> it, it didn't show me the parameters name that I specified, tried to edit the 
> Javadoc, then removing it and adding again, but nothing worked and now it is 
> also happening with external libs, this doesn't happen with JDK libs and 
> classes
>  !screenshot-1.png! 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Updated] (NETBEANS-5586) not showing the parameters name

2021-04-15 Thread jose luis romero (Jira)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-5586?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

jose luis romero updated NETBEANS-5586:
---
Component/s: apisupport - API docs

> not showing the parameters name
> ---
>
> Key: NETBEANS-5586
> URL: https://issues.apache.org/jira/browse/NETBEANS-5586
> Project: NetBeans
>  Issue Type: Bug
>  Components: apisupport - API docs
>Affects Versions: 12.0
> Environment: jdk 1.8, windows 10
>Reporter: jose luis romero
>Priority: Major
> Attachments: screenshot-1.png, screenshot-2.png
>
>
> I noticed a week ago this problem, creating a new method, when I tried to use 
> it, it didn't show me the parameters name that I specified, tried to edit the 
> Javadoc, then removing it and adding again, but nothing worked and now it is 
> also happening with external libs, this doesn't happen with JDK libs and 
> classes
>  !screenshot-1.png! 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Updated] (NETBEANS-5586) not showing the parameters name

2021-04-15 Thread jose luis romero (Jira)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-5586?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

jose luis romero updated NETBEANS-5586:
---
Attachment: screenshot-2.png

> not showing the parameters name
> ---
>
> Key: NETBEANS-5586
> URL: https://issues.apache.org/jira/browse/NETBEANS-5586
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.0
> Environment: jdk 1.8, windows 10
>Reporter: jose luis romero
>Priority: Major
> Attachments: screenshot-1.png, screenshot-2.png
>
>
> I noticed a week ago this problem, creating a new method, when I tried to use 
> it, it didn't show me the parameters name that I specified, tried to edit the 
> Javadoc, then removing it and adding again, but nothing worked and now it is 
> also happening with external libs, this doesn't happen with JDK libs and 
> classes
>  !screenshot-1.png! 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-5586) not showing the parameters name

2021-04-15 Thread jose luis romero (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-5586?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17322531#comment-17322531
 ] 

jose luis romero commented on NETBEANS-5586:


Also happens with package java.awt.* but not with javax.swing.*
 !screenshot-2.png! 

> not showing the parameters name
> ---
>
> Key: NETBEANS-5586
> URL: https://issues.apache.org/jira/browse/NETBEANS-5586
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.0
> Environment: jdk 1.8, windows 10
>Reporter: jose luis romero
>Priority: Major
> Attachments: screenshot-1.png, screenshot-2.png
>
>
> I noticed a week ago this problem, creating a new method, when I tried to use 
> it, it didn't show me the parameters name that I specified, tried to edit the 
> Javadoc, then removing it and adding again, but nothing worked and now it is 
> also happening with external libs, this doesn't happen with JDK libs and 
> classes
>  !screenshot-1.png! 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Created] (NETBEANS-5587) Gradle project does not show -SNAPSHOT in Configurations

2021-04-15 Thread Svatopluk Dedic (Jira)
Svatopluk Dedic created NETBEANS-5587:
-

 Summary: Gradle project does not show -SNAPSHOT in Configurations
 Key: NETBEANS-5587
 URL: https://issues.apache.org/jira/browse/NETBEANS-5587
 Project: NetBeans
  Issue Type: Bug
  Components: projects - Gradle
Affects Versions: 12.3
 Environment: Ubuntu Linux 19.04; Oracle JDK 8.
Reporter: Svatopluk Dedic
Assignee: Svatopluk Dedic
 Attachments: nb-compile-classpath.jpg

I am working (for example) with project 

[g...@github.com:micronaut-projects/micronaut-starter.git|mailto:g...@github.com:micronaut-projects/micronaut-starter.git]
 
 
I open the root one, and the 'starter-core' project. The explorer shows 
something like this (see nb-compile-classpath.jpg). But the compileClasspath 
from gradle dependencies seems a little richer: 
 
{code:java}
+--- io.micronaut:micronaut-http -> 2.3.4-SNAPSHOT 
+--- io.micronaut:micronaut-http-client -> 2.3.4-SNAPSHOT 
|    |    +--- io.micronaut:micronaut-http:2.3.4-SNAPSHOT (*) 
|    +--- io.micronaut:micronaut-http-client-core:2.3.4-SNAPSHOT 
|    | +--- io.micronaut:micronaut-http:2.3.4-SNAPSHOT (*) 
|    +--- io.micronaut:micronaut-http-netty:2.3.4-SNAPSHOT 
|    |    +--- io.micronaut:micronaut-http:2.3.4-SNAPSHOT (*) 
|    +--- io.micronaut:micronaut-http:2.3.4-SNAPSHOT (c) 
|    +--- io.micronaut:micronaut-http-client:2.3.4-SNAPSHOT (c) 
|    +--- io.micronaut:micronaut-http-client-core:2.3.4-SNAPSHOT (c) 
|    +--- io.micronaut:micronaut-http-netty:2.3.4-SNAPSHOT (c) {code}
None of the 'snapshot' dependencies are displayed in the explorer tree (but 
they are repored in COMPILE ClassPath as roots).I tried to use ModuleDependency 
from GradleConfiguration to map back JARs to group:artifact:version 
coordinates, but in this case, the relevant ModuleDependency lists no artifacts.

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Updated] (NETBEANS-5557) Missing mime-resolver-hex-based.xml

2021-04-15 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-5557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated NETBEANS-5557:
-
Labels: pull-request-available  (was: )

> Missing mime-resolver-hex-based.xml
> ---
>
> Key: NETBEANS-5557
> URL: https://issues.apache.org/jira/browse/NETBEANS-5557
> Project: NetBeans
>  Issue Type: Sub-task
> Environment: The fourth donation is missing a mime resolver that 
> maches files using signatures. See 
> [https://en.wikipedia.org/wiki/List_of_file_signatures] for a list.
>Reporter: Antonio Vieiro
>Priority: Major
>  Labels: pull-request-available
>  Time Spent: 10m
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Updated] (NETBEANS-5586) not showing the parameters name

2021-04-15 Thread jose luis romero (Jira)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-5586?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

jose luis romero updated NETBEANS-5586:
---
Description: 
I noticed a week ago this problem, creating a new method, when I tried to use 
it, it didn't show me the parameters name that I specified, tried to edit the 
Javadoc, then removing it and adding again, but nothing worked and now it is 
also happening with external libs, this doesn't happen with JDK libs and classes

 !screenshot-1.png! 

  was:
I noticed a week ago this problem, creating a new method, when I tried to use 
it, it didn't show me the parameters name that I specified, tried to edit the 
Javadoc, then removing it and adding again, but nothing worked and now it is 
also happening with external libs

 !screenshot-1.png! 


> not showing the parameters name
> ---
>
> Key: NETBEANS-5586
> URL: https://issues.apache.org/jira/browse/NETBEANS-5586
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.0
> Environment: jdk 1.8, windows 10
>Reporter: jose luis romero
>Priority: Major
> Attachments: screenshot-1.png
>
>
> I noticed a week ago this problem, creating a new method, when I tried to use 
> it, it didn't show me the parameters name that I specified, tried to edit the 
> Javadoc, then removing it and adding again, but nothing worked and now it is 
> also happening with external libs, this doesn't happen with JDK libs and 
> classes
>  !screenshot-1.png! 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Updated] (NETBEANS-5586) not showing the parameters name

2021-04-15 Thread jose luis romero (Jira)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-5586?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

jose luis romero updated NETBEANS-5586:
---
Description: 
I noticed a week ago this problem, creating a new method, when I tried to use 
it, it didn't show me the parameters name that I specified, tried to edit the 
Javadoc, then removing it and adding again, but nothing worked and now it is 
also happening with external libs

 !screenshot-1.png! 

  was:
I noticed a week ago this problem, creating a new method, when I tried to use 
it, it didn't show me the parameters name that I specified and now it is also 
happening with external libs

 !screenshot-1.png! 


> not showing the parameters name
> ---
>
> Key: NETBEANS-5586
> URL: https://issues.apache.org/jira/browse/NETBEANS-5586
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.0
> Environment: jdk 1.8, windows 10
>Reporter: jose luis romero
>Priority: Major
> Attachments: screenshot-1.png
>
>
> I noticed a week ago this problem, creating a new method, when I tried to use 
> it, it didn't show me the parameters name that I specified, tried to edit the 
> Javadoc, then removing it and adding again, but nothing worked and now it is 
> also happening with external libs
>  !screenshot-1.png! 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Updated] (NETBEANS-5586) not showing the parameters name

2021-04-15 Thread jose luis romero (Jira)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-5586?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

jose luis romero updated NETBEANS-5586:
---
Description: 
I noticed a week ago this problem, creating a new method, when I tried to use 
it, it didn't show me the parameters name that I specified and now it is also 
happening with external libs

 !screenshot-1.png! 

  was:
I noticed a week ago this problem, creating a new method, when I tried to use 
it, it didn't show me the parameters name that I specified and now it is also 
happening with external libs

 !image-2021-04-15-14-52-24-374.png! 


> not showing the parameters name
> ---
>
> Key: NETBEANS-5586
> URL: https://issues.apache.org/jira/browse/NETBEANS-5586
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.0
> Environment: jdk 1.8, windows 10
>Reporter: jose luis romero
>Priority: Major
> Attachments: screenshot-1.png
>
>
> I noticed a week ago this problem, creating a new method, when I tried to use 
> it, it didn't show me the parameters name that I specified and now it is also 
> happening with external libs
>  !screenshot-1.png! 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Updated] (NETBEANS-5586) not showing the parameters name

2021-04-15 Thread jose luis romero (Jira)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-5586?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

jose luis romero updated NETBEANS-5586:
---
Attachment: screenshot-1.png

> not showing the parameters name
> ---
>
> Key: NETBEANS-5586
> URL: https://issues.apache.org/jira/browse/NETBEANS-5586
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.0
> Environment: jdk 1.8, windows 10
>Reporter: jose luis romero
>Priority: Major
> Attachments: screenshot-1.png
>
>
> I noticed a week ago this problem, creating a new method, when I tried to use 
> it, it didn't show me the parameters name that I specified and now it is also 
> happening with external libs
>  !image-2021-04-15-14-52-24-374.png! 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Created] (NETBEANS-5586) not showing the parameters name

2021-04-15 Thread jose luis romero (Jira)
jose luis romero created NETBEANS-5586:
--

 Summary: not showing the parameters name
 Key: NETBEANS-5586
 URL: https://issues.apache.org/jira/browse/NETBEANS-5586
 Project: NetBeans
  Issue Type: Bug
Affects Versions: 12.0
 Environment: jdk 1.8, windows 10
Reporter: jose luis romero


I noticed a week ago this problem, creating a new method, when I tried to use 
it, it didn't show me the parameters name that I specified and now it is also 
happening with external libs

 !image-2021-04-15-14-52-24-374.png! 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[netbeans] branch master updated (a2cdd59 -> acdeeee)

2021-04-15 Thread vieiro
This is an automated email from the ASF dual-hosted git repository.

vieiro pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans.git.


from a2cdd59  Merge pull request #2880 from 
KacerCZ/netbeans-5577-php-cs-fixer-v3-config-files
 add acd  Hotfix: json.g4 licenses

No new revisions were added by this update.

Summary of changes:
 webcommon/javascript2.json/tools/Json.g4 | 102 +--
 1 file changed, 28 insertions(+), 74 deletions(-)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Updated] (NETBEANS-5585) Cannot create Maven web project with EE 5

2021-04-15 Thread Nicola Isotta (Jira)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-5585?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nicola Isotta updated NETBEANS-5585:

Description: 
Steps to reproduce:

New Project > [Java with Maven] > [Web Application] > Next

Choose a name then > Next

Select [Java EE 5] then > Finish

An exception is thrown and the project is not created.

Stack trace:

{{java.lang.IllegalStateException: No archetype defined for profile 1.5 in 
class 
org.netbeans.modules.maven.j2ee.ui.wizard.archetype.J2eeArchetypeFactory$WebArchetypes;
 check whether all possible  pairs have been 
addedjava.lang.IllegalStateException: No archetype defined for profile 1.5 in 
class 
org.netbeans.modules.maven.j2ee.ui.wizard.archetype.J2eeArchetypeFactory$WebArchetypes;
 check whether all possible  pairs have been added at 
org.netbeans.modules.maven.j2ee.ui.wizard.archetype.BaseJ2eeArchetypeProvider.getArchetypeFor(BaseJ2eeArchetypeProvider.java:128)
 at 
org.netbeans.modules.maven.j2ee.ui.wizard.archetype.J2eeArchetypeFactory.findArchetypeFor(J2eeArchetypeFactory.java:79)
 at 
org.netbeans.modules.maven.j2ee.ui.wizard.EEWizardIterator.instantiate(EEWizardIterator.java:102)
 at 
org.openide.loaders.TemplateWizard$InstantiatingIteratorBridge.instantiate(TemplateWizard.java:1050)
 at 
org.openide.loaders.TemplateWizard.handleInstantiate(TemplateWizard.java:602) 
at 
org.netbeans.modules.project.ui.NewProjectWizard.handleInstantiate(NewProjectWizard.java:51)
 at 
org.openide.loaders.TemplateWizard.instantiateNewObjects(TemplateWizard.java:436)
 at 
org.openide.loaders.TemplateWizardIterImpl.instantiate(TemplateWizardIterImpl.java:223)
 at 
org.openide.loaders.TemplateWizardIteratorWrapper.instantiate(TemplateWizardIteratorWrapper.java:135)
 at 
org.openide.WizardDescriptor.callInstantiateOpen(WizardDescriptor.java:1605) at 
org.openide.WizardDescriptor.callInstantiate(WizardDescriptor.java:1546) at 
org.openide.WizardDescriptor.access$2300(WizardDescriptor.java:67)[catch] at 
org.openide.WizardDescriptor$Listener$2$1.run(WizardDescriptor.java:2233) at 
org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418) at 
org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45) at 
org.openide.util.lookup.Lookups.executeWith(Lookups.java:278) at 
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)}}

  was:
Steps to reproduce:

New Project -> [Java with Maven] -> [Web Application] -> Next

Choose a name then -> Next

Select [Java EE 5] then -> Finish

Then an exception is thrown and the project is not created.

Stack trace:

{{java.lang.IllegalStateException: No archetype defined for profile 1.5 in 
class 
org.netbeans.modules.maven.j2ee.ui.wizard.archetype.J2eeArchetypeFactory$WebArchetypes;
 check whether all possible  pairs have been 
addedjava.lang.IllegalStateException: No archetype defined for profile 1.5 in 
class 
org.netbeans.modules.maven.j2ee.ui.wizard.archetype.J2eeArchetypeFactory$WebArchetypes;
 check whether all possible  pairs have been added at 
org.netbeans.modules.maven.j2ee.ui.wizard.archetype.BaseJ2eeArchetypeProvider.getArchetypeFor(BaseJ2eeArchetypeProvider.java:128)
 at 
org.netbeans.modules.maven.j2ee.ui.wizard.archetype.J2eeArchetypeFactory.findArchetypeFor(J2eeArchetypeFactory.java:79)
 at 
org.netbeans.modules.maven.j2ee.ui.wizard.EEWizardIterator.instantiate(EEWizardIterator.java:102)
 at 
org.openide.loaders.TemplateWizard$InstantiatingIteratorBridge.instantiate(TemplateWizard.java:1050)
 at 
org.openide.loaders.TemplateWizard.handleInstantiate(TemplateWizard.java:602) 
at 
org.netbeans.modules.project.ui.NewProjectWizard.handleInstantiate(NewProjectWizard.java:51)
 at 
org.openide.loaders.TemplateWizard.instantiateNewObjects(TemplateWizard.java:436)
 at 
org.openide.loaders.TemplateWizardIterImpl.instantiate(TemplateWizardIterImpl.java:223)
 at 
org.openide.loaders.TemplateWizardIteratorWrapper.instantiate(TemplateWizardIteratorWrapper.java:135)
 at 
org.openide.WizardDescriptor.callInstantiateOpen(WizardDescriptor.java:1605) at 
org.openide.WizardDescriptor.callInstantiate(WizardDescriptor.java:1546) at 
org.openide.WizardDescriptor.access$2300(WizardDescriptor.java:67)[catch] at 
org.openide.WizardDescriptor$Listener$2$1.run(WizardDescriptor.java:2233) at 
org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418) at 
org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45) at 
org.openide.util.lookup.Lookups.executeWith(Lookups.java:278) at 
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)}}

Summary: Cannot create Maven web project with EE 5  (was: Cannot create)

> Cannot create Maven web project with EE 5
> -
>
> Key: NETBEANS-5585
> URL: https://issues.apache.org/jira/browse/NETBEANS-5585
> Project: NetBeans
>  Issue 

[jira] [Created] (NETBEANS-5585) Cannot create

2021-04-15 Thread Nicola Isotta (Jira)
Nicola Isotta created NETBEANS-5585:
---

 Summary: Cannot create
 Key: NETBEANS-5585
 URL: https://issues.apache.org/jira/browse/NETBEANS-5585
 Project: NetBeans
  Issue Type: Bug
  Components: projects - Maven
Affects Versions: 12.3
Reporter: Nicola Isotta


Steps to reproduce:

New Project -> [Java with Maven] -> [Web Application] -> Next

Choose a name then -> Next

Select [Java EE 5] then -> Finish

Then an exception is thrown and the project is not created.

Stack trace:

{{java.lang.IllegalStateException: No archetype defined for profile 1.5 in 
class 
org.netbeans.modules.maven.j2ee.ui.wizard.archetype.J2eeArchetypeFactory$WebArchetypes;
 check whether all possible  pairs have been 
addedjava.lang.IllegalStateException: No archetype defined for profile 1.5 in 
class 
org.netbeans.modules.maven.j2ee.ui.wizard.archetype.J2eeArchetypeFactory$WebArchetypes;
 check whether all possible  pairs have been added at 
org.netbeans.modules.maven.j2ee.ui.wizard.archetype.BaseJ2eeArchetypeProvider.getArchetypeFor(BaseJ2eeArchetypeProvider.java:128)
 at 
org.netbeans.modules.maven.j2ee.ui.wizard.archetype.J2eeArchetypeFactory.findArchetypeFor(J2eeArchetypeFactory.java:79)
 at 
org.netbeans.modules.maven.j2ee.ui.wizard.EEWizardIterator.instantiate(EEWizardIterator.java:102)
 at 
org.openide.loaders.TemplateWizard$InstantiatingIteratorBridge.instantiate(TemplateWizard.java:1050)
 at 
org.openide.loaders.TemplateWizard.handleInstantiate(TemplateWizard.java:602) 
at 
org.netbeans.modules.project.ui.NewProjectWizard.handleInstantiate(NewProjectWizard.java:51)
 at 
org.openide.loaders.TemplateWizard.instantiateNewObjects(TemplateWizard.java:436)
 at 
org.openide.loaders.TemplateWizardIterImpl.instantiate(TemplateWizardIterImpl.java:223)
 at 
org.openide.loaders.TemplateWizardIteratorWrapper.instantiate(TemplateWizardIteratorWrapper.java:135)
 at 
org.openide.WizardDescriptor.callInstantiateOpen(WizardDescriptor.java:1605) at 
org.openide.WizardDescriptor.callInstantiate(WizardDescriptor.java:1546) at 
org.openide.WizardDescriptor.access$2300(WizardDescriptor.java:67)[catch] at 
org.openide.WizardDescriptor$Listener$2$1.run(WizardDescriptor.java:2233) at 
org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418) at 
org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45) at 
org.openide.util.lookup.Lookups.executeWith(Lookups.java:278) at 
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)}}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Resolved] (NETBEANS-5577) Add PHP-CS-Fixer 3.x configuration files

2021-04-15 Thread Jira


 [ 
https://issues.apache.org/jira/browse/NETBEANS-5577?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tomáš Procházka resolved NETBEANS-5577.
---
Fix Version/s: 12.4
   Resolution: Implemented

PR was merged.

> Add PHP-CS-Fixer 3.x configuration files
> 
>
> Key: NETBEANS-5577
> URL: https://issues.apache.org/jira/browse/NETBEANS-5577
> Project: NetBeans
>  Issue Type: Improvement
>  Components: php - Code Analysis
>Affects Versions: 12.3
>Reporter: Tomáš Procházka
>Assignee: Tomáš Procházka
>Priority: Major
>  Labels: pull-request-available
> Fix For: 12.4
>
>  Time Spent: 50m
>  Remaining Estimate: 0h
>
> PHP-CS-Fixer 3.x will use new names for configuration files.
> File {{.php_cs}} will be renamed to {{.php-cs-fixer.php}}, {{.php_cs.dist}} 
> will become {{.php-cs-fixer.dist.php}}.
> NetBeans should reflect it in Important Files node.
> Reference:
> * https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/5607
> * https://github.com/FriendsOfPHP/PHP-CS-Fixer/blob/3.0/UPGRADE-v3.md



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Closed] (NETBEANS-5577) Add PHP-CS-Fixer 3.x configuration files

2021-04-15 Thread Jira


 [ 
https://issues.apache.org/jira/browse/NETBEANS-5577?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tomáš Procházka closed NETBEANS-5577.
-

> Add PHP-CS-Fixer 3.x configuration files
> 
>
> Key: NETBEANS-5577
> URL: https://issues.apache.org/jira/browse/NETBEANS-5577
> Project: NetBeans
>  Issue Type: Improvement
>  Components: php - Code Analysis
>Affects Versions: 12.3
>Reporter: Tomáš Procházka
>Assignee: Tomáš Procházka
>Priority: Major
>  Labels: pull-request-available
> Fix For: 12.4
>
>  Time Spent: 50m
>  Remaining Estimate: 0h
>
> PHP-CS-Fixer 3.x will use new names for configuration files.
> File {{.php_cs}} will be renamed to {{.php-cs-fixer.php}}, {{.php_cs.dist}} 
> will become {{.php-cs-fixer.dist.php}}.
> NetBeans should reflect it in Important Files node.
> Reference:
> * https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/5607
> * https://github.com/FriendsOfPHP/PHP-CS-Fixer/blob/3.0/UPGRADE-v3.md



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Created] (NETBEANS-5584) Exception during refactor move class

2021-04-15 Thread David A Jammalo (Jira)
David A Jammalo created NETBEANS-5584:
-

 Summary: Exception during refactor move class
 Key: NETBEANS-5584
 URL: https://issues.apache.org/jira/browse/NETBEANS-5584
 Project: NetBeans
  Issue Type: Bug
  Components: java - Refactoring
Affects Versions: 12.3
Reporter: David A Jammalo
 Attachments: AbstractButton.dump

SEVERE [org.openide.util.Exceptions]SEVERE [org.openide.util.Exceptions]An 
error occurred during parsing of 'java.desktop/javax/swing/JComponent.java in 
C:\Program Files\Java\jdk-15\lib\src.zip'. Please report a bug against 
java/source and attach dump file 
'X:\Users\djammalo\AppData\Roaming\NetBeans\12.3\var\log\JComponent.dump'.An 
error occurred during parsing of 'java.desktop/javax/swing/JComponent.java in 
C:\Program Files\Java\jdk-15\lib\src.zip'. Please report a bug against 
java/source and attach dump file 
'X:\Users\djammalo\AppData\Roaming\NetBeans\12.3\var\log\JComponent.dump'.Caused:
 com.sun.tools.javac.code.Symbol$CompletionFailure: class file for 
java.lang.annotation.Annotation not foundALL [null]: An error occurred during 
parsing of 'java.desktop/javax/swing/JComponent.java in C:\Program 
Files\Java\jdk-15\lib\src.zip'. Please report a bug against java/source and 
attach dump file 
'X:\Users\djammalo\AppData\Roaming\NetBeans\12.3\var\log\JComponent.dump'.SEVERE
 [org.openide.util.Exceptions]An error occurred during parsing of 
'java.desktop/javax/swing/JComponent.java in C:\Program 
Files\Java\jdk-15\lib\src.zip'. Please report a bug against java/source and 
attach dump file 
'X:\Users\djammalo\AppData\Roaming\NetBeans\12.3\var\log\JComponent.dump'.An 
error occurred during parsing of 'java.desktop/javax/swing/JComponent.java in 
C:\Program Files\Java\jdk-15\lib\src.zip'. Please report a bug against 
java/source and attach dump file 
'X:\Users\djammalo\AppData\Roaming\NetBeans\12.3\var\log\JComponent.dump'.Caused:
 com.sun.tools.javac.code.Symbol$CompletionFailure: class file for 
java.lang.annotation.Annotation not foundCaused: java.io.IOException at 
org.netbeans.api.java.source.JavaSource.runUserActionTaskImpl(JavaSource.java:456)
 at 
org.netbeans.api.java.source.JavaSource.runUserActionTask(JavaSource.java:423)[catch]
 at 
org.netbeans.api.java.source.ui.ElementJavadoc.getElementDocFromSource(ElementJavadoc.java:845)
 at 
org.netbeans.api.java.source.ui.ElementJavadoc.getElementDoc(ElementJavadoc.java:742)
 at 
org.netbeans.api.java.source.ui.ElementJavadoc.(ElementJavadoc.java:369) 
at 
org.netbeans.api.java.source.ui.ElementJavadoc.create(ElementJavadoc.java:172) 
at 
org.netbeans.modules.editor.java.JavaCompletionProvider$JavaCompletionQuery$3.create(JavaCompletionProvider.java:235)
 at 
org.netbeans.modules.editor.java.JavaCompletionProvider$JavaCompletionQuery$3.create(JavaCompletionProvider.java:231)
 at 
org.netbeans.modules.java.completion.JavaDocumentationTask.resolve(JavaDocumentationTask.java:91)
 at org.netbeans.modules.java.completion.BaseTask.run(BaseTask.java:94) at 
org.netbeans.modules.java.completion.JavaDocumentationTask.run(JavaDocumentationTask.java:42)
 at 
org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586)
 at 
org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:130)
 at 
org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:114)
 at 
org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181) 
at 
org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178) 
at 
org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153)
 at 
org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335)
 at 
org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118)
 at 
org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67) at 
org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178)
 at org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:81) 
at 
org.netbeans.modules.editor.java.JavaCompletionProvider$JavaCompletionQuery.query(JavaCompletionProvider.java:243)
 at 
org.netbeans.spi.editor.completion.support.AsyncCompletionTask.run(AsyncCompletionTask.java:198)
 at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418) at 
org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45) at 
org.openide.util.lookup.Lookups.executeWith(Lookups.java:278) at 
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)ALL 
[null]: An error occurred during parsing of 
'java.desktop/javax/swing/JComponent.java in C:\Program 
Files\Java\jdk-15\lib\src.zip'. Please report a bug against java/source and 
attach dump file 

[jira] [Resolved] (NETBEANS-5582) Cannot load newly created Gradle project

2021-04-15 Thread Laszlo Kishalmi (Jira)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-5582?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Laszlo Kishalmi resolved NETBEANS-5582.
---
Fix Version/s: 12.4
   Resolution: Duplicate

Gradle 7.0 is not supported in NetBeans 12.3

> Cannot load newly created Gradle project
> 
>
> Key: NETBEANS-5582
> URL: https://issues.apache.org/jira/browse/NETBEANS-5582
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Gradle
>Affects Versions: 12.3
> Environment:   Product Version = Apache NetBeans IDE 12.3
>   Operating System= Windows 10 version 10.0 running on amd64
>   Java; VM; Vendor= 15.0.2; OpenJDK 64-Bit Server VM 15.0.2+7-27; 
> Oracle Corporation
>Reporter: Eugene Pliskin
>Assignee: Laszlo Kishalmi
>Priority: Blocker
> Fix For: 12.4
>
> Attachments: gradleproject1.rar, messages.log, screenshot1.png, 
> screenshot2-gradle.png
>
>
> Create new Gradle project: File / New Project... / Java with Gradle, Java 
> Application.
> Generated project attached.
> This project appears unloadable, see attached screenshots.
> NetBeans log attached contains this error message:
> groovy.lang.MissingPropertyException: Could not get unknown property 
> 'compileConfigurationName' for source set 'main' of type 
> org.gradle.api.internal.tasks.DefaultSourceSet.
> Same problem with loading my old Gradle project which I used to develop in 
> NetBeans.
> Both projects can build without errors.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Resolved] (NETBEANS-5522) NetBeans 12.3 cannot open Gradle projects that use Gradle 7.0-rc-1

2021-04-15 Thread Laszlo Kishalmi (Jira)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-5522?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Laszlo Kishalmi resolved NETBEANS-5522.
---
Fix Version/s: 12.4
   Resolution: Fixed

> NetBeans 12.3 cannot open Gradle projects that use Gradle 7.0-rc-1
> --
>
> Key: NETBEANS-5522
> URL: https://issues.apache.org/jira/browse/NETBEANS-5522
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Gradle
>Affects Versions: 12.3
> Environment: Windows 10
> Java 15
> Netbeans 12.3
>Reporter: Scott Palmer
>Assignee: Laszlo Kishalmi
>Priority: Major
>  Labels: pull-request-available
> Fix For: 12.4
>
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> Projects configured to use Gradle 7.0-rc-1 cause NetBeans 12.3 to complain 
> when being opened.
> The error reported is:
> "Could not get unknown property 'compileConfigurationName' for source set 
> 'main' of type org.gradle.api.internal.tasks.DefaultSourceSet."
> To reproduce:
> - ensure NetBeans Gradle settings will use the gradle wrapper if present
> - create a new Java Library project from the command line with 'gradle init'
> - run: gradle wrapper --gradle-version=7.0-rc-1
> - attempt to open the project in NetBeans
> - allow NB to run the initial configuration build



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Assigned] (NETBEANS-5541) Upgrade Gradle Tooling to 7.0 for JDK 16 Support

2021-04-15 Thread Laszlo Kishalmi (Jira)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-5541?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Laszlo Kishalmi reassigned NETBEANS-5541:
-

Assignee: Laszlo Kishalmi  (was: Atchara. Lueangvilai)

> Upgrade Gradle Tooling to 7.0 for JDK 16 Support
> 
>
> Key: NETBEANS-5541
> URL: https://issues.apache.org/jira/browse/NETBEANS-5541
> Project: NetBeans
>  Issue Type: Improvement
>Reporter: Laszlo Kishalmi
>Assignee: Laszlo Kishalmi
>Priority: Major
>  Labels: pull-request-available
> Fix For: 12.4
>
>  Time Spent: 1h 10m
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Resolved] (NETBEANS-5541) Upgrade Gradle Tooling to 7.0 for JDK 16 Support

2021-04-15 Thread Laszlo Kishalmi (Jira)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-5541?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Laszlo Kishalmi resolved NETBEANS-5541.
---
Fix Version/s: 12.4
   Resolution: Fixed

> Upgrade Gradle Tooling to 7.0 for JDK 16 Support
> 
>
> Key: NETBEANS-5541
> URL: https://issues.apache.org/jira/browse/NETBEANS-5541
> Project: NetBeans
>  Issue Type: Improvement
>Reporter: Laszlo Kishalmi
>Assignee: Atchara. Lueangvilai
>Priority: Major
>  Labels: pull-request-available
> Fix For: 12.4
>
>  Time Spent: 1h 10m
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[netbeans] branch master updated: [NETBEANS-5577] Add PHP-CS-Fixer 3.x configuration files

2021-04-15 Thread junichi11
This is an automated email from the ASF dual-hosted git repository.

junichi11 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans.git


The following commit(s) were added to refs/heads/master by this push:
 new 906d882  [NETBEANS-5577] Add PHP-CS-Fixer 3.x configuration files
 new a2cdd59  Merge pull request #2880 from 
KacerCZ/netbeans-5577-php-cs-fixer-v3-config-files
906d882 is described below

commit 906d882f430c24f262c48e0a1095b3a0a0fb4829
Author: Tomas Prochazka 
AuthorDate: Tue Apr 13 20:02:13 2021 +0200

[NETBEANS-5577] Add PHP-CS-Fixer 3.x configuration files

https://issues.apache.org/jira/browse/NETBEANS-5577

Added configuration files `.php-cs-fixer.php` and `.php-cs-fixer.dist.php` 
to Important files.
Reference:
- https://github.com/FriendsOfPHP/PHP-CS-Fixer/blob/3.0/UPGRADE-v3.md
- https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/5607
---
 .../src/org/netbeans/modules/php/analysis/ImportantFilesImpl.java   | 6 --
 .../modules/php/analysis/commands/CodingStandardsFixer.java | 6 --
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git 
a/php/php.code.analysis/src/org/netbeans/modules/php/analysis/ImportantFilesImpl.java
 
b/php/php.code.analysis/src/org/netbeans/modules/php/analysis/ImportantFilesImpl.java
index 7be381e..cb55ec9 100644
--- 
a/php/php.code.analysis/src/org/netbeans/modules/php/analysis/ImportantFilesImpl.java
+++ 
b/php/php.code.analysis/src/org/netbeans/modules/php/analysis/ImportantFilesImpl.java
@@ -36,8 +36,10 @@ public final class ImportantFilesImpl implements 
ImportantFilesImplementation {
 CodeSniffer.DOT_CONFIG_FILE_NAME,
 CodeSniffer.DIST_CONFIG_FILE_NAME,
 CodeSniffer.DIST_DOT_CONFIG_FILE_NAME,
-CodingStandardsFixer.CONFIG_FILE_NAME,
-CodingStandardsFixer.DIST_CONFIG_FILE_NAME,
+CodingStandardsFixer.CONFIG_FILE_NAME_V2,
+CodingStandardsFixer.DIST_CONFIG_FILE_NAME_V2,
+CodingStandardsFixer.CONFIG_FILE_NAME_V3,
+CodingStandardsFixer.DIST_CONFIG_FILE_NAME_V3,
 PHPStan.CONFIG_FILE_NAME,
 PHPStan.DIST_CONFIG_FILE_NAME};
 
diff --git 
a/php/php.code.analysis/src/org/netbeans/modules/php/analysis/commands/CodingStandardsFixer.java
 
b/php/php.code.analysis/src/org/netbeans/modules/php/analysis/commands/CodingStandardsFixer.java
index 7eed8c6..2759977 100644
--- 
a/php/php.code.analysis/src/org/netbeans/modules/php/analysis/commands/CodingStandardsFixer.java
+++ 
b/php/php.code.analysis/src/org/netbeans/modules/php/analysis/commands/CodingStandardsFixer.java
@@ -87,8 +87,10 @@ public final class CodingStandardsFixer {
 NO_INTERACTION_PARAM);
 
 // configuration files
-public static final String CONFIG_FILE_NAME = ".php_cs"; // NOI18N
-public static final String DIST_CONFIG_FILE_NAME = ".php_cs.dist"; // 
NOI18N
+public static final String CONFIG_FILE_NAME_V2 = ".php_cs"; // NOI18N
+public static final String DIST_CONFIG_FILE_NAME_V2 = ".php_cs.dist"; // 
NOI18N
+public static final String CONFIG_FILE_NAME_V3 = ".php-cs-fixer.php"; // 
NOI18N
+public static final String DIST_CONFIG_FILE_NAME_V3 = 
".php-cs-fixer.dist.php"; // NOI18N
 
 @org.netbeans.api.annotations.common.SuppressWarnings(value = 
"MS_MUTABLE_COLLECTION", justification = "It is immutable") // NOI18N
 public static final List VERSIONS = Arrays.asList(

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Updated] (NETBEANS-5370) Generate abstract method with array return type in PHPDocs

2021-04-15 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-5370?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated NETBEANS-5370:
-
Labels: pull-request-available  (was: )

> Generate abstract method with array return type in PHPDocs
> --
>
> Key: NETBEANS-5370
> URL: https://issues.apache.org/jira/browse/NETBEANS-5370
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Editor
>Affects Versions: 12.3
>Reporter: Czukowski
>Assignee: Junichi Yamamoto
>Priority: Minor
>  Labels: pull-request-available
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Please see the example code below. Create a new PHP file in NetBeans and 
> paste the code into it. At each class declaration for {{Class1}}, {{Class2}} 
> and {{Class3}}, click the  Hint icon and select _Implement All Abstract 
> Methods_. The issue will become apparent. If PHPDocs has return type 
> specified as eg. {{return string[]}}, the generated code will be broken.
> {code:php}
>  namespace Cz\Test\GenerateMethod;
> class Class1 extends Base1
> {
> }
> abstract class Base1
> {
> abstract public function getSingleItem(): string;
> }
> class Class2 extends Base2
> {
> }
> abstract class Base2
> {
> /**
>  * @return string[]
>  */
> abstract public function getItemsList(): array;
> }
> class Class3 extends Base3
> {
> }
> abstract class Base3
> {
> abstract public function getSingleItem(): string;
> /**
>  * @return string[]
>  */
> abstract public function getItemsList(): array;
> }
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Created] (NETBEANS-5583) Don't close and remove project from Project Group when project is missing.

2021-04-15 Thread Warren Crossing (Jira)
Warren Crossing created NETBEANS-5583:
-

 Summary: Don't close and remove project from Project Group when 
project is missing.
 Key: NETBEANS-5583
 URL: https://issues.apache.org/jira/browse/NETBEANS-5583
 Project: NetBeans
  Issue Type: Improvement
  Components: projects - Generic Projects UI
Affects Versions: 12.2
Reporter: Warren Crossing


I have stacks of projects on an external mounted disk.

But when netbeans starts they aren't available because the disk is not yet 
mounted.. and so they get removed from the project group.

 

If I switch to another group. They are permanently removed from the group 
because I have save on switch turned on.

 

Is there anyway to keep the pointer to the project, but mark it as offline? To 
be manually closed but not automatically closed.

Cheers.

 

Otherwise I have to reopen the projects everytime I restart.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Updated] (NETBEANS-5582) Cannot load newly created Gradle project

2021-04-15 Thread Eugene Pliskin (Jira)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-5582?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Eugene Pliskin updated NETBEANS-5582:
-
 Attachment: screenshot2-gradle.png
Description: 
Create new Gradle project: File / New Project... / Java with Gradle, Java 
Application.
Generated project attached.
This project appears unloadable, see attached screenshots.
NetBeans log attached contains this error message:

groovy.lang.MissingPropertyException: Could not get unknown property 
'compileConfigurationName' for source set 'main' of type 
org.gradle.api.internal.tasks.DefaultSourceSet.

Same problem with loading my old Gradle project which I used to develop in 
NetBeans.
Both projects can build without errors.


  was:
Create new Gradle project: File / New Project... / Java with Gradle, Java 
Application.
Generated project attached.
This project appears unloadable, see attached screenshots.
NetBeans log attached contains this error message:

groovy.lang.MissingPropertyException: Could not get unknown property 
'compileConfigurationName' for source set 'main' of type 
org.gradle.api.internal.tasks.DefaultSourceSet.

Same problem with loading my old Gradle project which I used to develop in 
NetBeans.


> Cannot load newly created Gradle project
> 
>
> Key: NETBEANS-5582
> URL: https://issues.apache.org/jira/browse/NETBEANS-5582
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Gradle
>Affects Versions: 12.3
> Environment:   Product Version = Apache NetBeans IDE 12.3
>   Operating System= Windows 10 version 10.0 running on amd64
>   Java; VM; Vendor= 15.0.2; OpenJDK 64-Bit Server VM 15.0.2+7-27; 
> Oracle Corporation
>Reporter: Eugene Pliskin
>Assignee: Laszlo Kishalmi
>Priority: Blocker
> Attachments: gradleproject1.rar, messages.log, screenshot1.png, 
> screenshot2-gradle.png
>
>
> Create new Gradle project: File / New Project... / Java with Gradle, Java 
> Application.
> Generated project attached.
> This project appears unloadable, see attached screenshots.
> NetBeans log attached contains this error message:
> groovy.lang.MissingPropertyException: Could not get unknown property 
> 'compileConfigurationName' for source set 'main' of type 
> org.gradle.api.internal.tasks.DefaultSourceSet.
> Same problem with loading my old Gradle project which I used to develop in 
> NetBeans.
> Both projects can build without errors.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Updated] (NETBEANS-5582) Cannot load newly created Gradle project

2021-04-15 Thread Eugene Pliskin (Jira)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-5582?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Eugene Pliskin updated NETBEANS-5582:
-
Description: 
Create new Gradle project: File / New Project... / Java with Gradle, Java 
Application.
Generated project attached.
This project appears unloadable, see attached screenshots.
NetBeans log attached contains this error message:

groovy.lang.MissingPropertyException: Could not get unknown property 
'compileConfigurationName' for source set 'main' of type 
org.gradle.api.internal.tasks.DefaultSourceSet.

Same problem with loading my old Gradle project which I used to develop in 
NetBeans.

  was:
Create new Gradle project: File / New Project... / Java with Gradle, Java 
Application.
Generated project attached.
This project appears unloadable, see attached screenshots.
NetBeans log attached contains this error message:

groovy.lang.MissingPropertyException: Could not get unknown property 
'compileConfigurationName' for source set 'main' of type 
org.gradle.api.internal.tasks.DefaultSourceSet.

Same problem with loading my old Gradle project which I used to develop in 
NetBeans for many NetBeans versions ago until this NetBeans version 12.3.


> Cannot load newly created Gradle project
> 
>
> Key: NETBEANS-5582
> URL: https://issues.apache.org/jira/browse/NETBEANS-5582
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Gradle
>Affects Versions: 12.3
> Environment:   Product Version = Apache NetBeans IDE 12.3
>   Operating System= Windows 10 version 10.0 running on amd64
>   Java; VM; Vendor= 15.0.2; OpenJDK 64-Bit Server VM 15.0.2+7-27; 
> Oracle Corporation
>Reporter: Eugene Pliskin
>Assignee: Laszlo Kishalmi
>Priority: Blocker
> Attachments: gradleproject1.rar, messages.log, screenshot1.png
>
>
> Create new Gradle project: File / New Project... / Java with Gradle, Java 
> Application.
> Generated project attached.
> This project appears unloadable, see attached screenshots.
> NetBeans log attached contains this error message:
> groovy.lang.MissingPropertyException: Could not get unknown property 
> 'compileConfigurationName' for source set 'main' of type 
> org.gradle.api.internal.tasks.DefaultSourceSet.
> Same problem with loading my old Gradle project which I used to develop in 
> NetBeans.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Created] (NETBEANS-5582) Cannot load newly created Gradle project

2021-04-15 Thread Eugene Pliskin (Jira)
Eugene Pliskin created NETBEANS-5582:


 Summary: Cannot load newly created Gradle project
 Key: NETBEANS-5582
 URL: https://issues.apache.org/jira/browse/NETBEANS-5582
 Project: NetBeans
  Issue Type: Bug
  Components: projects - Gradle
Affects Versions: 12.3
 Environment:   Product Version = Apache NetBeans IDE 12.3
  Operating System= Windows 10 version 10.0 running on amd64
  Java; VM; Vendor= 15.0.2; OpenJDK 64-Bit Server VM 15.0.2+7-27; 
Oracle Corporation

Reporter: Eugene Pliskin
Assignee: Laszlo Kishalmi
 Attachments: gradleproject1.rar, messages.log, screenshot1.png

Create new Gradle project: File / New Project... / Java with Gradle, Java 
Application.
Generated project attached.
This project appears unloadable, see attached screenshots.
NetBeans log attached contains this error message:

groovy.lang.MissingPropertyException: Could not get unknown property 
'compileConfigurationName' for source set 'main' of type 
org.gradle.api.internal.tasks.DefaultSourceSet.

Same problem with loading my old Gradle project which I used to develop in 
NetBeans for many NetBeans versions ago until this NetBeans version 12.3.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists