[jira] [Updated] (NETBEANS-2555) When running any test, standard output is not shown in the panel to the right of the test file result.

2019-05-17 Thread Mark Flacy (JIRA)


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

Mark Flacy updated NETBEANS-2555:
-
Description: 
It isn't important that the output is available on the side panel while the 
test is running; it is sufficient to me if the output is presented after the 
tests have run if I select a specific test on the test panel.

I have a simple project at github that shows the behavior.

[https://github.com/Richard-Cranium/NB11GradleJunitExample]

The head of the master branch is the gradle based project that shows the 
misleading behavior.

  was:
I have a simple project at github that shows the behavior.

[https://github.com/Richard-Cranium/NB11GradleJunitExample]

The head of the master branch is the gradle based project that shows the 
misleading behavior.
 The head of the maven-version branch has the same source files, but configured 
to use maven instead.

The maven project's behavior when _Run -> Test Project_ is selected is what I 
would expect from the gradle project's behavior when _Run -> Test Project_ is 
selected against it.


> When running any test, standard output is not shown in the panel to the right 
> of the test file result.
> --
>
> Key: NETBEANS-2555
> URL: https://issues.apache.org/jira/browse/NETBEANS-2555
> Project: NetBeans
>  Issue Type: Improvement
>  Components: gradle
>Affects Versions: 11.0
>Reporter: Mark Flacy
>Priority: Minor
>
> It isn't important that the output is available on the side panel while the 
> test is running; it is sufficient to me if the output is presented after the 
> tests have run if I select a specific test on the test panel.
> I have a simple project at github that shows the behavior.
> [https://github.com/Richard-Cranium/NB11GradleJunitExample]
> The head of the master branch is the gradle based project that shows the 
> misleading behavior.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
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-2527) Junit test results when run via gradle are incomplete.

2019-05-17 Thread Mark Flacy (JIRA)


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

Mark Flacy commented on NETBEANS-2527:
--

\o/

> Junit test results when run via gradle are incomplete.
> --
>
> Key: NETBEANS-2527
> URL: https://issues.apache.org/jira/browse/NETBEANS-2527
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Gradle
>Affects Versions: 11.0
> Environment: Product Version: Apache NetBeans IDE 11.0 (Build 
> incubator-netbeans-release-404-on-20190319)
> Java: 11.0.2; OpenJDK 64-Bit Server VM 11.0.2+9
> Runtime: OpenJDK Runtime Environment 11.0.2+9
> System: Mac OS X version 10.14.4 running on x86_64; UTF-8; en_US (nb)
> Product Version: Apache NetBeans IDE 11.0 (Build 
> incubator-netbeans-release-404-on-20190319)
> Java: 11.0.1; OpenJDK 64-Bit Server VM 11.0.1+13
> Runtime: OpenJDK Runtime Environment 11.0.1+13
> System: Linux version 4.4.172 running on amd64; UTF-8; en_US (nb)
>Reporter: Mark Flacy
>Assignee: Laszlo Kishalmi
>Priority: Major
> Attachments: Gradle_false_positive.png, Maven_true_failures.png
>
>
>  When running the test task, the Gradle Test Run window shows ONLY ONE test 
> file result. All other test results are invisible.
>  
> I have a simple project at github that shows the behavior.
> [https://github.com/Richard-Cranium/NB11GradleJunitExample]
> The head of the master branch is the gradle based project that shows the 
> misleading behavior.
>  The head of the maven-version branch has the same source files, but 
> configured to use maven instead.
> The maven project's behavior when _Run -> Test Project_ is selected is what I 
> would expect from the gradle project's behavior when _Run -> Test Project_ is 
> selected against it.  See the attached images.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
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-2527) Junit test results when run via gradle are incomplete.

2019-05-17 Thread Laszlo Kishalmi (JIRA)


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

Laszlo Kishalmi commented on NETBEANS-2527:
---

It seems I've finally found the issue. It is going to be part of the Gradle 
patch update 1

> Junit test results when run via gradle are incomplete.
> --
>
> Key: NETBEANS-2527
> URL: https://issues.apache.org/jira/browse/NETBEANS-2527
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Gradle
>Affects Versions: 11.0
> Environment: Product Version: Apache NetBeans IDE 11.0 (Build 
> incubator-netbeans-release-404-on-20190319)
> Java: 11.0.2; OpenJDK 64-Bit Server VM 11.0.2+9
> Runtime: OpenJDK Runtime Environment 11.0.2+9
> System: Mac OS X version 10.14.4 running on x86_64; UTF-8; en_US (nb)
> Product Version: Apache NetBeans IDE 11.0 (Build 
> incubator-netbeans-release-404-on-20190319)
> Java: 11.0.1; OpenJDK 64-Bit Server VM 11.0.1+13
> Runtime: OpenJDK Runtime Environment 11.0.1+13
> System: Linux version 4.4.172 running on amd64; UTF-8; en_US (nb)
>Reporter: Mark Flacy
>Assignee: Laszlo Kishalmi
>Priority: Major
> Attachments: Gradle_false_positive.png, Maven_true_failures.png
>
>
>  When running the test task, the Gradle Test Run window shows ONLY ONE test 
> file result. All other test results are invisible.
>  
> I have a simple project at github that shows the behavior.
> [https://github.com/Richard-Cranium/NB11GradleJunitExample]
> The head of the master branch is the gradle based project that shows the 
> misleading behavior.
>  The head of the maven-version branch has the same source files, but 
> configured to use maven instead.
> The maven project's behavior when _Run -> Test Project_ is selected is what I 
> would expect from the gradle project's behavior when _Run -> Test Project_ is 
> selected against it.  See the attached images.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
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-2434) Can't install JIRA plugin

2019-05-17 Thread Derrick Claar (JIRA)


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

Derrick Claar commented on NETBEANS-2434:
-

Are there any workarounds that IDE users can employ to get by in the meantime?  
The jar seems to be moved a bit from time to time, with this link currently 
working from the Atlassian artifactory pages:

[https://packages.atlassian.com/maven-public-legacy-local/com/atlassian/jira/jira-rest-java-client/1.1-ide-m06/jira-rest-java-client-1.1-ide-m06.jar]

 

> Can't install JIRA plugin
> -
>
> Key: NETBEANS-2434
> URL: https://issues.apache.org/jira/browse/NETBEANS-2434
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Ray Slater
>Priority: Major
>
> I'm trying to install the Jira plugin in Netbeans 11, but it fails to 
> download the REST client from atlassian:
> {noformat}
> SEVERE [org.netbeans.modules.autoupdate.ui.wizards.InstallStep]
> msg
> Caused: org.netbeans.api.autoupdate.OperationException[INSTALL]: Cannot 
> resolve external reference to 
> https://maven.atlassian.com/content/repositories/public/com/atlassian/jira/jira-rest-java-client/1.1-ide-m06/jira-rest-java-client-1.1-ide-m06.jar
> at 
> org.netbeans.modules.autoupdate.services.InstallSupportImpl.doDownload(InstallSupportImpl.java:768)
> at 
> org.netbeans.modules.autoupdate.services.InstallSupportImpl.doDownload(InstallSupportImpl.java:642)
> at 
> org.netbeans.modules.autoupdate.services.InstallSupportImpl.access$600(InstallSupportImpl.java:73)
> at 
> org.netbeans.modules.autoupdate.services.InstallSupportImpl$1.call(InstallSupportImpl.java:153)
> at 
> org.netbeans.modules.autoupdate.services.InstallSupportImpl$1.call(InstallSupportImpl.java:125)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> [catch] at java.lang.Thread.run(Thread.java:745)
> There were some problems while storing JIRA REST Client.
> Cause: Cannot resolve external reference to 
> https://maven.atlassian.com/content/repositories/public/com/atlassian/jira/jira-rest-java-client/1.1-ide-m06/jira-rest-java-client-1.1-ide-m06.jar
> {noformat}
> Searching threw up this old Bugzilla: 
> [https://netbeans.org/bugzilla/show_bug.cgi?id=244014]
> In that Bugzilla there are 2 links & the solution suggests that both would be 
> tried in a fixed version.
> For me, this link works: 
>  
> [https://maven.atlassian.com/content/repositories/atlassian-public/com/atlassian/jira/jira-rest-java-client/1.1-ide-m06/jira-rest-java-client-1.1-ide-m06.jar]
> but this link fails:
>  
> [https://maven.atlassian.com/content/repositories/public/com/atlassian/jira/jira-rest-java-client/1.1-ide-m06/jira-rest-java-client-1.1-ide-m06.jar]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
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-2556) NetBeans erroneously decodes the first utf-8 \u003D on a line when saving a .properties file

2019-05-17 Thread Peter Rushforth (JIRA)
Peter Rushforth created NETBEANS-2556:
-

 Summary: NetBeans erroneously decodes the first utf-8 \u003D on a 
line when saving a .properties file
 Key: NETBEANS-2556
 URL: https://issues.apache.org/jira/browse/NETBEANS-2556
 Project: NetBeans
  Issue Type: Bug
  Components: platform - Text
Affects Versions: 8.2
 Environment: Windows 10
Reporter: Peter Rushforth


I recently edited a .properties file that had 
\u003D ("=") encoded (I suppose so it wouldn't be taken for the expected 
property assignment =. Anyway, I didn't edit that line, but when I save changes 
to the file the NetBeans editor decoded that character.  I don't believe that's 
correct behaviour, but YMMV.
Thanks,
 
A long-time NetBeans user and fan.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
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-jenkins-lib] branch master updated: take jdk also

2019-05-17 Thread skygo
This is an automated email from the ASF dual-hosted git repository.

skygo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans-jenkins-lib.git


The following commit(s) were added to refs/heads/master by this push:
 new cd5fdf0  take jdk also
cd5fdf0 is described below

commit cd5fdf04cf57625d639d282e1bf33beb2acbd43b
Author: Eric Barboni 
AuthorDate: Fri May 17 15:20:44 2019 +0200

take jdk also
---
 vars/asfMainNetBeansBuild.groovy | 13 +++--
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/vars/asfMainNetBeansBuild.groovy b/vars/asfMainNetBeansBuild.groovy
index 8666db6..54dc976 100644
--- a/vars/asfMainNetBeansBuild.groovy
+++ b/vars/asfMainNetBeansBuild.groovy
@@ -26,7 +26,7 @@ def call(Map params = [:]) {
 def apidocurl = ""
 def date  = ""
 def atomdate = ""
-
+def jdktool = ""
 pipeline {
 options {
 buildDiscarder(logRotator(numToKeepStr: '1'))
@@ -44,22 +44,23 @@ def call(Map params = [:]) {
 echo "curl over"
 // write a custom json with valid data
 writeFile(file: 'test.json', text: '{"release90": 
{"ant": "Ant (latest)","jdk": "JDK 1.8 (latest)",
"maven": "Maven 3.3.9","releaseDate": "29 Jul 2018",
"atomreleaseDate": "2018-07-29T12:00:00Z","tlp": "false",
"apidocurl": "https://bits.netbeans.org/9.0/javadoc;
},"release100": {"ant": "Ant (latest)","jdk": "JDK 1.8 
(latest)","maven": "Maven 3.3.9", [...]
-echo "write over"
 
 def foo = readJSON file: 'test.json'
-echo "readjs over"
-
 sh 'rm -f test.json'
-echo "remove over"
+ 
 myAnt = foo[env.BRANCH_NAME].ant;
 apidocurl = foo[env.BRANCH_NAME].apidocurl
 date  = foo[env.BRANCH_NAME].releaseDate
 atomdate = foo[env.BRANCH_NAME].atomreleaseDate
-echo "echo over"
+jdktool = foo[env.BRANCH_NAME].jdk
+ 
 }
 }
 }
 stage ("Apidoc") {
+tools {
+   jdk jdktool
+}
 steps {
 withAnt(installation: myAnt) {  
 script {


-
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-jenkins-lib] branch master updated: add some basic steps for apidoc and test json and curl

2019-05-17 Thread skygo
This is an automated email from the ASF dual-hosted git repository.

skygo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans-jenkins-lib.git


The following commit(s) were added to refs/heads/master by this push:
 new 326c22b  add some basic steps for apidoc and test json and curl
326c22b is described below

commit 326c22b5e671576cf10c19a4c8e7c7f36aa627f7
Author: Eric Barboni 
AuthorDate: Fri May 17 15:00:10 2019 +0200

add some basic steps for apidoc and test json and curl
---
 vars/asfMainNetBeansBuild.groovy | 61 
 1 file changed, 55 insertions(+), 6 deletions(-)

diff --git a/vars/asfMainNetBeansBuild.groovy b/vars/asfMainNetBeansBuild.groovy
index 31fdb32..8666db6 100644
--- a/vars/asfMainNetBeansBuild.groovy
+++ b/vars/asfMainNetBeansBuild.groovy
@@ -21,16 +21,59 @@
 
 // this script is taken from olamy works on archiva-jenkins-lib for the Apache 
Archiva project
 def call(Map params = [:]) {
-
-   
+// variable needed for apidoc
+def myAnt = ""
+def apidocurl = ""
+def date  = ""
+def atomdate = ""
+
 pipeline {
-agent any
+options {
+buildDiscarder(logRotator(numToKeepStr: '1'))
+disableConcurrentBuilds() 
+}
+agent { node { label 'ubuntu' } }
 stages{
 stage("Test"){
 agent { node { label 'ubuntu' } }
-options { timeout(time: 120, unit: 'MINUTES') }
+options { timeout(time: 180, unit: 'MINUTES') }
 steps{
-echo env.BRANCH_NAME;
+script {
+// test if we can do that 
+sh 'curl 
https://netbeans.apache.org/community/index.html -o test.html'
+echo "curl over"
+// write a custom json with valid data
+writeFile(file: 'test.json', text: '{"release90": 
{"ant": "Ant (latest)","jdk": "JDK 1.8 (latest)",
"maven": "Maven 3.3.9","releaseDate": "29 Jul 2018",
"atomreleaseDate": "2018-07-29T12:00:00Z","tlp": "false",
"apidocurl": "https://bits.netbeans.org/9.0/javadoc;
},"release100": {"ant": "Ant (latest)","jdk": "JDK 1.8 
(latest)","maven": "Maven 3.3.9", [...]
+echo "write over"
+
+def foo = readJSON file: 'test.json'
+echo "readjs over"
+
+sh 'rm -f test.json'
+echo "remove over"
+myAnt = foo[env.BRANCH_NAME].ant;
+apidocurl = foo[env.BRANCH_NAME].apidocurl
+date  = foo[env.BRANCH_NAME].releaseDate
+atomdate = foo[env.BRANCH_NAME].atomreleaseDate
+echo "echo over"
+}
+}
+}
+stage ("Apidoc") {
+steps {
+withAnt(installation: myAnt) {  
+script {
+sh 'ant'
+if (env.BRANCH_NAME=="master") {
+sh "ant build-javadoc 
-Djavadoc.web.zip=${env.WORKSPACE}/WEBZIP.zip"
+} else {
+sh "ant build-javadoc 
-Djavadoc.web.root='${apidocurl}' -Dmodules-javadoc-date='${date}' 
-Datom-date='${atomdate}' -Djavadoc.web.zip=${env.WORKSPACE}/WEBZIP.zip"
+}
+}
+
+}
+archiveArtifacts 'WEBZIP.zip'
+
 }
 }
 }
@@ -38,7 +81,13 @@ def call(Map params = [:]) {
 cleanup {
 cleanWs() // deleteDirs: true, notFailBuild: true, patterns: 
[[pattern: '**/.repository/**', type: 'INCLUDE']]
 }
-   
+success {
+slackSend (channel:'#netbeans-builds', message:"SUCCESS: Job 
'${env.JOB_NAME} [${env.BUILD_NUMBER}]' (${env.BUILD_URL}) ",color:'#00FF00')
+}
+failure {
+slackSend (channel:'#netbeans-builds', message:"FAILED: Job 
'${env.JOB_NAME} [${env.BUILD_NUMBER}]'  (${env.BUILD_URL})",color:'#FF')
+}
+
 }
 }
 }


-
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] [Comment Edited] (NETBEANS-2221) ClassCastException when try to open class from not opened module

2019-05-17 Thread Mark Herkrath (JIRA)


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

Mark Herkrath edited comment on NETBEANS-2221 at 5/17/19 8:34 AM:
--

I am running into the same issue all the time and have done some analysis:

Code of {{org.netbeans.modules.java.source.builder.TreeFactory}}, where the 
ClassCastException happens:
{code:java}
public ExpressionTree Type(TypeMirror type) {
Type t = (Type) type;
JCExpression tp;
switch (type.getKind()) {
...
case ERROR:
tp = make.at(NOPOS).Ident(((ErrorType) type).tsym.name);
break;
default:
return make.at(NOPOS).Type((Type)type);
}

return tp.setType(t);
}  {code}
The getKind() implementation of ClassType used to always return DECLARED. 
However since Java 11, the getKind() implementation of ClassType has been 
changed:
{code:java}
   @DefinedBy(Api.LANGUAGE_MODEL)
public TypeKind getKind() {
tsym.apiComplete();
return tsym.kind == TYP ? TypeKind.DECLARED : TypeKind.ERROR;
} {code}
See [http://hg.openjdk.java.net/jdk/jdk/rev/cc2673fa8c20] due to 
[https://bugs.openjdk.java.net/browse/JDK-8187950]

The same change was done as part of nb-java here: 
[https://hg.netbeans.org/main/nb-java-x/diff/cc2673fa8c20/src/jdk.compiler/share/classes/com/sun/tools/javac/code/Type.java],
 as part of [https://hg.netbeans.org/main/nb-java-x/rev/cc2673fa8c20].

As a result, the cast to ErrorType for getKind() == ERROR isn't always valid 
anymore, and may throw ClassCastExceptions like this one.

Could it be possible that the nb-java change is part of the nb-java used for 
NetBeans 11, but not yet for the version used for NetBeans 10? It's not clear 
to me which tags are used.


was (Author: herkrath):
I am running into the same issue all the time and have done some analysis:

Code of {{org.netbeans.modules.java.source.builder.TreeFactory}}, where the 
ClassCastException happens:
{code:java}
public ExpressionTree Type(TypeMirror type) {
Type t = (Type) type;
JCExpression tp;
switch (type.getKind()) {
...
case ERROR:
tp = make.at(NOPOS).Ident(((ErrorType) type).tsym.name);
break;
default:
return make.at(NOPOS).Type((Type)type);
}

return tp.setType(t);
}  {code}
The getKind() implementation of ClassType used to always return DECLARED. 
However since Java 11, the getKind() implementation of ClassType has been 
changed:
{code:java}
   @DefinedBy(Api.LANGUAGE_MODEL)
public TypeKind getKind() {
tsym.apiComplete();
return tsym.kind == TYP ? TypeKind.DECLARED : TypeKind.ERROR;
} {code}
See [http://hg.openjdk.java.net/jdk/jdk/rev/cc2673fa8c20] due to 
[https://bugs.openjdk.java.net/browse/JDK-8187950]

As a result, the cast to ErrorType for getKind() == ERROR isn't always valid 
anymore. The strange thing is that I get the same error with Java 8u212 by 
Oracle (i.e. NB is running with that version and the Java version of my project 
is also set accordingly). Maybe it was back-ported but it's not clear to me if 
their com.sun.tools sources are publicly accessible somewhere. I don't see that 
change in the Java 8 release notes. Alternatively, NetBeans is using Java 11 
for de-compilation for whatever reason. I have at least added it as a Java 
Platform.

> ClassCastException when try to open class from not opened module
> 
>
> Key: NETBEANS-2221
> URL: https://issues.apache.org/jira/browse/NETBEANS-2221
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.0
>Reporter: Tomas Huryn
>Priority: Major
>
> When I try to open a class from project which has not been opened before I 
> get the exception:
> WARNING [org.openide.filesystems.Ordering]: Not all children in / marked with 
> the position attribute: 
> [org-netbeans-modules-lsp-client-bindings-HyperlinkProviderImpl.instance], 
> but some are: [HyperlinkProviderImpl.instance, 
> org-netbeans-modules-editor-url-HyperlinkImpl.instance]
> WARNING [org.netbeans.modules.parsing.impl.TaskProcessor]: 
> ParserManager.parse called in AWT event thread by: 
> org.netbeans.modules.java.classfile.CodeGenerator.generateCode(CodeGenerator.java:152)
> Even though the source level of  is set to: 11, java.util.zip.CRC32C cannot 
> be found on the system module path: 
> Changing source level to 1.8
> SEVERE [global]
> java.lang.ClassCastException: class com.sun.tools.javac.code.Type$ClassType 
> cannot be cast to class com.sun.tools.javac.code.Type$ErrorType 
> (com.sun.tools.javac.code.Type$ClassType and 
> 

[jira] [Commented] (NETBEANS-2415) Bring back support for WildFly server

2019-05-17 Thread JIRA


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

Dominik Derwiński commented on NETBEANS-2415:
-

Interesting, when I have enabled (by default it's ignored) the wildfly module 
to compile there was an error. But then I'm not an expert at building NetBeans.

> Bring back support for WildFly server
> -
>
> Key: NETBEANS-2415
> URL: https://issues.apache.org/jira/browse/NETBEANS-2415
> Project: NetBeans
>  Issue Type: Wish
>  Components: serverplugins - WildFly
>Affects Versions: 11.0
> Environment: n.a.
>Reporter: Dominik Derwiński
>Priority: Minor
>
> NetBeans 8.2 had WildFly server module, which helped greatly in debugging 
> Java EE applications directly from IDE. NetBeans 11.0 does not contain this 
> module, despite boasting to be the first version of Apache NetBeans to offer 
> full support for developing Java EE applications.
> I don't think it would be very hard to bring back WildFly server module 
> (currently it does not complile), because copying files of the module from 
> NetBeans 8.2 into NetBeans 11.0 installation, and recreating userdir is 
> enough to bring back that functionality (so the old module still works, but 
> for how long?).
> The files I have copied (after removing references to localization files) are:
>  * enterprise/config/Modules/org-netbeans-modules-javaee-wildfly.xml
>  * enterprise/modules/org-netbeans-modules-javaee-wildfly.jar
>  * enterprise/update_tracking/org-netbeans-modules-javaee-wildfly.xml
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
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-2415) Bring back support for WildFly server

2019-05-17 Thread Emmanuel Hugonnet (JIRA)


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

Emmanuel Hugonnet commented on NETBEANS-2415:
-

hello, I just built it this morning without any changes.

> Bring back support for WildFly server
> -
>
> Key: NETBEANS-2415
> URL: https://issues.apache.org/jira/browse/NETBEANS-2415
> Project: NetBeans
>  Issue Type: Wish
>  Components: serverplugins - WildFly
>Affects Versions: 11.0
> Environment: n.a.
>Reporter: Dominik Derwiński
>Priority: Minor
>
> NetBeans 8.2 had WildFly server module, which helped greatly in debugging 
> Java EE applications directly from IDE. NetBeans 11.0 does not contain this 
> module, despite boasting to be the first version of Apache NetBeans to offer 
> full support for developing Java EE applications.
> I don't think it would be very hard to bring back WildFly server module 
> (currently it does not complile), because copying files of the module from 
> NetBeans 8.2 into NetBeans 11.0 installation, and recreating userdir is 
> enough to bring back that functionality (so the old module still works, but 
> for how long?).
> The files I have copied (after removing references to localization files) are:
>  * enterprise/config/Modules/org-netbeans-modules-javaee-wildfly.xml
>  * enterprise/modules/org-netbeans-modules-javaee-wildfly.jar
>  * enterprise/update_tracking/org-netbeans-modules-javaee-wildfly.xml
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
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-2416) Incorrect warning: "Field x is not used"

2019-05-17 Thread Tapio Koskinen (JIRA)


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

Tapio Koskinen closed NETBEANS-2416.

Resolution: Cannot Reproduce

This does not happen anymore, even though "nothing" has changed.

> Incorrect warning: "Field x is not used"
> 
>
> Key: NETBEANS-2416
> URL: https://issues.apache.org/jira/browse/NETBEANS-2416
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.0
> Environment: Product Version: Apache NetBeans IDE 11.0 (Build 
> incubator-netbeans-release-404-on-20190319)
> Java: 12; OpenJDK 64-Bit Server VM 12+33
> Runtime: OpenJDK Runtime Environment 12+33
> System: Windows 10 version 10.0 running on amd64; Cp1252; en_US (nb)
>Reporter: Tapio Koskinen
>Priority: Major
>
> Given the following class Netbeans warns "Field VALUE is not used":
>  
>  {{public class Test {}}
>  {{    private static final String VALUE = "-";}}
> {{    @SuppressWarnings(VALUE)}}
>  {{    public void test() {}}}
>  {{}}}
>   
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
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