[jira] [Commented] (NETBEANS-2455) Splash screens for development version

2019-05-10 Thread Eirik Bakke (JIRA)


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

Eirik Bakke commented on NETBEANS-2455:
---

I have the runtime imprinting working... will need to put together a pull 
request tomorrow.

> Splash screens for development version
> --
>
> Key: NETBEANS-2455
> URL: https://issues.apache.org/jira/browse/NETBEANS-2455
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - UI
>Reporter: Junichi Yamamoto
>Assignee: Antonio Vieiro
>Priority: Major
>  Labels: pull-request-available
> Attachments: Simplified Splash Screen with example version text.svg, 
> Simplified Splash Screen without version text.svg, Simplified Splash 
> Screen.ai, apache-netbeans-splash.png, apache-netbeans-splash.svg, 
> image-2019-05-10-05-51-46-560.png, netbeans-logo-notext.svg, 
> netbeans-logo-text.svg, splash.png
>
>  Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> Currently, the version of the splash screen is 10 in the master branch. So we 
> should fix it (e.g. Dev., Development Version, ...).



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

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

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



[jira] [Commented] (NETBEANS-2371) Gradle projects not properly loaded

2019-05-10 Thread Laszlo Kishalmi (JIRA)


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

Laszlo Kishalmi commented on NETBEANS-2371:
---

I might found something as missing synchronization in the project manager while 
constructing classpath information.

> Gradle projects not properly loaded
> ---
>
> Key: NETBEANS-2371
> URL: https://issues.apache.org/jira/browse/NETBEANS-2371
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Gradle
>Affects Versions: 11.0
> Environment: Netbeans 11
> Gradle 5
> Java 11
>Reporter: Netbeans User 2019
>Assignee: Laszlo Kishalmi
>Priority: Major
>
> - gradle module (plugin) has problem to resolve dependencies in multi project 
> as seems I can removed reds only if I go over each one subproject and do 
> clean and build (clean and build on root has no affects) and additionally it 
> seems that for some test resources even this was not enough, but it seems 
> that works old trick so creation folder and adding some new class (possible 
> even delete) and possibly with including "refresh" from Action items window.



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

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

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



[jira] [Commented] (NETBEANS-2525) Background Scanning Process for first NetBeans start took more than 15min

2019-05-10 Thread Laszlo Kishalmi (JIRA)


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

Laszlo Kishalmi commented on NETBEANS-2525:
---

I'm really thinking that the root cause is a Java vs. Windows filesystem issue 
we started to discuss in NETBEANS-2291.

We need some hard core NetBeans dev with Windows and time to inspect that 
further. I'm going to write on that on the dev list, maybe it did not got the 
attention needed.

BTW, if you take some perf snapshots and attach that to the issue would 
definitely help.

> Background Scanning Process for first NetBeans start took more than 15min
> -
>
> Key: NETBEANS-2525
> URL: https://issues.apache.org/jira/browse/NETBEANS-2525
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - Performance
>Affects Versions: 11.0
> Environment: Product Version: Apache NetBeans IDE 11.0 (Build 
> incubator-netbeans-release-404-on-20190319)
> Java: 11.0.2; Java HotSpot(TM) 64-Bit Server VM 11.0.2+9-LTS
> Runtime: Java(TM) SE Runtime Environment 11.0.2+9-LTS
> System: Windows 10 version 10.0 running on amd64; Cp1252; de_DE (nb)
> User directory: C:\Users\Chrl\AppData\Roaming\NetBeans\11.0
> Cache directory: C:\Users\Chrl\AppData\Local\NetBeans\Cache\11.0
>Reporter: Christian Lenz
>Priority: Critical
>  Labels: performance
>
> Steps to reproduce:
> * Open NetBeans 11.0 for the very first time
> * Choose yes to import settings from NetBeans 10.0 (No plugins, just settings)
> * After NetBeans opens, It imported 33 projects from my old NetBeans instance.
> * Install nb-javac.
> * It opens the projects.
> * Background scanning comes ups, need couple of minutes
> * Because of some HTML5 projects, Oracle JS Parser implementation installer 
> comes up
> * Install Oracle JS Parser Implementation.
> * After first background scanning is finished the next one is coming up and 
> takes even longer.
> * Waiting until everything is finish. Round about 15-17 min.
> I added a heap dump, created via Visual VM (In case of sensitive data, I 
> removed the link, please give me a private link where I can upload it.
> No I don't want to not use importing settings. First it is possible and 
> needed and second because it is not a real world case. I want my settings 
> from my old IDE and all my opened projects. I don't want to import/open them 
> one after one again, this is not a use case. And I don't want to make the 
> settings again and again, switching to a new version. Of course it will not 
> running as long as I open NetBeans w/o importing settings and opening all 
> projects but again this doesn't make sense.
> My projects are:
> * 5 Maven
> * 1 PHP
> * 4 HTML5
> * 14 Ant based NetBeans modules (Some 3rd-party, some from the Core)
> * 8 Maven based NetBeans modules (all 3rd-party)
> * 1 NetBeans Module suite project
> What information do you need more? I will add the messages.log too, but I 
> need to clean up my user dir again, because I opened NetBeans after the 
> profiling again.



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

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

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



[jira] [Commented] (NETBEANS-1842) ambiguous method when using Lombak

2019-05-10 Thread Rik Scarborough (JIRA)


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

Rik Scarborough commented on NETBEANS-1842:
---

Replaced 1.18.4 with 1.18.2 cleared up most of the errors except not finding 
@Slf4j  log().  I’ll keep looking at that one.

Thank you,

~Rik
Believe in Good



> ambiguous method when using Lombak
> --
>
> Key: NETBEANS-1842
> URL: https://issues.apache.org/jira/browse/NETBEANS-1842
> Project: NetBeans
>  Issue Type: Bug
> Environment: Win10
>Reporter: Rik Scarborough
>Priority: Major
>
> When using lombok (v 1.18.4), generated methods show as errors in editor.  
> "reference to  is ambiguous   both method  in 
>  and method  in  match".
>  
> Both methodnames and classnames are the exactly same.



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

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

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



[jira] [Commented] (NETBEANS-2455) Splash screens for development version

2019-05-10 Thread Eirik Bakke (JIRA)


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

Eirik Bakke commented on NETBEANS-2455:
---

(Now looking through the splash screen code to see how easy it would be to add 
a runtime version string. Main hurdle is that the text box dimensions etc. need 
to be parameterized.)

> Splash screens for development version
> --
>
> Key: NETBEANS-2455
> URL: https://issues.apache.org/jira/browse/NETBEANS-2455
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - UI
>Reporter: Junichi Yamamoto
>Assignee: Antonio Vieiro
>Priority: Major
>  Labels: pull-request-available
> Attachments: Simplified Splash Screen with example version text.svg, 
> Simplified Splash Screen without version text.svg, Simplified Splash 
> Screen.ai, apache-netbeans-splash.png, apache-netbeans-splash.svg, 
> image-2019-05-10-05-51-46-560.png, netbeans-logo-notext.svg, 
> netbeans-logo-text.svg, splash.png
>
>  Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> Currently, the version of the splash screen is 10 in the master branch. So we 
> should fix it (e.g. Dev., Development Version, ...).



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

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

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



[netbeans] 03/07: [NETBEANS-2348] Added support for 'Test Package'.

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

lkishalmi pushed a commit to branch release110-gradle-patch-1
in repository https://gitbox.apache.org/repos/asf/netbeans.git

commit 6ffcaba12406d67b86a50164fac147921f14a2ab
Author: Laszlo Kishalmi 
AuthorDate: Sat Apr 6 10:55:46 2019 -0700

[NETBEANS-2348] Added support for 'Test Package'.
---
 .../gradle/java/GradleJavaTokenProvider.java   | 32 ++
 .../modules/gradle/java/JavaActionProvider.java| 30 +---
 .../modules/gradle/java/action-mapping.xml |  3 ++
 .../modules/gradle/ActionProviderImpl.java | 19 +++--
 .../gradle/execute/GradleDaemonExecutor.java   |  4 +--
 5 files changed, 62 insertions(+), 26 deletions(-)

diff --git 
a/groovy/gradle.java/src/org/netbeans/modules/gradle/java/GradleJavaTokenProvider.java
 
b/groovy/gradle.java/src/org/netbeans/modules/gradle/java/GradleJavaTokenProvider.java
index d396a45..980c122 100644
--- 
a/groovy/gradle.java/src/org/netbeans/modules/gradle/java/GradleJavaTokenProvider.java
+++ 
b/groovy/gradle.java/src/org/netbeans/modules/gradle/java/GradleJavaTokenProvider.java
@@ -57,11 +57,12 @@ import org.openide.util.Lookup;
 public class GradleJavaTokenProvider implements ReplaceTokenProvider {
 
 private static final Set SUPPORTED = 
Collections.unmodifiableSet(new HashSet(Arrays.asList(
-"selectedClass",
-"selectedMethod",
-"affectedBuildTasks"
+"selectedClass",   //NOI18N
+"selectedMethod",  //NOI18N
+"selectedPackage", //NOI18N
+"affectedBuildTasks"   //NOI18N
 )));
-
+
 final Project project;
 
 public GradleJavaTokenProvider(Project project) {
@@ -76,22 +77,29 @@ public class GradleJavaTokenProvider implements 
ReplaceTokenProvider {
 @Override
 public Map createReplacements(String action, Lookup 
context) {
 Map ret = new HashMap<>();
-processSelectedClass(ret, context);
+processSelectedPackageAndClass(ret, context);
 processSelectedMethod(ret, context);
 processSourceSets(ret, context);
 return ret;
 }
 
-private void processSelectedClass(final Map map, Lookup 
context) {
+private void processSelectedPackageAndClass(final Map map, 
Lookup context) {
 FileObject fo = RunUtils.extractFileObjectfromLookup(context);
 GradleJavaProject gjp = GradleJavaProject.get(project);
 if ((gjp != null) && (fo != null)) {
 File f = FileUtil.toFile(fo);
 GradleJavaSourceSet sourceSet = gjp.containingSourceSet(f);
-if (sourceSet != null) {
-String relPath = sourceSet.relativePath(f);
-String className = relPath.substring(0, 
relPath.lastIndexOf('.')).replace('/', '.');
-map.put("selectedClass", className);
+if (sourceSet != null)  {
+if (f.isFile()) {
+String relPath = sourceSet.relativePath(f);
+String className = (relPath.lastIndexOf('.') > 0 ?
+relPath.substring(0, relPath.lastIndexOf('.')) :
+relPath).replace('/', '.');
+map.put("selectedClass", className);  //NOI18N
+f = f.getParentFile();
+}
+String pkg = sourceSet.relativePath(f).replace('/', '.');
+map.put("selectedPackage", pkg); //NOI18N
 }
 }
 }
@@ -102,7 +110,7 @@ public class GradleJavaTokenProvider implements 
ReplaceTokenProvider {
 String methodName = method != null ? method.getMethodName() : null;
 if (fo != null) {
  String selectedMethod = evaluateSingleMethod(fo, methodName);
- map.put("selectedMethod", selectedMethod);
+ map.put("selectedMethod", selectedMethod); //NOI18N
 }
 }
 
@@ -125,7 +133,7 @@ public class GradleJavaTokenProvider implements 
ReplaceTokenProvider {
 for (String task : buildTasks) {
 tasks.append(task).append(' ');
 }
-map.put("affectedBuildTasks", tasks.toString());
+map.put("affectedBuildTasks", tasks.toString()); //NOI18N
 }
 }
 
diff --git 
a/groovy/gradle.java/src/org/netbeans/modules/gradle/java/JavaActionProvider.java
 
b/groovy/gradle.java/src/org/netbeans/modules/gradle/java/JavaActionProvider.java
index 305c786..3add6f2 100644
--- 
a/groovy/gradle.java/src/org/netbeans/modules/gradle/java/JavaActionProvider.java
+++ 
b/groovy/gradle.java/src/org/netbeans/modules/gradle/java/JavaActionProvider.java
@@ -25,6 +25,7 @@ import org.netbeans.modules.gradle.java.api.GradleJavaProject;
 import org.netbeans.modules.gradle.java.api.GradleJavaSourceSet;
 import org.netbeans.modules.gradle.spi.actions.DefaultGradleActionsProvider;
 import 

[netbeans] branch release110-gradle-patch-1 updated (b2a39ac -> bc64dbd)

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

lkishalmi pushed a change to branch release110-gradle-patch-1
in repository https://gitbox.apache.org/repos/asf/netbeans.git.


 discard b2a39ac  [NETBEANS-2035] Enable Always show Gradle Build output by 
default.
 discard f5ecf6f  [NETBEANS-2399] Make sub Project node as a Tree based on the 
paths on the Gradle projects
 discard c3071d7  [NETBEANS-2293] Fix possible NPE on selected method detection.
 discard e2dbd27  [NETBEANS-2348] Less intrustive support for Test Package.
 discard 152d90d  [NETBEANS-2348] Added support for 'Test Package'.
 discard bad021c  [NETBEANS-2378] Tighten the Groovy more to the Gralde plugin
 discard aebe5f9  [NETBEANS-2346] Fixed index out of bound exception in GAV 
parsing.
 add 8ffe15b  Ensuring important DTDs are used locally when running 
java.completion… (#1206)
 new 0aa1185  [NETBEANS-2346] Fixed index out of bound exception in GAV 
parsing.
 new a2921ad  [NETBEANS-2378] Tighten the Groovy more to the Gralde plugin
 new 6ffcaba  [NETBEANS-2348] Added support for 'Test Package'.
 new b58d293  [NETBEANS-2348] Less intrustive support for Test Package.
 new a12d7ce  [NETBEANS-2293] Fix possible NPE on selected method detection.
 new 39ea1e4  [NETBEANS-2399] Make sub Project node as a Tree based on the 
paths on the Gradle projects
 new bc64dbd  [NETBEANS-2035] Enable Always show Gradle Build output by 
default.

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (b2a39ac)
\
 N -- N -- N   refs/heads/release110-gradle-patch-1 (bc64dbd)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

The 7 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:
 .../modules/java/completion/CompletionTestBase.java  | 20 
 1 file changed, 20 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] 06/07: [NETBEANS-2399] Make sub Project node as a Tree based on the paths on the Gradle projects

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

lkishalmi pushed a commit to branch release110-gradle-patch-1
in repository https://gitbox.apache.org/repos/asf/netbeans.git

commit 39ea1e43ae595d57f4bb5c67658e34b6a2ac23fe
Author: Laszlo Kishalmi 
AuthorDate: Sat Apr 20 08:01:36 2019 -0700

[NETBEANS-2399] Make sub Project node as a Tree based on the paths on
the Gradle projects
---
 .../modules/gradle/nodes/SubProjectsNode.java  | 79 --
 1 file changed, 58 insertions(+), 21 deletions(-)

diff --git 
a/groovy/gradle/src/org/netbeans/modules/gradle/nodes/SubProjectsNode.java 
b/groovy/gradle/src/org/netbeans/modules/gradle/nodes/SubProjectsNode.java
index 3b25ef5..0114cb0 100644
--- a/groovy/gradle/src/org/netbeans/modules/gradle/nodes/SubProjectsNode.java
+++ b/groovy/gradle/src/org/netbeans/modules/gradle/nodes/SubProjectsNode.java
@@ -30,6 +30,7 @@ import java.io.File;
 import java.io.IOException;
 import java.util.ArrayList;
 import java.util.Collection;
+import java.util.HashSet;
 import java.util.List;
 import javax.swing.AbstractAction;
 import javax.swing.Action;
@@ -53,6 +54,11 @@ import org.openide.util.WeakListeners;
 
 import static org.netbeans.modules.gradle.nodes.Bundle.*;
 import java.util.Map;
+import java.util.Set;
+import java.util.TreeSet;
+import org.netbeans.modules.gradle.spi.Utils;
+import org.openide.ErrorManager;
+import org.openide.nodes.Children;
 
 /**
  *
@@ -63,14 +69,23 @@ public class SubProjectsNode extends AbstractNode {
 @StaticResource
 private static final String SP_BADGE
 = "org/netbeans/modules/gradle/resources/gradle-badge.png";
-private final NbGradleProjectImpl proj;
 
 @NbBundle.Messages("LBL_SubProjects=Sub Projects")
+public SubProjectsNode(NbGradleProjectImpl proj, String path) {
+super(FilterNode.Children.create(new SubProjectsChildFactory(proj, 
path), true));
+if (":".equals(path)) { //NOI18N
+setName("SubProjects"); //NOI18N
+setDisplayName(LBL_SubProjects());
+} else {
+int colon = path.lastIndexOf(':', path.length() - 2);
+String partName = path.substring(colon + 1, path.length() - 1);
+setDisplayName(Utils.capitalize(partName));
+setName(path);
+}
+}
+
 public SubProjectsNode(NbGradleProjectImpl proj) {
-super(FilterNode.Children.create(new SubProjectsChildFactory(proj), 
true));
-this.proj = proj;
-setName("SubProjects"); //NOI18N
-setDisplayName(LBL_SubProjects());
+this(proj, ":"); //NOI18N
 }
 
 @Override
@@ -78,7 +93,7 @@ public class SubProjectsNode extends AbstractNode {
 return new Action[]{};
 }
 
-private Image getIcon(boolean opened) {
+private static Image getIcon(boolean opened) {
 Image badge = ImageUtilities.loadImage(SP_BADGE, true); //NOI18N
 return ImageUtilities.mergeImages(NodeUtils.getTreeFolderIcon(opened), 
badge, 8, 8);
 }
@@ -93,13 +108,15 @@ public class SubProjectsNode extends AbstractNode {
 return getIcon(true);
 }
 
-private static class SubProjectsChildFactory extends 
ChildFactory {
+private static class SubProjectsChildFactory extends ChildFactory {
 
 private final NbGradleProjectImpl project;
 private final PropertyChangeListener listener;
+private final String rootPath;
 
-SubProjectsChildFactory(NbGradleProjectImpl proj) {
+SubProjectsChildFactory(NbGradleProjectImpl proj, String rootPath) {
 project = proj;
+this.rootPath = rootPath;
 NbGradleProject watcher = project.getProjectWatcher();
 listener = new PropertyChangeListener() {
 @Override
@@ -115,34 +132,54 @@ public class SubProjectsNode extends AbstractNode {
 }
 
 @Override
-protected boolean createKeys(final List modules) {
+protected boolean createKeys(final List paths) {
 Map subProjects = 
project.getGradleProject().getBaseProject().getSubProjects();
+Set components = new TreeSet();
+Set projects = new TreeSet<>();
 for (String path : subProjects.keySet()) {
-File projDir = subProjects.get(path);
-FileObject fo = FileUtil.toFileObject(projDir);
+if (path.startsWith(rootPath)) {
+String relPath = path.substring(rootPath.length());
+int firstColon = relPath.indexOf(':');
+int lastColon = relPath.lastIndexOf(':');
+if ((firstColon >= 0) && (firstColon == lastColon)) {
+components.add(path.substring(0, rootPath.length() + 
firstColon + 1));
+}
+if (firstColon < 0 ) {
+projects.add(path);
+}
+}
+}
+

[netbeans] 05/07: [NETBEANS-2293] Fix possible NPE on selected method detection.

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

lkishalmi pushed a commit to branch release110-gradle-patch-1
in repository https://gitbox.apache.org/repos/asf/netbeans.git

commit a12d7ce749703bab29c27d3be0b61f47fcb0a998
Author: Laszlo Kishalmi 
AuthorDate: Sat Apr 6 15:23:06 2019 -0700

[NETBEANS-2293] Fix possible NPE on selected method detection.
---
 .../gradle/java/GradleJavaTokenProvider.java   | 86 ++
 .../modules/gradle/java/action-mapping.xml |  4 +-
 .../gradle/java/api/output/LocationOpener.java | 58 +++
 3 files changed, 52 insertions(+), 96 deletions(-)

diff --git 
a/groovy/gradle.java/src/org/netbeans/modules/gradle/java/GradleJavaTokenProvider.java
 
b/groovy/gradle.java/src/org/netbeans/modules/gradle/java/GradleJavaTokenProvider.java
index 87018fb..8e79ed4 100644
--- 
a/groovy/gradle.java/src/org/netbeans/modules/gradle/java/GradleJavaTokenProvider.java
+++ 
b/groovy/gradle.java/src/org/netbeans/modules/gradle/java/GradleJavaTokenProvider.java
@@ -24,24 +24,13 @@ import org.netbeans.modules.gradle.api.execute.RunUtils;
 import org.netbeans.modules.gradle.java.api.GradleJavaProject;
 import org.netbeans.modules.gradle.java.api.GradleJavaSourceSet;
 import org.netbeans.modules.gradle.spi.actions.ReplaceTokenProvider;
-import com.sun.source.tree.CompilationUnitTree;
-import com.sun.source.tree.Tree;
-import com.sun.source.util.Trees;
 import java.io.File;
-import java.io.IOException;
 import java.util.Arrays;
 import java.util.Collections;
 import java.util.HashMap;
 import java.util.HashSet;
-import java.util.List;
 import java.util.Map;
 import java.util.Set;
-import javax.lang.model.element.Element;
-import javax.lang.model.element.ElementKind;
-import javax.lang.model.element.TypeElement;
-import org.netbeans.api.java.source.CompilationController;
-import org.netbeans.api.java.source.JavaSource;
-import org.netbeans.api.java.source.Task;
 import org.netbeans.api.project.Project;
 import org.netbeans.spi.project.ProjectServiceProvider;
 import org.netbeans.spi.project.SingleMethod;
@@ -85,32 +74,20 @@ public class GradleJavaTokenProvider implements 
ReplaceTokenProvider {
 private void processSelectedPackageAndClass(final Map map, 
Lookup context) {
 FileObject fo = RunUtils.extractFileObjectfromLookup(context);
 GradleJavaProject gjp = GradleJavaProject.get(project);
-if ((gjp != null) && (fo != null)) {
-File f = FileUtil.toFile(fo);
-GradleJavaSourceSet sourceSet = gjp.containingSourceSet(f);
-if (sourceSet != null)  {
-if (f.isFile()) {
-String relPath = sourceSet.relativePath(f);
-String className = (relPath.lastIndexOf('.') > 0 ?
-relPath.substring(0, relPath.lastIndexOf('.')) :
-relPath).replace('/', '.');
-map.put("selectedClass", className);  //NOI18N
-f = f.getParentFile();
-} else {
-String pkg = sourceSet.relativePath(f).replace('/', '.');
-map.put("selectedClass", pkg + "*"); //NOI18N
-}
-}
+String className = evaluateClassName(gjp, fo);
+if (className != null) {
+map.put("selectedClass", className);
 }
 }
 
-private static void processSelectedMethod(final Map map, 
Lookup context) {
+private void processSelectedMethod(final Map map, Lookup 
context) {
 SingleMethod method = context.lookup(SingleMethod.class);
 FileObject fo = method != null ? method.getFile() : 
RunUtils.extractFileObjectfromLookup(context);
-String methodName = method != null ? method.getMethodName() : null;
-if (fo != null) {
- String selectedMethod = evaluateSingleMethod(fo, methodName);
- map.put("selectedMethod", selectedMethod); //NOI18N
+if ((fo != null) && fo.isData()) {
+GradleJavaProject gjp = GradleJavaProject.get(project);
+String className = evaluateClassName(gjp, fo);
+String selectedMethod = method != null ? className + '.' + 
method.getMethodName() : className;
+map.put("selectedMethod", selectedMethod);
 }
 }
 
@@ -137,37 +114,22 @@ public class GradleJavaTokenProvider implements 
ReplaceTokenProvider {
 }
 }
 
-private static String evaluateSingleMethod(final FileObject fo, final 
String method) {
-final Object[] ret = new Object[1];
-JavaSource javaSource = JavaSource.forFileObject(fo);
-if (javaSource != null) {
-try {
-javaSource.runUserActionTask(new Task() 
{
-@Override
-public void run(CompilationController 
compilationController) throws Exception {
-
compilationController.toPhase(JavaSource.Phase.ELEMENTS_RESOLVED);
- 

[netbeans] 01/07: [NETBEANS-2346] Fixed index out of bound exception in GAV parsing.

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

lkishalmi pushed a commit to branch release110-gradle-patch-1
in repository https://gitbox.apache.org/repos/asf/netbeans.git

commit 0aa1185f2c9af595f9a6c4b368276b9dd613cc6b
Author: Laszlo Kishalmi 
AuthorDate: Sat Apr 6 05:35:25 2019 -0700

[NETBEANS-2346] Fixed index out of bound exception in GAV parsing.
---
 .../modules/gradle/api/GradleBaseProject.java  |  2 +-
 .../modules/gradle/api/GradleConfiguration.java|  2 +-
 .../modules/gradle/api/GradleDependency.java   | 15 -
 .../modules/gradle/nodes/ConfigurationsNode.java   |  4 +-
 .../actions/ActionMappingPropertyReaderTest.java   | 22 +++---
 .../modules/gradle/api/GradleDepandencyTest.java   | 78 ++
 6 files changed, 105 insertions(+), 18 deletions(-)

diff --git 
a/groovy/gradle/src/org/netbeans/modules/gradle/api/GradleBaseProject.java 
b/groovy/gradle/src/org/netbeans/modules/gradle/api/GradleBaseProject.java
index 8c16759..49a4f14 100644
--- a/groovy/gradle/src/org/netbeans/modules/gradle/api/GradleBaseProject.java
+++ b/groovy/gradle/src/org/netbeans/modules/gradle/api/GradleBaseProject.java
@@ -256,7 +256,7 @@ public final class GradleBaseProject implements 
Serializable, ModuleSearchSuppor
 
 @Override
 public Set findModules(String gav) {
-String parts[] = gav.split(":");
+String parts[] = GradleDependency.gavSplit(gav);
 if (parts.length != 3) {
 throw new IllegalArgumentException("Invalid gav filter: "  + gav);
 }
diff --git 
a/groovy/gradle/src/org/netbeans/modules/gradle/api/GradleConfiguration.java 
b/groovy/gradle/src/org/netbeans/modules/gradle/api/GradleConfiguration.java
index f269b5e..fe6b233 100644
--- a/groovy/gradle/src/org/netbeans/modules/gradle/api/GradleConfiguration.java
+++ b/groovy/gradle/src/org/netbeans/modules/gradle/api/GradleConfiguration.java
@@ -86,7 +86,7 @@ public final class GradleConfiguration implements 
Serializable, ModuleSearchSupp
 
 @Override
 public Set findModules(String gav) {
-String parts[] = gav.split(":");
+String parts[] = GradleDependency.gavSplit(gav);
 if (parts.length != 3) {
 throw new IllegalArgumentException("Invalid gav filter: "  + gav);
 }
diff --git 
a/groovy/gradle/src/org/netbeans/modules/gradle/api/GradleDependency.java 
b/groovy/gradle/src/org/netbeans/modules/gradle/api/GradleDependency.java
index 7d1decb..ab2b588 100644
--- a/groovy/gradle/src/org/netbeans/modules/gradle/api/GradleDependency.java
+++ b/groovy/gradle/src/org/netbeans/modules/gradle/api/GradleDependency.java
@@ -63,6 +63,19 @@ public abstract class GradleDependency implements 
Serializable, Comparable artifacts) {
 super(id);
 this.artifacts = artifacts;
-String[] parts = id.split(":");
+String[] parts = gavSplit(id);
 group = parts[0];
 name = parts[1];
 version = parts[2];
diff --git 
a/groovy/gradle/src/org/netbeans/modules/gradle/nodes/ConfigurationsNode.java 
b/groovy/gradle/src/org/netbeans/modules/gradle/nodes/ConfigurationsNode.java
index e57077e..4300195 100644
--- 
a/groovy/gradle/src/org/netbeans/modules/gradle/nodes/ConfigurationsNode.java
+++ 
b/groovy/gradle/src/org/netbeans/modules/gradle/nodes/ConfigurationsNode.java
@@ -290,7 +290,7 @@ public class ConfigurationsNode extends AbstractNode {
 GradleProject gp = project.getGradleProject();
 ArrayList ret = new ArrayList<>();
 GradleConfiguration conf = 
gp.getBaseProject().getConfigurations().get(configuration);
-// We can get null here ins ome extreme cases, e.g. when the 
project is being deleted
+// We can get null here in some extreme cases, e.g. when the 
project is being deleted
 if (conf != null) {
 ret.addAll(conf.getUnresolved());
 ret.addAll(conf.getProjects());
@@ -370,7 +370,7 @@ public class ConfigurationsNode extends AbstractNode {
 
 @Override
 public String getDisplayName() {
-return module.getName() + ":" + module.getVersion();
+return module.getVersion().isEmpty() ? module.getName() : 
module.getName() + ":" + module.getVersion();
 }
 
 @Override
diff --git 
a/groovy/gradle/test/unit/src/org/netbeans/modules/gradle/actions/ActionMappingPropertyReaderTest.java
 
b/groovy/gradle/test/unit/src/org/netbeans/modules/gradle/actions/ActionMappingPropertyReaderTest.java
index 99a7dfd..d6ad668 100644
--- 
a/groovy/gradle/test/unit/src/org/netbeans/modules/gradle/actions/ActionMappingPropertyReaderTest.java
+++ 
b/groovy/gradle/test/unit/src/org/netbeans/modules/gradle/actions/ActionMappingPropertyReaderTest.java
@@ -22,10 +22,6 @@ import java.util.Arrays;
 import java.util.HashSet;
 import java.util.Properties;
 import java.util.Set;
-import org.junit.After;
-import org.junit.AfterClass;
-import 

[netbeans] 04/07: [NETBEANS-2348] Less intrustive support for Test Package.

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

lkishalmi pushed a commit to branch release110-gradle-patch-1
in repository https://gitbox.apache.org/repos/asf/netbeans.git

commit b58d293919be829f088863016240a1e5c1dd0609
Author: Laszlo Kishalmi 
AuthorDate: Fri Apr 12 20:00:58 2019 -0700

[NETBEANS-2348] Less intrustive support for Test Package.
---
 .../gradle/java/GradleJavaTokenProvider.java   |  6 +-
 .../modules/gradle/java/JavaActionProvider.java| 65 ++
 .../modules/gradle/java/action-mapping.xml |  3 -
 .../modules/gradle/ActionProviderImpl.java | 19 +--
 4 files changed, 34 insertions(+), 59 deletions(-)

diff --git 
a/groovy/gradle.java/src/org/netbeans/modules/gradle/java/GradleJavaTokenProvider.java
 
b/groovy/gradle.java/src/org/netbeans/modules/gradle/java/GradleJavaTokenProvider.java
index 980c122..87018fb 100644
--- 
a/groovy/gradle.java/src/org/netbeans/modules/gradle/java/GradleJavaTokenProvider.java
+++ 
b/groovy/gradle.java/src/org/netbeans/modules/gradle/java/GradleJavaTokenProvider.java
@@ -59,7 +59,6 @@ public class GradleJavaTokenProvider implements 
ReplaceTokenProvider {
 private static final Set SUPPORTED = 
Collections.unmodifiableSet(new HashSet(Arrays.asList(
 "selectedClass",   //NOI18N
 "selectedMethod",  //NOI18N
-"selectedPackage", //NOI18N
 "affectedBuildTasks"   //NOI18N
 )));
 
@@ -97,9 +96,10 @@ public class GradleJavaTokenProvider implements 
ReplaceTokenProvider {
 relPath).replace('/', '.');
 map.put("selectedClass", className);  //NOI18N
 f = f.getParentFile();
+} else {
+String pkg = sourceSet.relativePath(f).replace('/', '.');
+map.put("selectedClass", pkg + "*"); //NOI18N
 }
-String pkg = sourceSet.relativePath(f).replace('/', '.');
-map.put("selectedPackage", pkg); //NOI18N
 }
 }
 }
diff --git 
a/groovy/gradle.java/src/org/netbeans/modules/gradle/java/JavaActionProvider.java
 
b/groovy/gradle.java/src/org/netbeans/modules/gradle/java/JavaActionProvider.java
index 3add6f2..4aab8cb 100644
--- 
a/groovy/gradle.java/src/org/netbeans/modules/gradle/java/JavaActionProvider.java
+++ 
b/groovy/gradle.java/src/org/netbeans/modules/gradle/java/JavaActionProvider.java
@@ -47,7 +47,6 @@ import org.openide.util.lookup.ServiceProvider;
 @ServiceProvider(service = GradleActionsProvider.class)
 public class JavaActionProvider extends DefaultGradleActionsProvider {
 
-public static final String COMMAND_TEST_SINGLE_PACKAGE = 
"test.single.package"; //NOI18N
 private static final String GATLING_PLUGIN = 
"com.github.lkishalmi.gatling"; //NOI18N
 private static final String SIMULATION_POSTFIX = "Simulation.scala"; 
//NOI18N
 
@@ -67,7 +66,6 @@ public class JavaActionProvider extends 
DefaultGradleActionsProvider {
 COMMAND_RUN_SINGLE,
 COMMAND_DEBUG_SINGLE,
 COMMAND_COMPILE_SINGLE,
-COMMAND_TEST_SINGLE_PACKAGE
 };
 
 public JavaActionProvider() {
@@ -86,47 +84,42 @@ public class JavaActionProvider extends 
DefaultGradleActionsProvider {
 } else {
 ret = false;
 GradleJavaProject gjp = GradleJavaProject.get(project);
-switch (action) {
-case COMMAND_COMPILE_SINGLE:
-FileBuiltQuery.Status status = 
FileBuiltQuery.getStatus(fo);
-ret = status == null || !status.isBuilt();
-break;
-case COMMAND_DEBUG_SINGLE:
-case COMMAND_RUN_SINGLE: {
-if (RunUtils.isAugmentedBuildEnabled(project) && 
(gjp != null)) {
-File f = FileUtil.toFile(fo);
-GradleJavaSourceSet sourceSet = 
gjp.containingSourceSet(f);
-if ((sourceSet != null) && fo.isData()) {
-String relPath = sourceSet.relativePath(f);
-if (relPath != null) {
-relPath = relPath.substring(0, 
relPath.lastIndexOf('.')).replace('/', '.');
-ret = SourceUtils.isMainClass(relPath, 
ClasspathInfo.create(fo), true);
+if ( gjp != null ) {
+switch (action) {
+case COMMAND_COMPILE_SINGLE:
+FileBuiltQuery.Status status = 
FileBuiltQuery.getStatus(fo);
+ret = status == null || !status.isBuilt();
+break;
+case COMMAND_DEBUG_SINGLE:
+case 

[netbeans] 02/07: [NETBEANS-2378] Tighten the Groovy more to the Gralde plugin

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

lkishalmi pushed a commit to branch release110-gradle-patch-1
in repository https://gitbox.apache.org/repos/asf/netbeans.git

commit a2921adf7318e93e40b53f7b1e175815e46092b3
Author: Laszlo Kishalmi 
AuthorDate: Tue Apr 9 06:38:06 2019 -0700

[NETBEANS-2378] Tighten the Groovy more to the Gralde plugin
---
 groovy/gradle/manifest.mf | 1 +
 1 file changed, 1 insertion(+)

diff --git a/groovy/gradle/manifest.mf b/groovy/gradle/manifest.mf
index b80a5f9..fedf0d3 100644
--- a/groovy/gradle/manifest.mf
+++ b/groovy/gradle/manifest.mf
@@ -4,3 +4,4 @@ OpenIDE-Module: org.netbeans.modules.gradle
 OpenIDE-Module-Layer: org/netbeans/modules/gradle/layer.xml
 OpenIDE-Module-Localizing-Bundle: org/netbeans/modules/gradle/Bundle.properties
 OpenIDE-Module-Specification-Version: 1.0.1
+


-
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] 07/07: [NETBEANS-2035] Enable Always show Gradle Build output by default.

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

lkishalmi pushed a commit to branch release110-gradle-patch-1
in repository https://gitbox.apache.org/repos/asf/netbeans.git

commit bc64dbd18c7ac95615dddccbaac7b8196b0ed5fa
Author: Laszlo Kishalmi 
AuthorDate: Fri Apr 26 11:34:46 2019 -0700

[NETBEANS-2035] Enable Always show Gradle Build output by default.
---
 groovy/gradle/src/org/netbeans/modules/gradle/spi/GradleSettings.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/groovy/gradle/src/org/netbeans/modules/gradle/spi/GradleSettings.java 
b/groovy/gradle/src/org/netbeans/modules/gradle/spi/GradleSettings.java
index 20bb104..6a0102d 100644
--- a/groovy/gradle/src/org/netbeans/modules/gradle/spi/GradleSettings.java
+++ b/groovy/gradle/src/org/netbeans/modules/gradle/spi/GradleSettings.java
@@ -170,7 +170,7 @@ public final class GradleSettings {
 }
 
 public boolean isAlwaysShowOutput() {
-return getPreferences().getBoolean(PROP_ALWAYS_SHOW_OUTPUT, false);
+return getPreferences().getBoolean(PROP_ALWAYS_SHOW_OUTPUT, true);
 }
 
 public void setStartDaemonOnStart(boolean b) {


-
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-2455) Splash screens for development version

2019-05-10 Thread Eirik Bakke (JIRA)


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

Eirik Bakke commented on NETBEANS-2455:
---

Re-reading the title of this issue: Is this just for the development versions, 
or for the release version as well? For development builds it really doesn't 
matter what the splash screen looks like, and the proposed approach sounds 
fine. Would we still be producing splash screens manually for release builds?

Sorry for the back-and-forth.

> Splash screens for development version
> --
>
> Key: NETBEANS-2455
> URL: https://issues.apache.org/jira/browse/NETBEANS-2455
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - UI
>Reporter: Junichi Yamamoto
>Assignee: Antonio Vieiro
>Priority: Major
>  Labels: pull-request-available
> Attachments: Simplified Splash Screen with example version text.svg, 
> Simplified Splash Screen without version text.svg, Simplified Splash 
> Screen.ai, apache-netbeans-splash.png, apache-netbeans-splash.svg, 
> image-2019-05-10-05-51-46-560.png, netbeans-logo-notext.svg, 
> netbeans-logo-text.svg, splash.png
>
>  Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> Currently, the version of the splash screen is 10 in the master branch. So we 
> should fix it (e.g. Dev., Development Version, ...).



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

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

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



[jira] [Resolved] (NETBEANS-2521) Gradle could not determine java version from '11.0.2'.

2019-05-10 Thread Diego Villablanca (JIRA)


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

Diego Villablanca resolved NETBEANS-2521.
-
Resolution: Fixed

The solution what *Laszlo Kishalmi* said

_"It seems you are using the wrapper which dictates Gradle v4.4.1 to the build 
process. I'd recommend to upgrade the used gradle version in the 
gradle/wrapper/gradle-wrapper.properties file to at least 4.10.2 that is the 
first version that support Java 11."_

> Gradle could not determine java version from '11.0.2'.
> --
>
> Key: NETBEANS-2521
> URL: https://issues.apache.org/jira/browse/NETBEANS-2521
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Gradle
>Affects Versions: 11.0
> Environment: Elementary OS 5.0 (Based on Ubuntu 18.04)
>Reporter: Diego Villablanca
>Assignee: Laszlo Kishalmi
>Priority: Major
>  Labels: build
>
> Trying to migrate a maven project to gradle, I ran by command line "gradle 
> init" in my maven project root directory, then closed the project 
> (Multiproject in maven) and its modules, then openned it again and NetBeans 
> showed the gradle icon in my project window.
> I executed the option by netbeans "clean and build" in my root project 
> (parent).
> *Installed Java version:*
> _java version "11.0.2" 2019-01-15 LTS_
>  _Java(TM) SE Runtime Environment 18.9 (build 11.0.2+9-LTS)_
>  _Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.2+9-LTS, mixed mode)_
> *Netbeans Embeded Gradle Version:*
> 4.4.1
> 4.10.2
> 5.4.1
> *Installed Gradle Version:*
> WARNING: An illegal reflective access operation has occurred
>  WARNING: Illegal reflective access by 
> org.codehaus.groovy.reflection.CachedClass 
> ([file:/usr/share/java/groovy-all.jar|file:///usr/share/java/groovy-all.jar]) 
> to method java.lang.Object.finalize()
>  WARNING: Please consider reporting this to the maintainers of 
> org.codehaus.groovy.reflection.CachedClass
>  WARNING: Use --illegal-access=warn to enable warnings of further illegal 
> reflective access operations
>  WARNING: All illegal access operations will be denied in a future release
> 
>  _Gradle 4.4.1_
>  
> _Build time:   2012-12-21 00:00:00 UTC_
>  _Revision: none_
> _Groovy:   2.4.16_
>  _Ant:  Apache Ant(TM) version 1.10.5 compiled on March 28 2019_
>  _JVM:  11.0.2 (Oracle Corporation 11.0.2+9-LTS)_
>  _OS:   Linux 4.15.0-48-generic amd64_
> *Netbeans Output Windows logs:*
>  JAVA_HOME="/opt/jdk-11.0.2"
>  cd /home/dvillablanca/NetBeansProjects/prototipo-tcg; ./gradlew 
> --configure-on-demand -x check clean build
> *Exception:*
> java.lang.IllegalArgumentException: Could not determine java version from 
> '11.0.2'.
>      at org.gradle.api.JavaVersion.toVersion(JavaVersion.java:72)
>      at org.gradle.api.JavaVersion.current(JavaVersion.java:82)
>      at 
> org.gradle.internal.nativeintegration.services.NativeServices.createFileMetadataAccessor(NativeServices.java:253)
>      at 
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>      at 
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>      at 
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>      at java.base/java.lang.reflect.Method.invoke(Method.java:566)
>      at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:73)
>      at 
> org.gradle.internal.service.ReflectionBasedServiceMethod.invoke(ReflectionBasedServiceMethod.java:35)
>      at 
> org.gradle.internal.service.DefaultServiceRegistry$FactoryMethodService.invokeMethod(DefaultServiceRegistry.java:795)
>  Caused: org.gradle.internal.service.ServiceCreationException: Could not 
> create service of type FileMetadataAccessor using 
> NativeServices.createFileMetadataAccessor().
>      at 
> org.gradle.internal.service.DefaultServiceRegistry$FactoryMethodService.invokeMethod(DefaultServiceRegistry.java:797)
>      at 
> org.gradle.internal.service.DefaultServiceRegistry$FactoryService.create(DefaultServiceRegistry.java:748)
>      at 
> org.gradle.internal.service.DefaultServiceRegistry$ManagedObjectProvider.getInstance(DefaultServiceRegistry.java:574)
>      at 
> org.gradle.internal.service.DefaultServiceRegistry$SingletonService.get(DefaultServiceRegistry.java:623)
>      at 
> org.gradle.internal.service.DefaultServiceRegistry$FactoryService.assembleParameters(DefaultServiceRegistry.java:761)
>      at 
> org.gradle.internal.service.DefaultServiceRegistry$FactoryService.create(DefaultServiceRegistry.java:747)
>      at 
> 

[jira] [Closed] (NETBEANS-2521) Gradle could not determine java version from '11.0.2'.

2019-05-10 Thread Diego Villablanca (JIRA)


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

Diego Villablanca closed NETBEANS-2521.
---

Thanks for the help.

> Gradle could not determine java version from '11.0.2'.
> --
>
> Key: NETBEANS-2521
> URL: https://issues.apache.org/jira/browse/NETBEANS-2521
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Gradle
>Affects Versions: 11.0
> Environment: Elementary OS 5.0 (Based on Ubuntu 18.04)
>Reporter: Diego Villablanca
>Assignee: Laszlo Kishalmi
>Priority: Major
>  Labels: build
>
> Trying to migrate a maven project to gradle, I ran by command line "gradle 
> init" in my maven project root directory, then closed the project 
> (Multiproject in maven) and its modules, then openned it again and NetBeans 
> showed the gradle icon in my project window.
> I executed the option by netbeans "clean and build" in my root project 
> (parent).
> *Installed Java version:*
> _java version "11.0.2" 2019-01-15 LTS_
>  _Java(TM) SE Runtime Environment 18.9 (build 11.0.2+9-LTS)_
>  _Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.2+9-LTS, mixed mode)_
> *Netbeans Embeded Gradle Version:*
> 4.4.1
> 4.10.2
> 5.4.1
> *Installed Gradle Version:*
> WARNING: An illegal reflective access operation has occurred
>  WARNING: Illegal reflective access by 
> org.codehaus.groovy.reflection.CachedClass 
> ([file:/usr/share/java/groovy-all.jar|file:///usr/share/java/groovy-all.jar]) 
> to method java.lang.Object.finalize()
>  WARNING: Please consider reporting this to the maintainers of 
> org.codehaus.groovy.reflection.CachedClass
>  WARNING: Use --illegal-access=warn to enable warnings of further illegal 
> reflective access operations
>  WARNING: All illegal access operations will be denied in a future release
> 
>  _Gradle 4.4.1_
>  
> _Build time:   2012-12-21 00:00:00 UTC_
>  _Revision: none_
> _Groovy:   2.4.16_
>  _Ant:  Apache Ant(TM) version 1.10.5 compiled on March 28 2019_
>  _JVM:  11.0.2 (Oracle Corporation 11.0.2+9-LTS)_
>  _OS:   Linux 4.15.0-48-generic amd64_
> *Netbeans Output Windows logs:*
>  JAVA_HOME="/opt/jdk-11.0.2"
>  cd /home/dvillablanca/NetBeansProjects/prototipo-tcg; ./gradlew 
> --configure-on-demand -x check clean build
> *Exception:*
> java.lang.IllegalArgumentException: Could not determine java version from 
> '11.0.2'.
>      at org.gradle.api.JavaVersion.toVersion(JavaVersion.java:72)
>      at org.gradle.api.JavaVersion.current(JavaVersion.java:82)
>      at 
> org.gradle.internal.nativeintegration.services.NativeServices.createFileMetadataAccessor(NativeServices.java:253)
>      at 
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>      at 
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>      at 
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>      at java.base/java.lang.reflect.Method.invoke(Method.java:566)
>      at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:73)
>      at 
> org.gradle.internal.service.ReflectionBasedServiceMethod.invoke(ReflectionBasedServiceMethod.java:35)
>      at 
> org.gradle.internal.service.DefaultServiceRegistry$FactoryMethodService.invokeMethod(DefaultServiceRegistry.java:795)
>  Caused: org.gradle.internal.service.ServiceCreationException: Could not 
> create service of type FileMetadataAccessor using 
> NativeServices.createFileMetadataAccessor().
>      at 
> org.gradle.internal.service.DefaultServiceRegistry$FactoryMethodService.invokeMethod(DefaultServiceRegistry.java:797)
>      at 
> org.gradle.internal.service.DefaultServiceRegistry$FactoryService.create(DefaultServiceRegistry.java:748)
>      at 
> org.gradle.internal.service.DefaultServiceRegistry$ManagedObjectProvider.getInstance(DefaultServiceRegistry.java:574)
>      at 
> org.gradle.internal.service.DefaultServiceRegistry$SingletonService.get(DefaultServiceRegistry.java:623)
>      at 
> org.gradle.internal.service.DefaultServiceRegistry$FactoryService.assembleParameters(DefaultServiceRegistry.java:761)
>      at 
> org.gradle.internal.service.DefaultServiceRegistry$FactoryService.create(DefaultServiceRegistry.java:747)
>      at 
> org.gradle.internal.service.DefaultServiceRegistry$ManagedObjectProvider.getInstance(DefaultServiceRegistry.java:574)
>      at 
> org.gradle.internal.service.DefaultServiceRegistry$SingletonService.get(DefaultServiceRegistry.java:623)
>      at 
> org.gradle.internal.service.DefaultServiceRegistry.doGet(DefaultServiceRegistry.java:344)
>      at 
> 

[jira] [Commented] (NETBEANS-2521) Gradle could not determine java version from '11.0.2'.

2019-05-10 Thread Diego Villablanca (JIRA)


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

Diego Villablanca commented on NETBEANS-2521:
-

Yes, it works.

It was set by default 4.4.1, I guess by the installed version.

> Gradle could not determine java version from '11.0.2'.
> --
>
> Key: NETBEANS-2521
> URL: https://issues.apache.org/jira/browse/NETBEANS-2521
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Gradle
>Affects Versions: 11.0
> Environment: Elementary OS 5.0 (Based on Ubuntu 18.04)
>Reporter: Diego Villablanca
>Assignee: Laszlo Kishalmi
>Priority: Major
>  Labels: build
>
> Trying to migrate a maven project to gradle, I ran by command line "gradle 
> init" in my maven project root directory, then closed the project 
> (Multiproject in maven) and its modules, then openned it again and NetBeans 
> showed the gradle icon in my project window.
> I executed the option by netbeans "clean and build" in my root project 
> (parent).
> *Installed Java version:*
> _java version "11.0.2" 2019-01-15 LTS_
>  _Java(TM) SE Runtime Environment 18.9 (build 11.0.2+9-LTS)_
>  _Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.2+9-LTS, mixed mode)_
> *Netbeans Embeded Gradle Version:*
> 4.4.1
> 4.10.2
> 5.4.1
> *Installed Gradle Version:*
> WARNING: An illegal reflective access operation has occurred
>  WARNING: Illegal reflective access by 
> org.codehaus.groovy.reflection.CachedClass 
> ([file:/usr/share/java/groovy-all.jar|file:///usr/share/java/groovy-all.jar]) 
> to method java.lang.Object.finalize()
>  WARNING: Please consider reporting this to the maintainers of 
> org.codehaus.groovy.reflection.CachedClass
>  WARNING: Use --illegal-access=warn to enable warnings of further illegal 
> reflective access operations
>  WARNING: All illegal access operations will be denied in a future release
> 
>  _Gradle 4.4.1_
>  
> _Build time:   2012-12-21 00:00:00 UTC_
>  _Revision: none_
> _Groovy:   2.4.16_
>  _Ant:  Apache Ant(TM) version 1.10.5 compiled on March 28 2019_
>  _JVM:  11.0.2 (Oracle Corporation 11.0.2+9-LTS)_
>  _OS:   Linux 4.15.0-48-generic amd64_
> *Netbeans Output Windows logs:*
>  JAVA_HOME="/opt/jdk-11.0.2"
>  cd /home/dvillablanca/NetBeansProjects/prototipo-tcg; ./gradlew 
> --configure-on-demand -x check clean build
> *Exception:*
> java.lang.IllegalArgumentException: Could not determine java version from 
> '11.0.2'.
>      at org.gradle.api.JavaVersion.toVersion(JavaVersion.java:72)
>      at org.gradle.api.JavaVersion.current(JavaVersion.java:82)
>      at 
> org.gradle.internal.nativeintegration.services.NativeServices.createFileMetadataAccessor(NativeServices.java:253)
>      at 
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>      at 
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>      at 
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>      at java.base/java.lang.reflect.Method.invoke(Method.java:566)
>      at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:73)
>      at 
> org.gradle.internal.service.ReflectionBasedServiceMethod.invoke(ReflectionBasedServiceMethod.java:35)
>      at 
> org.gradle.internal.service.DefaultServiceRegistry$FactoryMethodService.invokeMethod(DefaultServiceRegistry.java:795)
>  Caused: org.gradle.internal.service.ServiceCreationException: Could not 
> create service of type FileMetadataAccessor using 
> NativeServices.createFileMetadataAccessor().
>      at 
> org.gradle.internal.service.DefaultServiceRegistry$FactoryMethodService.invokeMethod(DefaultServiceRegistry.java:797)
>      at 
> org.gradle.internal.service.DefaultServiceRegistry$FactoryService.create(DefaultServiceRegistry.java:748)
>      at 
> org.gradle.internal.service.DefaultServiceRegistry$ManagedObjectProvider.getInstance(DefaultServiceRegistry.java:574)
>      at 
> org.gradle.internal.service.DefaultServiceRegistry$SingletonService.get(DefaultServiceRegistry.java:623)
>      at 
> org.gradle.internal.service.DefaultServiceRegistry$FactoryService.assembleParameters(DefaultServiceRegistry.java:761)
>      at 
> org.gradle.internal.service.DefaultServiceRegistry$FactoryService.create(DefaultServiceRegistry.java:747)
>      at 
> org.gradle.internal.service.DefaultServiceRegistry$ManagedObjectProvider.getInstance(DefaultServiceRegistry.java:574)
>      at 
> org.gradle.internal.service.DefaultServiceRegistry$SingletonService.get(DefaultServiceRegistry.java:623)
>      at 
> 

[jira] [Commented] (NETBEANS-2455) Splash screens for development version

2019-05-10 Thread Antonio Vieiro (JIRA)


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

Antonio Vieiro commented on NETBEANS-2455:
--

[~ebakke] [~Chrizzly] Proceed as you see fit!

> Splash screens for development version
> --
>
> Key: NETBEANS-2455
> URL: https://issues.apache.org/jira/browse/NETBEANS-2455
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - UI
>Reporter: Junichi Yamamoto
>Assignee: Antonio Vieiro
>Priority: Major
>  Labels: pull-request-available
> Attachments: Simplified Splash Screen with example version text.svg, 
> Simplified Splash Screen without version text.svg, Simplified Splash 
> Screen.ai, apache-netbeans-splash.png, apache-netbeans-splash.svg, 
> image-2019-05-10-05-51-46-560.png, netbeans-logo-notext.svg, 
> netbeans-logo-text.svg, splash.png
>
>  Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> Currently, the version of the splash screen is 10 in the master branch. So we 
> should fix it (e.g. Dev., Development Version, ...).



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

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

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



[jira] [Assigned] (NETBEANS-2509) Unable to connect to docker via socket

2019-05-10 Thread Abhishek Modi (JIRA)


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

Abhishek Modi reassigned NETBEANS-2509:
---

Assignee: Bartosz Tomasik  (was: Abhishek Modi)

> Unable to connect to docker via socket
> --
>
> Key: NETBEANS-2509
> URL: https://issues.apache.org/jira/browse/NETBEANS-2509
> Project: NetBeans
>  Issue Type: Bug
>  Components: docker - UI
>Affects Versions: 11.0
>Reporter: Bartosz Tomasik
>Assignee: Bartosz Tomasik
>Priority: Minor
>  Labels: pull-request-available
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> "Add Docker instance" dialog ismissing option to connect via unix socket.
> This is probably due to following lines commented out: 
> [https://github.com/apache/netbeans/blame/master/ide/docker.api/src/org/netbeans/modules/docker/api/DockerSupport.java#L133-L137]



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

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

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



[jira] [Commented] (NETBEANS-2509) Unable to connect to docker via socket

2019-05-10 Thread Abhishek Modi (JIRA)


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

Abhishek Modi commented on NETBEANS-2509:
-

Sorry assigned it to myself by mistake.

> Unable to connect to docker via socket
> --
>
> Key: NETBEANS-2509
> URL: https://issues.apache.org/jira/browse/NETBEANS-2509
> Project: NetBeans
>  Issue Type: Bug
>  Components: docker - UI
>Affects Versions: 11.0
>Reporter: Bartosz Tomasik
>Assignee: Bartosz Tomasik
>Priority: Minor
>  Labels: pull-request-available
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> "Add Docker instance" dialog ismissing option to connect via unix socket.
> This is probably due to following lines commented out: 
> [https://github.com/apache/netbeans/blame/master/ide/docker.api/src/org/netbeans/modules/docker/api/DockerSupport.java#L133-L137]



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

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

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



[jira] [Commented] (NETBEANS-2136) Support excludes and includes in Gradle SourceSets

2019-05-10 Thread Michael D Billman (JIRA)


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

Michael D Billman commented on NETBEANS-2136:
-

Do you think this will be targeted for 11.1?

> Support excludes and includes in Gradle SourceSets
> --
>
> Key: NETBEANS-2136
> URL: https://issues.apache.org/jira/browse/NETBEANS-2136
> Project: NetBeans
>  Issue Type: Improvement
>  Components: projects - Gradle
>Reporter: Laszlo Kishalmi
>Assignee: Laszlo Kishalmi
>Priority: Major
>
> Right now explicit include and exclude patterns in a Gradle SourceSet does 
> not get reflected in NetBeans.



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

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

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



[jira] [Commented] (NETBEANS-2137) Better UI representation of SourceSets with Multiple Source Root Dirs.

2019-05-10 Thread Michael D Billman (JIRA)


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

Michael D Billman commented on NETBEANS-2137:
-

Do you think this will be targeted for 11.1?

> Better UI representation of SourceSets with Multiple Source Root Dirs.
> --
>
> Key: NETBEANS-2137
> URL: https://issues.apache.org/jira/browse/NETBEANS-2137
> Project: NetBeans
>  Issue Type: Improvement
>  Components: projects - Gradle
>Reporter: Laszlo Kishalmi
>Assignee: Laszlo Kishalmi
>Priority: Major
>
> See the following Gradle Sample:
> sourceSets {
>   main {
>     java {
>   srcDir 'JavaV2/Src'
>   srcDir 'JavaV2/API/Src'
>   srcDir 'JavaV2/Fedex/Src'
>   srcDir 'JavaV2/Library/Src'
>   srcDir 'JavaV2/Products/Src'
>   srcDir 'JavaV2/Protocol/Src'
>   srcDir 'JavaV2/Qryptonite/Src'
>   srcDir 'JavaV2/Security/Src'
>   srcDir 'JavaV2/Shipping/Src'
>   srcDir 'JavaV2/Spring/Src'
>   srcDir 'JavaV2/Ui/Src'
>   exclude '**/doc-files/**'
>   exclude 'makefile'
>   exclude '**/makefile'
>     }



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

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

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



[jira] [Assigned] (NETBEANS-2277) Unable to load TLD

2019-05-10 Thread Nicola Isotta (JIRA)


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

Nicola Isotta reassigned NETBEANS-2277:
---

Assignee: Nicola Isotta

> Unable to load TLD
> --
>
> Key: NETBEANS-2277
> URL: https://issues.apache.org/jira/browse/NETBEANS-2277
> Project: NetBeans
>  Issue Type: Bug
>  Components: javaee - Web Project
>Affects Versions: 8.2, 11.0
> Environment: Windows 10, JDK 8, Netbeans 11.0 vc3
>Reporter: Nicola Isotta
>Assignee: Nicola Isotta
>Priority: Major
> Attachments: JSF12JSPBug.zip, netbeans-bug.jpg
>
>
> The issue affects Ant Web project, and appeared in version 8.2 (8.1 is the 
> last version I can use with this type of projects).
> !netbeans-bug.jpg|width=833,height=457!
> I've attached a zipped project affected by the bug, because I was not able to 
> reproduce the problem with a project created from scratch.
>  



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

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

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



[jira] [Created] (NETBEANS-2535) Pressed 'enter' on selected Intelligent text pop-up, exception thrown

2019-05-10 Thread Dave Hardcastle (JIRA)
Dave Hardcastle created NETBEANS-2535:
-

 Summary: Pressed 'enter' on selected Intelligent text pop-up, 
exception thrown
 Key: NETBEANS-2535
 URL: https://issues.apache.org/jira/browse/NETBEANS-2535
 Project: NetBeans
  Issue Type: Bug
  Components: cnd - Code Completion
Affects Versions: 11.0
 Environment: Debian Stretch
Reporter: Dave Hardcastle
 Attachments: IDE Log, UI Log

Pressed 'enter' on selected Intelligent text pop-up to select split(regex). 
Wording didn't appear on screen and exception thrown.

Managed to work around by manually typing required code. Still throwing 
exceptions a few times using this work-around.



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

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

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



[jira] [Created] (NETBEANS-2534) Add support for parsing / code completion of draft CSS properties

2019-05-10 Thread Pete Whelpton (JIRA)
Pete Whelpton created NETBEANS-2534:
---

 Summary: Add support for parsing / code completion of draft CSS 
properties
 Key: NETBEANS-2534
 URL: https://issues.apache.org/jira/browse/NETBEANS-2534
 Project: NetBeans
  Issue Type: Improvement
Reporter: Pete Whelpton


Browser vendors are now adding support for new CSS feature often whilst the CSS 
specification is still in its draft / experimental phase.  Netbeans needs to be 
able to support draft CSS properties / values, whilst making it obvious that 
those properties are in a *draft* state.

 

What I would propose:

1) The CSS module properties files 
netbeans/ide/css.editor/src/org/netbeans/modules/css/editor/module/main/properties/
 need some kind of flag, e.g. a tilde symbol ~ before each draft property to 
flag it

2) GrammarParser in the CSS Lib module needs to be aware of this symbol, and 
the parseElement method would then create a new DraftModuleProperty (or 
similarly named) class, or the existing Property class would have a isDraft 
boolean property added to it

3) Code Completion for CSS would be updated so that draft module properties / 
values used the spanner icon 
[https://github.com/apache/netbeans/blob/master/ide/web.common.ui/src/org/netbeans/modules/web/common/ui/resources/config-badge.gif]
 

As always, more than willing to help in any way possible



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

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

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



[jira] [Updated] (NETBEANS-2533) Update CSS browser compatibility help - include version number

2019-05-10 Thread Pete Whelpton (JIRA)


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

Pete Whelpton updated NETBEANS-2533:

Labels: browser css web  (was: )

> Update CSS browser compatibility help - include version number
> --
>
> Key: NETBEANS-2533
> URL: https://issues.apache.org/jira/browse/NETBEANS-2533
> Project: NetBeans
>  Issue Type: Improvement
>  Components: web - CSS Editor
>Reporter: Pete Whelpton
>Priority: Minor
>  Labels: browser, css, web
>
> PropertyCompatibilityHelpResolver.java parse the .properties files in:
> netbeans/ide/css.editor/src/org/netbeans/modules/css/editor/module/main/browsers/
>  
>  
> and then sets the appropriate browser icon (Safari, Chrome, Firefox etc.) as 
> active (colourful) or inactive (greyscale) in the Code Completion help 
> depending on whether or not the CSS property is found in each browsers 
> .property file.
>  
> The problems are:
> 1) These .properties files haven't been updated for a very long time, so 
> several properties show as not supported by browsers which have now supported 
> them for ages.
> 2) Unlike the old days, browsers are pretty quick to implement support, so a 
> straight forward supported/not-supported is not so useful now.  It would be 
> more useful to show which version of a browser support for a CSS feature was 
> implemented
> 3) These .properties files are also used to create browser specific version 
> of CSS properties e.g. -moz or -webkit properties.  As these files have not 
> been updated for a long time, Netbeans will not create a lot of browser 
> specific properties that are not available
>  
> My proposal is:
> 1) The properties files need updating with the latest support for each browser
> 2) Edge needs adding in - this should be a simple case of a new EdgeModule 
> class, icons, properties file
> 3) The supported version number for each CSS property should be part of the 
> .properties file.  The BrowserSpecificDefinitionParser class would need 
> updating to parse the properties file for these version numbers
> 4) PropertyCompatibilityHelpResolver.java would need updating to create an 
> extra row of HTML in the table containing the browser icons, with the 
> supported version number for the property in
>  
> The main thing holding me back is finding a good, reliable source of CSS 
> browser compatibility that is compatible with the Apache licence / not going 
> to cause copyright problems.  That seems to rule out MDN etc. and also the 
> web pages for each browser that Netbeans original compatibility information 
> was taken from no longer exist...



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

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

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



[jira] [Created] (NETBEANS-2533) Update CSS browser compatibility help - include version number

2019-05-10 Thread Pete Whelpton (JIRA)
Pete Whelpton created NETBEANS-2533:
---

 Summary: Update CSS browser compatibility help - include version 
number
 Key: NETBEANS-2533
 URL: https://issues.apache.org/jira/browse/NETBEANS-2533
 Project: NetBeans
  Issue Type: Improvement
  Components: web - CSS Editor
Reporter: Pete Whelpton


PropertyCompatibilityHelpResolver.java parse the .properties files in:

netbeans/ide/css.editor/src/org/netbeans/modules/css/editor/module/main/browsers/
 

 

and then sets the appropriate browser icon (Safari, Chrome, Firefox etc.) as 
active (colourful) or inactive (greyscale) in the Code Completion help 
depending on whether or not the CSS property is found in each browsers 
.property file.

 

The problems are:

1) These .properties files haven't been updated for a very long time, so 
several properties show as not supported by browsers which have now supported 
them for ages.

2) Unlike the old days, browsers are pretty quick to implement support, so a 
straight forward supported/not-supported is not so useful now.  It would be 
more useful to show which version of a browser support for a CSS feature was 
implemented

3) These .properties files are also used to create browser specific version of 
CSS properties e.g. -moz or -webkit properties.  As these files have not been 
updated for a long time, Netbeans will not create a lot of browser specific 
properties that are not available

 

My proposal is:

1) The properties files need updating with the latest support for each browser

2) Edge needs adding in - this should be a simple case of a new EdgeModule 
class, icons, properties file

3) The supported version number for each CSS property should be part of the 
.properties file.  The BrowserSpecificDefinitionParser class would need 
updating to parse the properties file for these version numbers

4) PropertyCompatibilityHelpResolver.java would need updating to create an 
extra row of HTML in the table containing the browser icons, with the supported 
version number for the property in

 

The main thing holding me back is finding a good, reliable source of CSS 
browser compatibility that is compatible with the Apache licence / not going to 
cause copyright problems.  That seems to rule out MDN etc. and also the web 
pages for each browser that Netbeans original compatibility information was 
taken from no longer exist...



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

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

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



[jira] [Updated] (NETBEANS-2532) Update CSS help

2019-05-10 Thread Pete Whelpton (JIRA)


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

Pete Whelpton updated NETBEANS-2532:

Labels: css help web  (was: )

> Update CSS help
> ---
>
> Key: NETBEANS-2532
> URL: https://issues.apache.org/jira/browse/NETBEANS-2532
> Project: NetBeans
>  Issue Type: Improvement
>  Components: web - CSS Editor
>Affects Versions: 11.0
>Reporter: Pete Whelpton
>Priority: Minor
>  Labels: css, help, web
>
> CSS help (as displayed in Code Completion help window) is derived from two 
> .zip files:
>  
> css21-spec.zip
> css3-spec.zip
>  
> which are downloaded from OSUOSL at build time.  The .zips contain the html 
> pages of the official CSS specs from the W3C website.  
>  
> Also, NB decides which zip to check by parsing the module URL in 
> DefaultCssEditorModule.java.  If the URL contains css3, then the 
> css3-spec.zip folder is search for the appropriate HTML page, otherwise the 
> css21-spec.zip is search.
>  
> There are three problems:
>  
> 1) Both of these .zip files contain really old versions of the specs!
> 2) W3C no longer put css3 in the URL of module web pages.  E.g. 
> [https://www.w3c.ord/TR/css3-values] is now 
> [https://www.w3c.org/TR/css-values-3/]
> 3) This logic doesn't take into account new modules that have started back at 
> Level 1 again, or new versions of existing modules that are now on Level 4
>  
> My proposal would be to create one .zip file of the latest versions of the 
> specs, update DefaultCssEditorModule.java with the current URLs for the specs 
> on the w3c site, and then have just one help resolver that parsed that one 
> .zip file.
>  
> I'd be happy to do a lot of this work - although I don't have access to 
> upload binaries to OSUOSL, so if somebody who does gets in touch we can get 
> cracking



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

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

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



svn commit: r33982 - in /dev/netbeans/netbeans-parent: ./ netbeans-parent-2/

2019-05-10 Thread skygo
Author: skygo
Date: Fri May 10 15:21:29 2019
New Revision: 33982

Log:
candidate for Apache NetBeans parent pom version 2

Added:
dev/netbeans/netbeans-parent/netbeans-parent-2/

dev/netbeans/netbeans-parent/netbeans-parent-2/netbeans-parent-2-source-release.zip
  - copied unchanged from r33981, 
dev/netbeans/netbeans-parent/netbeans-parent-2-source-release.zip

dev/netbeans/netbeans-parent/netbeans-parent-2/netbeans-parent-2-source-release.zip.asc
  - copied unchanged from r33981, 
dev/netbeans/netbeans-parent/netbeans-parent-2-source-release.zip.asc

dev/netbeans/netbeans-parent/netbeans-parent-2/netbeans-parent-2-source-release.zip.sha512
  - copied unchanged from r33981, 
dev/netbeans/netbeans-parent/netbeans-parent-2-source-release.zip.sha512
Removed:
dev/netbeans/netbeans-parent/netbeans-parent-2-source-release.zip
dev/netbeans/netbeans-parent/netbeans-parent-2-source-release.zip.asc
dev/netbeans/netbeans-parent/netbeans-parent-2-source-release.zip.sha512


-
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-2532) Update CSS help

2019-05-10 Thread Pete Whelpton (JIRA)
Pete Whelpton created NETBEANS-2532:
---

 Summary: Update CSS help
 Key: NETBEANS-2532
 URL: https://issues.apache.org/jira/browse/NETBEANS-2532
 Project: NetBeans
  Issue Type: Improvement
  Components: web - CSS Editor
Affects Versions: 11.0
Reporter: Pete Whelpton


CSS help (as displayed in Code Completion help window) is derived from two .zip 
files:

 

css21-spec.zip

css3-spec.zip

 

which are downloaded from OSUOSL at build time.  The .zips contain the html 
pages of the official CSS specs from the W3C website.  

 

Also, NB decides which zip to check by parsing the module URL in 
DefaultCssEditorModule.java.  If the URL contains css3, then the css3-spec.zip 
folder is search for the appropriate HTML page, otherwise the css21-spec.zip is 
search.

 

There are three problems:

 

1) Both of these .zip files contain really old versions of the specs!

2) W3C no longer put css3 in the URL of module web pages.  E.g. 
[https://www.w3c.ord/TR/css3-values] is now 
[https://www.w3c.org/TR/css-values-3/]

3) This logic doesn't take into account new modules that have started back at 
Level 1 again, or new versions of existing modules that are now on Level 4

 

My proposal would be to create one .zip file of the latest versions of the 
specs, update DefaultCssEditorModule.java with the current URLs for the specs 
on the w3c site, and then have just one help resolver that parsed that one .zip 
file.

 

I'd be happy to do a lot of this work - although I don't have access to upload 
binaries to OSUOSL, so if somebody who does gets in touch we can get 
cracking



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

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

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



svn commit: r33981 - in /dev/netbeans/netbeans-parent: ./ netbeans-parent-2-source-release.zip netbeans-parent-2-source-release.zip.asc netbeans-parent-2-source-release.zip.sha512

2019-05-10 Thread skygo
Author: skygo
Date: Fri May 10 15:17:11 2019
New Revision: 33981

Log:
candidate for Apache NetBeans parent pom version 2

Added:
dev/netbeans/netbeans-parent/
dev/netbeans/netbeans-parent/netbeans-parent-2-source-release.zip   (with 
props)
dev/netbeans/netbeans-parent/netbeans-parent-2-source-release.zip.asc   
(with props)
dev/netbeans/netbeans-parent/netbeans-parent-2-source-release.zip.sha512   
(with props)

Added: dev/netbeans/netbeans-parent/netbeans-parent-2-source-release.zip
==
Binary file - no diff available.

Propchange: dev/netbeans/netbeans-parent/netbeans-parent-2-source-release.zip
--
svn:executable = *

Propchange: dev/netbeans/netbeans-parent/netbeans-parent-2-source-release.zip
--
svn:mime-type = application/octet-stream

Added: dev/netbeans/netbeans-parent/netbeans-parent-2-source-release.zip.asc
==
--- dev/netbeans/netbeans-parent/netbeans-parent-2-source-release.zip.asc 
(added)
+++ dev/netbeans/netbeans-parent/netbeans-parent-2-source-release.zip.asc Fri 
May 10 15:17:11 2019
@@ -0,0 +1,16 @@
+-BEGIN PGP SIGNATURE-
+
+iQIzBAABCgAdFiEEj+HCbxXgMg50C67YSiYBztqTgvMFAlzVk6kACgkQSiYBztqT
+gvP1cA//YIO0MReTtNzfkHhhihbPuEJOxXmljyMRdmyUO3dmHV5qUBcsIub8VYyY
+3VeF+BNhHouVm0FcFDjEqc/kBzFjSpu+FrkTQQYKqUZRO5JnXHkGJdubC+dlvke/
+EXuak+qSHhcrnqfvlV+B3PAPAVlx7XwmY5GFQpZFLBJrmZk4mpOTHB5MtExxDGzn
+55M/eZf4zZBbDDsGgwsEcFSClcjcxjOIZXGKog7QjNdwFKe3LHvfCMC1y/9wh3je
+0wmLufyWOCxNhoE4IfrTbLM37QBX47GbQM08xhYsGnYr5lllqBCOK7jjT9LPsx4L
+jj6jmC+g2cCLMCqg44oUwtZYJ2DYNbVuf35c7yzEZ+W6uUO+g2HYLYucyG9OR4Yc
+wntouvVoTPyhnoNfBncrL6FOfLixyW4Mih/HTwMgDLQrEMtO+8koMSO0Gg3+aASc
+26LJRSY8Lo2z9+IT1HGCCuzcT3OWjQ2U0F4GcwnVIOJk14NThWF8/fbK63wK+BbU
+8vpSW2xDhVZ7EUmevddE/naVbX2htTVvLD8pMYRQyar5XEExqEmeYfD2pdqwxRaJ
+HLCL9OlzqG0nXyuNjCFQW5/8v6silKX7gkRgwvLs2A2dTBaShRLnNyavapZY1hTs
+M5Kl42RfCLDxdQA8c1KzYiDdE0hDOv4XYdwrmi2+ioDFlhPLJAc=
+=P01m
+-END PGP SIGNATURE-

Propchange: 
dev/netbeans/netbeans-parent/netbeans-parent-2-source-release.zip.asc
--
svn:executable = *

Added: dev/netbeans/netbeans-parent/netbeans-parent-2-source-release.zip.sha512
==
--- dev/netbeans/netbeans-parent/netbeans-parent-2-source-release.zip.sha512 
(added)
+++ dev/netbeans/netbeans-parent/netbeans-parent-2-source-release.zip.sha512 
Fri May 10 15:17:11 2019
@@ -0,0 +1 @@
+2d1200257bed2073d250b80e8f0371daf937595728d1d892b4fdebacab3ab5a2823c725a807f80379de3b3de61641e9123bea10a2ea2bf5f49fa537ccda6ff24
\ No newline at end of file

Propchange: 
dev/netbeans/netbeans-parent/netbeans-parent-2-source-release.zip.sha512
--
svn:executable = *



-
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-parent] annotated tag netbeans-parent-2 created (now fd3cf90)

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

skygo pushed a change to annotated tag netbeans-parent-2
in repository https://gitbox.apache.org/repos/asf/netbeans-parent.git.


  at fd3cf90  (tag)
 tagging f3957d486d48c56d177f4a4fac168fb4b5b9d188 (commit)
 replaces org-apache-netbeans-parent-1-vc1
  by Eric Barboni
  on Fri May 10 17:07:37 2019 +0200

- Log -
[maven-release-plugin] copy for tag netbeans-parent-2
---

No new revisions were added by this update.


-
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-parent] branch master updated: [maven-release-plugin] prepare for next development iteration

2019-05-10 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-parent.git


The following commit(s) were added to refs/heads/master by this push:
 new fd3c418  [maven-release-plugin] prepare for next development iteration
fd3c418 is described below

commit fd3c418d637a447d63e13b0adbf9d29eedf73df4
Author: Eric Barboni 
AuthorDate: Fri May 10 17:07:43 2019 +0200

[maven-release-plugin] prepare for next development iteration
---
 pom.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pom.xml b/pom.xml
index e366bf4..74c940b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -30,7 +30,7 @@ under the License.
 
 org.apache.netbeans
 netbeans-parent
-2
+3-SNAPSHOT
 pom
 
 Apache Netbeans
@@ -101,7 +101,7 @@ under the License.
 
scm:git:https://gitbox.apache.org/repos/asf/netbeans-parent.git
 
scm:git:https://gitbox.apache.org/repos/asf/netbeans-parent.git
 https://github.com/apache/netbeans-parent
-  netbeans-parent-2
+  HEAD
   
 
 jira


-
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-parent] branch master updated: [maven-release-plugin] prepare release netbeans-parent-2

2019-05-10 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-parent.git


The following commit(s) were added to refs/heads/master by this push:
 new f3957d4  [maven-release-plugin] prepare release netbeans-parent-2
f3957d4 is described below

commit f3957d486d48c56d177f4a4fac168fb4b5b9d188
Author: Eric Barboni 
AuthorDate: Fri May 10 17:07:22 2019 +0200

[maven-release-plugin] prepare release netbeans-parent-2
---
 pom.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pom.xml b/pom.xml
index c3edb6b..e366bf4 100644
--- a/pom.xml
+++ b/pom.xml
@@ -30,7 +30,7 @@ under the License.
 
 org.apache.netbeans
 netbeans-parent
-2-SNAPSHOT
+2
 pom
 
 Apache Netbeans
@@ -101,7 +101,7 @@ under the License.
 
scm:git:https://gitbox.apache.org/repos/asf/netbeans-parent.git
 
scm:git:https://gitbox.apache.org/repos/asf/netbeans-parent.git
 https://github.com/apache/netbeans-parent
-  HEAD
+  netbeans-parent-2
   
 
 jira


-
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-2531) Could not initialize JShell

2019-05-10 Thread Claudio Rosati (JIRA)
Claudio Rosati created NETBEANS-2531:


 Summary: Could not initialize JShell
 Key: NETBEANS-2531
 URL: https://issues.apache.org/jira/browse/NETBEANS-2531
 Project: NetBeans
  Issue Type: Bug
  Components: java - JShell
Affects Versions: 11.0
 Environment: macOS 10.14.4
openjdk version "12" 2019-03-19
OpenJDK Runtime Environment (build 12+33)
OpenJDK 64-Bit Server VM (build 12+33, mixed mode, sharing)

Reporter: Claudio Rosati


When I start JShell the following is written inside its window:


{code:java}
|  Could not initialize JShell: Launching JShell execution engine threw: Failed 
remote launch: java.util.concurrent.ExecutionException: 
com.sun.jdi.connect.VMStartException: VM initialization failed for: 
/Library/Java/JavaVirtualMachines/jdk-12.jdk/Contents/Home/bin/java -classpath 
/Applications/NetBeans/NetBeans 
11.app/Contents/Resources/NetBeans/java/modules/ext/nb-mod-jshell-probe.jar: 
-Xdebug -Xrunjdwp:transport=dt_socket,address=CI0011766:58368,suspend=y 
org.netbeans.lib.jshell.agent.AgentWorker 58367 @ com.sun.jdi.CommandLineLaunch 
(defaults: home=/Library/Java/JavaVirtualMachines/jdk-12.jdk/Contents/Home, 
options=, main=, suspend=true, quote=", vmexec=java) -- 
{home=home=/Library/Java/JavaVirtualMachines/jdk-12.jdk/Contents/Home, 
options=options=-classpath "/Applications/NetBeans/NetBeans 
11.app/Contents/Resources/NetBeans/java/modules/ext/nb-mod-jshell-probe.jar:", 
main=main=org.netbeans.lib.jshell.agent.AgentWorker 58367, 
suspend=suspend=true, quote=quote=", vmexec=vmexec=java}
|   caused by: Failed remote launch: 
java.util.concurrent.ExecutionException: com.sun.jdi.connect.VMStartException: 
VM initialization failed for: 
/Library/Java/JavaVirtualMachines/jdk-12.jdk/Contents/Home/bin/java -classpath 
/Applications/NetBeans/NetBeans 
11.app/Contents/Resources/NetBeans/java/modules/ext/nb-mod-jshell-probe.jar: 
-Xdebug -Xrunjdwp:transport=dt_socket,address=CI0011766:58368,suspend=y 
org.netbeans.lib.jshell.agent.AgentWorker 58367 @ com.sun.jdi.CommandLineLaunch 
(defaults: home=/Library/Java/JavaVirtualMachines/jdk-12.jdk/Contents/Home, 
options=, main=, suspend=true, quote=", vmexec=java) -- 
{home=home=/Library/Java/JavaVirtualMachines/jdk-12.jdk/Contents/Home, 
options=options=-classpath "/Applications/NetBeans/NetBeans 
11.app/Contents/Resources/NetBeans/java/modules/ext/nb-mod-jshell-probe.jar:", 
main=main=org.netbeans.lib.jshell.agent.AgentWorker 58367, 
suspend=suspend=true, quote=quote=", vmexec=vmexec=java}
|   caused by: com.sun.jdi.connect.VMStartException: VM initialization 
failed for: /Library/Java/JavaVirtualMachines/jdk-12.jdk/Contents/Home/bin/java 
-classpath /Applications/NetBeans/NetBeans 
11.app/Contents/Resources/NetBeans/java/modules/ext/nb-mod-jshell-probe.jar: 
-Xdebug -Xrunjdwp:transport=dt_socket,address=CI0011766:58368,suspend=y 
org.netbeans.lib.jshell.agent.AgentWorker 58367
|   caused by: VM initialization failed for: 
/Library/Java/JavaVirtualMachines/jdk-12.jdk/Contents/Home/bin/java -classpath 
/Applications/NetBeans/NetBeans 
11.app/Contents/Resources/NetBeans/java/modules/ext/nb-mod-jshell-probe.jar: 
-Xdebug -Xrunjdwp:transport=dt_socket,address=CI0011766:58368,suspend=y 
org.netbeans.lib.jshell.agent.AgentWorker 58367


-> 
{code}




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

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

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



[jira] [Updated] (NETBEANS-2530) Optimize GrammarParser.java in CSS Lib module

2019-05-10 Thread Pete Whelpton (JIRA)


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

Pete Whelpton updated NETBEANS-2530:

Labels: css performance web  (was: css performance)

> Optimize GrammarParser.java in CSS Lib module
> -
>
> Key: NETBEANS-2530
> URL: https://issues.apache.org/jira/browse/NETBEANS-2530
> Project: NetBeans
>  Issue Type: Improvement
>  Components: web - CSS Editor
>Affects Versions: 11.0
>Reporter: Pete Whelpton
>Priority: Major
>  Labels: css, performance, web
>
> Trying to bring the CSS module grammar (the .properties files in the CSS 
> Editor module) up to date causes severe performance issues in NB due to the 
> recursive nature of the parseElements() method of the GrammarParser class.
>  
> 1) Recursive grammar (such as that of the calc() function in css) will cause 
> a stack overflow as parseElements() will keep calling itself to resolve 
> references until the stack is blown
> 2) Not using recursive grammar will still cause major performance issues will 
> more than 1/2 levels of references, as memory gets eaten due to the 
> parseElements() method not having a cache (e.g. it will call itself to try 
> and resolve a reference it has already resolved previously, doing a lot of 
> unnecessary work).  In its current implementation it can blow the Java heap.
>  
> I have grammar pretty much ready to go to implement CSS Values and Modules 
> function in NB (e.g. proper implementation of calc(), min(), max(), attr() 
> etc.), and have got 2) to be less of an issue by using a HashMap to cached 
> reference properties so they don't get resolved again.  Performance is still 
> "stutery" at best - at NB memory still gets used up, but then reclaimed by 
> the GC.  Could really use some help properly optimizing this class.
>  
> I think this should be fairly straightforward for somebody who knows what 
> they are doing!  I'd love to help bring CSS support up to date!



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

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

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



[jira] [Updated] (NETBEANS-2530) Optimize GrammarParser.java in CSS Lib module

2019-05-10 Thread Pete Whelpton (JIRA)


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

Pete Whelpton updated NETBEANS-2530:

Labels: css performance  (was: )

> Optimize GrammarParser.java in CSS Lib module
> -
>
> Key: NETBEANS-2530
> URL: https://issues.apache.org/jira/browse/NETBEANS-2530
> Project: NetBeans
>  Issue Type: Improvement
>  Components: web - CSS Editor
>Affects Versions: 11.0
>Reporter: Pete Whelpton
>Priority: Major
>  Labels: css, performance
>
> Trying to bring the CSS module grammar (the .properties files in the CSS 
> Editor module) up to date causes severe performance issues in NB due to the 
> recursive nature of the parseElements() method of the GrammarParser class.
>  
> 1) Recursive grammar (such as that of the calc() function in css) will cause 
> a stack overflow as parseElements() will keep calling itself to resolve 
> references until the stack is blown
> 2) Not using recursive grammar will still cause major performance issues will 
> more than 1/2 levels of references, as memory gets eaten due to the 
> parseElements() method not having a cache (e.g. it will call itself to try 
> and resolve a reference it has already resolved previously, doing a lot of 
> unnecessary work).  In its current implementation it can blow the Java heap.
>  
> I have grammar pretty much ready to go to implement CSS Values and Modules 
> function in NB (e.g. proper implementation of calc(), min(), max(), attr() 
> etc.), and have got 2) to be less of an issue by using a HashMap to cached 
> reference properties so they don't get resolved again.  Performance is still 
> "stutery" at best - at NB memory still gets used up, but then reclaimed by 
> the GC.  Could really use some help properly optimizing this class.
>  
> I think this should be fairly straightforward for somebody who knows what 
> they are doing!  I'd love to help bring CSS support up to date!



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

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

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



[jira] [Created] (NETBEANS-2530) Optimize GrammarParser.java in CSS Lib module

2019-05-10 Thread Pete Whelpton (JIRA)
Pete Whelpton created NETBEANS-2530:
---

 Summary: Optimize GrammarParser.java in CSS Lib module
 Key: NETBEANS-2530
 URL: https://issues.apache.org/jira/browse/NETBEANS-2530
 Project: NetBeans
  Issue Type: Improvement
  Components: web - CSS Editor
Affects Versions: 11.0
Reporter: Pete Whelpton


Trying to bring the CSS module grammar (the .properties files in the CSS Editor 
module) up to date causes severe performance issues in NB due to the recursive 
nature of the parseElements() method of the GrammarParser class.

 

1) Recursive grammar (such as that of the calc() function in css) will cause a 
stack overflow as parseElements() will keep calling itself to resolve 
references until the stack is blown

2) Not using recursive grammar will still cause major performance issues will 
more than 1/2 levels of references, as memory gets eaten due to the 
parseElements() method not having a cache (e.g. it will call itself to try and 
resolve a reference it has already resolved previously, doing a lot of 
unnecessary work).  In its current implementation it can blow the Java heap.

 

I have grammar pretty much ready to go to implement CSS Values and Modules 
function in NB (e.g. proper implementation of calc(), min(), max(), attr() 
etc.), and have got 2) to be less of an issue by using a HashMap to cached 
reference properties so they don't get resolved again.  Performance is still 
"stutery" at best - at NB memory still gets used up, but then reclaimed by the 
GC.  Could really use some help properly optimizing this class.

 

I think this should be fairly straightforward for somebody who knows what they 
are doing!  I'd love to help bring CSS support up to date!



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

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

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



[jira] [Commented] (NETBEANS-2525) Background Scanning Process for first NetBeans start took more than 15min

2019-05-10 Thread Christian Lenz (JIRA)


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

Christian Lenz commented on NETBEANS-2525:
--

For me yes because I often work/play in parallel and don't want to open/close 
my projects over and over again. And it makes me remembering of that, what I 
wanted to work on. This is my use case and as far as I discussed such topic, I 
can remember a lot of other people they worked like this way too, they opened 
way more projects and say: "Well I opened over 50 projects and more, and it is 
still fast". So this is not a corner case. And NetBeans still has this 
functionality to open multiple projects at the same time. IntelliJ added this 
feature too while NetBeans still has it right from the beginning of the ara.

> Background Scanning Process for first NetBeans start took more than 15min
> -
>
> Key: NETBEANS-2525
> URL: https://issues.apache.org/jira/browse/NETBEANS-2525
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - Performance
>Affects Versions: 11.0
> Environment: Product Version: Apache NetBeans IDE 11.0 (Build 
> incubator-netbeans-release-404-on-20190319)
> Java: 11.0.2; Java HotSpot(TM) 64-Bit Server VM 11.0.2+9-LTS
> Runtime: Java(TM) SE Runtime Environment 11.0.2+9-LTS
> System: Windows 10 version 10.0 running on amd64; Cp1252; de_DE (nb)
> User directory: C:\Users\Chrl\AppData\Roaming\NetBeans\11.0
> Cache directory: C:\Users\Chrl\AppData\Local\NetBeans\Cache\11.0
>Reporter: Christian Lenz
>Priority: Critical
>  Labels: performance
>
> Steps to reproduce:
> * Open NetBeans 11.0 for the very first time
> * Choose yes to import settings from NetBeans 10.0 (No plugins, just settings)
> * After NetBeans opens, It imported 33 projects from my old NetBeans instance.
> * Install nb-javac.
> * It opens the projects.
> * Background scanning comes ups, need couple of minutes
> * Because of some HTML5 projects, Oracle JS Parser implementation installer 
> comes up
> * Install Oracle JS Parser Implementation.
> * After first background scanning is finished the next one is coming up and 
> takes even longer.
> * Waiting until everything is finish. Round about 15-17 min.
> I added a heap dump, created via Visual VM (In case of sensitive data, I 
> removed the link, please give me a private link where I can upload it.
> No I don't want to not use importing settings. First it is possible and 
> needed and second because it is not a real world case. I want my settings 
> from my old IDE and all my opened projects. I don't want to import/open them 
> one after one again, this is not a use case. And I don't want to make the 
> settings again and again, switching to a new version. Of course it will not 
> running as long as I open NetBeans w/o importing settings and opening all 
> projects but again this doesn't make sense.
> My projects are:
> * 5 Maven
> * 1 PHP
> * 4 HTML5
> * 14 Ant based NetBeans modules (Some 3rd-party, some from the Core)
> * 8 Maven based NetBeans modules (all 3rd-party)
> * 1 NetBeans Module suite project
> What information do you need more? I will add the messages.log too, but I 
> need to clean up my user dir again, because I opened NetBeans after the 
> profiling again.



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

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

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



[netbeans-mavenutils-nbm-maven-plugin] branch master updated: add Jenkinsfile

2019-05-10 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-mavenutils-nbm-maven-plugin.git


The following commit(s) were added to refs/heads/master by this push:
 new 021a635  add Jenkinsfile
021a635 is described below

commit 021a63525add5a3f19de8e6518ac7660dbb96db5
Author: Eric Barboni 
AuthorDate: Fri May 10 15:29:26 2019 +0200

add Jenkinsfile
---
 Jenkinsfile.groovy | 20 
 1 file changed, 20 insertions(+)

diff --git a/Jenkinsfile.groovy b/Jenkinsfile.groovy
new file mode 100644
index 000..ffe6c38
--- /dev/null
+++ b/Jenkinsfile.groovy
@@ -0,0 +1,20 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+asfStandardBuild()
\ No newline at end of file


-
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-mavenutils-nb-repository-plugin] branch master updated: add Jenkinsfile

2019-05-10 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-mavenutils-nb-repository-plugin.git


The following commit(s) were added to refs/heads/master by this push:
 new 1445789  add Jenkinsfile
1445789 is described below

commit 144578940b29565efd832f540a21499dfaeea3cd
Author: Eric Barboni 
AuthorDate: Fri May 10 15:28:54 2019 +0200

add Jenkinsfile
---
 Jenkinsfile.groovy | 20 
 1 file changed, 20 insertions(+)

diff --git a/Jenkinsfile.groovy b/Jenkinsfile.groovy
new file mode 100644
index 000..ffe6c38
--- /dev/null
+++ b/Jenkinsfile.groovy
@@ -0,0 +1,20 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+asfStandardBuild()
\ No newline at end of file


-
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-mavenutils-archetype-nbm-archetype] branch master updated: add Jenkinsfile

2019-05-10 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-mavenutils-archetype-nbm-archetype.git


The following commit(s) were added to refs/heads/master by this push:
 new f1aceb0  add Jenkinsfile
f1aceb0 is described below

commit f1aceb0f372b9b929433f7b19118bbeeae86fbad
Author: Eric Barboni 
AuthorDate: Fri May 10 15:34:59 2019 +0200

add Jenkinsfile
---
 Jenkinsfile.groovy | 20 
 1 file changed, 20 insertions(+)

diff --git a/Jenkinsfile.groovy b/Jenkinsfile.groovy
new file mode 100644
index 000..ffe6c38
--- /dev/null
+++ b/Jenkinsfile.groovy
@@ -0,0 +1,20 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+asfStandardBuild()
\ No newline at end of file


-
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-mavenutils-archetype-nbm-suite-root] branch master updated: add Jenkinsfile

2019-05-10 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-mavenutils-archetype-nbm-suite-root.git


The following commit(s) were added to refs/heads/master by this push:
 new d5b7cd4  add Jenkinsfile
d5b7cd4 is described below

commit d5b7cd4d4a044e7f37104d2b51a0ce8ead49c211
Author: Eric Barboni 
AuthorDate: Fri May 10 15:34:26 2019 +0200

add Jenkinsfile
---
 Jenkinsfile.groovy | 20 
 1 file changed, 20 insertions(+)

diff --git a/Jenkinsfile.groovy b/Jenkinsfile.groovy
new file mode 100644
index 000..ffe6c38
--- /dev/null
+++ b/Jenkinsfile.groovy
@@ -0,0 +1,20 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+asfStandardBuild()
\ No newline at end of file


-
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-mavenutils-archetype-netbeans-platform-app-archetype] branch master updated: add Jenkinsfile

2019-05-10 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-mavenutils-archetype-netbeans-platform-app-archetype.git


The following commit(s) were added to refs/heads/master by this push:
 new b625052  add Jenkinsfile
b625052 is described below

commit b6250525ec12e765bab7107710e4a4c6e6cf73ad
Author: Eric Barboni 
AuthorDate: Fri May 10 15:34:03 2019 +0200

add Jenkinsfile
---
 Jenkinsfile.groovy | 20 
 1 file changed, 20 insertions(+)

diff --git a/Jenkinsfile.groovy b/Jenkinsfile.groovy
new file mode 100644
index 000..ffe6c38
--- /dev/null
+++ b/Jenkinsfile.groovy
@@ -0,0 +1,20 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+asfStandardBuild()
\ No newline at end of file


-
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-2525) Background Scanning Process for first NetBeans start took more than 15min

2019-05-10 Thread Geertjan Wielenga (JIRA)


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

Geertjan Wielenga commented on NETBEANS-2525:
-

Is it practical to have that many projects open all at the same time?

> Background Scanning Process for first NetBeans start took more than 15min
> -
>
> Key: NETBEANS-2525
> URL: https://issues.apache.org/jira/browse/NETBEANS-2525
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - Performance
>Affects Versions: 11.0
> Environment: Product Version: Apache NetBeans IDE 11.0 (Build 
> incubator-netbeans-release-404-on-20190319)
> Java: 11.0.2; Java HotSpot(TM) 64-Bit Server VM 11.0.2+9-LTS
> Runtime: Java(TM) SE Runtime Environment 11.0.2+9-LTS
> System: Windows 10 version 10.0 running on amd64; Cp1252; de_DE (nb)
> User directory: C:\Users\Chrl\AppData\Roaming\NetBeans\11.0
> Cache directory: C:\Users\Chrl\AppData\Local\NetBeans\Cache\11.0
>Reporter: Christian Lenz
>Priority: Critical
>  Labels: performance
>
> Steps to reproduce:
> * Open NetBeans 11.0 for the very first time
> * Choose yes to import settings from NetBeans 10.0 (No plugins, just settings)
> * After NetBeans opens, It imported 33 projects from my old NetBeans instance.
> * Install nb-javac.
> * It opens the projects.
> * Background scanning comes ups, need couple of minutes
> * Because of some HTML5 projects, Oracle JS Parser implementation installer 
> comes up
> * Install Oracle JS Parser Implementation.
> * After first background scanning is finished the next one is coming up and 
> takes even longer.
> * Waiting until everything is finish. Round about 15-17 min.
> I added a heap dump, created via Visual VM (In case of sensitive data, I 
> removed the link, please give me a private link where I can upload it.
> No I don't want to not use importing settings. First it is possible and 
> needed and second because it is not a real world case. I want my settings 
> from my old IDE and all my opened projects. I don't want to import/open them 
> one after one again, this is not a use case. And I don't want to make the 
> settings again and again, switching to a new version. Of course it will not 
> running as long as I open NetBeans w/o importing settings and opening all 
> projects but again this doesn't make sense.
> My projects are:
> * 5 Maven
> * 1 PHP
> * 4 HTML5
> * 14 Ant based NetBeans modules (Some 3rd-party, some from the Core)
> * 8 Maven based NetBeans modules (all 3rd-party)
> * 1 NetBeans Module suite project
> What information do you need more? I will add the messages.log too, but I 
> need to clean up my user dir again, because I opened NetBeans after the 
> profiling again.



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

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

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



[netbeans-mavenutils-nbm-maven-harness] branch master updated: add Jenkinsfile

2019-05-10 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-mavenutils-nbm-maven-harness.git


The following commit(s) were added to refs/heads/master by this push:
 new 80f5661  add Jenkinsfile
80f5661 is described below

commit 80f566155314be2bbca26f90c1e06ce24c45d87d
Author: Eric Barboni 
AuthorDate: Fri May 10 15:27:19 2019 +0200

add Jenkinsfile
---
 Jenkinsfile.groovy | 20 
 1 file changed, 20 insertions(+)

diff --git a/Jenkinsfile.groovy b/Jenkinsfile.groovy
new file mode 100644
index 000..ffe6c38
--- /dev/null
+++ b/Jenkinsfile.groovy
@@ -0,0 +1,20 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+asfStandardBuild()
\ No newline at end of file


-
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-mavenutils-nbm-shared] branch master updated: add Jenkinsfile

2019-05-10 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-mavenutils-nbm-shared.git


The following commit(s) were added to refs/heads/master by this push:
 new c97d70a  add Jenkinsfile
c97d70a is described below

commit c97d70ac555bd7045fc01769dbcb1d0c3b25ed00
Author: Eric Barboni 
AuthorDate: Fri May 10 15:26:13 2019 +0200

add Jenkinsfile
---
 Jenkinsfile.groovy | 20 
 1 file changed, 20 insertions(+)

diff --git a/Jenkinsfile.groovy b/Jenkinsfile.groovy
new file mode 100644
index 000..ffe6c38
--- /dev/null
+++ b/Jenkinsfile.groovy
@@ -0,0 +1,20 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+asfStandardBuild()
\ No newline at end of file


-
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-webskin] branch master updated: add Jenkinsfile

2019-05-10 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-webskin.git


The following commit(s) were added to refs/heads/master by this push:
 new fdc77ae  add Jenkinsfile
fdc77ae is described below

commit fdc77ae36ad2605615209548cb04437e93950556
Author: Eric Barboni 
AuthorDate: Fri May 10 15:23:50 2019 +0200

add Jenkinsfile
---
 Jenkinsfile.groovy | 20 
 1 file changed, 20 insertions(+)

diff --git a/Jenkinsfile.groovy b/Jenkinsfile.groovy
new file mode 100644
index 000..ffe6c38
--- /dev/null
+++ b/Jenkinsfile.groovy
@@ -0,0 +1,20 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+asfStandardBuild()
\ No newline at end of file


-
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-mavenutils-parent] branch master updated: add Jenkinsfile

2019-05-10 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-mavenutils-parent.git


The following commit(s) were added to refs/heads/master by this push:
 new b4da0d1  add Jenkinsfile
b4da0d1 is described below

commit b4da0d11f8c60abd896e7789ebaafd3aa5fe2be1
Author: Eric Barboni 
AuthorDate: Fri May 10 15:25:46 2019 +0200

add Jenkinsfile
---
 Jenkinsfile.groovy | 20 
 1 file changed, 20 insertions(+)

diff --git a/Jenkinsfile.groovy b/Jenkinsfile.groovy
new file mode 100644
index 000..ffe6c38
--- /dev/null
+++ b/Jenkinsfile.groovy
@@ -0,0 +1,20 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+asfStandardBuild()
\ No newline at end of file


-
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-html4j] branch ebarboni-patch-1-jenkinfile created (now d644858)

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

skygo pushed a change to branch ebarboni-patch-1-jenkinfile
in repository https://gitbox.apache.org/repos/asf/netbeans-html4j.git.


  at d644858  Create Jenkinsfile.groovy

This branch includes the following new commits:

 new d644858  Create Jenkinsfile.groovy

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-html4j] 01/01: Create Jenkinsfile.groovy

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

skygo pushed a commit to branch ebarboni-patch-1-jenkinfile
in repository https://gitbox.apache.org/repos/asf/netbeans-html4j.git

commit d64485870f46d795b4d037a06dada9bdab7c4234
Author: Eric Barboni 
AuthorDate: Fri May 10 15:16:26 2019 +0200

Create Jenkinsfile.groovy

This will use a standard way of doing mvn clean deploy on the 
netbeans-maven-TLP job in NetBeans
- .groovy mandatory as I want NetBeans to colorize
---
 Jenkinsfile.groovy | 20 
 1 file changed, 20 insertions(+)

diff --git a/Jenkinsfile.groovy b/Jenkinsfile.groovy
new file mode 100644
index 000..cc8f78d
--- /dev/null
+++ b/Jenkinsfile.groovy
@@ -0,0 +1,20 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+asfStandardBuild()


-
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-parent] branch master updated: add Jenkinsfile

2019-05-10 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-parent.git


The following commit(s) were added to refs/heads/master by this push:
 new 895199b  add Jenkinsfile
895199b is described below

commit 895199bca9738e2db268e3927398c1ec89431e35
Author: Eric Barboni 
AuthorDate: Fri May 10 15:02:36 2019 +0200

add Jenkinsfile
---
 Jenkinsfile.groovy | 20 
 1 file changed, 20 insertions(+)

diff --git a/Jenkinsfile.groovy b/Jenkinsfile.groovy
new file mode 100644
index 000..ffe6c38
--- /dev/null
+++ b/Jenkinsfile.groovy
@@ -0,0 +1,20 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+asfStandardBuild()
\ No newline at end of file


-
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 created (now 35d41df)

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

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


  at 35d41df  Initial commit copy deeply inspired by Apache Archiva

This branch includes the following new commits:

 new 35d41df  Initial commit copy deeply inspired by Apache Archiva

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-jenkins-lib] 01/01: Initial commit copy deeply inspired by Apache Archiva

2019-05-10 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

commit 35d41dfe30d91bd1b41f894f3b91c9a849f9255f
Author: Eric Barboni 
AuthorDate: Fri May 10 14:49:56 2019 +0200

Initial commit copy deeply inspired by Apache Archiva
---
 README   |   1 +
 vars/asfStandardBuild.groovy | 134 +++
 2 files changed, 135 insertions(+)

diff --git a/README b/README
new file mode 100644
index 000..7af3655
--- /dev/null
+++ b/README
@@ -0,0 +1 @@
+Shared Jenkins pipeline for Apache NetBeans Maven related builds
diff --git a/vars/asfStandardBuild.groovy b/vars/asfStandardBuild.groovy
new file mode 100644
index 000..072399e
--- /dev/null
+++ b/vars/asfStandardBuild.groovy
@@ -0,0 +1,134 @@
+#!groovy
+
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+// this script is taken from olamy works on archiva-jenkins-lib for the Apache 
Archiva project
+def call(Map params = [:]) {
+// Faster build and reduces IO needs
+properties([
+disableConcurrentBuilds(),
+durabilityHint('PERFORMANCE_OPTIMIZED'),
+buildDiscarder(logRotator(numToKeepStr: '5', artifactNumToKeepStr: 
'3'))
+])
+
+// now determine 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":"clean install")
+def mvnName = params.containsKey('mvnName') ? params.mvnName : 'Maven 
3.5.2'
+
+
+def defaultPublishers = [artifactsPublisher(disabled: false), 
junitPublisher(ignoreAttachments: false, disabled: false),
+findbugsPublisher(disabled: true), openTasksPublisher(disabled: true),
+dependenciesFingerprintPublisher(disabled: false), 
invokerPublisher(disabled: true),
+pipelineGraphPublisher(disabled: false), 
mavenLinkerPublisher(disabled: false)]
+
+def publishers = params.containsKey('publishers') ? params.publishers : 
defaultPublishers
+
+
+pipeline {
+agent any
+stages{
+stage("Build"){
+agent { node { label 'ubuntu' } }
+options { timeout(time: 120, unit: 'MINUTES') }
+steps{
+mavenBuild( jdk, cmdline, mvnName, publishers)
+}
+}
+}
+post {
+always {
+cleanWs() // deleteDirs: true, notFailBuild: true, patterns: 
[[pattern: '**/.repository/**', type: 'INCLUDE']]
+}
+unstable {
+script{
+notifyBuild( "Unstable Build ")
+}
+}
+failure {
+script{
+notifyBuild( "Error in build ")
+}
+}
+success {
+script {
+def previousResult = currentBuild.previousBuild?.result
+if (previousResult && 
!currentBuild.resultIsWorseOrEqualTo( previousResult ) ) {
+notifyBuild( "Fixed" )
+}
+}
+}
+}
+}
+}
+
+/**
+ * To other developers, if you are using this method above, please use the 
following syntax.
+ *
+ * mavenBuild("", "   "
+ *
+ * @param jdk the jdk tool name (in jenkins) to use for this build
+ * @param cmdline the command line in "  "`format.
+ * @paran mvnName maven installation to use
+ * @param publishers array of publishers to configure (need to be defined as 
we publisherStrategy: 'EXPLICIT')
+ * @return the Jenkinsfile step representing a maven build
+ */
+def mavenBuild(jdk, cmdline, mvnName, publishers) {
+def localRepo = "../.maven_repositories/${env.EXECUTOR_NUMBER}" // 
".repository" //
+//def settingsName = 'archiva-uid-jenkins'
+def mavenOpts = '-Xms1g -Xmx4g -Djava.awt.headless=true'
+
+withMaven(
+maven: mvnName,
+jdk: "$jdk",
+options: publishers,
+publisherStrategy: 

[jira] [Commented] (NETBEANS-2455) Splash screens for development version

2019-05-10 Thread Eirik Bakke (JIRA)


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

Eirik Bakke commented on NETBEANS-2455:
---

Just beware that the splash screen is the software's main branding asset--so 
any visual changes to it should involve a graphic designer (like David) if 
possible.

> Splash screens for development version
> --
>
> Key: NETBEANS-2455
> URL: https://issues.apache.org/jira/browse/NETBEANS-2455
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - UI
>Reporter: Junichi Yamamoto
>Assignee: Antonio Vieiro
>Priority: Major
>  Labels: pull-request-available
> Attachments: Simplified Splash Screen with example version text.svg, 
> Simplified Splash Screen without version text.svg, Simplified Splash 
> Screen.ai, apache-netbeans-splash.png, apache-netbeans-splash.svg, 
> image-2019-05-10-05-51-46-560.png, netbeans-logo-notext.svg, 
> netbeans-logo-text.svg, splash.png
>
>  Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> Currently, the version of the splash screen is 10 in the master branch. So we 
> should fix it (e.g. Dev., Development Version, ...).



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

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

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



[jira] [Commented] (NETBEANS-2455) Splash screens for development version

2019-05-10 Thread Antonio Vieiro (JIRA)


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

Antonio Vieiro commented on NETBEANS-2455:
--

{quote}_OK, so if I understand right, the font upload is for the build system 
only, not for the IDE to load at runtime._
{quote}
Yes, we're using it in the build system only.
{quote}Still, the font is not needed, because once the outlined logo lockup SVG 
is generated, there should never be a need to change the appearance text in the 
logo; it always says "Apache NetBeans", in whatever way we decide on here. 
(Unless people really want the major version number to be part of the logo, 
e.g. "Apache NetBeans 11".) Consider for example 
[Microsoft's|https://venturebeat.com/wp-content/uploads/2018/07/microsoft-logo.jpg?w=930=all]
 logo lockup: while it's _based_ on the font Segoe, there are additional tweaks 
made to it, like adjusting the tracking, and joining the "f" and the "t" at the 
end. This is something a designer does once--subsequently the text "Microsoft" 
is treated as constant vector graphics rather than a string of text that is 
generated from the original font.
{quote}
*The people really want the major version number to be part of the splash 
screen. This Jira ticket is for the splash screen, not the logo. That's in the 
title of the Jira ticket. That's the reason why this Jira ticket was opened.* 

*The objective of this Jira ticket is to add the number using the proper 
Montserrat font on the splash screen. That's the reason why we need the 
Montserrat font at build time.*

I hope this is clear now.

Cheers,
Antonio

> Splash screens for development version
> --
>
> Key: NETBEANS-2455
> URL: https://issues.apache.org/jira/browse/NETBEANS-2455
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - UI
>Reporter: Junichi Yamamoto
>Assignee: Antonio Vieiro
>Priority: Major
>  Labels: pull-request-available
> Attachments: Simplified Splash Screen with example version text.svg, 
> Simplified Splash Screen without version text.svg, Simplified Splash 
> Screen.ai, apache-netbeans-splash.png, apache-netbeans-splash.svg, 
> image-2019-05-10-05-51-46-560.png, netbeans-logo-notext.svg, 
> netbeans-logo-text.svg, splash.png
>
>  Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> Currently, the version of the splash screen is 10 in the master branch. So we 
> should fix it (e.g. Dev., Development Version, ...).



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

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

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



[jira] [Commented] (NETBEANS-2509) Unable to connect to docker via socket

2019-05-10 Thread Bartosz Tomasik (JIRA)


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

Bartosz Tomasik commented on NETBEANS-2509:
---

[~abmodi] you probably missed that I've already opened PR with fix for this at 
10th May (see links to section)

> Unable to connect to docker via socket
> --
>
> Key: NETBEANS-2509
> URL: https://issues.apache.org/jira/browse/NETBEANS-2509
> Project: NetBeans
>  Issue Type: Bug
>  Components: docker - UI
>Affects Versions: 11.0
>Reporter: Bartosz Tomasik
>Assignee: Abhishek Modi
>Priority: Minor
>  Labels: pull-request-available
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> "Add Docker instance" dialog ismissing option to connect via unix socket.
> This is probably due to following lines commented out: 
> [https://github.com/apache/netbeans/blame/master/ide/docker.api/src/org/netbeans/modules/docker/api/DockerSupport.java#L133-L137]



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

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

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



[jira] [Assigned] (NETBEANS-2521) Gradle could not determine java version from '11.0.2'.

2019-05-10 Thread Laszlo Kishalmi (JIRA)


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

Laszlo Kishalmi reassigned NETBEANS-2521:
-

Assignee: Laszlo Kishalmi

> Gradle could not determine java version from '11.0.2'.
> --
>
> Key: NETBEANS-2521
> URL: https://issues.apache.org/jira/browse/NETBEANS-2521
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Gradle
>Affects Versions: 11.0
> Environment: Elementary OS 5.0 (Based on Ubuntu 18.04)
>Reporter: Diego Villablanca
>Assignee: Laszlo Kishalmi
>Priority: Major
>  Labels: build
>
> Trying to migrate a maven project to gradle, I ran by command line "gradle 
> init" in my maven project root directory, then closed the project 
> (Multiproject in maven) and its modules, then openned it again and NetBeans 
> showed the gradle icon in my project window.
> I executed the option by netbeans "clean and build" in my root project 
> (parent).
> *Installed Java version:*
> _java version "11.0.2" 2019-01-15 LTS_
>  _Java(TM) SE Runtime Environment 18.9 (build 11.0.2+9-LTS)_
>  _Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.2+9-LTS, mixed mode)_
> *Netbeans Embeded Gradle Version:*
> 4.4.1
> 4.10.2
> 5.4.1
> *Installed Gradle Version:*
> WARNING: An illegal reflective access operation has occurred
>  WARNING: Illegal reflective access by 
> org.codehaus.groovy.reflection.CachedClass 
> ([file:/usr/share/java/groovy-all.jar|file:///usr/share/java/groovy-all.jar]) 
> to method java.lang.Object.finalize()
>  WARNING: Please consider reporting this to the maintainers of 
> org.codehaus.groovy.reflection.CachedClass
>  WARNING: Use --illegal-access=warn to enable warnings of further illegal 
> reflective access operations
>  WARNING: All illegal access operations will be denied in a future release
> 
>  _Gradle 4.4.1_
>  
> _Build time:   2012-12-21 00:00:00 UTC_
>  _Revision: none_
> _Groovy:   2.4.16_
>  _Ant:  Apache Ant(TM) version 1.10.5 compiled on March 28 2019_
>  _JVM:  11.0.2 (Oracle Corporation 11.0.2+9-LTS)_
>  _OS:   Linux 4.15.0-48-generic amd64_
> *Netbeans Output Windows logs:*
>  JAVA_HOME="/opt/jdk-11.0.2"
>  cd /home/dvillablanca/NetBeansProjects/prototipo-tcg; ./gradlew 
> --configure-on-demand -x check clean build
> *Exception:*
> java.lang.IllegalArgumentException: Could not determine java version from 
> '11.0.2'.
>      at org.gradle.api.JavaVersion.toVersion(JavaVersion.java:72)
>      at org.gradle.api.JavaVersion.current(JavaVersion.java:82)
>      at 
> org.gradle.internal.nativeintegration.services.NativeServices.createFileMetadataAccessor(NativeServices.java:253)
>      at 
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>      at 
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>      at 
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>      at java.base/java.lang.reflect.Method.invoke(Method.java:566)
>      at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:73)
>      at 
> org.gradle.internal.service.ReflectionBasedServiceMethod.invoke(ReflectionBasedServiceMethod.java:35)
>      at 
> org.gradle.internal.service.DefaultServiceRegistry$FactoryMethodService.invokeMethod(DefaultServiceRegistry.java:795)
>  Caused: org.gradle.internal.service.ServiceCreationException: Could not 
> create service of type FileMetadataAccessor using 
> NativeServices.createFileMetadataAccessor().
>      at 
> org.gradle.internal.service.DefaultServiceRegistry$FactoryMethodService.invokeMethod(DefaultServiceRegistry.java:797)
>      at 
> org.gradle.internal.service.DefaultServiceRegistry$FactoryService.create(DefaultServiceRegistry.java:748)
>      at 
> org.gradle.internal.service.DefaultServiceRegistry$ManagedObjectProvider.getInstance(DefaultServiceRegistry.java:574)
>      at 
> org.gradle.internal.service.DefaultServiceRegistry$SingletonService.get(DefaultServiceRegistry.java:623)
>      at 
> org.gradle.internal.service.DefaultServiceRegistry$FactoryService.assembleParameters(DefaultServiceRegistry.java:761)
>      at 
> org.gradle.internal.service.DefaultServiceRegistry$FactoryService.create(DefaultServiceRegistry.java:747)
>      at 
> org.gradle.internal.service.DefaultServiceRegistry$ManagedObjectProvider.getInstance(DefaultServiceRegistry.java:574)
>      at 
> org.gradle.internal.service.DefaultServiceRegistry$SingletonService.get(DefaultServiceRegistry.java:623)
>      at 
> org.gradle.internal.service.DefaultServiceRegistry.doGet(DefaultServiceRegistry.java:344)
>      at 

[jira] [Commented] (NETBEANS-2521) Gradle could not determine java version from '11.0.2'.

2019-05-10 Thread Laszlo Kishalmi (JIRA)


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

Laszlo Kishalmi commented on NETBEANS-2521:
---

It seems you are using the wrapper which dictates Gradle v4.4.1 to the build 
process. I'd recommend to upgrade the used gradle version in the 
gradle/wrapper/gradle-wrapper.properties file to at least 4.10.2 that is the 
first version that support Java 11.

> Gradle could not determine java version from '11.0.2'.
> --
>
> Key: NETBEANS-2521
> URL: https://issues.apache.org/jira/browse/NETBEANS-2521
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Gradle
>Affects Versions: 11.0
> Environment: Elementary OS 5.0 (Based on Ubuntu 18.04)
>Reporter: Diego Villablanca
>Assignee: Laszlo Kishalmi
>Priority: Major
>  Labels: build
>
> Trying to migrate a maven project to gradle, I ran by command line "gradle 
> init" in my maven project root directory, then closed the project 
> (Multiproject in maven) and its modules, then openned it again and NetBeans 
> showed the gradle icon in my project window.
> I executed the option by netbeans "clean and build" in my root project 
> (parent).
> *Installed Java version:*
> _java version "11.0.2" 2019-01-15 LTS_
>  _Java(TM) SE Runtime Environment 18.9 (build 11.0.2+9-LTS)_
>  _Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.2+9-LTS, mixed mode)_
> *Netbeans Embeded Gradle Version:*
> 4.4.1
> 4.10.2
> 5.4.1
> *Installed Gradle Version:*
> WARNING: An illegal reflective access operation has occurred
>  WARNING: Illegal reflective access by 
> org.codehaus.groovy.reflection.CachedClass 
> ([file:/usr/share/java/groovy-all.jar|file:///usr/share/java/groovy-all.jar]) 
> to method java.lang.Object.finalize()
>  WARNING: Please consider reporting this to the maintainers of 
> org.codehaus.groovy.reflection.CachedClass
>  WARNING: Use --illegal-access=warn to enable warnings of further illegal 
> reflective access operations
>  WARNING: All illegal access operations will be denied in a future release
> 
>  _Gradle 4.4.1_
>  
> _Build time:   2012-12-21 00:00:00 UTC_
>  _Revision: none_
> _Groovy:   2.4.16_
>  _Ant:  Apache Ant(TM) version 1.10.5 compiled on March 28 2019_
>  _JVM:  11.0.2 (Oracle Corporation 11.0.2+9-LTS)_
>  _OS:   Linux 4.15.0-48-generic amd64_
> *Netbeans Output Windows logs:*
>  JAVA_HOME="/opt/jdk-11.0.2"
>  cd /home/dvillablanca/NetBeansProjects/prototipo-tcg; ./gradlew 
> --configure-on-demand -x check clean build
> *Exception:*
> java.lang.IllegalArgumentException: Could not determine java version from 
> '11.0.2'.
>      at org.gradle.api.JavaVersion.toVersion(JavaVersion.java:72)
>      at org.gradle.api.JavaVersion.current(JavaVersion.java:82)
>      at 
> org.gradle.internal.nativeintegration.services.NativeServices.createFileMetadataAccessor(NativeServices.java:253)
>      at 
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>      at 
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>      at 
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>      at java.base/java.lang.reflect.Method.invoke(Method.java:566)
>      at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:73)
>      at 
> org.gradle.internal.service.ReflectionBasedServiceMethod.invoke(ReflectionBasedServiceMethod.java:35)
>      at 
> org.gradle.internal.service.DefaultServiceRegistry$FactoryMethodService.invokeMethod(DefaultServiceRegistry.java:795)
>  Caused: org.gradle.internal.service.ServiceCreationException: Could not 
> create service of type FileMetadataAccessor using 
> NativeServices.createFileMetadataAccessor().
>      at 
> org.gradle.internal.service.DefaultServiceRegistry$FactoryMethodService.invokeMethod(DefaultServiceRegistry.java:797)
>      at 
> org.gradle.internal.service.DefaultServiceRegistry$FactoryService.create(DefaultServiceRegistry.java:748)
>      at 
> org.gradle.internal.service.DefaultServiceRegistry$ManagedObjectProvider.getInstance(DefaultServiceRegistry.java:574)
>      at 
> org.gradle.internal.service.DefaultServiceRegistry$SingletonService.get(DefaultServiceRegistry.java:623)
>      at 
> org.gradle.internal.service.DefaultServiceRegistry$FactoryService.assembleParameters(DefaultServiceRegistry.java:761)
>      at 
> org.gradle.internal.service.DefaultServiceRegistry$FactoryService.create(DefaultServiceRegistry.java:747)
>      at 
> 

[jira] [Comment Edited] (NETBEANS-2455) Splash screens for development version

2019-05-10 Thread Eirik Bakke (JIRA)


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

Eirik Bakke edited comment on NETBEANS-2455 at 5/10/19 8:42 AM:


OK, so if I understand right, the font upload is for the build system only, not 
for the IDE to load at runtime.

Still, the font is not needed, because once the outlined logo lockup SVG is 
generated, there should never be a need to change the appearance text in the 
logo; it always says "Apache NetBeans", in whatever way we decide on here. 
(Unless people really want the major version number to be part of the logo, 
e.g. "Apache NetBeans 11".) Consider for example 
[Microsoft's|https://venturebeat.com/wp-content/uploads/2018/07/microsoft-logo.jpg?w=930=all]
 logo lockup: while it's _based_ on the font Segoe, there are additional tweaks 
made to it, like adjusting the tracking, and joining the "f" and the "t" at the 
end. This is something a designer does once--subsequently the text "Microsoft" 
is treated as constant vector graphics rather than a string of text that is 
generated from the original font.

Another common design principle is to avoid using the logo font anywhere else 
than in the logo. So if the font in the logo lockup is Montserrat, the font 
elsewhere in the splash screen should be something else. Here I'd suggest being 
consistent with the font used by other status messages in the splash screen 
instead. And that piece of text does not need to be generated at build time--it 
can be imprinted at runtime, just like the progress bar text ("Loading 
modules..." etc.).


was (Author: ebakke):
OK, so if I understand right, the font upload is for the build system only, not 
for the IDE to load at runtime.

Still, the font is not needed, because once the outlined logo lockup SVG is 
generated, there should never be a need to change the appearance text in the 
logo--it always says "Apache NetBeans", in whatever way we decide on here. 
(Unless people really want the major version number to be part of the logo, 
e.g. "Apache NetBeans 11".) Consider for example 
[Microsoft's|https://venturebeat.com/wp-content/uploads/2018/07/microsoft-logo.jpg?w=930=all]
 logo lockup: while it's _based_ on the font Segoe, there are additional tweaks 
made to it, like adjusting the tracking, and joining the "f" and the "t" at the 
end. This is something a designer does once--subsequently the text "Microsoft" 
is treated as constant vector graphics rather than a string of text that is 
generated from the original font.

Another common design principle is to avoid using the logo font anywhere else 
than in the logo. So if the font in the logo lockup is Montserrat, the font 
elsewhere in the splash screen should be something else. Here I'd suggest being 
consistent with the font used by other status messages in the splash screen 
instead. And that piece of text does not need to be generated at build time--it 
can be imprinted at runtime, just like the progress bar text ("Loading 
modules..." etc.).

> Splash screens for development version
> --
>
> Key: NETBEANS-2455
> URL: https://issues.apache.org/jira/browse/NETBEANS-2455
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - UI
>Reporter: Junichi Yamamoto
>Assignee: Antonio Vieiro
>Priority: Major
>  Labels: pull-request-available
> Attachments: Simplified Splash Screen with example version text.svg, 
> Simplified Splash Screen without version text.svg, Simplified Splash 
> Screen.ai, apache-netbeans-splash.png, apache-netbeans-splash.svg, 
> image-2019-05-10-05-51-46-560.png, netbeans-logo-notext.svg, 
> netbeans-logo-text.svg, splash.png
>
>  Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> Currently, the version of the splash screen is 10 in the master branch. So we 
> should fix it (e.g. Dev., Development Version, ...).



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

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

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



[jira] [Commented] (NETBEANS-2455) Splash screens for development version

2019-05-10 Thread Eirik Bakke (JIRA)


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

Eirik Bakke commented on NETBEANS-2455:
---

OK, so if I understand right, the font upload is for the build system only, not 
for the IDE to load at runtime.

Still, the font is not needed, because once the outlined logo lockup SVG is 
generated, there should never be a need to change the appearance text in the 
logo--it always says "Apache NetBeans", in whatever way we decide on here. 
(Unless people really want the major version number to be part of the logo, 
e.g. "Apache NetBeans 11".) Consider for example 
[Microsoft's|https://venturebeat.com/wp-content/uploads/2018/07/microsoft-logo.jpg?w=930=all]
 logo lockup: while it's _based_ on the font Segoe, there are additional tweaks 
made to it, like adjusting the tracking, and joining the "f" and the "t" at the 
end. This is something a designer does once--subsequently the text "Microsoft" 
is treated as constant vector graphics rather than a string of text that is 
generated from the original font.

Another common design principle is to avoid using the logo font anywhere else 
than in the logo. So if the font in the logo lockup is Montserrat, the font 
elsewhere in the splash screen should be something else. Here I'd suggest being 
consistent with the font used by other status messages in the splash screen 
instead. And that piece of text does not need to be generated at build time--it 
can be imprinted at runtime, just like the progress bar text ("Loading 
modules..." etc.).

> Splash screens for development version
> --
>
> Key: NETBEANS-2455
> URL: https://issues.apache.org/jira/browse/NETBEANS-2455
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - UI
>Reporter: Junichi Yamamoto
>Assignee: Antonio Vieiro
>Priority: Major
>  Labels: pull-request-available
> Attachments: Simplified Splash Screen with example version text.svg, 
> Simplified Splash Screen without version text.svg, Simplified Splash 
> Screen.ai, apache-netbeans-splash.png, apache-netbeans-splash.svg, 
> image-2019-05-10-05-51-46-560.png, netbeans-logo-notext.svg, 
> netbeans-logo-text.svg, splash.png
>
>  Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> Currently, the version of the splash screen is 10 in the master branch. So we 
> should fix it (e.g. Dev., Development Version, ...).



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

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

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



[jira] [Updated] (NETBEANS-2529) hang

2019-05-10 Thread M Arif alfian (JIRA)


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

M Arif alfian updated NETBEANS-2529:

Docs Text: 
MacBook Pro, RAM 16GB
hang after long time laptop idle, load processor for netbeans 11 is 50-100% 
I found more 3 times

> hang
> 
>
> Key: NETBEANS-2529
> URL: https://issues.apache.org/jira/browse/NETBEANS-2529
> Project: NetBeans
>  Issue Type: Bug
>Reporter: M Arif alfian
>Priority: Major
>
> 
>  2019-05-10T10:23:47
>  1557458627148
>  300
>  org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater
>  900
>  44
>  /Volumes/home/iyan2x/Library/Application 
> Support/NetBeans/11.0/var/log/heapdump.hprof
>  
>  java.lang.OutOfMemoryError: GC overhead limit exceeded
>  
>  java.util.Arrays
>  copyOfRange
>  3664
>  ${java.home}lib/rt.jar
>  
>  
>  java.lang.String
>  init
>  207
>  ${java.home}lib/rt.jar
>  
>  
>  java.lang.String
>  toLowerCase
>  2647
>  ${java.home}lib/rt.jar
>  
>  
>  org.netbeans.modules.masterfs.filebasedfs.utils.Utils
>  hashCode
>  77
>  ${netbeans.home}modules/org-netbeans-modules-masterfs.jar
>  
>  
>  org.netbeans.modules.masterfs.filebasedfs.naming.NamingFactory
>  createID
>  197
>  ${netbeans.home}modules/org-netbeans-modules-masterfs.jar
>  
>  
>  org.netbeans.modules.masterfs.filebasedfs.naming.NamingFactory
>  registerInstanceOfFileNaming
>  249
>  ${netbeans.home}modules/org-netbeans-modules-masterfs.jar
>  
>  
>  org.netbeans.modules.masterfs.filebasedfs.naming.NamingFactory
>  registerInstanceOfFileNaming
>  203
>  ${netbeans.home}modules/org-netbeans-modules-masterfs.jar
>  
>  
>  org.netbeans.modules.masterfs.filebasedfs.naming.NamingFactory
>  fromFile
>  66
>  ${netbeans.home}modules/org-netbeans-modules-masterfs.jar
>  
>  
>  
> org.netbeans.modules.masterfs.filebasedfs.fileobjects.FileObjectFactory
>  create
>  467
>  ${netbeans.home}modules/org-netbeans-modules-masterfs.jar
>  
>  
>  
> org.netbeans.modules.masterfs.filebasedfs.fileobjects.FileObjectFactory
>  getOrCreate
>  418
>  ${netbeans.home}modules/org-netbeans-modules-masterfs.jar
>  
>  
>  
> org.netbeans.modules.masterfs.filebasedfs.fileobjects.FileObjectFactory
>  issueIfExist
>  389
>  ${netbeans.home}modules/org-netbeans-modules-masterfs.jar
>  
>  
>  
> org.netbeans.modules.masterfs.filebasedfs.fileobjects.FileObjectFactory
>  getFileObject
>  207
>  ${netbeans.home}modules/org-netbeans-modules-masterfs.jar
>  
>  
>  
> org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj
>  computeChildren
>  168
>  ${netbeans.home}modules/org-netbeans-modules-masterfs.jar
>  
>  
>  
> org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj
>  getChildren
>  132
>  ${netbeans.home}modules/org-netbeans-modules-masterfs.jar
>  
>  
>  org.netbeans.modules.parsing.impl.indexing.FileObjectCrawler
>  collect
>  291
>  ${netBeansDir}modules/org-netbeans-modules-parsing-indexing.jar
>  
>  
>  org.netbeans.modules.parsing.impl.indexing.FileObjectCrawler
>  collect
>  291
>  ${netBeansDir}modules/org-netbeans-modules-parsing-indexing.jar
>  
>  
>  org.netbeans.modules.parsing.impl.indexing.FileObjectCrawler
>  collect
>  291
>  ${netBeansDir}modules/org-netbeans-modules-parsing-indexing.jar
>  
>  
>  org.netbeans.modules.parsing.impl.indexing.FileObjectCrawler
>  collect
>  291
>  ${netBeansDir}modules/org-netbeans-modules-parsing-indexing.jar
>  
>  
>  org.netbeans.modules.parsing.impl.indexing.FileObjectCrawler
>  collect
>  291
>  ${netBeansDir}modules/org-netbeans-modules-parsing-indexing.jar
>  
>  
>  org.netbeans.modules.parsing.impl.indexing.FileObjectCrawler
>  collect
>  291
>  ${netBeansDir}modules/org-netbeans-modules-parsing-indexing.jar
>  
>  
>  org.netbeans.modules.parsing.impl.indexing.FileObjectCrawler
>  collect
>  291
>  ${netBeansDir}modules/org-netbeans-modules-parsing-indexing.jar
>  
>  
>  org.netbeans.modules.parsing.impl.indexing.FileObjectCrawler
>  collect
>  291
>  ${netBeansDir}modules/org-netbeans-modules-parsing-indexing.jar
>  
>  
>  org.netbeans.modules.parsing.impl.indexing.FileObjectCrawler
>  collect
>  291
>  ${netBeansDir}modules/org-netbeans-modules-parsing-indexing.jar
>  
>  
>  org.netbeans.modules.parsing.impl.indexing.FileObjectCrawler
>  collect
>  291
>  ${netBeansDir}modules/org-netbeans-modules-parsing-indexing.jar
>  
>  
>  org.netbeans.modules.parsing.impl.indexing.FileObjectCrawler
>  collect
>  291
>  ${netBeansDir}modules/org-netbeans-modules-parsing-indexing.jar
>  
>  
>  org.netbeans.modules.parsing.impl.indexing.FileObjectCrawler
>  collect
>  291
>  ${netBeansDir}modules/org-netbeans-modules-parsing-indexing.jar
>  
>  
>  org.netbeans.modules.parsing.impl.indexing.FileObjectCrawler
>  collect
>  291
>  ${netBeansDir}modules/org-netbeans-modules-parsing-indexing.jar
>  
>  
>  

[jira] [Created] (NETBEANS-2529) hang

2019-05-10 Thread M Arif alfian (JIRA)
M Arif alfian created NETBEANS-2529:
---

 Summary: hang
 Key: NETBEANS-2529
 URL: https://issues.apache.org/jira/browse/NETBEANS-2529
 Project: NetBeans
  Issue Type: Bug
Reporter: M Arif alfian



 2019-05-10T10:23:47
 1557458627148
 300
 org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater
 900
 44
 /Volumes/home/iyan2x/Library/Application 
Support/NetBeans/11.0/var/log/heapdump.hprof
 
 java.lang.OutOfMemoryError: GC overhead limit exceeded
 
 java.util.Arrays
 copyOfRange
 3664
 ${java.home}lib/rt.jar
 
 
 java.lang.String
 init
 207
 ${java.home}lib/rt.jar
 
 
 java.lang.String
 toLowerCase
 2647
 ${java.home}lib/rt.jar
 
 
 org.netbeans.modules.masterfs.filebasedfs.utils.Utils
 hashCode
 77
 ${netbeans.home}modules/org-netbeans-modules-masterfs.jar
 
 
 org.netbeans.modules.masterfs.filebasedfs.naming.NamingFactory
 createID
 197
 ${netbeans.home}modules/org-netbeans-modules-masterfs.jar
 
 
 org.netbeans.modules.masterfs.filebasedfs.naming.NamingFactory
 registerInstanceOfFileNaming
 249
 ${netbeans.home}modules/org-netbeans-modules-masterfs.jar
 
 
 org.netbeans.modules.masterfs.filebasedfs.naming.NamingFactory
 registerInstanceOfFileNaming
 203
 ${netbeans.home}modules/org-netbeans-modules-masterfs.jar
 
 
 org.netbeans.modules.masterfs.filebasedfs.naming.NamingFactory
 fromFile
 66
 ${netbeans.home}modules/org-netbeans-modules-masterfs.jar
 
 
 
org.netbeans.modules.masterfs.filebasedfs.fileobjects.FileObjectFactory
 create
 467
 ${netbeans.home}modules/org-netbeans-modules-masterfs.jar
 
 
 
org.netbeans.modules.masterfs.filebasedfs.fileobjects.FileObjectFactory
 getOrCreate
 418
 ${netbeans.home}modules/org-netbeans-modules-masterfs.jar
 
 
 
org.netbeans.modules.masterfs.filebasedfs.fileobjects.FileObjectFactory
 issueIfExist
 389
 ${netbeans.home}modules/org-netbeans-modules-masterfs.jar
 
 
 
org.netbeans.modules.masterfs.filebasedfs.fileobjects.FileObjectFactory
 getFileObject
 207
 ${netbeans.home}modules/org-netbeans-modules-masterfs.jar
 
 
 org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj
 computeChildren
 168
 ${netbeans.home}modules/org-netbeans-modules-masterfs.jar
 
 
 org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj
 getChildren
 132
 ${netbeans.home}modules/org-netbeans-modules-masterfs.jar
 
 
 org.netbeans.modules.parsing.impl.indexing.FileObjectCrawler
 collect
 291
 ${netBeansDir}modules/org-netbeans-modules-parsing-indexing.jar
 
 
 org.netbeans.modules.parsing.impl.indexing.FileObjectCrawler
 collect
 291
 ${netBeansDir}modules/org-netbeans-modules-parsing-indexing.jar
 
 
 org.netbeans.modules.parsing.impl.indexing.FileObjectCrawler
 collect
 291
 ${netBeansDir}modules/org-netbeans-modules-parsing-indexing.jar
 
 
 org.netbeans.modules.parsing.impl.indexing.FileObjectCrawler
 collect
 291
 ${netBeansDir}modules/org-netbeans-modules-parsing-indexing.jar
 
 
 org.netbeans.modules.parsing.impl.indexing.FileObjectCrawler
 collect
 291
 ${netBeansDir}modules/org-netbeans-modules-parsing-indexing.jar
 
 
 org.netbeans.modules.parsing.impl.indexing.FileObjectCrawler
 collect
 291
 ${netBeansDir}modules/org-netbeans-modules-parsing-indexing.jar
 
 
 org.netbeans.modules.parsing.impl.indexing.FileObjectCrawler
 collect
 291
 ${netBeansDir}modules/org-netbeans-modules-parsing-indexing.jar
 
 
 org.netbeans.modules.parsing.impl.indexing.FileObjectCrawler
 collect
 291
 ${netBeansDir}modules/org-netbeans-modules-parsing-indexing.jar
 
 
 org.netbeans.modules.parsing.impl.indexing.FileObjectCrawler
 collect
 291
 ${netBeansDir}modules/org-netbeans-modules-parsing-indexing.jar
 
 
 org.netbeans.modules.parsing.impl.indexing.FileObjectCrawler
 collect
 291
 ${netBeansDir}modules/org-netbeans-modules-parsing-indexing.jar
 
 
 org.netbeans.modules.parsing.impl.indexing.FileObjectCrawler
 collect
 291
 ${netBeansDir}modules/org-netbeans-modules-parsing-indexing.jar
 
 
 org.netbeans.modules.parsing.impl.indexing.FileObjectCrawler
 collect
 291
 ${netBeansDir}modules/org-netbeans-modules-parsing-indexing.jar
 
 
 org.netbeans.modules.parsing.impl.indexing.FileObjectCrawler
 collect
 291
 ${netBeansDir}modules/org-netbeans-modules-parsing-indexing.jar
 
 
 org.netbeans.modules.parsing.impl.indexing.FileObjectCrawler
 collect
 291
 ${netBeansDir}modules/org-netbeans-modules-parsing-indexing.jar
 
 
 org.netbeans.modules.parsing.impl.indexing.FileObjectCrawler
 collect
 291
 ${netBeansDir}modules/org-netbeans-modules-parsing-indexing.jar
 
 
 org.netbeans.modules.parsing.impl.indexing.FileObjectCrawler
 collect
 291
 ${netBeansDir}modules/org-netbeans-modules-parsing-indexing.jar
 
 
 org.netbeans.modules.parsing.impl.indexing.FileObjectCrawler
 collect
 291
 ${netBeansDir}modules/org-netbeans-modules-parsing-indexing.jar
 
 
 org.netbeans.modules.parsing.impl.indexing.FileObjectCrawler
 collect
 291
 

[jira] [Commented] (NETBEANS-2455) Splash screens for development version

2019-05-10 Thread Antonio Vieiro (JIRA)


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

Antonio Vieiro commented on NETBEANS-2455:
--

[~ebakke] the objective is to _generate_ a PNG file on each build from a 
template. This generated PNG file (splash screen, about screen) will imprint 
the build number ("11.0", "12.0", "dev--"), so when you start the IDE 
you can see what version you're running.

This generation of the PNG file will be done in the build system, using an Ant 
task, at compile time. In order to timestamp the template PNG with an 
appropriate font we'll need to create a BufferedImage with the image template, 
then load a TrueType font (Montserrat, it seems) and then stamp the build 
number ("11.0", "12.0", "dev--" on the image) using 
java.awt.Graphics.drawString.

For the build system to load the image we'll need to upload it to OSU/OSL 
(where are binaries are currently hosted) so we can download it (as any other 
binary) at build time. In order to include it in the build system we'll need to 
update the existing license files and add the proper license information.

If eveything goes well (we couldn't upload binaries on monday, we can now) we 
can have this done by next weekend.

> Splash screens for development version
> --
>
> Key: NETBEANS-2455
> URL: https://issues.apache.org/jira/browse/NETBEANS-2455
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - UI
>Reporter: Junichi Yamamoto
>Assignee: Antonio Vieiro
>Priority: Major
>  Labels: pull-request-available
> Attachments: Simplified Splash Screen with example version text.svg, 
> Simplified Splash Screen without version text.svg, Simplified Splash 
> Screen.ai, apache-netbeans-splash.png, apache-netbeans-splash.svg, 
> image-2019-05-10-05-51-46-560.png, netbeans-logo-notext.svg, 
> netbeans-logo-text.svg, splash.png
>
>  Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> Currently, the version of the splash screen is 10 in the master branch. So we 
> should fix it (e.g. Dev., Development Version, ...).



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

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

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