[jira] [Commented] (NETBEANS-3096) NB-Javac Upgrade to JDK-13

2019-09-20 Thread ARUNAVA SINHA (Jira)


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

ARUNAVA SINHA commented on NETBEANS-3096:
-

Yeah, I am working on the nb-javac plugin , It will be available soon

> NB-Javac Upgrade to JDK-13
> --
>
> Key: NETBEANS-3096
> URL: https://issues.apache.org/jira/browse/NETBEANS-3096
> Project: NetBeans
>  Issue Type: Task
>Affects Versions: 11.2
>Reporter: ARUNAVA SINHA
>Assignee: ARUNAVA SINHA
>Priority: Major
>  Labels: pull-request-available
> Fix For: 11.2
>
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> NB-11.2 will Support JDK-13. Need to upgrade nb-javac  to make it in sync 
> with JDK-13
> nb-javac link: [https://hg.netbeans.org/main/nb-java-x]



--
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-3147) design view fails to load

2019-09-20 Thread Larry Ashworth (Jira)
Larry Ashworth created NETBEANS-3147:


 Summary: design view fails to load
 Key: NETBEANS-3147
 URL: https://issues.apache.org/jira/browse/NETBEANS-3147
 Project: NetBeans
  Issue Type: Bug
  Components: apisupport - Project
Affects Versions: 11.0
Reporter: Larry Ashworth


This project worked properly in 8.2

>Log Session: Friday, September 20, 2019 12:27:04 PM MDT
>System Info: 
 Product Version = Apache NetBeans IDE 11.0 (Build 
incubator-netbeans-release-404-on-20190319)
 Operating System = Windows 10 version 10.0 running on amd64
 Java; VM; Vendor = 1.8.0_192-ea; Java HotSpot(TM) 64-Bit Server VM 25.192-b04; 
Oracle Corporation
 Runtime = Java(TM) SE Runtime Environment 1.8.0_192-ea-b04
 Java Home = C:\Program Files\Java\jdk1.8.0_192\jre
 System Locale; Encoding = en_US (nb); Cp1252
 Home Directory = C:\Users\Lare
 Current Directory = C:\netbeans\bin
 User Directory = C:\Users\Lare\AppData\Roaming\NetBeans\11.0
 Cache Directory = C:\Users\Lare\AppData\Local\NetBeans\Cache\11.0
 Installation = C:\netbeans\nb
 C:\netbeans\ergonomics
 C:\netbeans\ide
 C:\netbeans\extide
 C:\netbeans\java
 C:\netbeans\apisupport
 C:\netbeans\webcommon
 C:\netbeans\websvccommon
 C:\netbeans\enterprise
 C:\netbeans\profiler
 C:\netbeans\php
 C:\netbeans\harness
 C:\netbeans\groovy
 C:\netbeans\javafx
 C:\netbeans\platform
 Boot & Ext. Classpath = C:\Program 
Files\Java\jdk1.8.0_192\jre\lib\resources.jar;C:\Program 
Files\Java\jdk1.8.0_192\jre\lib\rt.jar;C:\Program 
Files\Java\jdk1.8.0_192\jre\lib\sunrsasign.jar;C:\Program 
Files\Java\jdk1.8.0_192\jre\lib\jsse.jar;C:\Program 
Files\Java\jdk1.8.0_192\jre\lib\jce.jar;C:\Program 
Files\Java\jdk1.8.0_192\jre\lib\charsets.jar;C:\Program 
Files\Java\jdk1.8.0_192\jre\lib\jfr.jar;C:\Program 
Files\Java\jdk1.8.0_192\jre\classes;C:\Program 
Files\Java\jdk1.8.0_192\jre\lib\ext\access-bridge-64.jar;C:\Program 
Files\Java\jdk1.8.0_192\jre\lib\ext\cldrdata.jar;C:\Program 
Files\Java\jdk1.8.0_192\jre\lib\ext\dnsns.jar;C:\Program 
Files\Java\jdk1.8.0_192\jre\lib\ext\jaccess.jar;C:\Program 
Files\Java\jdk1.8.0_192\jre\lib\ext\jfxrt.jar;C:\Program 
Files\Java\jdk1.8.0_192\jre\lib\ext\localedata.jar;C:\Program 
Files\Java\jdk1.8.0_192\jre\lib\ext\nashorn.jar;C:\Program 
Files\Java\jdk1.8.0_192\jre\lib\ext\sunec.jar;C:\Program 
Files\Java\jdk1.8.0_192\jre\lib\ext\sunjce_provider.jar;C:\Program 
Files\Java\jdk1.8.0_192\jre\lib\ext\sunmscapi.jar;C:\Program 
Files\Java\jdk1.8.0_192\jre\lib\ext\sunpkcs11.jar;C:\Program 
Files\Java\jdk1.8.0_192\jre\lib\ext\zipfs.jar
 Application Classpath = 
C:\netbeans\platform\lib\boot.jar;C:\netbeans\platform\lib\org-openide-modules.jar;C:\netbeans\platform\lib\org-openide-util-lookup.jar;C:\netbeans\platform\lib\org-openide-util-ui.jar;C:\netbeans\platform\lib\org-openide-util.jar;C:\Program
 Files\Java\jdk1.8.0_192\lib\dt.jar;C:\Program 
Files\Java\jdk1.8.0_192\lib\tools.jar
 Startup Classpath = 
C:\netbeans\platform\core\asm-all-5.0.1.jar;C:\netbeans\platform\core\core-base.jar;C:\netbeans\platform\core\core.jar;C:\netbeans\platform\core\org-netbeans-libs-asm.jar;C:\netbeans\platform\core\org-openide-filesystems-compat8.jar;C:\netbeans\platform\core\org-openide-filesystems.jar;C:\netbeans\nb\core\org-netbeans-upgrader.jar;C:\netbeans\nb\core\locale\core_nb.jar
---
WARNING [org.netbeans.core.modules]: had to upgrade dependencies for module 
com.codename1: added = [module org.netbeans.modules.project.ant.ui/1 > 1.62, 
module org.netbeans.api.templates > 1.0, module org.openide.execution.compat8 > 
9.0, module org.netbeans.modules.projectuiapi.base/1 > 1.78.0, module 
org.openide.util.ui > 9.3, module org.openide.filesystems.nb, module 
org.openide.filesystems.compat8, module org.netbeans.modules.editor.document > 
1.0, module org.netbeans.modules.project.ant.compat8/1 > 1.62] removed = []; 
details: [#243100: Separate desktop-independent utilities, Removal of 
FileSystemCapability, Separate project.ant into desktop and NetBeans 
independent and dependent parts, Separate projectuiapi into desktop and 
NetBeans independent and dependent parts, Separation of Parsing and Indexing 
APIs, Separation of desktop and cleanup, Templates API has been separated into 
its own module.]
INFO [org.netbeans.JarClassLoader]: 
C:\Users\Lare\AppData\Roaming\NetBeans\11.0\modules\ext\jaxb-impl-2.3.0.1.jar 
does not exist, # of retries 0
INFO [org.netbeans.JarClassLoader]: file 
C:\Users\Lare\AppData\Roaming\NetBeans\11.0\modules\ext exists. # of retries 0
INFO [org.netbeans.JarClassLoader]: 
C:\Users\Lare\AppData\Roaming\NetBeans\11.0\modules\ext is directory and 
contains: [bined-core-0.2.0-SNAPSHOT.jar, bined-delta-0.2.0-SNAPSHOT.jar, 
bined-extended-0.2.0-SNAPSHOT.jar, bined-highlight-swing-0.2.0-SNAPSHOT.jar, 
bined-operation-0.2.0-SNAPSHOT.jar, 

[netbeans-jenkins-lib] branch master updated: Update asfStandardBuild.groovy

2019-09-20 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 4b17d0e  Update asfStandardBuild.groovy
4b17d0e is described below

commit 4b17d0e99320798c4d23455772a4ad524dd99e82
Author: Eric Barboni 
AuthorDate: Fri Sep 20 17:35:27 2019 +0200

Update asfStandardBuild.groovy

put more friendly color for fixed build
---
 vars/asfStandardBuild.groovy | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vars/asfStandardBuild.groovy b/vars/asfStandardBuild.groovy
index b179c3d..e0f20b6 100644
--- a/vars/asfStandardBuild.groovy
+++ b/vars/asfStandardBuild.groovy
@@ -120,7 +120,7 @@ def notifyBuild(String buildStatus) {
 def color
 if (buildStatus == 'STARTED') {
 color = '#F0F0F0'
-} else if (buildStatus == 'SUCCESS') {
+} else if (buildStatus == 'SUCCESS' || buildStatus=='Fixed') {
 color = '#00FF00'
 } else if (buildStatus == 'UNSTABLE') {
 color = '#50'


-
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: Update asfStandardBuild.groovy

2019-09-20 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 601c2fb  Update asfStandardBuild.groovy
601c2fb is described below

commit 601c2fbcfa2b8519d650ad9ec962e3effcac1392
Author: Eric Barboni 
AuthorDate: Fri Sep 20 17:28:31 2019 +0200

Update asfStandardBuild.groovy

use last 3.5.4 for 3.5.x
---
 vars/asfStandardBuild.groovy | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vars/asfStandardBuild.groovy b/vars/asfStandardBuild.groovy
index 5d19fb1..b179c3d 100644
--- a/vars/asfStandardBuild.groovy
+++ b/vars/asfStandardBuild.groovy
@@ -32,7 +32,7 @@ def call(Map params = [:]) {
 def jdk = params.containsKey('jdk') ? params.jdk : 'JDK 1.8 (latest)'
 // use the cmdLine parameter otherwise default depending on current branch
 def cmdline = params.containsKey('cmdline') ? params.cmdline : 
(env.BRANCH_NAME == 'master'?"clean deploy site:jar":"clean install")
-def mvnName = params.containsKey('mvnName') ? params.mvnName : 'Maven 
3.5.2'
+def mvnName = params.containsKey('mvnName') ? params.mvnName : 'Maven 
3.5.4'
 
 
 def defaultPublishers = [artifactsPublisher(disabled: false), 
junitPublisher(ignoreAttachments: false, disabled: false),


-
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-3096) NB-Javac Upgrade to JDK-13

2019-09-20 Thread Benjamin Graf (Jira)


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

Benjamin Graf commented on NETBEANS-3096:
-

Will there be an updated nb-javac plugin release, soon?

> NB-Javac Upgrade to JDK-13
> --
>
> Key: NETBEANS-3096
> URL: https://issues.apache.org/jira/browse/NETBEANS-3096
> Project: NetBeans
>  Issue Type: Task
>Affects Versions: 11.2
>Reporter: ARUNAVA SINHA
>Assignee: ARUNAVA SINHA
>Priority: Major
>  Labels: pull-request-available
> Fix For: 11.2
>
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> NB-11.2 will Support JDK-13. Need to upgrade nb-javac  to make it in sync 
> with JDK-13
> nb-javac link: [https://hg.netbeans.org/main/nb-java-x]



--
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: use URL information direct from JSON + verbose

2019-09-20 Thread neilcsmith
This is an automated email from the ASF dual-hosted git repository.

neilcsmith 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 f47cb82   use URL information direct from JSON + verbose
 new a30e5ca  Merge pull request #1524 from ebarboni/brandingurl
f47cb82 is described below

commit f47cb82ec1ef345227a331987b288000e99c9b0a
Author: Eric Barboni 
AuthorDate: Fri Sep 20 15:05:34 2019 +0200

 use URL information direct from JSON + verbose
---
 .../netbeans/nbbuild/ReleaseJsonProperties.java| 27 ++
 1 file changed, 18 insertions(+), 9 deletions(-)

diff --git a/nbbuild/antsrc/org/netbeans/nbbuild/ReleaseJsonProperties.java 
b/nbbuild/antsrc/org/netbeans/nbbuild/ReleaseJsonProperties.java
index a51b420..4ab5422 100644
--- a/nbbuild/antsrc/org/netbeans/nbbuild/ReleaseJsonProperties.java
+++ b/nbbuild/antsrc/org/netbeans/nbbuild/ReleaseJsonProperties.java
@@ -20,6 +20,7 @@ package org.netbeans.nbbuild;
 
 import java.io.File;
 import java.io.FileOutputStream;
+import java.io.BufferedReader;
 import java.io.FileReader;
 import java.io.IOException;
 import java.io.OutputStream;
@@ -146,7 +147,7 @@ public class ReleaseJsonProperties extends Task {
 log("Writing releasinfo file " + propertiesFile);
 propertiesFile.getParentFile().mkdirs();
 try (OutputStream config = new FileOutputStream(propertiesFile)) {
-String optionnalversion = "";
+String optionalversion = "";
 boolean found = false;
 for (MileStone m : requiredbranchinfo.milestones) {
 if (m.hash.equals(hash)) {
@@ -156,34 +157,34 @@ public class ReleaseJsonProperties extends Task {
 if (m.vote != -1) {
 // vote is set we want the full version
 } else {
-optionnalversion = "-" + m.version;
+optionalversion = "-" + m.version;
 }
 
 }
 }
 if (!found && !branch.equals("master")) {
 // hash no match we are building a dev version of specific 
branch
-optionnalversion = "-dev";
+optionalversion = "-dev";
 }
-config.write(("metabuild.DistributionURL=" + 
requiredbranchinfo.updateurl.replace(requiredbranchinfo.version, 
requiredbranchinfo.version + optionnalversion) + "\n").getBytes());
-config.write(("metabuild.PluginPortalURL=" + 
requiredbranchinfo.pluginsurl.replace(requiredbranchinfo.version, 
requiredbranchinfo.version + optionnalversion) + "\n").getBytes());
+config.write(("metabuild.DistributionURL=" + 
requiredbranchinfo.updateurl + "\n").getBytes());
+config.write(("metabuild.PluginPortalURL=" + 
requiredbranchinfo.pluginsurl + "\n").getBytes());
 // used for cache and user dir
-config.write(("metabuild.RawVersion=" + requiredbranchinfo.version 
+ optionnalversion + "\n").getBytes());
+config.write(("metabuild.RawVersion=" + requiredbranchinfo.version 
+ optionalversion + "\n").getBytes());
 
 if (branch.equals("master")) {
 config.write(("metabuild.ComputedSplashVersion=DEV (Build 
{0})\n").getBytes());
 config.write(("metabuild.ComputedTitleVersion=DEV 
{0}\n").getBytes());
 
config.write(("metabuild.logcli=-J-Dnetbeans.logger.console=true 
-J-ea\n").getBytes());
 } else {
-config.write(("metabuild.ComputedSplashVersion=" + 
requiredbranchinfo.version + optionnalversion + "\n").getBytes());
-config.write(("metabuild.ComputedTitleVersion=" + 
requiredbranchinfo.version + optionnalversion + "\n").getBytes());
+config.write(("metabuild.ComputedSplashVersion=" + 
requiredbranchinfo.version + optionalversion + "\n").getBytes());
+config.write(("metabuild.ComputedTitleVersion=" + 
requiredbranchinfo.version + optionalversion + "\n").getBytes());
 config.write(("metabuild.logcli=\n").getBytes());
 }
 } catch (IOException ex) {
 throw new BuildException("Properties File for release cannot be 
created");
 }
 
-log("Writing releasinfo file " + xmlFile);
+log("Writing releasinfo file " + xmlFile );
 
 xmlFile.getParentFile().mkdirs();
 try (OutputStream config = new FileOutputStream(xmlFile)) {
@@ -191,6 +192,14 @@ public class ReleaseJsonProperties extends Task {
 } catch (IOException ex) {
 throw new BuildException("XML File for release cannot be created");
 }
+String configline;
+try (FileReader config = new FileReader(propertiesFile); 
BufferedReader configStream = new BufferedReader(config);) {
+while ((configline = 

[netbeans] branch master updated (7112848 -> eac36a6)

2019-09-20 Thread neilcsmith
This is an automated email from the ASF dual-hosted git repository.

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


from 7112848  Merge pull request #1517 from pepness/java13javadoc
 add eac36a6  Use json from nbbuild not from ide (#1522)

No new revisions were added by this update.

Summary of changes:
 nbbuild/antsrc/org/netbeans/nbbuild/extlibs/ignored-overlaps | 3 +++
 nbbuild/build.xml| 5 ++---
 nbbuild/external/binaries-list   | 1 +
 .../external/json-simple-1.1.1-license.txt   | 0
 4 files changed, 6 insertions(+), 3 deletions(-)
 copy {ide/libs.json_simple => nbbuild}/external/json-simple-1.1.1-license.txt 
(100%)


-
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-1291) PHP DOC : autocomplete array of static dosen't work

2019-09-20 Thread SL EF (Jira)


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

SL EF updated NETBEANS-1291:

Environment: (was: Windows 10)

> PHP DOC : autocomplete array of static dosen't work
> ---
>
> Key: NETBEANS-1291
> URL: https://issues.apache.org/jira/browse/NETBEANS-1291
> Project: NetBeans
>  Issue Type: Improvement
>  Components: php - Editor
>Affects Versions: 8.2, 9.0, 10.0, 11.0, 11.1
>Reporter: rd_v_s
>Priority: Major
>  Labels: autocomplete, documentation, php, phpdoc
>
> Hi,
> the autocomplete dosen't work on array of static.
> That doesn't support self and $this too.
> And there is 2 way for document return of table : array or T[]
> The phpdoc documentation : http://docs.phpdoc.org/guides/types.html
> See exemple below :
> {code:java}
> abstract class A {
>   /**
>    * return array of class
>    * @return static[]
>    */
>   function returnArrayOfClass() {
>   }
> }
> class B extends A {
>   public $b;
>   /**
>    * return array of class
>    * @return B[]
>    */
>   function returnArrayOfClassB() {
>   }
> }
> $oB = new B();
> $aB = $oB->returnArrayOfClass();
> foreach ($aB as $b) {
>   $b->b;//dosen't autocomplete b
> }
> $aB2 = $oB->returnArrayOfClassB();
> foreach ($aB2 as $b2) {
>   $b2->b; //autocomplete b
> }
> {code}
> Regards,



--
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-1291) PHP DOC : autocomplete array of static dosen't work

2019-09-20 Thread SL EF (Jira)


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

SL EF updated NETBEANS-1291:

Priority: Major  (was: Minor)

> PHP DOC : autocomplete array of static dosen't work
> ---
>
> Key: NETBEANS-1291
> URL: https://issues.apache.org/jira/browse/NETBEANS-1291
> Project: NetBeans
>  Issue Type: Improvement
>  Components: php - Editor
>Affects Versions: 8.2, 9.0, 10.0, 11.0, 11.1
> Environment: Windows 10
>Reporter: rd_v_s
>Priority: Major
>  Labels: autocomplete, documentation, php, phpdoc
>
> Hi,
> the autocomplete dosen't work on array of static.
> That doesn't support self and $this too.
> And there is 2 way for document return of table : array or T[]
> The phpdoc documentation : http://docs.phpdoc.org/guides/types.html
> See exemple below :
> {code:java}
> abstract class A {
>   /**
>    * return array of class
>    * @return static[]
>    */
>   function returnArrayOfClass() {
>   }
> }
> class B extends A {
>   public $b;
>   /**
>    * return array of class
>    * @return B[]
>    */
>   function returnArrayOfClassB() {
>   }
> }
> $oB = new B();
> $aB = $oB->returnArrayOfClass();
> foreach ($aB as $b) {
>   $b->b;//dosen't autocomplete b
> }
> $aB2 = $oB->returnArrayOfClassB();
> foreach ($aB2 as $b2) {
>   $b2->b; //autocomplete b
> }
> {code}
> Regards,



--
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-1291) PHP DOC : autocomplete array of static dosen't work

2019-09-20 Thread SL EF (Jira)


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

SL EF commented on NETBEANS-1291:
-

Hello, [~junichi11], that would be great if you can fix this issue because in 
many projects we often write something like "return self[]" or "return 
static[]".

Just to clarify that "self[]" and "ClassA[]" can make a big difference for 
extended classes. Unfortunately for now we have to choose: write correctly or 
make working auto-completion.

> PHP DOC : autocomplete array of static dosen't work
> ---
>
> Key: NETBEANS-1291
> URL: https://issues.apache.org/jira/browse/NETBEANS-1291
> Project: NetBeans
>  Issue Type: Improvement
>  Components: php - Editor
>Affects Versions: 8.2, 9.0, 10.0, 11.0, 11.1
> Environment: Windows 10
>Reporter: rd_v_s
>Priority: Minor
>  Labels: autocomplete, documentation, php, phpdoc
>
> Hi,
> the autocomplete dosen't work on array of static.
> That doesn't support self and $this too.
> And there is 2 way for document return of table : array or T[]
> The phpdoc documentation : http://docs.phpdoc.org/guides/types.html
> See exemple below :
> {code:java}
> abstract class A {
>   /**
>    * return array of class
>    * @return static[]
>    */
>   function returnArrayOfClass() {
>   }
> }
> class B extends A {
>   public $b;
>   /**
>    * return array of class
>    * @return B[]
>    */
>   function returnArrayOfClassB() {
>   }
> }
> $oB = new B();
> $aB = $oB->returnArrayOfClass();
> foreach ($aB as $b) {
>   $b->b;//dosen't autocomplete b
> }
> $aB2 = $oB->returnArrayOfClassB();
> foreach ($aB2 as $b2) {
>   $b2->b; //autocomplete b
> }
> {code}
> Regards,



--
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-1291) PHP DOC : autocomplete array of static dosen't work

2019-09-20 Thread SL EF (Jira)


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

SL EF updated NETBEANS-1291:

Affects Version/s: 8.2
   10.0
   11.0
   11.1

> PHP DOC : autocomplete array of static dosen't work
> ---
>
> Key: NETBEANS-1291
> URL: https://issues.apache.org/jira/browse/NETBEANS-1291
> Project: NetBeans
>  Issue Type: Improvement
>  Components: php - Editor
>Affects Versions: 8.2, 9.0, 10.0, 11.0, 11.1
> Environment: Windows 10
>Reporter: rd_v_s
>Priority: Minor
>  Labels: autocomplete, documentation, php, phpdoc
>
> Hi,
> the autocomplete dosen't work on array of static.
> That doesn't support self and $this too.
> And there is 2 way for document return of table : array or T[]
> The phpdoc documentation : http://docs.phpdoc.org/guides/types.html
> See exemple below :
> {code:java}
> abstract class A {
>   /**
>    * return array of class
>    * @return static[]
>    */
>   function returnArrayOfClass() {
>   }
> }
> class B extends A {
>   public $b;
>   /**
>    * return array of class
>    * @return B[]
>    */
>   function returnArrayOfClassB() {
>   }
> }
> $oB = new B();
> $aB = $oB->returnArrayOfClass();
> foreach ($aB as $b) {
>   $b->b;//dosen't autocomplete b
> }
> $aB2 = $oB->returnArrayOfClassB();
> foreach ($aB2 as $b2) {
>   $b2->b; //autocomplete b
> }
> {code}
> Regards,



--
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-3113] - Use released Java 13 GA Javadoc

2019-09-20 Thread neilcsmith
This is an automated email from the ASF dual-hosted git repository.

neilcsmith 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 3f060ec  [NETBEANS-3113] - Use released Java 13 GA Javadoc
 new 7112848  Merge pull request #1517 from pepness/java13javadoc
3f060ec is described below

commit 3f060ec4106dd73fa9f06080564d54402131b14c
Author: Jose Contreras 
AuthorDate: Wed Sep 18 14:50:40 2019 -0500

[NETBEANS-3113] - Use released Java 13 GA Javadoc
---
 .../j2seplatform/platformdefinition/J2SEPlatformDefaultJavadocImpl.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/java/java.j2seplatform/src/org/netbeans/modules/java/j2seplatform/platformdefinition/J2SEPlatformDefaultJavadocImpl.java
 
b/java/java.j2seplatform/src/org/netbeans/modules/java/j2seplatform/platformdefinition/J2SEPlatformDefaultJavadocImpl.java
index 8f00c7b..c5ca1cf 100644
--- 
a/java/java.j2seplatform/src/org/netbeans/modules/java/j2seplatform/platformdefinition/J2SEPlatformDefaultJavadocImpl.java
+++ 
b/java/java.j2seplatform/src/org/netbeans/modules/java/j2seplatform/platformdefinition/J2SEPlatformDefaultJavadocImpl.java
@@ -61,7 +61,7 @@ public final class J2SEPlatformDefaultJavadocImpl implements 
J2SEPlatformDefault
 OFFICIAL_JAVADOC.put("10", 
"https://docs.oracle.com/javase/10/docs/api/;); // NOI18N
 OFFICIAL_JAVADOC.put("11", 
"https://docs.oracle.com/en/java/javase/11/docs/api/;); // NOI18N
 OFFICIAL_JAVADOC.put("12", 
"https://docs.oracle.com/en/java/javase/12/docs/api/;); // NOI18N
-OFFICIAL_JAVADOC.put("13", 
"https://download.java.net/java/early_access/jdk13/docs/api/;); // NOI18N Early 
access
+OFFICIAL_JAVADOC.put("13", 
"https://docs.oracle.com/en/java/javase/13/docs/api/;); // NOI18N
 OFFICIAL_JAVADOC.put("14", 
"https://download.java.net/java/early_access/jdk14/docs/api/;); // NOI18N Early 
access
 }
 


-
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-3129) Check the Blocker issues

2019-09-20 Thread Neil C Smith (Jira)


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

Neil C Smith updated NETBEANS-3129:
---
Summary: Check the Blocker issues  (was: CLONE - Check the Blocker issues)

> Check the Blocker issues
> 
>
> Key: NETBEANS-3129
> URL: https://issues.apache.org/jira/browse/NETBEANS-3129
> Project: NetBeans
>  Issue Type: Sub-task
>Reporter: Neil C Smith
>Assignee: Neil C Smith
>Priority: Major
>
> People often add blocker issues to NetBeans even if it is just their work is 
> blocked.
> At least before preparing for a release the blocker issues shall be 
> addressed. If real blockers are found without suitable resolution, ask for 
> help from the community.



--
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-3130) Check the Critical issues

2019-09-20 Thread Neil C Smith (Jira)


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

Neil C Smith updated NETBEANS-3130:
---
Summary: Check the Critical issues  (was: CLONE - Check the Critical issues)

> Check the Critical issues
> -
>
> Key: NETBEANS-3130
> URL: https://issues.apache.org/jira/browse/NETBEANS-3130
> Project: NetBeans
>  Issue Type: Sub-task
>Reporter: Neil C Smith
>Assignee: Neil C Smith
>Priority: Major
>
>  People often add critical issues to NetBeans if that's critical for their 
> workflow..
> Also ask the community help for resolving real critical issues.



--
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-3123) Update JavaDoc Generation

2019-09-20 Thread Neil C Smith (Jira)


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

Neil C Smith updated NETBEANS-3123:
---
Summary: Update JavaDoc Generation  (was: CLONE - Update JavaDoc Generation)

> Update JavaDoc Generation
> -
>
> Key: NETBEANS-3123
> URL: https://issues.apache.org/jira/browse/NETBEANS-3123
> Project: NetBeans
>  Issue Type: Sub-task
>Reporter: Neil C Smith
>Priority: Major
>
> Generated JavaDoc shall present the correct version numbers as well.



--
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-3124) Re-Configure the Release job on Jenkins

2019-09-20 Thread Neil C Smith (Jira)


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

Neil C Smith updated NETBEANS-3124:
---
Summary: Re-Configure the Release job on Jenkins  (was: CLONE - 
Re-Configure the Release job on Jenkins)

> Re-Configure the Release job on Jenkins
> ---
>
> Key: NETBEANS-3124
> URL: https://issues.apache.org/jira/browse/NETBEANS-3124
> Project: NetBeans
>  Issue Type: Sub-task
>Reporter: Neil C Smith
>Assignee: Neil C Smith
>Priority: Major
>
> There can be modules and clusters that won't be released as not passed the 
> license clearance.
> Make sure that the release job: [incubator-netbeans-release 
> [Jenkins]|https://builds.apache.org/job/incubator-netbeans-release/] follows 
> the new release branch and produce the right delivery packages.



--
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-3126) Create first beta

2019-09-20 Thread Neil C Smith (Jira)


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

Neil C Smith updated NETBEANS-3126:
---
Summary: Create first beta  (was: CLONE - Create first beta)

> Create first beta
> -
>
> Key: NETBEANS-3126
> URL: https://issues.apache.org/jira/browse/NETBEANS-3126
> Project: NetBeans
>  Issue Type: Sub-task
>Reporter: Neil C Smith
>Assignee: Neil C Smith
>Priority: Major
>




--
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-3116) Release NetBeans 11.2

2019-09-20 Thread Neil C Smith (Jira)


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

Neil C Smith updated NETBEANS-3116:
---
Fix Version/s: (was: 11.1)
   11.2

> Release NetBeans 11.2
> -
>
> Key: NETBEANS-3116
> URL: https://issues.apache.org/jira/browse/NETBEANS-3116
> Project: NetBeans
>  Issue Type: Task
>Affects Versions: 11.2
>Reporter: Neil C Smith
>Assignee: Neil C Smith
>Priority: Blocker
> Fix For: 11.2
>
>
> This is the task of releasing Apache NetBeans 11.1



--
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-3116) Release NetBeans 11.2

2019-09-20 Thread Neil C Smith (Jira)


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

Neil C Smith updated NETBEANS-3116:
---
Affects Version/s: (was: 11.1)
   11.2

> Release NetBeans 11.2
> -
>
> Key: NETBEANS-3116
> URL: https://issues.apache.org/jira/browse/NETBEANS-3116
> Project: NetBeans
>  Issue Type: Task
>Affects Versions: 11.2
>Reporter: Neil C Smith
>Assignee: Neil C Smith
>Priority: Blocker
> Fix For: 11.1
>
>
> This is the task of releasing Apache NetBeans 11.1



--
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-3121) Update Splash Screen Images and the KeyMap files.

2019-09-20 Thread Neil C Smith (Jira)


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

Neil C Smith updated NETBEANS-3121:
---
Summary: Update Splash Screen Images and the KeyMap files.  (was: CLONE - 
Update Splash Screen Images and the KeyMap files.)

> Update Splash Screen Images and the KeyMap files.
> -
>
> Key: NETBEANS-3121
> URL: https://issues.apache.org/jira/browse/NETBEANS-3121
> Project: NetBeans
>  Issue Type: Sub-task
>Reporter: Neil C Smith
>Assignee: Neil C Smith
>Priority: Major
>




--
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-3122) CLONE - Adjust Update Centers

2019-09-20 Thread Neil C Smith (Jira)


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

Neil C Smith updated NETBEANS-3122:
---
Description: The update centers needs to be updated to the upcoming 
release.  (was: The update centers needs to be updated to the upcoming release.

See the linked PR how to do that.

Thank you Jan!)

> CLONE - Adjust Update Centers
> -
>
> Key: NETBEANS-3122
> URL: https://issues.apache.org/jira/browse/NETBEANS-3122
> Project: NetBeans
>  Issue Type: Sub-task
>Reporter: Neil C Smith
>Priority: Major
>
> The update centers needs to be updated to the upcoming release.



--
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-3122) Adjust Update Centers

2019-09-20 Thread Neil C Smith (Jira)


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

Neil C Smith updated NETBEANS-3122:
---
Summary: Adjust Update Centers  (was: CLONE - Adjust Update Centers)

> Adjust Update Centers
> -
>
> Key: NETBEANS-3122
> URL: https://issues.apache.org/jira/browse/NETBEANS-3122
> Project: NetBeans
>  Issue Type: Sub-task
>Reporter: Neil C Smith
>Priority: Major
>
> The update centers needs to be updated to the upcoming release.



--
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-3122) CLONE - Adjust Update Centers

2019-09-20 Thread Neil C Smith (Jira)


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

Neil C Smith updated NETBEANS-3122:
---
Affects Version/s: (was: 11.1)

> CLONE - Adjust Update Centers
> -
>
> Key: NETBEANS-3122
> URL: https://issues.apache.org/jira/browse/NETBEANS-3122
> Project: NetBeans
>  Issue Type: Sub-task
>Reporter: Neil C Smith
>Priority: Major
>
> The update centers needs to be updated to the upcoming release.
> See the linked PR how to do that.
> Thank you Jan!



--
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-3042) can't see loggers (log4j2) created from apps deployed on server Payara 4.1

2019-09-20 Thread jose luis romero (Jira)


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

jose luis romero updated NETBEANS-3042:
---
Description: 
I don't know what I changed in the IDE that I can't see now the logs generated 
by my apps deployed in Payara, they are always empty.

Tried to make a clean re-installation (no cache, no import config) but didn't 
work

[stackPost|[https://stackoverflow.com/questions/57679272/i-cant-see-logs-from-apps-on-payara-4-1-just-in-the-netbeans-console-tab/57709425?noredirect=1#comment101864635_57709425]]

https://stackoverflow.com/questions/57679272/i-cant-see-logs-from-apps-on-payara-4-1-just-in-the-netbeans-console-tab/57709425?noredirect=1#comment101864635_57709425

  was:
I don't know what I changed in the IDE that I can't see now the logs generated 
by  my apps deployed in Payara, they are are always empty.

Tried making a clean (no cache, no import config) but didn't work

[stackPost|[https://stackoverflow.com/questions/57679272/i-cant-see-logs-from-apps-on-payara-4-1-just-in-the-netbeans-console-tab/57709425?noredirect=1#comment101864635_57709425]]

https://stackoverflow.com/questions/57679272/i-cant-see-logs-from-apps-on-payara-4-1-just-in-the-netbeans-console-tab/57709425?noredirect=1#comment101864635_57709425


> can't see loggers (log4j2) created from apps deployed on server Payara 4.1
> --
>
> Key: NETBEANS-3042
> URL: https://issues.apache.org/jira/browse/NETBEANS-3042
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - Logger
>Affects Versions: 11.1
> Environment: Windows 10, jdk 1.8
>Reporter: jose luis romero
>Priority: Major
>
> I don't know what I changed in the IDE that I can't see now the logs 
> generated by my apps deployed in Payara, they are always empty.
> Tried to make a clean re-installation (no cache, no import config) but didn't 
> work
> [stackPost|[https://stackoverflow.com/questions/57679272/i-cant-see-logs-from-apps-on-payara-4-1-just-in-the-netbeans-console-tab/57709425?noredirect=1#comment101864635_57709425]]
> https://stackoverflow.com/questions/57679272/i-cant-see-logs-from-apps-on-payara-4-1-just-in-the-netbeans-console-tab/57709425?noredirect=1#comment101864635_57709425



--
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-3042) can't see loggers (log4j2) created from apps deployed on server Payara 4.1

2019-09-20 Thread jose luis romero (Jira)


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

jose luis romero updated NETBEANS-3042:
---
Priority: Major  (was: Minor)

> can't see loggers (log4j2) created from apps deployed on server Payara 4.1
> --
>
> Key: NETBEANS-3042
> URL: https://issues.apache.org/jira/browse/NETBEANS-3042
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - Logger
>Affects Versions: 11.1
> Environment: Windows 10, jdk 1.8
>Reporter: jose luis romero
>Priority: Major
>
> I don't know what I changed in the IDE that I can't see now the logs 
> generated by  my apps deployed in Payara, they are are always empty.
> Tried making a clean (no cache, no import config) but didn't work
> [stackPost|[https://stackoverflow.com/questions/57679272/i-cant-see-logs-from-apps-on-payara-4-1-just-in-the-netbeans-console-tab/57709425?noredirect=1#comment101864635_57709425]]
> https://stackoverflow.com/questions/57679272/i-cant-see-logs-from-apps-on-payara-4-1-just-in-the-netbeans-console-tab/57709425?noredirect=1#comment101864635_57709425



--
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-2940] Invalidate cacheed ArchiveRootProviders on change

2019-09-20 Thread neilcsmith
This is an automated email from the ASF dual-hosted git repository.

neilcsmith 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 a49d2cd  [NETBEANS-2940] Invalidate cacheed ArchiveRootProviders on 
change
 new 940fa15  Merge pull request #1520 from matthiasblaesing/netbeans-2940-2
a49d2cd is described below

commit a49d2cd2799fdbb6ddb3e580de032b7b8f9e683a
Author: Matthias Bläsing 
AuthorDate: Thu Sep 19 19:00:38 2019 +0200

[NETBEANS-2940] Invalidate cacheed ArchiveRootProviders on change

This is a followup to commit:

290420cfff1a "[NETBEANS-2940] Cache ArchiveRootProviders"

The issue is:

archiveRootProviders.compareAndSet(null, res)

returns true, when the set was successful. In this case, the
LookupListener needs to registered, that invalidates the cache list of
ArchiveRootProviders. In the original commit, this logic was inverted,
so the LookupListener was not installed and the cache never invalidated.

In addition the archiveRootProviderCache was made volatile to prevent
wrong caching across threads.
---
 .../openide.filesystems/src/org/openide/filesystems/FileUtil.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/platform/openide.filesystems/src/org/openide/filesystems/FileUtil.java 
b/platform/openide.filesystems/src/org/openide/filesystems/FileUtil.java
index 62c4f6e..9f11db0 100644
--- a/platform/openide.filesystems/src/org/openide/filesystems/FileUtil.java
+++ b/platform/openide.filesystems/src/org/openide/filesystems/FileUtil.java
@@ -2326,7 +2326,7 @@ public final class FileUtil extends Object {
 res = new ProxyLookup(
 Lookups.singleton(new JarArchiveRootProvider()),
 
Lookup.getDefault()).lookupResult(ArchiveRootProvider.class);
-if (!archiveRootProviders.compareAndSet(null, res)) {
+if (archiveRootProviders.compareAndSet(null, res)) {
 res = archiveRootProviders.get();
 res.addLookupListener((ev) -> {
 archiveRootProviderCache = null;
@@ -2338,6 +2338,6 @@ public final class FileUtil extends Object {
 return archiveRootProviderCache;
 }
 
-private static Iterable 
archiveRootProviderCache;
+private static volatile Iterable 
archiveRootProviderCache;
 private static final AtomicReference> 
archiveRootProviders = new AtomicReference<>();
 }


-
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-581) Could not find an option named "cache-location".

2019-09-20 Thread Rob Carr (Jira)


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

Rob Carr commented on NETBEANS-581:
---

Thanks Pete. The workaround allowed the SASS to compile via Netbeans on file 
save :)

> Could not find an option named "cache-location".
> 
>
> Key: NETBEANS-581
> URL: https://issues.apache.org/jira/browse/NETBEANS-581
> Project: NetBeans
>  Issue Type: Bug
>  Components: web - CSS Preprocessors (SASS, LESS, ...)
>Reporter: Bo Andersen
>Priority: Minor
>
> When using the internal sass configuration, it calls the sass compiler with 
> the --cache-location command. It seems that this is not part of the current 
> sass compiler anymore.
>  
> Sass error:
> Could not find an option named "cache-location".
>  
> I am using this release of sass compiler: 
> https://github.com/sass/dart-sass/releases/tag/1.1.1



--
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