[jira] [Commented] (NETBEANS-2417) update Gradle logo/icon

2019-09-10 Thread Lou Hamersly (Jira)


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

Lou Hamersly commented on NETBEANS-2417:


Monitoring this every so often for activity, so if any additional help is 
needed I might take a few days, but I should be along eventually. 

> update Gradle logo/icon
> ---
>
> Key: NETBEANS-2417
> URL: https://issues.apache.org/jira/browse/NETBEANS-2417
> Project: NetBeans
>  Issue Type: Improvement
>  Components: projects - Gradle
>Reporter: Jennifer Strater
>Assignee: Jennifer Strater
>Priority: Trivial
>  Labels: pull-request-available
> Attachments: Maven-Base-Is-Type-Overlay-Is-Maven.png, gradle1.png, 
> gradle2.png, image-2019-07-02-10-27-44-307.png, 
> image-2019-07-02-10-31-08-337.png, image-2019-07-02-10-33-19-023.png, 
> image-2019-07-02-10-49-16-797.png, image-2019-07-02-11-47-13-922.png, 
> image-2019-07-02-11-48-06-685.png, image-2019-07-02-11-49-01-655.png, 
> image-2019-07-02-11-50-09-232.png, image-2019-07-02-11-55-58-042.png, 
> image-2019-07-02-20-55-48-539.png, nb1.png, nb2.png, nbIcons.png
>
>  Time Spent: 1h 40m
>  Remaining Estimate: 0h
>
> Thanks again for adding support for Gradle to Netbeans.
> The logo included in Netbeans for Gradle is the pre-2015 Gradleware logo. 
> We've recently published the newest Gradle elephant logos to 
> [https://gradle.com/brand/]. I'd be happy to help make this change if that's 
> easier for everyone.
> Please let me know how I should proceed.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

-
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-1859) PHP autocompletion does only get fully qualified returned objects

2019-09-10 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-1859:


Reproducible. Thanks for reporting it.

> PHP autocompletion does only get fully qualified returned objects
> -
>
> Key: NETBEANS-1859
> URL: https://issues.apache.org/jira/browse/NETBEANS-1859
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Editor
>Affects Versions: 9.0, 10.0
> Environment: Ubuntu Bionic
>Reporter: Björn Tantau
>Assignee: Junichi Yamamoto
>Priority: Major
>  Labels: autocompletion
> Attachments: test.php, test2.php
>
>
> When I'm calling a function that returns an object. And if that object's 
> classed is type hinted through PHP, but not with the complete namespace. Then 
> Netbeans does not offer autocompletion for the correct class.
>  
> See the attached files test.php and test2.php. Add both to a project and open 
> test2.php. In test2.php try to get autocompletion of properties of the 
> \Test\newTest() method.
>  
> Expected output:
> I get offered only the $test property.
>  
> Actual output:
> No properties are offered.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

-
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-1859) PHP autocompletion does only get fully qualified returned objects

2019-09-10 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto reassigned NETBEANS-1859:
--

Assignee: Junichi Yamamoto

> PHP autocompletion does only get fully qualified returned objects
> -
>
> Key: NETBEANS-1859
> URL: https://issues.apache.org/jira/browse/NETBEANS-1859
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Editor
>Affects Versions: 9.0, 10.0
> Environment: Ubuntu Bionic
>Reporter: Björn Tantau
>Assignee: Junichi Yamamoto
>Priority: Major
>  Labels: autocompletion
> Attachments: test.php, test2.php
>
>
> When I'm calling a function that returns an object. And if that object's 
> classed is type hinted through PHP, but not with the complete namespace. Then 
> Netbeans does not offer autocompletion for the correct class.
>  
> See the attached files test.php and test2.php. Add both to a project and open 
> test2.php. In test2.php try to get autocompletion of properties of the 
> \Test\newTest() method.
>  
> Expected output:
> I get offered only the $test property.
>  
> Actual output:
> No properties are offered.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

-
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-3081) Project Stability Chooser for New Project

2019-09-10 Thread Jira
Vítězslav Dvořák created NETBEANS-3081:
--

 Summary: Project Stability Chooser for New Project
 Key: NETBEANS-3081
 URL: https://issues.apache.org/jira/browse/NETBEANS-3081
 Project: NetBeans
  Issue Type: Improvement
  Components: php - Composer
Affects Versions: 11.1
Reporter: Vítězslav Dvořák
Assignee: Vítězslav Dvořák
 Attachments: image-2019-09-11-01-06-38-419.png

At place of green  pointer on image add project stability chooser

!image-2019-09-11-01-06-38-419.png!

As you see is impossible generate initial  autoloader with dependecies not in 
stable version.

Every time i  must edit composer.json manually (minimum-stability=dev) and 
repeat choosing composer managed dependencies to  get autoloader ready.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

-
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-2888) Project Context Path problem for Java Maven Web Application

2019-09-10 Thread Josh Juneau (Jira)


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

Josh Juneau commented on NETBEANS-2888:
---

@Pete thanks that is indeed helpful.  Hoping to get this one repaired soon.  

I appreciate the information.  

> Project Context Path problem for Java Maven Web Application
> ---
>
> Key: NETBEANS-2888
> URL: https://issues.apache.org/jira/browse/NETBEANS-2888
> Project: NetBeans
>  Issue Type: Bug
>  Components: apisupport - Maven, apisupport - Project, javaee - 
> Maven, javaee - Web Project
>Affects Versions: 11.0, 11.1
> Environment: Netbeans 11.1 with Java 8 or 11 (Windows 10 64 bit),
> Eclipse GlassFish 5.1 or Payara app server for project app deployment
>Reporter: SergeyT
>Assignee: Josh Juneau
>Priority: Blocker
> Attachments: ctx_path_webapp.png
>
>
> There is no possibility to save/change the Project property -> Run for Java 
> Maven Web Application: Context Path (see attach)
> The context path in NB11.1 is always the same as the name of the project and 
> cannot be changed.
>  
> Environment: JDK 64-Bit Server VM 8 or 11



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

-
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-3005) Error en Spring web.xml

2019-09-10 Thread Pete Whelpton (Jira)


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

Pete Whelpton commented on NETBEANS-3005:
-

Duplicate of NETBEANS-2875.

> Error en Spring web.xml
> ---
>
> Key: NETBEANS-3005
> URL: https://issues.apache.org/jira/browse/NETBEANS-3005
> Project: NetBeans
>  Issue Type: Bug
>  Components: apisupport - Maven
>Affects Versions: 11.0, 11.1
>Reporter: Daniel Rodrigo Anccasi Huayllani
>Priority: Major
>  Labels: patch
> Fix For: 11.0, 11.1
>
> Attachments: Error netbeans.PNG
>
>   Original Estimate: 24h
>  Time Spent: 168h
>  Remaining Estimate: 0h
>
> # Cree un proyecto web vacío de categoría java maven
>  # Agregue al proyecto web el framework Spring 4.x
>  # Sale error en web.xml, es notorio ya que tiene un aspa de color rojo en la 
> parte inferior
> El error menciona lo siguiente: cvc-elt.1: No se ha encontrado la declaración 
> del elemento 'web-app'.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

-
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-3005) Error en Spring web.xml

2019-09-10 Thread Pete Whelpton (Jira)


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

Pete Whelpton resolved NETBEANS-3005.
-
Fix Version/s: (was: 11.1)
   (was: 11.0)
   Next
   Resolution: Fixed

This was due to the Enterprise Catalog being broken.  It will be fixed in 11.2

> Error en Spring web.xml
> ---
>
> Key: NETBEANS-3005
> URL: https://issues.apache.org/jira/browse/NETBEANS-3005
> Project: NetBeans
>  Issue Type: Bug
>  Components: apisupport - Maven
>Affects Versions: 11.0, 11.1
>Reporter: Daniel Rodrigo Anccasi Huayllani
>Priority: Major
>  Labels: patch
> Fix For: Next
>
> Attachments: Error netbeans.PNG
>
>   Original Estimate: 24h
>  Time Spent: 168h
>  Remaining Estimate: 0h
>
> # Cree un proyecto web vacío de categoría java maven
>  # Agregue al proyecto web el framework Spring 4.x
>  # Sale error en web.xml, es notorio ya que tiene un aspa de color rojo en la 
> parte inferior
> El error menciona lo siguiente: cvc-elt.1: No se ha encontrado la declaración 
> del elemento 'web-app'.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

-
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-2400) AWS Cloud missing Region: US East(OHIO) Region

2019-09-10 Thread Pete Whelpton (Jira)


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

Pete Whelpton resolved NETBEANS-2400.
-
Fix Version/s: Next
   Resolution: Fixed

> AWS Cloud missing Region: US East(OHIO) Region
> --
>
> Key: NETBEANS-2400
> URL: https://issues.apache.org/jira/browse/NETBEANS-2400
> Project: NetBeans
>  Issue Type: Bug
>  Components: core
>Affects Versions: 11.0
> Environment: Windows 10
>Reporter: Robert Campbell
>Priority: Major
>  Labels: AWS, Region, pull-request-available
> Fix For: Next
>
>  Time Spent: 6h
>  Remaining Estimate: 0h
>
> in Add Cloud Provider Step 2 "Amazon Beanstalk" The Region: "US East (OHIO) 
> Region" is not available as an option. Is there an XML file or configuration 
> file I need to update to get this option ?



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

-
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-2888) Project Context Path problem for Java Maven Web Application

2019-09-10 Thread Pete Whelpton (Jira)


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

Pete Whelpton commented on NETBEANS-2888:
-

I believe that all Netbeans ever did when changing the context path in a Maven 
project was:

Check the version of GlassFish the Project is using:

If < GF3.1, create a sun-web.xml file in WEB-INF with the context path setting

If >= GF3.1, create a glassfish-web.xml file in WEB-INF with the context path 
setting

 

However, the glassfish-web.xml templates weren't in the donation from Oracle, 
so Netbeans can't create the glassfish-web.xml file when the context path is 
changed. See Geertjan's comments on the related issue of  the missing 
templates: https://issues.apache.org/jira/browse/NETBEANS-2951

There is a secondary issue, in that for GlassFish 5.0 and 5.1, Netbeans thinks 
they should have a sun-web.xml file, not a glassfish-web.xml. I suspect there 
is a hardcoded check somewhere that isn't taking the existance of GF > 4.x into 
account that needs to be found / fixed.

 

Hope that helps :)

 

> Project Context Path problem for Java Maven Web Application
> ---
>
> Key: NETBEANS-2888
> URL: https://issues.apache.org/jira/browse/NETBEANS-2888
> Project: NetBeans
>  Issue Type: Bug
>  Components: apisupport - Maven, apisupport - Project, javaee - 
> Maven, javaee - Web Project
>Affects Versions: 11.0, 11.1
> Environment: Netbeans 11.1 with Java 8 or 11 (Windows 10 64 bit),
> Eclipse GlassFish 5.1 or Payara app server for project app deployment
>Reporter: SergeyT
>Assignee: Josh Juneau
>Priority: Blocker
> Attachments: ctx_path_webapp.png
>
>
> There is no possibility to save/change the Project property -> Run for Java 
> Maven Web Application: Context Path (see attach)
> The context path in NB11.1 is always the same as the name of the project and 
> cannot be changed.
>  
> Environment: JDK 64-Bit Server VM 8 or 11



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

-
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-2951) There is no way to create glassfish-web.xml

2019-09-10 Thread Pete Whelpton (Jira)


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

Pete Whelpton commented on NETBEANS-2951:
-

The "Deployment Configuration for this project not found error" occurs only 
with later versions of GlassFish (5.0 & 5.1) - it is because NB is 
expecting/checking these versions of GlassFish to have a sun-web.xml file 
rather than a glassfish-web.xml file.  

GlassFish post 3.1 should use Glassfish-web.xml - I think there is probably a 
hard coded value somewhere that only went upto GF 4.x that I need to track down 
and fix for GlassFish 5.x

> There is no way to create glassfish-web.xml
> ---
>
> Key: NETBEANS-2951
> URL: https://issues.apache.org/jira/browse/NETBEANS-2951
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.0, 11.1
> Environment: JDK 64-Bit Server VM 8 or 11 (MS Windows 10 64 bit)
>Reporter: SergeyT
>Priority: Critical
> Attachments: glassfish-web.png, ide_log.png, nb_about.png, 
> no_file.png, payara_is_ok.png
>
>
> There is no way to create glassfish-web.xml file in Maven Web Application 
> project (attach)
>  After creation, this file does not appear in the project tree
>  
> Environment: JDK 64-Bit Server VM 8 or 11



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

-
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-2953) NPE after pressing "DTDs and XML Schemas" menu entry

2019-09-10 Thread ASF GitHub Bot (Jira)


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

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

> NPE after pressing "DTDs and XML Schemas" menu entry
> 
>
> Key: NETBEANS-2953
> URL: https://issues.apache.org/jira/browse/NETBEANS-2953
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.1
> Environment: Windows 10
> OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.4+11, mixed mode)
>Reporter: Benjamin Graf
>Priority: Major
>  Labels: pull-request-available
>
> Following stacktrace occurs every time when trying to open  "DTDs and XML 
> Schemas" menu entry:
> {noformat}
> java.lang.NullPointerException
>   at 
> java.base/java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:936)
>   at java.base/java.util.Properties.get(Properties.java:1311)
>   at org.openide.util.NbCollections$CheckedMap.get(NbCollections.java:385)
>   at org.openide.util.NbBundle$PBundle.handleGetObject(NbBundle.java:880)
>   at java.base/java.util.ResourceBundle.getObject(ResourceBundle.java:555)
>   at java.base/java.util.ResourceBundle.getString(ResourceBundle.java:521)
>   at org.openide.util.NbBundle.getMessage(NbBundle.java:617)
>   at 
> org.netbeans.modules.payara.jakartaee.RunTimeDDCatalog.getDisplayName(RunTimeDDCatalog.java:382)
>   at 
> org.netbeans.modules.xml.catalog.CatalogRootNode$RootChildren.compare(CatalogRootNode.java:249)
>   at java.base/java.util.TreeMap.put(TreeMap.java:550)
>   at java.base/java.util.TreeSet.add(TreeSet.java:255)
>   at 
> org.netbeans.modules.xml.catalog.CatalogRootNode$RootChildren.createKeys(CatalogRootNode.java:225)
>   at 
> org.netbeans.modules.xml.catalog.CatalogRootNode$RootChildren.addNotify(CatalogRootNode.java:183)
>   at org.openide.nodes.Children.callAddNotify(Children.java:550)
>   at 
> org.openide.nodes.EntrySupportDefault.getArray(EntrySupportDefault.java:627)
>   at 
> org.openide.nodes.EntrySupportDefault.getNodes(EntrySupportDefault.java:98)
>   at 
> org.openide.nodes.EntrySupportDefault.getNodes(EntrySupportDefault.java:149)
>   at 
> org.openide.nodes.EntrySupportDefault.getNodesCount(EntrySupportDefault.java:153)
>   at org.openide.nodes.Children.getNodesCount(Children.java:484)
>   at 
> org.openide.explorer.view.VisualizerNode.getChildren(VisualizerNode.java:234)
>   at 
> org.openide.explorer.view.VisualizerNode.getChildren(VisualizerNode.java:224)
>   at 
> org.openide.explorer.view.VisualizerNode.getChildCount(VisualizerNode.java:301)
>   at 
> java.desktop/javax.swing.tree.DefaultTreeModel.getChildCount(DefaultTreeModel.java:192)
>   at 
> java.desktop/javax.swing.tree.FixedHeightLayoutCache$FHTreeStateNode.expand(FixedHeightLayoutCache.java:1155)
>   at 
> java.desktop/javax.swing.tree.FixedHeightLayoutCache.rebuild(FixedHeightLayoutCache.java:620)
>   at 
> java.desktop/javax.swing.tree.FixedHeightLayoutCache.treeStructureChanged(FixedHeightLayoutCache.java:492)
>   at 
> java.desktop/javax.swing.plaf.basic.BasicTreeUI$Handler.treeStructureChanged(BasicTreeUI.java:4324)
>   at 
> java.desktop/javax.swing.tree.DefaultTreeModel.fireTreeStructureChanged(DefaultTreeModel.java:607)
>   at 
> java.desktop/javax.swing.tree.DefaultTreeModel.nodeStructureChanged(DefaultTreeModel.java:391)
>   at 
> java.desktop/javax.swing.tree.DefaultTreeModel.setRoot(DefaultTreeModel.java:141)
>   at org.openide.explorer.view.NodeTreeModel$1.run(NodeTreeModel.java:98)
>   at 
> org.netbeans.modules.openide.util.NbMutexEventProvider$Event.doEvent(NbMutexEventProvider.java:95)
>   at 
> org.netbeans.modules.openide.util.NbMutexEventProvider$Event.readAccess(NbMutexEventProvider.java:70)
>   at 
> org.netbeans.modules.openide.util.LazyMutexImplementation.readAccess(LazyMutexImplementation.java:66)
>   at org.openide.util.Mutex.readAccess(Mutex.java:235)
>   at 
> org.openide.explorer.view.NodeTreeModel.setNode(NodeTreeModel.java:83)
>   at org.openide.explorer.view.TreeView$4.run(TreeView.java:831)
>   at 
> org.netbeans.modules.openide.util.NbMutexEventProvider$Event.doEvent(NbMutexEventProvider.java:95)
>   at 
> org.netbeans.modules.openide.util.NbMutexEventProvider$Event.readAccess(NbMutexEventProvider.java:70)
>   at 
> org.netbeans.modules.openide.util.LazyMutexImplementation.readAccess(LazyMutexImplementation.java:66)
>   at org.openide.util.Mutex.readAccess(Mutex.java:235)
>   at 
> org.openide.explorer.view.TreeView.synchronizeRootContext(TreeView.java:821)
>   at 
> org.openide.explorer.view.TreeView.lookupExplorerManager(TreeView.java:659)
>   at org.openide.explorer.view.TreeView.

[netbeans] branch master updated: Report all failed binaries for DownloadBinaries task

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

matthiasblaesing 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 d031f39  Report all failed binaries for DownloadBinaries task
 new 654b5f0  Merge pull request #1490 from 
matthiasblaesing/report_all_failed_binaries
d031f39 is described below

commit d031f39cd7645302962f454d77b1ed0decfdeaf1
Author: Matthias Bläsing 
AuthorDate: Tue Sep 10 19:32:49 2019 +0200

Report all failed binaries for DownloadBinaries task

When a binary fails the hash check a BuildException is raised and the
build process is directly terminated. With this change, all binaries are
checked and all failures are reported. If one download fails, a
BuildException is raised after trying to download all binaries.
---
 .../netbeans/nbbuild/extlibs/DownloadBinaries.java | 43 +-
 1 file changed, 26 insertions(+), 17 deletions(-)

diff --git a/nbbuild/antsrc/org/netbeans/nbbuild/extlibs/DownloadBinaries.java 
b/nbbuild/antsrc/org/netbeans/nbbuild/extlibs/DownloadBinaries.java
index ae33e1c..9e8b99b 100644
--- a/nbbuild/antsrc/org/netbeans/nbbuild/extlibs/DownloadBinaries.java
+++ b/nbbuild/antsrc/org/netbeans/nbbuild/extlibs/DownloadBinaries.java
@@ -119,6 +119,7 @@ public class DownloadBinaries extends Task {
 
 @Override
 public void execute() throws BuildException {
+boolean success = true;
 for (FileSet fs : manifests) {
 DirectoryScanner scanner = fs.getDirectoryScanner(getProject());
 File basedir = scanner.getBasedir();
@@ -143,9 +144,9 @@ public class DownloadBinaries extends Task {
 
 if (MavenCoordinate.isMavenFile(hashAndFile[1])) {
 MavenCoordinate mc = 
MavenCoordinate.fromGradleFormat(hashAndFile[1]);
-fillInFile(hashAndFile[0], 
mc.toArtifactFilename(), manifest, () -> mavenFile(mc));
+success &= fillInFile(hashAndFile[0], 
mc.toArtifactFilename(), manifest, () -> mavenFile(mc));
 } else {
-fillInFile(hashAndFile[0], hashAndFile[1], 
manifest, () -> legacyDownload(hashAndFile[0] + "-" + hashAndFile[1]));
+success &= fillInFile(hashAndFile[0], 
hashAndFile[1], manifest, () -> legacyDownload(hashAndFile[0] + "-" + 
hashAndFile[1]));
 }
 }
 }
@@ -154,6 +155,9 @@ public class DownloadBinaries extends Task {
 }
 }
 }
+if(! success) {
+throw new BuildException("Failed to download binaries - see log 
message for the detailed reasons.", getLocation());
+}
 }
 
 private byte[] mavenFile(MavenCoordinate mc) throws IOException {
@@ -169,7 +173,7 @@ public class DownloadBinaries extends Task {
 return downloadFromServer(u);
 }
 
-private void fillInFile(String expectedHash, String baseName, File 
manifest, Downloader download) throws BuildException {
+private boolean fillInFile(String expectedHash, String baseName, File 
manifest, Downloader download) throws BuildException {
 File f = new File(manifest.getParentFile(), baseName);
 if (!clean) {
 if (!f.exists() || !hash(f).equals(expectedHash)) {
@@ -193,35 +197,43 @@ public class DownloadBinaries extends Task {
 doDownload(cacheName, f, expectedHash, download);
 }
 }
+if(! f.exists()) {
+return false;
+}
 String actualHash = hash(f);
 if (!actualHash.equals(expectedHash)) {
-throw new BuildException("File " + f + " requested by " + 
manifest + " to have hash " +
-expectedHash + " actually had hash " + actualHash, 
getLocation());
+log("File " + f + " requested by " + manifest + " to have hash 
" +
+expectedHash + " actually had hash " + actualHash, 
Project.MSG_WARN);
+return false;
 }
 log("Have " + f + " with expected hash", Project.MSG_VERBOSE);
+return true;
 } else {
 if (f.exists()) {
 String actualHash = hash(f);
 if (!actualHash.equals(expectedHash)) {
-throw new BuildException("File " + f + " requested by " + 
manifest + " to have hash " +
-expectedHash + " actually had hash " + actualHash, 
getLocation());
+log("File " + f + " requested by " + manifest + " to have 
hash " +
+expectedHash + " actually had hash " + actualHash, 
Project.MSG_WARN);
+return false;
 }
   

[netbeans] branch master updated: [NETBEANS-2400] Fix for AWS Cloud missing Regions

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

matthiasblaesing 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 3f1fedc  [NETBEANS-2400] Fix for AWS Cloud missing Regions
 new 4785964  Merge pull request #1312 from peedeeboy/NETBEANS-2400
3f1fedc is described below

commit 3f1fedc68824c3b3ef92dd06ce554de14a7d8fc6
Author: Pete Whelpton 
AuthorDate: Thu Jun 20 18:23:21 2019 +0100

[NETBEANS-2400] Fix for AWS Cloud missing Regions
---
 enterprise/cloud.amazon/nbproject/project.xml  |  22 ++--
 .../modules/cloud/amazon/AmazonInstance.java   | 117 +++--
 .../cloud/amazon/AmazonInstanceManager.java|  10 +-
 .../modules/cloud/amazon/AmazonRegion.java |  83 +++
 .../serverplugin/AmazonDeploymentFactory.java  |   7 +-
 .../serverplugin/AmazonDeploymentManager.java  |   6 +-
 .../AmazonJ2EEServerInstanceProvider.java  |   1 +
 .../serverplugin/AmazonJ2eePlatformImpl2.java  |   5 +-
 .../cloud/amazon/ui/AmazonWizardComponent.java |  58 ++
 .../cloud/amazon/ui/AmazonWizardIterator.java  |   3 +-
 .../modules/cloud/amazon/ui/AmazonWizardPanel.java |   4 +-
 .../cloud/amazon/ui/ViewAdminConsoleAction.java|  10 +-
 .../AmazonJ2EEServerWizardComponent.java   |   2 +
 .../modules/cloud/amazon/AmazonInstanceTest.java   |   7 +-
 txt => aws-java-sdk-core-1.11.569-license.txt} |  10 +-
 ...e.txt => aws-java-sdk-core-1.11.569-notice.txt} |   0
 enterprise/libs.amazon/external/binaries-list  |  16 ++-
 .../external/httpclient-4.1.1-notice.txt   |   8 --
 1-license.txt => httpclient-4.5.5-license.txt} |   2 +-
 .../external/httpclient-4.5.5-notice.txt   |   8 ++
 .../libs.amazon/external/httpcore-4.1-notice.txt   |   5 -
 ...-4.1-license.txt => httpcore-4.4.9-license.txt} |   2 +-
 .../libs.amazon/external/httpcore-4.4.9-notice.txt |   8 ++
 1.1-license.txt => ion-java-1.0.2-license.txt} |  10 +-
 .../libs.amazon/external/ion-java-1.0.2-notice.txt |   2 +
 ...e.txt => jackson-annotations-2.6.0-license.txt} |  11 +-
 ...-license.txt => jackson-core-2.6.7-license.txt} |  11 +-
 .../external/jackson-core-2.6.7-notice.txt |  20 
 ...se.txt => jackson-databind-2.6.7.2-license.txt} |  10 +-
 .../external/jackson-databind-2.6.7.2-notice.txt   |  20 
 ...t => jackson-dataformat-cbor-2.6.7-license.txt} |  10 +-
 ...2.1-license.txt => joda-time-2.8.1-license.txt} |  10 +-
 .../external/joda-time-2.8.1-notice.txt|   2 +
 .../libs.amazon/nbproject/project.properties   |  31 +-
 enterprise/libs.amazon/nbproject/project.xml   |  57 --
 .../org/netbeans/nbbuild/extlibs/ignored-overlaps  |   5 +
 36 files changed, 401 insertions(+), 192 deletions(-)

diff --git a/enterprise/cloud.amazon/nbproject/project.xml 
b/enterprise/cloud.amazon/nbproject/project.xml
index 71e09e5..ebfd373 100644
--- a/enterprise/cloud.amazon/nbproject/project.xml
+++ b/enterprise/cloud.amazon/nbproject/project.xml
@@ -31,7 +31,7 @@
 
 
 1
-1.0
+1.16
 
 
 
@@ -105,6 +105,14 @@
 
 
 
+
org.netbeans.modules.web.common
+
+
+
+1.49
+
+
+
 org.openide.awt
 
 
@@ -137,14 +145,6 @@
 
 
 
-org.openide.util.ui
-
-
-
-9.3
-
-
-
 org.openide.util
 
 
@@ -161,11 +161,11 @@
 
 
 
-
org.netbeans.modules.web.common
+org.openide.util.ui
 
 
 
-1.49
+9.3
 
 
 
diff --git 
a/enterprise/cloud.amazon/src/org/netbeans/modules/cloud/amazon/AmazonInstance.java
 
b/enterprise/cloud.amazon/src/org/netbeans/modules/cloud/amazon/AmazonInstance.java
index d432a84..b1aa517 100644
--- 
a/enterprise/cloud.amazon/src/org/netbeans/modules/cloud/amazon/AmazonInstance.java
+++ 
b/enterprise/cloud.amazon/src/org/netbeans/modules/cloud/amazon/AmazonInstance.java
@@ -24,12 +24,14 @@ import java.io.IOException;
 import java.util.List;
 import org.netbeans.modules.cloud.amazon.serverplugin.AmazonJ2EEInstance;
 import com.amazonaws.auth.AWSCredential

[netbeans] branch master updated: [NETBEANS-2940] Cache ArchiveRootProviders

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

lkishalmi 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 290420c  [NETBEANS-2940] Cache ArchiveRootProviders
290420c is described below

commit 290420cfff1af3f72dd5eb86f864edd74ff78fe8
Author: Laszlo Kishalmi 
AuthorDate: Mon Aug 12 16:19:01 2019 -0700

[NETBEANS-2940] Cache ArchiveRootProviders
---
 .../src/org/openide/filesystems/FileUtil.java  | 24 ++
 1 file changed, 16 insertions(+), 8 deletions(-)

diff --git 
a/platform/openide.filesystems/src/org/openide/filesystems/FileUtil.java 
b/platform/openide.filesystems/src/org/openide/filesystems/FileUtil.java
index ea7fd8d..ada584a 100644
--- a/platform/openide.filesystems/src/org/openide/filesystems/FileUtil.java
+++ b/platform/openide.filesystems/src/org/openide/filesystems/FileUtil.java
@@ -41,6 +41,7 @@ import java.util.Enumeration;
 import java.util.HashMap;
 import java.util.HashSet;
 import java.util.Iterator;
+import java.util.LinkedList;
 import java.util.List;
 import java.util.Map;
 import java.util.NoSuchElementException;
@@ -2323,17 +2324,24 @@ public final class FileUtil extends Object {
 }
 
 private static Iterable 
getArchiveRootProviders() {
-Lookup.Result res = archiveRootProviders.get();
-if (res == null) {
-res = new ProxyLookup(
-Lookups.singleton(new JarArchiveRootProvider()),
-Lookup.getDefault()).lookupResult(ArchiveRootProvider.class);
-if (!archiveRootProviders.compareAndSet(null, res)) {
-res = archiveRootProviders.get();
+if (archiveRootProviderCache == null) {
+Lookup.Result res = 
archiveRootProviders.get();
+if (res == null) {
+res = new ProxyLookup(
+Lookups.singleton(new JarArchiveRootProvider()),
+
Lookup.getDefault()).lookupResult(ArchiveRootProvider.class);
+if (!archiveRootProviders.compareAndSet(null, res)) {
+res = archiveRootProviders.get();
+res.addLookupListener((ev) -> {
+archiveRootProviderCache = null;
+});
+}
 }
+archiveRootProviderCache = new LinkedList<>(res.allInstances());
 }
-return res.allInstances();
+return archiveRootProviderCache;
 }
 
+private static 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] [Created] (NETBEANS-3080) Exception when creating tests

2019-09-10 Thread Thomas Swanson (Jira)
Thomas Swanson created NETBEANS-3080:


 Summary: Exception when creating tests
 Key: NETBEANS-3080
 URL: https://issues.apache.org/jira/browse/NETBEANS-3080
 Project: NetBeans
  Issue Type: Bug
  Components: java - JUnit
Affects Versions: 11.0
 Environment: Windows 10 laptop.
Reporter: Thomas Swanson


When trying to creates jUnit tests for a project nothing was created and an 
exception was logged.

 

>Log Session: Tuesday, September 10, 2019 9:02:45 AM EDT
>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_211; Java HotSpot(TM) 64-Bit Server VM 25.211-b12; 
Oracle Corporation
 Runtime = Java(TM) SE Runtime Environment 1.8.0_211-b12
 Java Home = C:\Program Files\Java\jdk1.8.0_211\jre
 System Locale; Encoding = en_US (nb); Cp1252
 Home Directory = C:\Users\thoma
 Current Directory = D:\Programs\Apache\NetBeans-11.0
 User Directory = C:\Users\thoma\AppData\Roaming\NetBeans\11.0
 Cache Directory = C:\Users\thoma\AppData\Local\NetBeans\Cache\11.0
 Installation = D:\Programs\Apache\NetBeans-11.0\netbeans\nb
 D:\Programs\Apache\NetBeans-11.0\netbeans\ergonomics
 D:\Programs\Apache\NetBeans-11.0\netbeans\ide
 D:\Programs\Apache\NetBeans-11.0\netbeans\extide
 D:\Programs\Apache\NetBeans-11.0\netbeans\java
 D:\Programs\Apache\NetBeans-11.0\netbeans\apisupport
 D:\Programs\Apache\NetBeans-11.0\netbeans\webcommon
 D:\Programs\Apache\NetBeans-11.0\netbeans\websvccommon
 D:\Programs\Apache\NetBeans-11.0\netbeans\enterprise
 D:\Programs\Apache\NetBeans-11.0\netbeans\profiler
 D:\Programs\Apache\NetBeans-11.0\netbeans\php
 D:\Programs\Apache\NetBeans-11.0\netbeans\harness
 D:\Programs\Apache\NetBeans-11.0\netbeans\groovy
 D:\Programs\Apache\NetBeans-11.0\netbeans\javafx
 D:\Programs\Apache\NetBeans-11.0\netbeans\platform
 Boot & Ext. Classpath = C:\Program 
Files\Java\jdk1.8.0_211\jre\lib\resources.jar;C:\Program 
Files\Java\jdk1.8.0_211\jre\lib\rt.jar;C:\Program 
Files\Java\jdk1.8.0_211\jre\lib\sunrsasign.jar;C:\Program 
Files\Java\jdk1.8.0_211\jre\lib\jsse.jar;C:\Program 
Files\Java\jdk1.8.0_211\jre\lib\jce.jar;C:\Program 
Files\Java\jdk1.8.0_211\jre\lib\charsets.jar;C:\Program 
Files\Java\jdk1.8.0_211\jre\lib\jfr.jar;C:\Program 
Files\Java\jdk1.8.0_211\jre\classes;C:\Program 
Files\Java\jdk1.8.0_211\jre\lib\ext\access-bridge-64.jar;C:\Program 
Files\Java\jdk1.8.0_211\jre\lib\ext\cldrdata.jar;C:\Program 
Files\Java\jdk1.8.0_211\jre\lib\ext\dnsns.jar;C:\Program 
Files\Java\jdk1.8.0_211\jre\lib\ext\jaccess.jar;C:\Program 
Files\Java\jdk1.8.0_211\jre\lib\ext\jfxrt.jar;C:\Program 
Files\Java\jdk1.8.0_211\jre\lib\ext\localedata.jar;C:\Program 
Files\Java\jdk1.8.0_211\jre\lib\ext\nashorn.jar;C:\Program 
Files\Java\jdk1.8.0_211\jre\lib\ext\sunec.jar;C:\Program 
Files\Java\jdk1.8.0_211\jre\lib\ext\sunjce_provider.jar;C:\Program 
Files\Java\jdk1.8.0_211\jre\lib\ext\sunmscapi.jar;C:\Program 
Files\Java\jdk1.8.0_211\jre\lib\ext\sunpkcs11.jar;C:\Program 
Files\Java\jdk1.8.0_211\jre\lib\ext\zipfs.jar
 Application Classpath = 
D:\Programs\Apache\NetBeans-11.0\netbeans\platform\lib\boot.jar;D:\Programs\Apache\NetBeans-11.0\netbeans\platform\lib\org-openide-modules.jar;D:\Programs\Apache\NetBeans-11.0\netbeans\platform\lib\org-openide-util-lookup.jar;D:\Programs\Apache\NetBeans-11.0\netbeans\platform\lib\org-openide-util-ui.jar;D:\Programs\Apache\NetBeans-11.0\netbeans\platform\lib\org-openide-util.jar;C:\Program
 Files\Java\jdk1.8.0_211\lib\dt.jar;C:\Program 
Files\Java\jdk1.8.0_211\lib\tools.jar
 Startup Classpath = 
D:\Programs\Apache\NetBeans-11.0\netbeans\platform\core\asm-all-5.0.1.jar;D:\Programs\Apache\NetBeans-11.0\netbeans\platform\core\core-base.jar;D:\Programs\Apache\NetBeans-11.0\netbeans\platform\core\core.jar;D:\Programs\Apache\NetBeans-11.0\netbeans\platform\core\org-netbeans-libs-asm.jar;D:\Programs\Apache\NetBeans-11.0\netbeans\platform\core\org-openide-filesystems-compat8.jar;D:\Programs\Apache\NetBeans-11.0\netbeans\platform\core\org-openide-filesystems.jar;D:\Programs\Apache\NetBeans-11.0\netbeans\nb\core\org-netbeans-upgrader.jar;D:\Programs\Apache\NetBeans-11.0\netbeans\nb\core\locale\core_nb.jar
---
INFO [org.netbeans.modules.netbinox]: Install area set to 
file:/D:/Programs/Apache/NetBeans-11.0/netbeans/
WARNING [org.netbeans.core.modules]: the modules 
[org.netbeans.modules.java.editor.lib, org.netbeans.modules.web.core.syntax, 
org.netbeans.modules.xml.text] use 
org.netbeans.modules.editor.deprecated.pre65formatting which is deprecated.
WARNING [org.netbeans.core.modules]: the modules [org.netbeans.modules.ide.kit, 
org.netbeans.modules.xml.text] use org.netbeans.modules.editor.structure which 
is deprecated.
WARNING [org.netbeans.core.modules]: the mo

[jira] [Created] (NETBEANS-3079) Exception installing nb-javac

2019-09-10 Thread Alessandro Polverini (Jira)
Alessandro Polverini created NETBEANS-3079:
--

 Summary: Exception installing nb-javac
 Key: NETBEANS-3079
 URL: https://issues.apache.org/jira/browse/NETBEANS-3079
 Project: NetBeans
  Issue Type: Bug
  Components: ide - Features On Demand
Affects Versions: 11.1
Reporter: Alessandro Polverini


Today NB asked to reinstall nb-javac, maybe due to the fact that my PC crashed 
yesterday, while the IDE was open.

 

After download I got this error:

 

java.lang.IllegalStateException: Host module 
StandardModule:org.netbeans.libs.javacimpl jarFile: 
/home/sw/netbeans-11.1/java/modules/org-netbeans-libs-javacimpl.jar was enabled 
before, will not accept fragment 
StandardModule:org.netbeans.modules.nbjavac.impl jarFile: 
/home/dusty/.netbeans/11.1/modules/org-netbeans-modules-nbjavac-impl.jar
 at org.netbeans.ModuleManager.attachModuleFragment(ModuleManager.java:1104)
 at org.netbeans.ModuleManager.maybeAddToEnableList(ModuleManager.java:1708)
 at org.netbeans.ModuleManager.maybeAddToEnableList(ModuleManager.java:1721)
 at org.netbeans.ModuleManager.simulateEnable(ModuleManager.java:1632)
 at org.netbeans.ModuleManager.simulateEnable(ModuleManager.java:1605)
 at org.netbeans.core.startup.ModuleList.installNew(ModuleList.java:289)
 at org.netbeans.core.startup.ModuleList.access$2400(ModuleList.java:93)
 at 
org.netbeans.core.startup.ModuleList$Listener.stepEnable(ModuleList.java:1384)
 at 
org.netbeans.core.startup.ModuleList$Listener.access$1400(ModuleList.java:982)
 at org.netbeans.core.startup.ModuleList$Listener$1.run(ModuleList.java:1206)
 at org.openide.filesystems.EventControl.runAtomicAction(EventControl.java:102)
 at org.openide.filesystems.FileSystem.runAtomicAction(FileSystem.java:494)
 at org.netbeans.core.startup.ModuleList$Listener.run(ModuleList.java:1182)
 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)
[catch] at 
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

-
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-3078) Error hint to fix the '--enable-preview' features in Java Ant Project

2019-09-10 Thread ASF GitHub Bot (Jira)


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

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

> Error hint to fix the '--enable-preview' features in Java Ant Project
> -
>
> Key: NETBEANS-3078
> URL: https://issues.apache.org/jira/browse/NETBEANS-3078
> Project: NetBeans
>  Issue Type: Improvement
>  Components: java - Editor
>Reporter: ARUNAVA SINHA
>Assignee: ARUNAVA SINHA
>Priority: Major
>  Labels: pull-request-available
> Fix For: 11.2
>
>
> Suppose we had used switch-expression in Java application (JDK-12)
> e.g.,
> int a = switch (num)
> {      case 1 ->1;     default->2; }
> ;
> It will show the below error:
> switch expressions are a preview feature and are disabled by default.
> (use --enable-preview to enable switch expressions)
>  
> NetBeans doesn't provide the fix.
> Currently manually need to add '--enable-preview" in ant configuration file .



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

-
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-3078) Error hint to fix the '--enable-preview' features in Java Ant Project

2019-09-10 Thread ARUNAVA SINHA (Jira)


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

ARUNAVA SINHA updated NETBEANS-3078:

Description: 
Suppose we had used switch-expression in Java application (JDK-12)

e.g.,

int a = switch (num)

{      case 1 ->1;     default->2; }

;

It will show the below error:

switch expressions are a preview feature and are disabled by default.
(use --enable-preview to enable switch expressions)

 

NetBeans doesn't provide the fix.

Currently manually need to add '--enable-preview" in ant configuration file .

> Error hint to fix the '--enable-preview' features in Java Ant Project
> -
>
> Key: NETBEANS-3078
> URL: https://issues.apache.org/jira/browse/NETBEANS-3078
> Project: NetBeans
>  Issue Type: Improvement
>  Components: java - Editor
>Reporter: ARUNAVA SINHA
>Assignee: ARUNAVA SINHA
>Priority: Major
> Fix For: 11.2
>
>
> Suppose we had used switch-expression in Java application (JDK-12)
> e.g.,
> int a = switch (num)
> {      case 1 ->1;     default->2; }
> ;
> It will show the below error:
> switch expressions are a preview feature and are disabled by default.
> (use --enable-preview to enable switch expressions)
>  
> NetBeans doesn't provide the fix.
> Currently manually need to add '--enable-preview" in ant configuration file .



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

-
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-3078) Error hint to fix the '--enable-preview' features in Java Ant Project

2019-09-10 Thread ARUNAVA SINHA (Jira)


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

ARUNAVA SINHA updated NETBEANS-3078:

  Component/s: java - Editor
Fix Version/s: 11.2

> Error hint to fix the '--enable-preview' features in Java Ant Project
> -
>
> Key: NETBEANS-3078
> URL: https://issues.apache.org/jira/browse/NETBEANS-3078
> Project: NetBeans
>  Issue Type: Improvement
>  Components: java - Editor
>Reporter: ARUNAVA SINHA
>Assignee: ARUNAVA SINHA
>Priority: Major
> Fix For: 11.2
>
>




--
This message was sent by Atlassian Jira
(v8.3.2#803003)

-
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-3078) Error hint to fix the '--enable-preview' features in Java Ant Project

2019-09-10 Thread ARUNAVA SINHA (Jira)
ARUNAVA SINHA created NETBEANS-3078:
---

 Summary: Error hint to fix the '--enable-preview' features in Java 
Ant Project
 Key: NETBEANS-3078
 URL: https://issues.apache.org/jira/browse/NETBEANS-3078
 Project: NetBeans
  Issue Type: Improvement
Reporter: ARUNAVA SINHA
Assignee: ARUNAVA SINHA






--
This message was sent by Atlassian Jira
(v8.3.2#803003)

-
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-website] branch asf-site updated: Automated site publishing by Jenkins build 885

2019-09-10 Thread git-site-role
This is an automated email from the ASF dual-hosted git repository.

git-site-role pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/netbeans-website.git


The following commit(s) were added to refs/heads/asf-site by this push:
 new 47505bd  Automated site publishing by Jenkins build 885
47505bd is described below

commit 47505bd8d37b9a495a53b0ddd9709dff9884466c
Author: jenkins 
AuthorDate: Tue Sep 10 08:51:58 2019 +

Automated site publishing by Jenkins build 885
---
 content/download/nb110/nb110.html | 9 +
 1 file changed, 9 insertions(+)

diff --git a/content/download/nb110/nb110.html 
b/content/download/nb110/nb110.html
index d54bfe7..19abf72 100644
--- a/content/download/nb110/nb110.html
+++ b/content/download/nb110/nb110.html
@@ -82,6 +82,7 @@
 
 
 
+Deployment platforms
 Building from source
 Community approval
 Release schedule
@@ -155,6 +156,14 @@ Experimental installers for Apache NetBeans 11.0 are 
available 
+Deployment platforms
+
+
+Apache NetBeans 11.0 runs on JDK 8, 9, 10, 11, and 12.
+
+
+
+
 Building from source
 
 


-
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-website] 01/01: Merge pull request #413 from apache/geertjanw-patch-18

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

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

commit e2624fd513bb501f525d311a986bee4c02828479
Merge: 805a7f5 317f0d8
Author: Geertjan Wielenga 
AuthorDate: Tue Sep 10 10:49:42 2019 +0200

Merge pull request #413 from apache/geertjanw-patch-18

Adding deployment platforms info to 11.0 Download page

 netbeans.apache.org/src/content/download/nb110/nb110.asciidoc | 4 
 1 file changed, 4 insertions(+)


-
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-website] branch master updated (805a7f5 -> e2624fd)

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

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


from 805a7f5  Merge pull request #412 from apache/geertjanw-patch-17
 add 317f0d8  Adding deployment platforms info to 11.0 Download page
 new e2624fd  Merge pull request #413 from apache/geertjanw-patch-18

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 netbeans.apache.org/src/content/download/nb110/nb110.asciidoc | 4 
 1 file changed, 4 insertions(+)


-
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-website] branch geertjanw-patch-18 created (now 317f0d8)

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

geertjan pushed a change to branch geertjanw-patch-18
in repository https://gitbox.apache.org/repos/asf/netbeans-website.git.


  at 317f0d8  Adding deployment platforms info to 11.0 Download page

This branch includes the following new commits:

 new 317f0d8  Adding deployment platforms info to 11.0 Download page

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



-
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-website] 01/01: Adding deployment platforms info to 11.0 Download page

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

geertjan pushed a commit to branch geertjanw-patch-18
in repository https://gitbox.apache.org/repos/asf/netbeans-website.git

commit 317f0d85212450501d07a7e6879317a17ecd7ea4
Author: Geertjan Wielenga 
AuthorDate: Tue Sep 10 10:49:02 2019 +0200

Adding deployment platforms info to 11.0 Download page
---
 netbeans.apache.org/src/content/download/nb110/nb110.asciidoc | 4 
 1 file changed, 4 insertions(+)

diff --git a/netbeans.apache.org/src/content/download/nb110/nb110.asciidoc 
b/netbeans.apache.org/src/content/download/nb110/nb110.asciidoc
index a30d60c..0eb3702 100644
--- a/netbeans.apache.org/src/content/download/nb110/nb110.asciidoc
+++ b/netbeans.apache.org/src/content/download/nb110/nb110.asciidoc
@@ -67,6 +67,10 @@ Also see the following YouTube clip:
 
 video::vCN_XvXQzzo[youtube, title="The Rough Guide to Apache NetBeans 11.0"]
 
+== Deployment platforms
+
+Apache NetBeans 11.0 runs on JDK 8, 9, 10, 11, and 12.
+
 == Building from source
 
 To build Apache NetBeans (incubating) 11.0 from source you need:


-
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-website] branch asf-site updated: Automated site publishing by Jenkins build 883

2019-09-10 Thread git-site-role
This is an automated email from the ASF dual-hosted git repository.

git-site-role pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/netbeans-website.git


The following commit(s) were added to refs/heads/asf-site by this push:
 new ffe8875  Automated site publishing by Jenkins build 883
ffe8875 is described below

commit ffe887500d5ca0bcd21933a085749af17d0e5da3
Author: jenkins 
AuthorDate: Tue Sep 10 08:46:03 2019 +

Automated site publishing by Jenkins build 883
---
 content/download/nb111/nb111.html | 9 +
 1 file changed, 9 insertions(+)

diff --git a/content/download/nb111/nb111.html 
b/content/download/nb111/nb111.html
index 50f2a8d..05ce102 100644
--- a/content/download/nb111/nb111.html
+++ b/content/download/nb111/nb111.html
@@ -71,6 +71,7 @@
 
 
 
+Deployment platforms
 Building from source
 Community approval
 Earlier releases
@@ -133,6 +134,14 @@ The PGP keys used to sign this release are available https://www.apache
 
 
 
+Deployment platforms
+
+
+Apache NetBeans 11.1 runs on JDK 8, 9, 10, 11, and 12.
+
+
+
+
 Building from source
 
 


-
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-website] 01/01: Merge pull request #412 from apache/geertjanw-patch-17

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

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

commit 805a7f52b5ad2d8b4faebf86052210310af92385
Merge: 5233a14 d66216e
Author: Geertjan Wielenga 
AuthorDate: Tue Sep 10 10:43:21 2019 +0200

Merge pull request #412 from apache/geertjanw-patch-17

List deployment platforms on Download page

 netbeans.apache.org/src/content/download/nb111/nb111.asciidoc | 5 +
 1 file changed, 5 insertions(+)


-
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-website] branch master updated (5233a14 -> 805a7f5)

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

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


from 5233a14  Merge pull request #411 from apache/geertjanw-patch-16
 add d66216e  List deployment platforms on Download page
 new 805a7f5  Merge pull request #412 from apache/geertjanw-patch-17

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 netbeans.apache.org/src/content/download/nb111/nb111.asciidoc | 5 +
 1 file changed, 5 insertions(+)


-
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-3077) Project with Git-Submodules freezes Netbeans

2019-09-10 Thread Hans (Jira)


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

Hans updated NETBEANS-3077:
---
Description: 
Steps to reproduce
 # Checkout a Git Project recursively (with several Submodules)
 ** Project
 *** dir
  code
  submodule
 * code
 * ...
 # Open the project in Netbeans
 ** everything works fine
 # Change something/code in the "Submodule"
 # Close Netbeans
 ** (external) Git-Client will tell you, that there is a change in the 
submodule Repo and in the Projects repo (.gitmodules commit change)
 # Commit and push (remote) those changes in both repos (Submodule Repo and 
then main Repo)
 # Open the project in Netbeans
 ** Netbeans tries to scan the project and gets stuck in a loop, endlessly.
 ** When you click on any menu button or close the Project tab, netbeans 
freezes.
 *** You have to close Netbeans ungracefully (using Windows Task-Manager)

Currently to Fix the Freeze, you have to drop all your %appdata% and open the 
Project again. Then everything works fine.

It may have to do something with the submodules and the internal Git Module of 
Netbeans ...

 

  was:
Steps to reproduce
 # Checkout a Git Project recursively (with several Submodules)
 ** Project
 *** dir
  code
  submodule
 * code
 * ...
 # Open the project in Netbeans
 ** everything works fine
 # Change something/code in the "Submodule"
 # Close Netbeans
 ** (external) Git-Client will tell you, that there is a change in the 
submodule Repo and in the Projects repo (.gitmodules commit change)
 # Commit and push (remote) those changes in both repos (Submodule Repo and 
then main Repo)
 # Open the project in Netbeans
 ** Netbeans tries to scan the project endlessly.
 ** When you click on menü buttons or close the tab, netbeans freezes.
 *** You have to hard close with Task-Manager (using Windows)

Currently to Fix the Freeze, you have to drop all your %appdata%

It may have to do something with the submodules and the internal Git Module of 
Netbeans ...

 


> Project with Git-Submodules freezes Netbeans
> 
>
> Key: NETBEANS-3077
> URL: https://issues.apache.org/jira/browse/NETBEANS-3077
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 8.2, 9.0, 10.0, 11.0, 11.1
> Environment: Windows 10 64 Bit
>Reporter: Hans
>Priority: Major
>
> Steps to reproduce
>  # Checkout a Git Project recursively (with several Submodules)
>  ** Project
>  *** dir
>   code
>   submodule
>  * code
>  * ...
>  # Open the project in Netbeans
>  ** everything works fine
>  # Change something/code in the "Submodule"
>  # Close Netbeans
>  ** (external) Git-Client will tell you, that there is a change in the 
> submodule Repo and in the Projects repo (.gitmodules commit change)
>  # Commit and push (remote) those changes in both repos (Submodule Repo and 
> then main Repo)
>  # Open the project in Netbeans
>  ** Netbeans tries to scan the project and gets stuck in a loop, endlessly.
>  ** When you click on any menu button or close the Project tab, netbeans 
> freezes.
>  *** You have to close Netbeans ungracefully (using Windows Task-Manager)
> Currently to Fix the Freeze, you have to drop all your %appdata% and open the 
> Project again. Then everything works fine.
> It may have to do something with the submodules and the internal Git Module 
> of Netbeans ...
>  



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

-
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-3077) Project with Git-Submodules freezes Netbeans

2019-09-10 Thread Hans (Jira)


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

Hans updated NETBEANS-3077:
---
Description: 
Steps to reproduce
 # Checkout a Git Project recursively (with several Submodules)
 ** Project
 *** dir
  code
  submodule
 * code
 * ...
 # Open the project in Netbeans
 ** everything works fine
 # Change something/code in the "Submodule"
 # Close Netbeans
 ** (external) Git-Client will tell you, that there is a change in the 
submodule Repo and in the Projects repo (.gitmodules commit change)
 # Commit and push (remote) those changes in both repos (Submodule Repo and 
then main Repo)
 # Open the project in Netbeans
 ** Netbeans tries to scan the project endlessly.
 ** When you click on menü buttons or close the tab, netbeans freezes.
 *** You have to hard close with Task-Manager (using Windows)

Currently to Fix the Freeze, you have to drop all your %appdata%

It may have to do something with the submodules and the internal Git Module of 
Netbeans ...

 

  was:
Steps to reproduce
 # Checkout a Git Project recursively (with several Submodules)
 ** Project
 *** dir
  code
  submodule
 # Open the project in Netbeans
 ** everything works fine
 # Change something/code in the "Submodule"
 # Close Netbeans
 ** (external) Git-Client will tell you, that there is a change in the 
submodule Repo and in the Projects repo (.gitmodules commit change)
 # Commit and push (remote) those changes in both repos (Submodule Repo and 
then main Repo)
 # Open the project in Netbeans
 ** Netbeans tries to scan the project endlessly.
 ** When you click on menü buttons or close the tab, netbeans freezes.
 *** You have to hard close with Task-Manager (using Windows)

Currently to Fix the Freeze, you have to drop all your %appdata%

It may have to do something with the submodules and the internal Git Module of 
Netbeans ...

 


> Project with Git-Submodules freezes Netbeans
> 
>
> Key: NETBEANS-3077
> URL: https://issues.apache.org/jira/browse/NETBEANS-3077
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 8.2, 9.0, 10.0, 11.0, 11.1
> Environment: Windows 10 64 Bit
>Reporter: Hans
>Priority: Major
>
> Steps to reproduce
>  # Checkout a Git Project recursively (with several Submodules)
>  ** Project
>  *** dir
>   code
>   submodule
>  * code
>  * ...
>  # Open the project in Netbeans
>  ** everything works fine
>  # Change something/code in the "Submodule"
>  # Close Netbeans
>  ** (external) Git-Client will tell you, that there is a change in the 
> submodule Repo and in the Projects repo (.gitmodules commit change)
>  # Commit and push (remote) those changes in both repos (Submodule Repo and 
> then main Repo)
>  # Open the project in Netbeans
>  ** Netbeans tries to scan the project endlessly.
>  ** When you click on menü buttons or close the tab, netbeans freezes.
>  *** You have to hard close with Task-Manager (using Windows)
> Currently to Fix the Freeze, you have to drop all your %appdata%
> It may have to do something with the submodules and the internal Git Module 
> of Netbeans ...
>  



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

-
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-3077) Project with Git-Submodules freezes Netbeans

2019-09-10 Thread Hans (Jira)
Hans created NETBEANS-3077:
--

 Summary: Project with Git-Submodules freezes Netbeans
 Key: NETBEANS-3077
 URL: https://issues.apache.org/jira/browse/NETBEANS-3077
 Project: NetBeans
  Issue Type: Bug
Affects Versions: 11.1, 11.0, 10.0, 9.0, 8.2
 Environment: Windows 10 64 Bit
Reporter: Hans


Steps to reproduce
 # Checkout a Git Project recursively (with several Submodules)
 ** Project
 *** dir
  code
  submodule
 # Open the project in Netbeans
 ** everything works fine
 # Change something/code in the "Submodule"
 # Close Netbeans
 ** (external) Git-Client will tell you, that there is a change in the 
submodule Repo and in the Projects repo (.gitmodules commit change)
 # Commit and push (remote) those changes in both repos (Submodule Repo and 
then main Repo)
 # Open the project in Netbeans
 ** Netbeans tries to scan the project endlessly.
 ** When you click on menü buttons or close the tab, netbeans freezes.
 *** You have to hard close with Task-Manager (using Windows)

Currently to Fix the Freeze, you have to drop all your %appdata%

It may have to do something with the submodules and the internal Git Module of 
Netbeans ...

 



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

-
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