Re: Build Error

2018-05-04 Thread Emilian Bold
A full stacktrace would help.

Not sure why you are bumping into this as the project build well on many other 
systems so it must be JDK / Ant related too.

Seems to be issue https://netbeans.org/bugzilla/show_bug.cgi?id=251566

--emi

‐‐‐ Original Message ‐‐‐

On 4 May 2018 12:45 PM, Alessandro Cipriani  
wrote:

> Dear List :),
> 
> i'm trying to build netbeans from source, but i'm getting this build error. 
> I've just tried some web's solution without any success. Could you help me?
> 
> thank's
> 
> some system data
> 
> -   java.version=1.8.0_171, ant.version=Apache Ant(TM) version 1.10.3 
> compiled on March 24 2018
> -   xubuntu os 18.04
> -   error:
> 
> xjc-init:
> 
> model-gen:
> 
> [echo] java.version=1.8.0_171, ant.version=Apache Ant(TM) version 1.10.3 
> compiled on March 24 2018
> 
> [xjc] 
> /home/alessandro/Documenti/gitrepo/incubator-netbeans/websvc.saas.api/src/org/netbeans/modules/websvc/saas/model/jaxb
>  is not found and thus excluded from the dependency check
> 
> [xjc] Compiling 
> file:/home/alessandro/Documenti/gitrepo/incubator-netbeans/websvc.saas.api/src/org/netbeans/modules/websvc/saas/model/SaasServices.xsd
> 
> [xjc] Writing output to 
> /home/alessandro/Documenti/gitrepo/incubator-netbeans/websvc.saas.api/src
> 
> [nbmerge] Failed to build target: all-websvc.saas.api
> 
> BUILD FAILED
> 
> 
> /home/alessandro/Documenti/gitrepo/incubator-netbeans/nbbuild/build.xml:486: 
> The following error occurred while executing this line:
> 
> 
> /home/alessandro/Documenti/gitrepo/incubator-netbeans/nbbuild/build.xml:481: 
> The following error occurred while executing this line:
> 
> 
> /home/alessandro/Documenti/gitrepo/incubator-netbeans/nbbuild/build.xml:528: 
> The following error occurred while executing this line:
> 
> 
> /home/alessandro/Documenti/gitrepo/incubator-netbeans/websvc.saas.api/build.xml:50:
>  java.lang.IllegalArgumentException: Illegal pattern character 'g'
> 
> at java.text.SimpleDateFormat.compile(SimpleDateFormat.java:826)
> 
> a
> 
> --
> 
> Alessandro Cipriani alecipri...@ymail.com
> 
> 
> --
> 
> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
> 
> For additional commands, e-mail: users-h...@netbeans.apache.org
> 
> For further information about the NetBeans mailing lists, visit:
> 
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


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

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



Re: Netbeans CPU use

2018-05-13 Thread Emilian Bold
I suspect it might be Groovy-related. I remember a while back I also tried a 
Groovy project (which was supposed to be even faster than Maven) and was 
thoroughly surprised when I noticed NetBeans entirely slow down.

I believe you could create some thread dumps  to see the possible culprit. Also 
note the 'Profile the IDE' button in the toolbar.

--emi

‐‐‐ Original Message ‐‐‐
On 14 May 2018 8:28 AM, David Mills  wrote:

> Hi all,
>
> I use Netbeans with a few projects – one of which is Groovy based.  When I 
> run with that project Netbeans starts using excessive CPU.  Restarting 
> Netbeans resolves the issue for about 30 mins to 2 hours.  How can I diagnose 
> what is using the CPU and how can I stop it.  The UI seems completely idle – 
> there’s no evidence of anything in progress.
>
> This has been the case for releases 8.2, latest development and the release 
> candidate for 9.0.
>
> I’m running on Windows Server 2012 on an AWS hosted VM.
>
> Regards,
>
> David Mills | Senior Technical Analyst | Medibank Private
>
> Level 1, 720 Bourke Street, Docklands, VIC, 3008 | Tel: 03 8622 5346 | Mob: 
> 0411 513 404
>
> The information contained in or attached to this message is intended only for 
> the people it is addressed to. If you are not the intended recipient, please 
> notify the sender and delete the email. Any use, disclosure or copying of 
> this information is unauthorised and prohibited. This information may be 
> confidential or subject to legal privilege. It is not the expressed view of 
> Medibank Private Limited (ABN 47 080 890 259) or any of its subsidiaries 
> (together 'Medibank') unless it is authorised by a person with actual 
> authority. To the fullest extent allowed by law, Medibank does not accept 
> liability for any damage caused by this message, including any virus damage.

Re: Maven modules

2018-05-14 Thread Emilian Bold
I haven't followed that issue, but have you tried nbm:populate-repository from 
nb-repository-plugin?

--emi

‐‐‐ Original Message ‐‐‐
On 14 May 2018 1:11 PM, Luff,Chris  wrote:

> Hey I am watching 
> [https://issues.apache.org/jira/browse/NETBEANS-467?page=com.atlassian.jira.plugin.system.issuetabpanels%3Aall-tabpanel](https://issues.apache.org/jira/browse/NETBEANS-467?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel)
>  but I want to populate my local maven repo with the mavenized artifacts from 
> the incubator. I can see there is a "patch-for-maven” ant task in each 
> module. Ant not being my usual build tool I am not familiar with what needs 
> to happen to get this to run recursively across the IDE. Are there any 
> pre-steps?
>
> Thanks
> Chris
>
> CONFIDENTIALITY NOTICE This message and any included attachments are from 
> Cerner Corporation and are intended only for the addressee. The information 
> contained in this message is confidential and may constitute inside or 
> non-public information under international, federal, or state securities 
> laws. Unauthorized forwarding, printing, copying, distribution, or use of 
> such information is strictly prohibited and may be unlawful. If you are not 
> the addressee, please promptly delete this message and notify the sender of 
> the delivery error by e-mail or you may call Cerner's corporate offices in 
> Kansas City, Missouri, U.S.A at (+1) (816)221-1024. Cerner Limited, 
> Registered in England no 2519305, Registered Office 37 North Wharf Road, 
> London W2 1AF.

Re: Netbeans 8.2 editor state lost when Windows 10 sleeps

2018-04-27 Thread Emilian Bold
Could you report this problem on JIRA 
https://issues.apache.org/jira/projects/NETBEANS/summary with more details / 
logs?

I don't understand what it means that editors lose the serialization.

--emi

‐‐‐ Original Message ‐‐‐

On 26 April 2018 6:52 PM, Larry Sheffield  wrote:

> In Netbeans 8.2, if Windows 10 enters sleep mode, upon waking, all files 
> opened in the editor window lose the serialization and errors in the left 
> margin and revert to line 1. The only solution is to close and re-open each 
> file, and then try to find where you left off.

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

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



Re: NetBeans platform application in Windows Docker container

2018-04-27 Thread Emilian Bold
Never heard of this, but are there no NetBeans logs to look at?

It might be just the .exe launcher having and issues inside this new 
configuration.

Have you tried just running java by hand? A non-GUI Platform app shouldn't have 
that many JARs.

--emi

‐‐‐ Original Message ‐‐‐

On 28 April 2018 1:13 AM, Platou, Halvor  wrote:

> Hi,
> 
> Anyone been able to run a NetBeans platform application(no gui) in a Windows 
> Docker container? I have tried using the openjdk:8-windowsservercore, but 
> when trying to start the application executable it immediately returns 
> without any messages. I have also tried installing a bunch of 
> vcredist-versions without luck.
> 
> Br
> 
> Halvor Platou
> 
> **
> 
> This e-mail and any attachments thereto may contain confidential information 
> and/or information protected by intellectual property rights for the 
> exclusive attention of the intended addressees named above. If you have 
> received this transmission in error, please immediately notify the sender by 
> return e-mail and delete this message and its attachments. Unauthorized use, 
> copying or further full or partial distribution of this e-mail or its 
> contents is prohibited.
> 
> **

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

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



Re: NetBeans 9.0 not showing Git history in "Editor History" tab

2018-04-27 Thread Emilian Bold
I'll try to work on this issue next week.

--emi

‐‐‐ Original Message ‐‐‐

On 25 April 2018 4:30 PM, Glenn Holmer  wrote:

> On 04/25/2018 12:36 AM, Thomas Kellerer wrote:
> 
> > The latest dev build (413) shows the same (mis)behaviour
> 
> It's this one, right?
> 
> https://issues.apache.org/jira/browse/NETBEANS-592
> 
> You could add information there, or vote for it, or bring it up on the
> 
> dev list (I just voted for it myself).
> 
> 
> -
> 
> Glenn Holmer (Linux registered user #16682)
> 
> "After the vintage season came the aftermath -- and Cenbe."
> 
> 
> 
> 
> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
> 
> For additional commands, e-mail: users-h...@netbeans.apache.org
> 
> For further information about the NetBeans mailing lists, visit:
> 
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



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

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



RE: NetBeans platform application in Windows Docker container

2018-04-28 Thread Emilian Bold
I assumed your app might be large, but a non-GUI Platform has only a few JARs, 
you can probably build a classpath by hand and launch it with a .bat file or 
something.

But if you know that other Java apps launch fine, it's clearly the launcher.

If you jump over to dev@ there was a discussion recently related to the Windows 
launcher (by Eric Barboni I believe).

You might see if it's easy to rebuild it yourself (perhaps with more logging 
options?) in order to see why it is failing in that container.

--emi

‐‐‐ Original Message ‐‐‐

On 28 April 2018 9:42 AM, Platou, Halvor <halvor.pla...@dnvgl.com> wrote:

> No, no logs or console output. The userdir is not created. Running a plain 
> java application works just fine. I think you are right that there is 
> something with the launcher. It fails so fast that I don't think the jvm is 
> started. Are there any arguments I could set to the launcher that makes it 
> more verbose? Do you know if it depends on any C++ redistributable version?
> 
> The application I'm trying to launch is actually quite large, even without 
> any GUI, and I would really like to utilize all the benefits of the NetBeans 
> platform :)
> 
> Br,
> 
> Halvor
> 
> -Original Message-
> 
> From: Emilian Bold [mailto:emilian.b...@protonmail.ch]
> 
> Sent: lørdag 28. april 2018 07.23
> 
> To: Platou, Halvor halvor.pla...@dnvgl.com
> 
> Cc: users@netbeans.apache.org
> 
> Subject: Re: NetBeans platform application in Windows Docker container
> 
> Never heard of this, but are there no NetBeans logs to look at?
> 
> It might be just the .exe launcher having and issues inside this new 
> configuration.
> 
> Have you tried just running java by hand? A non-GUI Platform app shouldn't 
> have that many JARs.
> 
> --emi
> 
> ‐‐‐ Original Message ‐‐‐
> 
> On 28 April 2018 1:13 AM, Platou, Halvor halvor.pla...@dnvgl.com wrote:
> 
> > Hi,
> > 
> > Anyone been able to run a NetBeans platform application(no gui) in a 
> > Windows Docker container? I have tried using the 
> > openjdk:8-windowsservercore, but when trying to start the application 
> > executable it immediately returns without any messages. I have also tried 
> > installing a bunch of vcredist-versions without luck.
> > 
> > Br
> > 
> > Halvor Platou
> > 
> > This e-mail and any attachments thereto may contain confidential 
> > information and/or information protected by intellectual property rights 
> > for the exclusive attention of the intended addressees named above. If you 
> > have received this transmission in error, please immediately notify the 
> > sender by return e-mail and delete this message and its attachments. 
> > Unauthorized use, copying or further full or partial distribution of this 
> > e-mail or its contents is prohibited.
> 
> This e-mail and any attachments thereto may contain confidential information 
> and/or information protected by intellectual property rights for the 
> exclusive attention of the intended addressees named above. If you have 
> received this transmission in error, please immediately notify the sender by 
> return e-mail and delete this message and its attachments. Unauthorized use, 
> copying or further full or partial distribution of this e-mail or its 
> contents is prohibited.
> 
> BCB[XܚXKK[XZ[\][XܚXP]X[˘\XKܙB܈Y][ۘ[[X[K[XZ[\Z[]X[˘\XKܙBB܈\\[ܛX][ۈX]H]X[XZ[[\]B΋ZK\XKܙۙY[K\^KӑUPSXZ[[\BB



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

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



Re: NetBeans 9.0 not showing Git history in "Editor History" tab

2018-04-28 Thread Emilian Bold
Fixed https://github.com/apache/incubator-netbeans/pull/524


--emi

‐‐‐ Original Message ‐‐‐

On 28 April 2018 8:48 AM, Emilian Bold <emilian.b...@protonmail.ch> wrote:

> I'll try to work on this issue next week.
> 
> --emi
> 
> ‐‐‐ Original Message ‐‐‐
> 
> On 25 April 2018 4:30 PM, Glenn Holmer ce...@kolabnow.com wrote:
> 
> > On 04/25/2018 12:36 AM, Thomas Kellerer wrote:
> > 
> > > The latest dev build (413) shows the same (mis)behaviour
> > 
> > It's this one, right?
> > 
> > https://issues.apache.org/jira/browse/NETBEANS-592
> > 
> > You could add information there, or vote for it, or bring it up on the
> > 
> > dev list (I just voted for it myself).
> > 
> > Glenn Holmer (Linux registered user #16682)
> > 
> > "After the vintage season came the aftermath -- and Cenbe."
> > 
> > To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
> > 
> > For additional commands, e-mail: users-h...@netbeans.apache.org
> > 
> > For further information about the NetBeans mailing lists, visit:
> > 
> > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> 
> --
> 
> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
> 
> For additional commands, e-mail: users-h...@netbeans.apache.org
> 
> For further information about the NetBeans mailing lists, visit:
> 
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


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

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



Re: IllegalStateException on startup (NB 9)

2018-06-13 Thread Emilian Bold
You have a 3rd party plugin com.peter.mavenrunner.MavenRunnerTopComponent 
that's calling a NetBeans API outside the AWT thread.

NetBeans is just warning you about that. Generally it's not causing something 
but once in a blue-moon such calls will cause unexpected states and bugs will 
show up.

I recommend you notify the plugin author too. My guess is the plugin is this: 
http://plugins.netbeans.org/plugin/60381/maven-runner so you can add an issue 
here https://gitlab.com/mcheung63/MavenRunner/issues

--emi

‐‐‐ Original Message ‐‐‐

On 13 June 2018 2:46 PM, Mike Billman  wrote:

> I have gotten this exception two days in a row when starting NB 9.  Seems to 
> not have any impact on the IDE, but strange.
> 
>  
> 
> java.lang.IllegalStateException: Problem in some module which uses Window 
> System: Window System API is required to be called from AWT thread only, see 
> http://core.netbeans.org/proposals/threading/
> 
>     at 
> org.netbeans.core.windows.WindowManagerImpl.warnIfNotInEDT(WindowManagerImpl.java:1747)
> 
>     at 
> org.netbeans.core.windows.WindowManagerImpl.topComponentToolTipChanged(WindowManagerImpl.java:1352)
> 
>     at 
> org.openide.windows.TopComponent.setToolTipText(TopComponent.java:1043)
> 
>     at 
> com.peter.mavenrunner.MavenRunnerTopComponent.(MavenRunnerTopComponent.java:115)
> 
>     at 
> sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> 
>     at 
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
> 
>     at 
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> 
>     at 
> java.lang.reflect.Constructor.newInstance(Constructor.java:423)
> 
>     at 
> org.openide.loaders.InstanceSupport.instanceCreate(InstanceSupport.java:197)
> 
>     at 
> org.openide.loaders.InstanceDataObject$Ser.instanceCreate(InstanceDataObject.java:1417)
> 
>     at 
> org.openide.loaders.InstanceDataObject.instanceCreate(InstanceDataObject.java:821)
> 
>     at 
> org.openide.loaders.FolderLookup$ICItem.getInstance(FolderLookup.java:572)
> 
>     at 
> org.openide.util.lookup.AbstractLookup$R.allInstances(AbstractLookup.java:1030)
> 
>     at 
> org.openide.util.lookup.AbstractLookup$R.allInstances(AbstractLookup.java:1010)
> 
>     at 
> org.openide.util.lookup.ProxyLookup$LazyCollection.computeSingleResult(ProxyLookup.java:1260)
> 
>     at 
> org.openide.util.lookup.ProxyLookup$LazyCollection.computeDelegate(ProxyLookup.java:1098)
> 
>     at 
> org.openide.util.lookup.ProxyLookup$LazyCollection.delegate(ProxyLookup.java:1065)
> 
>     at 
> org.openide.util.lookup.ProxyLookup$LazyCollection.delegate(ProxyLookup.java:1048)
> 
>     at 
> org.openide.util.lookup.ProxyLookup$LazyCollection.toArray(ProxyLookup.java:1154)
> 
>     at java.util.ArrayList.addAll(ArrayList.java:581)
> 
>     at 
> org.openide.util.lookup.ProxyLookup$LazyCollection.computeDelegate(ProxyLookup.java:1118)
> 
>     at 
> org.openide.util.lookup.ProxyLookup$LazyCollection.delegate(ProxyLookup.java:1065)
> 
>     at 
> org.openide.util.lookup.ProxyLookup$LazyCollection.delegate(ProxyLookup.java:1048)
> 
>     at 
> org.openide.util.lookup.ProxyLookup$LazyCollection.isEmpty(ProxyLookup.java:1138)
> 
>     at 
> org.openide.util.lookup.ProxyLookup$LazyCollection.computeDelegate(ProxyLookup.java:1109)
> 
>     at 
> org.openide.util.lookup.ProxyLookup$LazyCollection.access$900(ProxyLookup.java:1026)
> 
>     at 
> org.openide.util.lookup.ProxyLookup$LazyCollection$1.hasNext(ProxyLookup.java:1226)
> 
>     at 
> org.netbeans.spi.project.support.DelegatingLookupImpl.doDelegate(DelegatingLookupImpl.java:115)
> 
>     at 
> org.netbeans.spi.project.support.DelegatingLookupImpl.(DelegatingLookupImpl.java:72)
> 
>     at 
> org.netbeans.spi.project.support.LookupProviderSupport.createCompositeLookup(LookupProviderSupport.java:86)
> 
>     at 
> org.netbeans.modules.maven.NbMavenProjectImpl.(NbMavenProjectImpl.java:245)
> 
>     at 
> org.netbeans.modules.maven.NbMavenProjectFactory.loadProject(NbMavenProjectFactory.java:95)
> 
>     at 
> org.netbeans.modules.projectapi.nb.NbProjectManager.createProject(NbProjectManager.java:376)
> 
>     at 
> org.netbeans.modules.projectapi.nb.NbProjectManager.access$300(NbProjectManager.java:69)
> 
>     at 
> org.netbeans.modules.projectapi.nb.NbProjectManager$2.run(NbProjectManager.java:289)
> 
>     at 
> org.netbeans.modules.projectapi.nb.NbProjectManager$2.run(NbProjectManager.java:218)
> 
>     at 
> 

Re: Cannot Log Into Git Using the Team Tab?

2018-06-17 Thread Emilian Bold
I've answered on SO: https://stackoverflow.com/a/50902788/8778196

What exactly does GitHub show you if you press the 'Clone or download' green 
button and pick SSH?

Normally the GitHub SSH URL has a git@ username. You seem to have removed that 
and manually type in your GitHub username in there which is wrong.

What happens if you type 'git' in there?

--emi

‐‐‐ Original Message ‐‐‐

On 18 June 2018 4:07 AM, Sarah Szabo  wrote:

> Hello Everyone,
> 
> I'm having an issue using the "Team" functionality on my version of Netbeans 
> on Kubuntu 18.04. My Netbeans version runs on Java 8_171 to avoid Java 8+ 
> compatibility issues. The basic gist of the issue is that I use KeePassX (A 
> password manager) to store all my usernames and passwords, and i use this 
> functionality to copy-paste my credentials when trying to log in using the 
> "Team" interface.
> 
> Every time I try to clone a repository that I've made on Github, my 
> credentials are said to be invalid, yet I can log into the website using 
> these credentials. I've made a Youtube video showing this phenomenon in the 
> stack exchange question posted below.
> 
> I've also tried uninstalling Netbeans totally and re-installing it, but this 
> doesn't work either (Granted I did re-import my settings, so this isn't 
> totally trustworthy)
> 
> Kind of a thorny issue since I'm essentially dead in the water programming 
> wise, unless I want to proceed without versioning control, which is risky.
> 
> More detailed information is posted in this stack exchange question: 
> https://stackoverflow.com/questions/50790499/netbeans-8-2-cant-verify-git-credential
> 
> Thanks for your time.
> 
> ​Sent with ProtonMail Secure Email.​

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

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



Re: ToggleFullScreenAction fails on MacOS

2018-06-06 Thread Emilian Bold
What I see in ./applemenu/src/org/netbeans/modules/applemenu/layer.xml is that 
the generic action is hidden on macOS:

 
   






That's why you are getting a null.

So, there is no API to call that action on macOS as far as I can tell.

This workaround does the trick (inspired by 
https://gist.github.com/dohpaz42/4200907 ):


@SuppressWarnings({"unchecked", "rawtypes"})
public static void requestToggleFullScreen(Window window)
{
try {
Class appClass = Class.forName("com.apple.eawt.Application");
Class params[] = new Class[]{};

Method getApplication = appClass.getMethod("getApplication", 
params);
Object application = getApplication.invoke(appClass);
Method requestToggleFulLScreen = 
application.getClass().getMethod("requestToggleFullScreen", Window.class);

requestToggleFulLScreen.invoke(application, window);
} catch (Exception e) {
System.out.println("An exception occurred while trying to toggle 
full screen mode");
}
}

requestToggleFullScreen(Frame.getWindows()[0]);

--emi

‐‐‐ Original Message ‐‐‐

On 6 June 2018 5:44 PM, Patrik Karlström  wrote:

> Den ons 6 juni 2018 kl 14:36 skrev Emilian Bold :
> 
> > The actual NPE might help. Maybe you have to create a dummy even and not 
> > send null to actionPerformed?
> > 
> > If it's reproducible you should report it to the bugtracker 
> > https://issues.apache.org/jira/projects/NETBEANS/summary
> > 
> > --emi
> > 
> > ‐‐‐ Original Message ‐‐‐
> > 
> > On 6 June 2018 2:36 PM, Patrik Karlström  wrote:
> > 
> > > Hi,
> > 
> > >
> > 
> > > Actions.forID("Window", 
> > > "org.netbeans.core.windows.actions.ToggleFullScreenAction").actionPerformed(null);
> > 
> > >
> > 
> > > I *think* that I have successfully run the code above on a mac a couple 
> > > of years back, but that might have been before they changed their 
> > > maximize/full screen handling.
> > 
> > >
> > 
> > > Today I noticed that it failed with an NPE on the mac.
> 
> Just noticed that it is the action itself that is null.
> 
> Action a=Actions.forID("Window", 
> "org.netbeans.core.windows.actions.ToggleFullScreenAction");
> 
> results in a==null.
> 
> All this is done on JDK8 171 and NetBeans 8.2, and on what I guess is an up 
> to date Mac.
> 
> How does it work on other Macs?

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

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



Re: What happened to SVN?

2018-06-22 Thread Emilian Bold
One of the SVN libraries NetBeans depends on is GPL.

Apache Software Foundation does not allow GPL dependencies, so we disabled that 
one.

>From looking here: https://github.com/subclipse/svnclientadapter I see there's 
>3 implementations:

* JavaHL - (http://subversion.apache.org/docs/)
* Command Line - (http://subversion.apache.org/packages.html)
* SVNKit - (http://svnkit.com)

I believe we only have JavaHL nowadays and disabled SVNKit. Not sure about 
Command Line...

--emi

‐‐‐ Original Message ‐‐‐

On 22 June 2018 4:23 PM, Peter Nabbefeld  wrote:

> Hi Geertjan,
> 
> latest, of course.  ;-)
> 
> Running release build 316 on JDK 9 on Linux, not possible to insert any
> 
> repo address since the svn binary is asked for, regardless of options
> 
> configuration, so doesn't matter. Installed binary is svn 1.10.
> 
> With 8.x I didn't have any problems.
> 
> Kind regards
> 
> Peter
> 
> Am 22.06.2018 um 14:44 schrieb Geertjan Wielenga:
> 
> > Which version of NetBeans, which JDK, which operating system, which
> > 
> > SVN repo, which URL...
> > 
> > Gj
> > 
> > On Friday, June 22, 2018, Peter Nabbefeld  > 
> > mailto:peter.nabbef...@gmx.de> wrote:
> > 
> > Hello,
> > 
> > what happened to SVN? When trying to checkout some source, I'm
> > stucking asked for where the binary is, even if I select Java-HL
> > (which is AFAIK a library use by NB).
> > 
> > Kind regards
> > Peter
> > 
> > -
> > To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
> > 
> > For additional commands, e-mail: users-h...@netbeans.apache.org
> > 
> > 
> > For further information about the NetBeans mailing lists, visit:
> > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> > 
> > 
> 
> --
> 
> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
> 
> For additional commands, e-mail: users-h...@netbeans.apache.org
> 
> For further information about the NetBeans mailing lists, visit:
> 
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


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

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



Re: Bug in Netbeans for MacOS

2018-05-01 Thread Emilian Bold
Thanks for investigating this.

Please move the discussion over to dev@ as it seems a problem with NetBeans 
Platform itself and more NetBeans developers will be on dev@ than users@.

It's unclear to me why the application crashes. Clearly we would have learned 
about it so far, NetBeans does have some users on macOS and I've been using 
NetBeans on Mac exclusively for ages.

So... there must be something about how your code behaves too.

Could you report the issue on JIRA (on 
https://issues.apache.org/jira/projects/NETBEANS/issues ) and also make a small 
module/class reproducing the bug and attach it to the issue?

PS: Not sure what you mean about recompiling the package. If the fix will get 
added it will be part of the next Apache release. If you need commercial help, 
it is available from a few people 
https://netbeans.apache.org/help/commercial-support.html , including me.

--emi

‐‐‐ Original Message ‐‐‐

On 1 May 2018 2:24 PM, frederic  wrote:

> Dear all,
> 
> I have found a bug in Netbeans on MacOS which makes the applications crash on 
> MacOS. I would like to know if it is possible to fix it in Netbeans 8.0.1 or 
> at least to make sure it is not in Netbeans 8.2.
> 
> The bug :
> 
> ==
> 
> I'm using Netbeans 8.0.1 for Ancestris. There seems to be a conflicting 
> thread in MainWindow.java that compromises the removal of lookup listeners.
> 
> Therefore, if an updateLookup runs in the application, the following thread 
> is activated which itself runs an updateLookup.
> 
> The application ends up multiplying the number of listeners up to several 
> tens of thousands and crashes on Mac.
> 
> Here is the code with the bug: (in MainWindow.java in package 
> org.netbeans.core.windows.view.ui)
> 
>    if (Utilities.getOperatingSystem() == Utilities.OS_MAC) {
> 
>    //Show a "save dot" in the close button if a modified file is
> 
>    //being edited
> 
>    //Show the icon of the edited file in the window titlebar like
> 
>    //other mac apps
> 
>    saveResult = Utilities.actionsGlobalContext().lookupResult 
> (SaveCookie.class);
> 
>    dobResult = Utilities.actionsGlobalContext().lookupResult 
> (DataObject.class);
> 
>    if( null != saveResult && null != dobResult ) {
> 
>    saveListener = new LookupListener() {
> 
>    @Override
> 
>    public void resultChanged(final LookupEvent ev) {
> 
>    RP.post( new Runnable() {
> 
>    @Override
> 
>    public void run() {
> 
>    updateMacDocumentProperties(ev);
> 
>    }
> 
>    });
> 
>    }
> 
>    };
> 
>    saveResult.addLookupListener(saveListener);
> 
>    dobResult.addLookupListener(saveListener);
> 
>    }
> 
>    dobResult.allItems();
> 
>    }
> 
> The " updateMacDocumentProperties(ev)" includes :
> 
> - saveResult.allItems()
> 
> - dobResult.allItems()
> 
> which trigger an updateLookup as well, creating two threads updating the same 
> lookups (removeListener, addListener).
> 
> The fix:
> 
> =
> 
> I would be ok to just replace :
> 
> "Utilities.getOperatingSystem() == Utilities.OS_MAC"
> 
> with
> 
> "Utilities.getOperatingSystem() == Utilities.OS_MAC & false"
> 
> because I do not think we need this on Mac in the Ancestris application at 
> least.
> 
> Can someone recompile the package with this fix and send it back to me ? Or 
> else can someone help me fix it myself localy (I do not have the code to 
> recompile this package) ?
> 
> Many thanks in advance if it can be done.
> 
> Best regards,
> 
> Frederic

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

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



Re: Unable to quit after cancelling Savables

2018-02-06 Thread Emilian Bold
Might be something more subtle, I know I could be able to press Cancel with 
Salvables.

Can you create a simple project that reproduces this problem?

--emi

 Original Message 
On 5 February 2018 12:57 PM, Marco Rossi  wrote:

> Hi to all,
> I’ve noticed a possible bug: when I quit my custom Netbeans Platform 
> application (from menu bar > Quit... in OS X environment), if there are some 
> AbstractSavable instances in the SavableRegistry, it appears the default Save 
> dialog (see picture) asking user if he would like to save changes before 
> quit. I click on Cancel and then try to click again in Quit action, nothing 
> happen and I’m unable to close.

Re: Unable to quit after cancelling Savables

2018-02-06 Thread Emilian Bold
I does look like a bug in 
org.netbeans.modules.applemenu.NbApplicationAdapterJDK8.handleQuitRequestWith(AppEvent.QuitEvent
 e, QuitResponse response)

Seems to me that when the user cancels QuitResponse.cancelQuit should be called.

Actually, the Javadoc is quite clear 
https://docs.oracle.com/javase/9/docs/api/java/awt/desktop/QuitHandler.html :

> Implementors must call either QuitResponse.cancelQuit(), 
> QuitResponse.performQuit(), or ensure the application terminates.

Please report the bug for NETBEANS on the Apache Jira: issues.apache.org/jira/

Great find! Seems to me the whole exit action design is unable to send an 
answer back in case of cancel.

I also see this has been reported multiple times in the old Bugzilla:

https://netbeans.org/bugzilla/show_bug.cgi?id=268549
https://netbeans.org/bugzilla/show_bug.cgi?id=271946
https://netbeans.org/bugzilla/show_bug.cgi?id=269724
(probably) https://netbeans.org/bugzilla/show_bug.cgi?id=247690

--emi

 Original Message 
 On 6 February 2018 11:22 PM, Marco Rossi <ma...@markreds.it> wrote:

>Hi Emilian,
> I’ve created this small project (attached here as a zip, hope it’s ok) and 
> got the same issue. Please note that this seems to be related to OS X only 
> (in Windows it works).
> My environment is Netbeans IDE 8.2 on OS X 10.11.6 with Java 1.8.
>
>
>
>
>
>>Il giorno 06 feb 2018, alle ore 19:05, Emilian Bold 
>>emilian.b...@protonmail.ch ha scritto:
>>Might be something more subtle, I know I could be able to press Cancel with 
>>Salvables.
>>Can you create a simple project that reproduces this problem?
>>--emi
>>
>
>
>
>
>To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
> For additional commands, e-mail: users-h...@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
>https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>

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

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



Re: TR: java.lang.LinkageError: loader constraint violation: loader

2018-02-16 Thread Emilian Bold
Try to create a small reproducible suite with this problem.

In theory what you did is correct and you don't have a duplicate of 
commons-configuration but it's hard to debug this over email with partial info.

Also try looking at the actual build output JARs that you have, I'm not 
entirely certain nbm-maven-plugin doesn't bundle things differently. I assume 
you've read stuff like 
http://www.mojohaus.org/nbm-maven-plugin/#Maven_Dependency_vs._NetBeans_runtime_dependency

--emi
​

 Original Message 
 On 16 February 2018 11:40 AM, GRYSPEERDT Bastien [CLEMESSY] 
<bastien.gryspee...@eiffage.com> wrote:

>
> Hi,
>
> Yes that is what I think too.
>
> I changed my architecture since I posted my issue.
>
> I still have the issue but I think the best is to explain the module 
> hierarchy :
> - I have module A (netbeans module)
>
> - the module A has a maven dependency to module B
>
> - the module B has a dependency to a library 1 (maven java project which is 
> not a Netbeans module).
>
> - the library 1 has dependencies to maven libraries, including 
> commons-configuration.
>
> => The library 1 includes some classes and module A has a class which 
> inherits from one of this classes.
>=> In the super class (in library 1), there is an attribute named 
>"configuration" (which is a "org.apache.commons.configuration.Configuration").
>=> The issue appends when I call a method of the inherited attribute 
>"configuration" in the class of module A.
>
> => in module B, the package "org.apache.commons.configuration" has been 
> declared as "publicPackage" in the "nbm-maven-plugin" in the POM.
>I would have hope that it would be sufficient to avoid that kind of problem, 
>but it is not.
>
> The problem must be that module A and module B both add the classes of the 
> apache "commons-configuration" project to their class loader.
>
> Bastien
>
>
> -Message d'origine-
> De : Emilian Bold [mailto:emilian.b...@protonmail.ch]
> Envoyé : jeudi 15 février 2018 13:13
> À : GRYSPEERDT Bastien [CLEMESSY]
> Cc : us...@netbeans.incubator.apache.org
> Objet : Re: java.lang.LinkageError: loader constraint violation: loader
>
> My guess is that you are bunding twice 
> org/apache/commons/configuration/Configuration (ie. commons-configuration).
>
> Maybe you have two modules that have a library wrapper? Or some other 
> external JAR that also bundles it in a fat jar?
>
> ​--emi
>
>
>  Original Message 
> On 13 February 2018 4:21 PM, GRYSPEERDT Bastien [CLEMESSY] 
> bastien.gryspee...@eiffage.com wrote:
>
>>Hi,
>>I have an application build on the Netbeans Platform that uses some netbeans 
>>modules.
>>These netbeans modules import some subprojects (that are not Netbeans
>> modules). In one of the subproject, I need to call the 
>> org.apache.configuration.Configuration (from “commons-configuration” Apache 
>> project) class to  check that a parameter is true (if it is, I display some 
>> field on a HMI).
>>To set the Configuration install, I do it like this : 
>>VariableSelectorGuiManager.setConfiguration(myInstance) è this is passed as 
>>static.
>>Then, The VariableSelectorGui class gets the configuration instance an 
>>display the fields depending on the parameters of the configuration instance.
>>The problem is the following :
>>-We have a standard Java HMI (not integrated in Netbeans) in which everything 
>>works fine.
>>-With the Netbeans platform, the
>> “VariableSelectorGuiManager.setConfiguration(myInstance)” is done in the 
>> register method of our “ModuleInstall” class. When we try to display the 
>> VariableSelectorGui, this error  is thrown :
>>java.lang.LinkageError: loader constraint violation: loader (instance of 
>>org/netbeans/StandardModule$OneModuleClassLoader) previously initiated 
>>loading for a different type with name 
>>"org/apache/commons/configuration/Configuration"
>>   at java.lang.ClassLoader.defineClass1(Native Method)
>>
>>
>>   at
>>
>>java.lang.ClassLoader.defineClass(ClassLoader.java:760)
>>   at
>>
>>org.netbeans.JarClassLoader.doLoadClass(JarClassLoader.java:311)
>>   at
>>
>>org.netbeans.ProxyClassLoader.selfLoadClass(ProxyClassLoader.java:259)
>>   at
>>
>>org.netbeans.ProxyClassLoader.loadClass(ProxyClassLoader.java:217)
>>   at
>>
>>java.lang.ClassLoader.loadClass(ClassLoader.java:357)
>>   at
>>
>>fr.variable.selector.component

Re: Compile on Save for a Kotlin/Maven project

2018-02-16 Thread Emilian Bold
Such a positive reply email!

I don't have much experience in the Compile on Save / Maven area but I'll try 
in the coming weeks, when I get some spare time, to look into it.

Thanks for reporting the issue.

--emi
​
 Original Message 
 On 15 February 2018 10:30 PM, Mátyás Bene <notabe...@hotmail.com> wrote:

>Here's the JIRA ticket: https://issues.apache.org/jira/browse/NETBEANS-399 as 
>suggested.
>
>From: Mátyás Bene <notabe...@hotmail.com>
>Sent: Thursday, February 15, 2018 20:56
>To: Emilian Bold
>Cc: us...@netbeans.incubator.apache.org
>Subject: Re: Compile on Save for a Kotlin/Maven project
>
>Hi Emilian,
>
>Thank you for your response. I had thought that my email got completely 
>unnoticed, or worse, simply ignored, for the reason you touched below: it's 
>not something that you (officially) support. Just one more reason to be more 
>than happy for any response I get.
>
>To get to the topic: I have already posted this in the plugin's site on Github 
>(https://github.com/JetBrains/kotlin-netbeans/issues/126) but that plugin is 
>not maintained any more (cited reason: lack of users, but obviously there's 
>more to this than meets the
> eye). So i thought I may try my chances getting some guidance in the netbeans 
> group and perhaps, really just perhaps I could get it work - as long as it 
> would not involve changing netbeans internals, just adding some callbacks to 
> the plugin - or what not.
>
>Anyway, I'll try as you suggested on JIRA. The Compile on Save feature is one 
>of the best features of netbeans which makes my productivity with Java EE an 
>order of magnitude higher. Now if I could combine this with the sparseness and 
>advanced capabilities of
> Kotlin, that would be a killer combination. This would be something that 
> would not be possible (AFAIK) with any other IDE today.
>
>M.
>
>From: Emilian Bold <emilian.b...@protonmail.ch>
>Sent: Thursday, February 15, 2018 13:28
>To: Mátyás Bene
>Cc: us...@netbeans.incubator.apache.org
>Subject: Re: Compile on Save for a Kotlin/Maven project
>
>We don't officially support Kotlin out of the box, so it's might be worth also 
>bothering the Kotlin plugin authors so they see they also have NetBeans users 
>and have to support other IDEs too.
>
>I don't believe Compile on Save for Maven projects really executes Maven as it 
>would be too slow I guess. It might do something more low level which explains 
>why it probably doesn't work for Kotlin projects. This might be a workaround 
>we could do on NetBeans
> side. Please report it on JIRA and reference in it the Kotlin-NetBeans plugin 
> issue you also posted.
>
>--emi
>
> Original Message 
>On 13 February 2018 1:15 AM, Mátyás Bene <notabe...@hotmail.com> wrote:
>
>>
>>Dear Netbeans pros,
>>
>>Assuming I have a maven based KOTLIN project by following the guide here: 
>>https://kotlinlang.org/docs/reference/using-maven.html and using the Kotlin 
>>plugin for NB.
>>
>>I am wondering how to enable to Compile On Save in Netbeans 8.2 so that 
>>changes in .kt files are picked up and recompiled automatically?
>>
>>While the FAQ http://wiki.netbeans.org/FaqCompileOnSave states that for maven 
>>projects it actually executes the corresponding maven goals (phases?),  it 
>>does not really seem like the kotlin-maven-plugin was called.
>>
>>Any ideas? Or is Netbeans filtering files that actually trigger the CoS 
>>feature to those with the '.java' extension?
>>
>>M.
>>
>


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

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



Re: java.lang.LinkageError: loader constraint violation: loader

2018-02-15 Thread Emilian Bold
My guess is that you are bunding twice 
org/apache/commons/configuration/Configuration (ie. commons-configuration).

Maybe you have two modules that have a library wrapper? Or some other external 
JAR that also bundles it in a fat jar?

​--emi


 Original Message 
 On 13 February 2018 4:21 PM, GRYSPEERDT Bastien [CLEMESSY] 
 wrote:

>
>Hi,
>
>
>
>
>
>I have an application build on the Netbeans Platform that uses some netbeans 
>modules.
>
>
>These netbeans modules import some subprojects (that are not Netbeans 
>modules). In one of the subproject, I need to call the 
>org.apache.configuration.Configuration (from “commons-configuration” Apache 
>project) class to
> check that a parameter is true (if it is, I display some field on a HMI).
>
>
>To set the Configuration install, I do it like this : 
>VariableSelectorGuiManager.setConfiguration(myInstance) è this is passed as 
>static.
>
>
>Then, The VariableSelectorGui class gets the configuration instance an display 
>the fields depending on the parameters of the configuration instance.
>
>
>
>
>
>The problem is the following :
>
>
>-We have a standard Java HMI (not integrated in Netbeans) in which everything 
>works fine.
>
>
>-With the Netbeans platform, the 
>“VariableSelectorGuiManager.setConfiguration(myInstance)” is done in the 
>register method of our “ModuleInstall” class. When we try to display the 
>VariableSelectorGui, this error
> is thrown :
>
>
>
>
>
>java.lang.LinkageError: loader constraint violation: loader (instance of 
>org/netbeans/StandardModule$OneModuleClassLoader) previously initiated loading 
>for a different type with name "org/apache/commons/configuration/Configuration"
>
>
>    at java.lang.ClassLoader.defineClass1(Native Method)
>
>
>    at java.lang.ClassLoader.defineClass(ClassLoader.java:760)
>
>
>    at 
>org.netbeans.JarClassLoader.doLoadClass(JarClassLoader.java:311)
>
>
>    at 
>org.netbeans.ProxyClassLoader.selfLoadClass(ProxyClassLoader.java:259)
>
>
>    at 
>org.netbeans.ProxyClassLoader.loadClass(ProxyClassLoader.java:217)
>
>
>    at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
>
>
>    at 
>fr.variable.selector.component.VariableSelectorGui.getCenterPane(VariableSelectorGui.java:562)
>
>
>    at 
>fr.variable.selector.component.VariableSelectorGui.createComponent(VariableSelectorGui.java:821)
>
>
>    at 
>fr.variable.selector.component.VariableSelectorGui.lambda$getComponent$1(VariableSelectorGui.java:181)
>
>
>    at 
>fr.variable.selector.component.VariableSelectorGui$$Lambda$116/700934246.run(Unknown
> Source)
>
>
>    at 
>com.sun.javafx.application.PlatformImpl.lambda$null$164(PlatformImpl.java:292)
>
>
>    at 
>com.sun.javafx.application.PlatformImpl$$Lambda$64/1862576770.run(Unknown 
>Source)
>
>
>    at java.security.AccessController.doPrivileged(Native Method)
>
>
>    at 
>com.sun.javafx.application.PlatformImpl.lambda$runLater$165(PlatformImpl.java:291)
>
>
>    at 
>com.sun.javafx.application.PlatformImpl$$Lambda$63/2029243975.run(Unknown 
>Source)
>
>
>[catch] at 
>com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
>
>
>    at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
>
>
>    at 
>com.sun.glass.ui.win.WinApplication.lambda$null$141(WinApplication.java:102)
>
>
>    at 
>com.sun.glass.ui.win.WinApplication$$Lambda$54/1859224790.run(Unknown Source)
>
>
>    at java.lang.Thread.run(Thread.java:745)
>
>
>The error is thrown when trying to access a method of the Configuration 
>interface.
>
>
>
>
>
>I already tried to add 
>“org.apache.commons.configuration” but it does 
>not work.
>
>
>I also tried to add exclusions but it does not work too.
>
>
>
>
>
>When I remove the code from the ModuleInstall>>register, the error is not 
>thrown.
>
>
>
>
>
>All the modules/projects inherit from the same version of the 
>“commons-configuration” project.
>
>
>
>
>
>Thanks,
>
>
>
>
>
>Bastien
>
>
>
> Cet e-mail et ses éventuelles pièces jointes peuvent contenir des 
> informations confidentielles et sont exclusivement adressés au(x) 
> destinataire(s) mentionné(s) ci-dessus. Toute diffusion, exploitation ou 
> copie sans autorisation de cet e-mail et de ses pièces
> jointes est strictement interdite. Si vous recevez ce message par erreur, 
> merci de le détruire et d' avertir immédiatement l'expéditeur. EIFFAGE 
> décline toute responsabilité si ce message a été modifié ou falsifié. 
> This message and any attachments may contain confidential information and are 
> established exclusively for his or its recipients. Any use of this message, 
> for which it was not intended, any distribution or any total or partial 
> publication is prohibited unless
> previously approved. If you receive this 

Re: Question about issue tracker

2018-01-01 Thread Emilian Bold
See https://issues.apache.org/jira/browse/NETBEANS-164

--emi
​

> Original Message 
>Subject: Re: Question about issue tracker
>Local Time: 31 December 2017 3:52 PM
>UTC Time: 31 December 2017 13:52
>From: mcdonnell.j...@gmail.com
>To: cowwoc 
>users@netbeans.apache.org
>
>Hi Cowwoc,
>
>At the moment NetBeans in migrating over to Apache, and in the latter half of 
>2017, the first initial code drop took place containing the NetBeans platform 
>and the basic Java modules, etc...  As a result the old codebase stored in 
>Oracle, i.e. https://netbeans.org/community/sources/ is no longer applicable 
>for use since the more up to date changes are happening in the code base 
>found: https://github.com/apache/incubator-netbeans
>
>This means the daily builds should be taken from here: 
>https://builds.apache.org/view/Incubator%20Projects/job/incubator-netbeans-release/
>
>In relation to the exception reporter I believe there was some discussion 
>about this, but I cannot seem to find it on the mailing lists, so maybe I'm 
>imagining this.  But your right, something will need to be done about this.  
>
>
>Please check out the new daily builds and please file any defects against the 
>JIRA link previously provided. - If there are any high profile defects that 
>might block you please report them as soon as possible thanks.
>
>John
>
>On 31 December 2017 at 12:42, cowwoc  wrote:
>>Hi Geertjan,
>>
>> I am getting the nightly builds from 
>> http://bits.netbeans.org/download/trunk/nightly/latest/
>>
>> Gili
>>
>>
>>On 2017-12-31 3:10 AM, Geertjan Wielenga wrote:
>>>Which
>>>  nightly builds are you referring to specifically? 
>>>
>>>Can you provide a URL just to make sure we’re talking about
>>>the same thing?
>>>
>>>
>>>Gj
>>>
>>> On Sunday, December 31, 2017, cowwoc 
>>>  wrote:
>>>
Hi,

 Are there any plans to open up (migrate) the issue tracker
for the broader apache community to tackle existing/old
Netbeans bugs?

 I ask because I feel like the bandwidth for fixing Java
Editor bugs is like sucking a milkshake through a straw:
major bugs are being reported at an expoentially-growing
rate and they are being fixed at a rate of 1-2 a week. The
nightly builds are frankly barely usable anymore. I am
specifically concerned about Maven + Java projects where I
routinely get NullPointerExceptions and "slow action" errors
(actions taking 13-20 seconds to complete on a seemingly
random basis).

 This component needs more love. And soon. Can you please
prioritize accordingly?

 Thank you,
 Gili

 (For context, I've been using Netbeans since 1999 so when I
say things are unstable I've got a long track-record to
judge by)


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

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


>>

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

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



Re: Installer bug?

2018-07-27 Thread Emilian Bold
Seems to be a variation of https://netbeans.org/bugzilla/show_bug.cgi?id=256122 
?

--emi

‐‐‐ Original Message ‐‐‐
On 27 July 2018 5:01 PM, stephen cumminger  
wrote:

> I have an RCP app based on NetBeans 8.2, for which I use the built-in 
> Installer for my deployments. I have reports of installation issues on MS 
> Windows machines, depending on how it is installed.
>
>  
>
> The scenario is that in large organizations, IT policies are in place to 
> prevent regular users from installing programs at all. So the IT folks help 
> them in one of two ways (the first one fails)
>
>  
>
> 1.  Go to or remote into user’s machine. Login with IT tech’s credentials who 
> have Admin privileges. Install the program. Log out and the User logs back in.
> 2.  Temporarily elevate user’s privileges to Admin until the install is 
> completed. Then reset user to previous privileges afterwards.
>
>  
>
> The first option fails when the actual User tries to run the app:
>
>  
>
>  
>
> I’d like to stay with the NetBeans Installer as it does everything I need.
>
>  
>
> I have heard this complaint from several users/companies, so I have to assume 
> that option #1 is expected to be a viable option for the install of programs.
>
>  
>
> Has anyone run across this before?
>
>  
>
>  
>
>  
>
> Stephen Cumminger
>
>

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

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



Re: Plug-in support and compatibility suggestion

2018-08-07 Thread Emilian Bold
Beansbinding can be brought back easily. We have the existing code 
service-based, we only have to put the GPL w/ CPE plugin somewhere online and 
suggest it to users, just like we suggest nb-javac.

--emi

‐‐‐ Original Message ‐‐‐
On 7 August 2018 6:56 PM, Oliver Rettig  wrote:

> Hi,
>
>  
>
> Can we establish a page in the wiki with the problematic libraries:
>
>  
>
> org.jdesktop.beansbinding
>
> org.jdesktop.swingx
>
> javahelp
>
>  
>
> Are there others?
>
>  
>
> What is to do? How can the functionality in the first two be substituted?
>
>  
>
> What can we do to substitute javahelp.
>
>  
>
> best regards
>
> Oliver
>
> > The owner is Oracle. And the JSR for BeansBinding is dead.
>
> >
>
> > And that is not my point — my point is that any plugin using that JAR needs
>
> > to be rewritten to not use it.
>
> >
>
> > Gj
>
> >
>
> >
>
> > On Friday, August 3, 2018, Boris Heithecker 
>
> >
>
> > wrote:
>
> > > Hi,
>
> > > does anybody know who's the owner of org.jdesktop.beansbinding? Whom
>
> > > should I contact? Is the license really GPL, or LGPL? Same question
>
> > > applies to org.jdesktop.swingx: GPL oder LGPL? Who's the owner?
>
> > > Havn't found any robust information about these libraries so far.
>
> > > Am I allowed to ship them with my platform application?
>
> > > Boris
>
> > >
>
> > > 2018-08-03 9:59 GMT+02:00 Geertjan Wielenga
>
> > >
>
> > > :
>
> > > > And the solution is to get hold of the owners of the plugins that do not
>
> > > > work with 9.0 and ask them/work with them to make them compatible with
>
> > >
>
> > > 9.0.
>
> > >
>
> > > > Gj
>
> > > >
>
> > > > On Fri, Aug 3, 2018 at 9:57 AM, Geertjan Wielenga
>
> > > >
>
> > > >  wrote:
>
> > > >> The problems are a bit more complex than how you describe them, in the
>
> > > >> case of Apache NetBeans.
>
> > > >>
>
> > > >> Take for example 'org.jdesktop.beansbinding'.
>
> > > >>
>
> > > >> This is a library that has been part of NetBeans for many years. And
>
> > >
>
> > > it's
>
> > >
>
> > > >> been used by a variety of plugins as well, such as some of those you
>
> > >
>
> > > seem to
>
> > >
>
> > > >> be trying to install.
>
> > > >>
>
> > > >> However, the licensing of that library is GPL. The Apache Software
>
> > > >> Foundation does not allow Apache projects to distribute GPL-based
>
> > >
>
> > > libraries.
>
> > >
>
> > > >> So, we had to remove it from Apache NetBeans.
>
> > > >>
>
> > > >> And now some of the plugins that rely on that library will not work.
>
> > > >>
>
> > > >> There are other similar cases, though not too many. Another example is
>
> > > >> Hibernate (http://hibernate.org/community/license), which had to be
>
> > >
>
> > > removed
>
> > >
>
> > > >> in order for Apache NetBeans to be acceptable to the Apache Software
>
> > > >> Foundation.
>
> > > >>
>
> > > >> Hope this gives some insights,
>
> > > >>
>
> > > >> Gj
>
> > > >>
>
> > > >>
>
> > > >> On Fri, Aug 3, 2018 at 9:49 AM, * William 
>
> > > >>
>
> > > >> wrote:
>
> > > >>> Hello all...
>
> > > >>>
>
> > > >>> I have an interesting general for platforms supporting: extras,
>
> > > >>> macros,
>
> > > >>> add-ons, plug-ins, extensions, themes, what have you. For this post,
>
> > >
>
> > > I'll
>
> > >
>
> > > >>> jsut use "plug-in" as a generic term meaning all things you can
>
> > >
>
> > > add/theme,
>
> > >
>
> > > >>> etc.
>
> > > >>>
>
> > > >>>
>
> > > >>> use-case:
>
> > > >>>
>
> > > >>> I've faced the same situation on many platforms, across many
>
> > > >>> release-cycles, and over many years. Some identifable examples
>
> > > >>> include
>
> > > >>> Netbeans, Firefox (since v5), Chrome, Eclipse, even application tools
>
> > >
>
> > > Excel,
>
> > >
>
> > > >>> Word and OpenOffice/LibreOffice, etc.
>
> > > >>>
>
> > > >>> Almost with out exception, when new releases comes-out I as an
>
> > > >>> end-user
>
> > > >>> loose functionality when the "plug-in" version no longer matches or if
>
> > >
>
> > > the
>
> > >
>
> > > >>> model changes. Last year Firefox changed the whole plug-in interface
>
> > >
>
> > > and I
>
> > >
>
> > > >>> lost every day productivity because things aI had a habit of using
>
> > >
>
> > > were no
>
> > >
>
> > > >>> longer "present" or compatible.
>
> > > >>>
>
> > > >>> I am sure you are familiar with the feeling when your favoured tool or
>
> > > >>> add-on is no longer there? An example to talk to is this: the
>
> > >
>
> > > Netbeans RC
>
> > >
>
> > > >>> and Beta both happily supported the plugin QuickOpener during my
>
> > >
>
> > > various
>
> > >
>
> > > >>> opportunities to trial these two pre-release candidates.
>
> > > >>>
>
> > > >>> Alas, Netbeans release 9 does not. I'm sure there are reasons. I'm
>
> > > >>> taling to two points.
>
> > > >>>
>
> > > >>> Capability -- Evidently Netbeans as RC1 can support QuickOpener (it is
>
> > > >>> feasible and practical)
>
> > > >>> Usability -- Those features that I may use 4 or 24 times a day are now
>
> > > >>> gone.
>
> > > >>>
>
> > > >>> 

Re: JavaFX for NetBeans GUI

2018-08-21 Thread Emilian Bold
What new desktop apps did Microsoft release in the past years?

They have a monopoly on office productivity apps (Word / Excel) but what other 
desktop software products are these 'small businesses' buying?

Small businesses may be the biggest employer but they are not the biggest 
software (desktop) developer employers.

The data just doesn't show this: where are the successful products, the 
companies catering to small business, the jobs?

--emi

‐‐‐ Original Message ‐‐‐
On 21 August 2018 12:09 AM, Chuck Davis  wrote:

> Microsoft will continue laughing all the way to the bank as long as they can 
> keep the Java crowd believing their desktop monopoly is just a niche market.  
> In the US small businesses are the largest employer segment and we live on a 
> desktop.  More and more of them with larger and larger screens.  Of course, 
> we also use browsers for web access and cell phones to talk with each other.  
> But we get our work done with a desktop client/server application for the 
> most part; and no, we don't want to have to try to get anything done with 
> something as crude as a browser interface.  That should be more than apparent 
> from the recent rash of class action lawsuits that have been filed against 
> Oracle's attempt to force customers to a browser interface.  We simply don't 
> want it in small businesses.  Long live the niche!!
>
> On Mon, Aug 20, 2018 at 12:56 PM Eirik Bakke  wrote:
>
> > Both Swing and JavaFX are niche technologies, and I'd question the value of 
> > porting a large existing application from one to another.

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

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



Re: NB printing question

2018-07-23 Thread Emilian Bold
Interesting. I can't remember when I printed last from NetBeans but I guess in 
your case you would need a combobox next to 'Print as in Editor' that offers 
the Profiles from Options | Fonts and Colors?

Alternatively it would also help you if you could clone the editor with another 
Profile and print that one.

Both ideas need some code writing so perhaps it would help to report the idea 
here https://issues.apache.org/jira/projects/NETBEANS/issues/ You could also 
give it a try yourself, the editor code is big but it makes sense when you jump 
into it.

​--emi​

‐‐‐ Original Message ‐‐‐

On 24 July 2018 12:27 AM, Thomas Wolf  wrote:

> I'm on a Mac running NB 8.2 and was wondering what folks do to get Netbeans 
> to provide decent print output?  Here's my issue/situation: I use Netbeans 
> with a dark theme (Darcula).  When I want to print something, "Print Options" 
> lets me choose to "Print as in Editor" - which I can't choose because I'll 
> quickly run out of ink on the printer - or manually specify various 
> font/foreground attributes - which I also can't use because in that mode, 
> printouts seem to ignore tabs - i.e. all my code is left-justified :-(
> 
> The only thing I could think of to do is to switch back to a dark-on-white 
> theme whenever I need to print and select "Print as in Editor" - but that's 
> pretty hokey (plus I get some pretty strange results on a B/W printer when 
> the syntax highlighting color doesn't have enough contrast).
> 
> Any alternative suggestions?  I don't print very often anymore, but it sure 
> would be nice to have decently formatted java code to look at.
> 
> thnx,
> 
> tom
> 
> --
> 
> tjw...@gmail.com
> 
> http://landofwolf.blogspot.com/

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

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



Re: How to show filtered views of single ExplorerManager's nodes?

2018-07-24 Thread Emilian Bold
It's a quite powerful module especially if you want to slice-and-dice the same 
underlining business model in multiple ways.

Sadly there is a bug related to refresh, I believe you have to refresh the 
whole view, it's not more fine-grained. My feeling is that Sun/Oracle could 
have put more work into the module but it was stopped when it was good enough 
(ie. not enough resources).

--emi

‐‐‐ Original Message ‐‐‐
On 24 July 2018 5:07 PM, Andreas Sewe  wrote:

> Emilian Bold wrote:
>
> > I don't believe FilterNode is designed for filtering that changes much the 
> > hierarchy structure.
> > I recommend reading about 
> > http://bits.netbeans.org/8.1/javadoc/org-netbeans-spi-viewmodel/org/netbeans/spi/viewmodel/package-summary.html#package_description
> >  which is more generic but should allow you easily to redesign the 
> > hierarchy.
>
> Thank for you for the pointer; I wasn't aware of
> org-netbeans-spi-viewmodel. (New to NetBeans and re-reading The
> NetBeans Platform for Beginners, which doesn't cover that API.)
>
> It looks to be more low-level, though. In particular, how would I react
> to changes in the underlying mode? Currently, my Node and ChildFactory
> subclasses listen to property changes of the model at the respective
> levels. Who would be responsible to listen to model changes using the
> view model API?
>
> Best wishes,
>
> Andreas
>
> -
>
> Dr. Andreas Sewe | s...@cqse.eu | +49 152 56342856
> CQSE GmbH | Lichtenbergstrasse 8 | 85748 Garching | www.cqse.eu
> Amtsgericht Muenchen | HRB 177678 | GF: F. Deissenboeck, M. Feilkas
>
> ---
>
> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
> For additional commands, e-mail: users-h...@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



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

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



Re: How to show filtered views of single ExplorerManager's nodes?

2018-07-24 Thread Emilian Bold
I don't believe FilterNode is designed for filtering that changes much the 
hierarchy structure.

I recommend reading about 
http://bits.netbeans.org/8.1/javadoc/org-netbeans-spi-viewmodel/org/netbeans/spi/viewmodel/package-summary.html#package_description
 which is more generic but should allow you easily to redesign the hierarchy.

--emi

‐‐‐ Original Message ‐‐‐
On 24 July 2018 1:52 PM, Andreas Sewe  wrote:

> Hi NetBeans users,
>
> I need some advice on Explorer Views and Nodes, in particular
> FilteredNode. Abstractly, my scenario is the following:
>
> The data model is a simple collection of beans with with properties
> "key", "left", and "right", represented as a tree of Nodes (dummy root
> Node with BeanNode children). Now, in a TopComponent I want to show
> two explorer views: The left-hand explorer view should be an
> OutlineView showing all Nodes whose "left" property is non-null, the
> right-hand explorer view should show all Nodes whose "right" property is
> non-null.
>
> In crude ASCII art:
>
> Key | Left Key | Right
> a | 1 a | 3
> b | 2 c | 4
>
> So, Nodes can show up in both views (like the one with key "a"), but
> that need not be the case ("b", "c").
>
> I imagine that my TopComponent will be an ExplorerManager.Provider for
> the unfiltered view. Then the two OutlineViews will need
> ExplorerManagers of their own, having some kind of FilteredNode as their
> root node. Is this the correct way to think about this issue? And if so,
> how would one publish the selected Node (which may or may not be shown
> in both views, in the global lookup?
>
> Any pointers are greatly appreciated. (And, no, merging the two views
> into one is not an option; the actual UI is more complex than the above
> sketch.)
>
> Best wishes,
>
> Andreas
>
> --
>
> Dr. Andreas Sewe | s...@cqse.eu | +49 152 56342856
> CQSE GmbH | Lichtenbergstrasse 8 | 85748 Garching | www.cqse.eu
> Amtsgericht Muenchen | HRB 177678 | GF: F. Deissenboeck, M. Feilkas


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

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



RE: problems running project

2018-07-09 Thread Emilian Bold
And what was the issue?

--emi

‐‐‐ Original Message ‐‐‐

On 9 July 2018 11:50 PM, Schulte, Richard  wrote:

> Figured out the issue by delving into ant scripts.
> 
> thanks
> 
> Richard Schulte | O: 402.938.1465 | richard.schu...@essvote.com
> 
> From: Geertjan Wielenga [mailto:geertjan.wiele...@googlemail.com.INVALID]
> 
> Sent: Monday, July 09, 2018 12:22 PM
> 
> To: us...@netbeans.incubator.apache.org
> 
> Subject: Re: problems running project
> 
>  
> 
>  
> 
> What is needed from you:
> 
> - your operating system
> 
> - which version, exactly, of Java are you using
> 
> - are you using the 9.0-VC3 announced here and elsewhere, if not, please use 
> that
> 
> - please provide a project that can be used to reproduce the problem
> 
> - right now we know nothing about your project -- is it based on Ant, on 
> Maven, on what?
> 
> - please provide step by step instructions what must be done with your 
> project to run it
> 
>  
> 
> Thanks,
> 
>  
> 
> Gj
> 
>  
> 
>  
> 
>  
> 
> On Mon, Jul 9, 2018 at 7:16 PM, Schulte, Richard 
>  wrote:
> 
> > I migrated a project from Netbeans 8/JDK 8 to Netbeans 9/JDK 10.  The 
> > project builds successfully, but it fails with ‘Error: Could not create 
> > Java Virtual Machine.  Error: A fatal exception has occurred’.  I can run 
> > the project from a script file, so it works if everything is set up 
> > correctly.  Can someone provide a pointer to how Netbeans’  Run -> Run Main 
> > Project starts the project?  How can I determine what exception is being 
> > thrown?
> > 
> > thanks
> > 
> >  
> 
>

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

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



RE: problems running project

2018-07-09 Thread Emilian Bold
Thanks for the reply, at least we know the cause.

No problem using com.sun. Although I'm more of a Metal LnF myself :-)

--emi

‐‐‐ Original Message ‐‐‐

On 9 July 2018 11:58 PM, Schulte, Richard  wrote:

> Invalid jre option setting default l to 
> com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel
> 
> (I inherited this project. Don't flame me for using com.sun!)
> 
> -Original Message-
> 
> From: Emilian Bold [mailto:emilian.b...@protonmail.ch]
> 
> Sent: Monday, July 09, 2018 3:53 PM
> 
> To: Schulte, Richard
> 
> Cc: Geertjan Wielenga; us...@netbeans.incubator.apache.org
> 
> Subject: RE: problems running project
> 
> And what was the issue?
> 
> --emi
> 
> ‐‐‐ Original Message ‐‐‐
> 
> On 9 July 2018 11:50 PM, Schulte, Richard richard.schu...@essvote.com wrote:
> 
> > Figured out the issue by delving into ant scripts.
> > 
> > thanks
> > 
> > Richard Schulte | O: 402.938.1465 | richard.schu...@essvote.com
> > 
> > From: Geertjan Wielenga [mailto:geertjan.wiele...@googlemail.com.INVALID]
> > 
> > Sent: Monday, July 09, 2018 12:22 PM
> > 
> > To: us...@netbeans.incubator.apache.org
> > 
> > Subject: Re: problems running project
> > 
> > What is needed from you:
> > 
> > -   your operating system
> > 
> > -   which version, exactly, of Java are you using
> > 
> > -   are you using the 9.0-VC3 announced here and elsewhere, if not, please 
> > use that
> > 
> > -   please provide a project that can be used to reproduce the problem
> > 
> > -   right now we know nothing about your project -- is it based on Ant, on 
> > Maven, on what?
> > 
> > -   please provide step by step instructions what must be done with your 
> > project to run it
> > 
> > 
> > Thanks,
> > 
> > Gj
> > 
> > On Mon, Jul 9, 2018 at 7:16 PM, Schulte, Richard 
> > richard.schu...@essvote.com wrote:
> > 
> > > I migrated a project from Netbeans 8/JDK 8 to Netbeans 9/JDK 10.  The 
> > > project builds successfully, but it fails with ‘Error: Could not create 
> > > Java Virtual Machine.  Error: A fatal exception has occurred’.  I can run 
> > > the project from a script file, so it works if everything is set up 
> > > correctly.  Can someone provide a pointer to how Netbeans’  Run -> Run 
> > > Main Project starts the project?  How can I determine what exception is 
> > > being thrown?
> > > 
> > > thanks
> 
> �ТХFV7V'67&RâW6W'2V7V'67&WF26RФf"FFF6G2RâW6W'2ֆVWF26RРФf"gW'FW"f&FFRWD2ƖrƗ7G2f6CЦGG37v6RUD$T2ƖrƗ7G0Р



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

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



Re: another error

2018-07-09 Thread Emilian Bold
VC==vote candiadate.

Are you using nb-javac or not?

Please report the bug: https://issues.apache.org/jira/projects/NETBEANS/summary

--emi

‐‐‐ Original Message ‐‐‐

On 9 July 2018 3:09 PM, Thomas Kellerer  wrote:

> What exactly does "VC3" stand for? Is that something like "RC3"? (the third 
> release candidate?)
> 
> Thomas
> 
> Geertjan Wielenga schrieb am 09.07.2018 um 14:07:
> 
> > Here's info on where and how to find the 9.0 VC3 release, which was built 
> > yesterday:
> > 
> > https://lists.apache.org/thread.html/a644bb8e3ba2cbd06328bb004f1b18b4171763cd3d78a9131615f687@
> > 
> > You're also welcome to join the 'dev' mailing list to vote on it, after 
> > using it, and assuming you'll describe your full environment when voting -- 
> > though note the vote is about the sources, not the binary.
> > 
> > Thanks,
> > 
> > Gj
> > 
> > On Mon, Jul 9, 2018 at 1:56 PM, Geertjan Wielenga 
> > mailto:geertjan.wiele...@googlemail.com> 
> > wrote:
> > 
> > It's not possible to help. We need to know your operating system, 
> > version of JDK, etc etc.
> > 
> > Also, what did you do to get this error, exactly?
> > 
> > Also, are you using 9.0 VC3, i.e., the vote candidate currently being 
> > considered for the final release of 9.0?
> > 
> > Gj
> > 
> 
> --
> 
> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
> 
> For additional commands, e-mail: users-h...@netbeans.apache.org
> 
> For further information about the NetBeans mailing lists, visit:
> 
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


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

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



Re: NetBeans 9.0 - Can't debug a single test method with migrated project

2018-03-11 Thread Emilian Bold
You should report this on JIRA 
https://issues.apache.org/jira/projects/NETBEANS/summary

Could you just compare / diff the two folders and see what changed? I guess the 
build.xml files are slightly different (for some reason).

--emi

‐‐‐ Original Message ‐‐‐

On 8 March 2018 10:26 PM, Thomas Kellerer  wrote:

> I have an Ant based project that was migrated from 8.2 (i.e. I simply opened 
> the project with NetBeans 9.0)
> 
> When I try to use "Debug Focused Test Method" I get an error:
> 
> Target "debug-single-method" does not exist in the project "SQLWorkbench".
> 
> When I create the project from scratch within NetBeans 9.0 this works without 
> problems
> 
> Thomas
> 
> 
> --
> 
> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
> 
> For additional commands, e-mail: users-h...@netbeans.apache.org
> 
> For further information about the NetBeans mailing lists, visit:
> 
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


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

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



Re: NetBeans and Git

2018-03-11 Thread Emilian Bold
I agree with John. Most likely a "compile on save" / "files watching" problem 
than something Git related.

--emi

‐‐‐ Original Message ‐‐‐

On 10 March 2018 8:12 PM, John Muczynski  wrote:

> Hi Owen,
> 
> I see Brett is posting about the git portion of your questions.  I'll try to 
> answer some of the others.
> 
> >I observe some compilation errors.
> 
> > Is something being cached
> 
> I also get this symptom when making changes to a large number of files in a 
> project.  I think the root of the issue may be the file watching. When lots 
> of files get changed, the buffers get flooded. For me, this is the buffers in 
> the operating system (windows !@#$%&).  The result is that NetBeans doesn't 
> immediately recognize some of the changed files. It does seem to go through a 
> slow polling loop and eventually recognize all the changes, but then the 
> symptoms here branch into two categories.
> 
> 1\. the red marks for compile errors go away on their own, or you hurry it 
> along by opening one of the classes or doing a rebuild or whatever.
> 
> 2\. the red marks stay no matter what you do.
> 
> 1\. In the first case, I don't think there's much to be done about it other 
> than a significant rewrite. The symptoms here may accidentally change with 
> JDK 9, so I look forward to using NetBeans 9 with JDK 9 at some point. Part 
> of this story is that classes seem to be getting compiled twice: once into 
> class files on disk and a second time into RAM. Notice, for example, that if 
> you do a clean and then a build that it doesn't speed things up.
> 
> 2\. In the second case, I do see sticky red marks that don't go away.  
> Deleting the NetBeans cache does fix that. I've found it more helpful to 
> delete the cache when NetBeans isn't executing. I seem to remember seeing 
> people making a plugin for NetBeans for deleting the cache.
> 
> Kind Regards,
> 
> Johnny
> 
> --
> 
> Johnny Muczynski
> 
> 734-262-2045
> 
> On Sat, Mar 10, 2018 at 5:10 AM Owen Thomas  
> wrote:
> 
> > Hello.
> > 
> > I have been using NetBeans with Git (I moved my codebase from SVN about 
> > about ten months ago), and I seem to have some problems after I open a 
> > clean working copy.
> > 
> > After I commit my changes, I sometimes observe that some blue cylinder 
> > embellishments remain next to some packages. I backup my .git file, delete 
> > the original, and restore it from backup. Sometimes, after checking out a 
> > working copy and after reloading projects into NetBeans, I observe some 
> > compilation errors. It seems that there are also some uncommitted changes, 
> > and removing these changes seems to remove the compilation errors.
> > 
> > Has anyone got a clue as to what might be going on? Is something being 
> > cached in NetBeans somewhere?
> > 
> > Thanks,
> > 
> >   Owen.

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

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



Re: JRE updates and the new development cycle.

2018-03-11 Thread Emilian Bold
> While we are on the subject, is there a way to make the Java updater just 
>update automatically like my web browser?

I assume you are asking about Windows? Doesn't the JRE updater that sits in the 
status bar automatically update?

On Linux the JDK/JRE is just another package, you update it in any automated 
fashion you use on Linux.

--emi

‐‐‐ Original Message ‐‐‐

On 7 March 2018 11:52 PM, Derik Devecchio  wrote:

> This is possibly off topic.
> 
> Does anyone on this list know howJava.com and the JRE update program will 
> treat the 6 month development cycle planned for Java 10+?
> 
> Currently neither of these tools is pushing Java 9 to end users yet, and Java 
> 10 will be here soon!
> 
> I bring this up because, historically, I couldn’t release code for any 
> version of Java that wasn’t “public”.   So for example I couldn’t release 
> code, or even seriously write code, for Java 8 until long after it had been 
> officially released.   I have to believe that many other corporate developers 
> have a similar restriction.
> 
> While we are on the subject, is there a way to make the Java updater just 
> update automatically like my web browser?   I maintain 5 computers (some of 
> the virtual) and I am constantly updating the JRE.  It is just getting kind 
> of annoying.   One of the product managers here complained that he didn’t 
> like having to do it every 3 months on just ONE computer.   Maybe autoupdates 
> would be bad for some corporate environments, but it would be good for me 
> personally.

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

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



Re: Programmatically select a node after being created

2018-04-14 Thread Emilian Bold
I'm also curious about this.

It seems to me the API is somewhat incomplete, specifically in the async area. 
We have no Future to listen to and react. So, it's all fire-and-forget when 
often times you want to do something after the node has been created / shown.

In your case you control the beanTreeView so as a last resort I guess you could 
subclass the view and listen on the JTree directly (it's a protected field). 
Still... it's ugly.

Not really sure if there's some other way. If you do find it, please come back 
on the mailing list and let us know.

--emi

‐‐‐ Original Message ‐‐‐

On 13 April 2018 12:28 PM, Marco Rossi  wrote:

> Hi there,
> 
> can someone tell me how to programmatically select a node in my beanTreeView 
> (backed up by an explorerManager) after being created in my data model? I 
> tried to do this in parent node, by adding a NodeListener like this:
> 
> parentNode.addNodeListener(new NodeAdapter() {
> 
> @Override
> 
> public void childrenAdded(NodeMemberEvent ev) {
> 
> if (ev.isAddEvent()) {
> 
> final Node node = ev.getNode();
> 
> SwingUtilities.invokeLater(new Runnable() {
> 
> @Override
> 
> public void run() {
> 
> try {
> 
> LibraryViewerTopComponent.findInstance().getExplorerManager().setSelectedNodes(new
>  Node[] { node });
> 
> } catch (PropertyVetoException ex) {
> 
> MessageBox.error(ex);
> 
> }
> 
> }
> 
> });
> 
> }
> 
> }
> 
> });
> 
> When I create a new item in my data model, the ChildFactory refreshes 
> asynchronously itself and creates a new node representing the data. 
> Unfortunately this does’t work because the child node may be not exists yet 
> in the explorer manager. Any suggestions?
> 
> 
> -
> 
> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
> 
> For additional commands, e-mail: users-h...@netbeans.apache.org
> 
> For further information about the NetBeans mailing lists, visit:
> 
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



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

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



Re: java.util.zip.CRC32C cannot be found on the system module path

2018-03-25 Thread Emilian Bold
Are you sure CRC32C exists? Could you check which modules has it (I assume it 
would be java.base, but I can't check myself).

--emi

‐‐‐ Original Message ‐‐‐

On 23 March 2018 4:27 PM, Marcel Witte  wrote:

> I'm using the current netbeans jenkins build. After changing my project to 
> Java 9 (source level 9) I get a lot of messages like the following in the 
> netbeans log:
> 
> Even though the source level of [...] is set to: 9, java.util.zip.CRC32C 
> cannot be found on the system module path: 
> 

Re: Signing NBMs with a Trusted Certificate

2018-03-25 Thread Emilian Bold
I believe we discussed this before: 
https://lists.apache.org/thread.html/cc95584333ad21929346078ba42b4e3859dc0f6173d9700081178280@%3Cdev.netbeans.apache.org%3E

> You might be running into the fact that only Oracle is hardcoded as
> trusted:
> https://github.com/emilianbold/incubator-netbeans/blob/3c8b489a1f71bc1bc9dab9f3ac33acaff361a175/autoupdate.services/src/org/netbeans/modules/autoupdate/services/Utilities.java#L231

> if (certDNName.contains("CN=\"Oracle America, Inc.\"")
> > && (certDNName.contains("OU=Software Engineering") ||
> > certDNName.contains("OU=Code Signing Bureau"))) {
> > res = 2;
> >
> > ...
> > switch (res) {
> > case 2:
> > return TRUSTED;
> >

> Also note this comment:

> // signed by trusted certificate stored in user's keystore od ide.ks
> return TRUSTED;


> But, for your own RCP app, you could look into
> org.netbeans.spi.autoupdate.KeyStoreProvider and how
> org.netbeans.modules.updatecenters.resources.NetBeansKeyStoreProvider
> uses the included core/ide.ks and replicate that.

If you control the main app, you don't even need to give Comodo any money, you 
can just pin your (self-signed) certificate.

--emi

‐‐‐ Original Message ‐‐‐

On 22 March 2018 8:55 PM, stephen cumminger  
wrote:

> This may be a simple question, but I could use some help nonetheless.
> 
>  
> 
> I have a NetBeans RCP app based on version 8.2. I have a certificate from a 
> major trusted certificate provider (Comodo) that I use to sign the NBMs that 
> are posted to our Update Center. The question is “how do I get rid of the 
> following Dialog ?”
> 
>  
> 
>  
> 
> I use the same certificate to sign the Installer file, and MS Windows does 
> not complain. The problem is that it is confusing to my users. From what I 
> read this Dialog needs to appear at least once for the User to “Accept” 
> before the certificate is installed into the Trust Store.
> 
>  
> 
> The following is how I sign the nmb’s in the ant script of each module:
> 
> 
> 
>     
> 
>      
>  keystore="${keystore}"
> 
>  storepass="${storepass}"
> 
>  alias="${nbm_alias}"
> 
>  keypass="${storepass}"
> 
>  tsaurl="http://timestamp.comodoca.com/rfc3161;
> 
>  digestalg="SHA-256"
> 
>  force="true"
> 
>     />
> 
> 
> 
>  
> 
> Hints or suggestions always welcome.
> 
>  
> 
> Regards,
> 
>  
> 
>  
> 
> Stephen
> 
>

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

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



Re: Status of Nashhorn in latest v8.2+ dev build?

2018-03-31 Thread Emilian Bold
I don't believe there is a special team within NetBeans focused on Nashorn.

Nashorn is a great Oracle project and last I was tracking its development there 
was a very competent individual taking care of it. I'm not even certain there 
was a whole team working on it, just one person.

Intermixing Java and Javascript might be interesting (à la node.js) but I'm not 
sure the IDE supports this.

--emi

‐‐‐ Original Message ‐‐‐

On 31 March 2018 2:26 AM, Starbuck  wrote:

> I'm running the latest development version that I can, currently 201802230002.
> 
> I'd like to keep up with development related to Nashorn. Specifically, my 
> dream here is to be able to:
> 
> -   Edit JavaScript along with Java in the same file in a fluid polyglot 
> manner
> -   Find all usage of JS functions, variables, and constants
> -   Debug running JS and Java cleanly
> 
> I'll be happy to try to help debug the very latest code. I just don't 
> know where the people working on this are hanging out, and publishing their 
> stuff where people like us in the field can check it out.
> 
> Can anyone point to these inner circles where people are focused on 
> Nashorn in Netbeans?
> 
> Thanks!
> 
> 
> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
> 
> For additional commands, e-mail: users-h...@netbeans.apache.org
> 
> For further information about the NetBeans mailing lists, visit:
> 
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


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

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



Re: off-topic: JavaFX question

2018-03-03 Thread Emilian Bold
Interesting. A modal dialog will have a separate, temporary, event queue AFAIK.

Have you tried just printing a stacktrace in the JFrame, when it works then 
compare to what happens and how the mouse click is handled in the JDialog?

You can probably attach a debugger/btrace script to see the behaviour and find 
the place where it breaks.

--emi

‐‐‐ Original Message ‐‐‐
On 2 March 2018 9:35 PM, Thomas Wolf  wrote:

> Sorry for bother this group, but I literally found zero help in Google and 
> the pool of Swing/JavaFX knowledgeable people is a quickly dwindling one :-(
>
> Our Swing application puts up a JDialog whose contents is a JTabbedPane with 
> a few tabs.  One of them is currently a JEditorPane that was displaying some 
> simple HTML.  Because we need to now show more sophisticated HTML that 
> includes links, I replaced the JEditorPane with my own JPanel that contains a 
> JFXPanel whose Scene is a WebView.  I’ve done this a few times in the past 
> and never had any trouble.  But that was always with a JFrame.  But this time 
> it’s not: the web page displays just fine, but clicking the links doesn’t 
> work!  The problem is clearly the JDialog – everything works fine when the 
> WebView is placed in a JFrame instead of a JDialog.
>
> I remember that JDialog has their own event processing – so I’m pretty 
> certain that it has something to do with that - since JavaFX doesn’t even use 
> the Swing event processing.  I just don’t know what to do about it.  Have you 
> come across the issue and found a solution?  Any pointers would be 
> appreciated.  Even if it's just a link.
>
> Thanks a bunch,
> Tom
>
> --
> tjw...@gmail.com
> http://landofwolf.blogspot.com/

Re: NB 9 RC1 exception

2018-06-29 Thread Emilian Bold
Does this reproduce with any project?

--emi

‐‐‐ Original Message ‐‐‐
On 29 June 2018 5:22 PM, Mike Billman  wrote:

> While navigating through tools -> options, I started getting this repeatedly:
>
> java.lang.StackOverflowError
>
> at 
> org.netbeans.modules.javascript2.model.JsObjectImpl.getFullyQualifiedName(JsObjectImpl.java:358)
>
> at 
> org.netbeans.modules.javascript2.model.api.ModelUtils.findJsObject(ModelUtils.java:201)
>
> at 
> org.netbeans.modules.javascript2.model.api.ModelUtils.findJsObject(ModelUtils.java:212)
>
> at 
> org.netbeans.modules.javascript2.model.api.ModelUtils.findJsObject(ModelUtils.java:190)
>
> at 
> org.netbeans.modules.javascript2.model.api.ModelUtils.resolveTypeFromSemiType(ModelUtils.java:549)
>
> at 
> org.netbeans.modules.javascript2.model.api.ModelUtils.resolveAssignments(ModelUtils.java:1294)
>
> at 
> org.netbeans.modules.javascript2.model.api.ModelUtils.resolveAssignments(ModelUtils.java:1262)
>
> at 
> org.netbeans.modules.javascript2.model.api.ModelUtils.resolveTypes(ModelUtils.java:1215)
>
> at 
> org.netbeans.modules.javascript2.model.api.ModelUtils.resolveTypes(ModelUtils.java:1232)
>
> at 
> org.netbeans.modules.javascript2.model.api.ModelUtils.resolveTypes(ModelUtils.java:1232)
>
> [this line repeats over and over]
>
> Is anybody else experiencing this?
>
> Mike Billman
>
> Senior Software Engineer
>
> CPTE
>
> [qclogo]
>
> 11800 Conrey Rd
>
> Suite 150
>
> Cincinnati, OH 45249
>
> T +1 513 469 1424
>
> E mikebill...@qcsoftware.com
>
> F +1 513 469 1425

Re: NB 9 RC1 exception

2018-06-29 Thread Emilian Bold
It's recently been donated as part of the 2nd donation but not yet merged: 
https://github.com/apache/incubator-netbeans/blob/2ndDonation/javascript2.model/src/org/netbeans/modules/javascript2/model/api/ModelUtils.java

So it happens on any kind of .js file?

--emi

‐‐‐ Original Message ‐‐‐

On 29 June 2018 6:49 PM, Peter Hull  wrote:

> For what it's worth the module in question does not seem to be in the Github 
> repository (maybe not donated yet?) but the relevant file can be found here:
> 
> http://hg.netbeans.org/main/file/tip/javascript2.model/src/org/netbeans/modules/javascript2/model/api/ModelUtils.java
> 
> Function `resolveTypes` looks like it will be a bit of a challenge to 
> understand!
> 
> Pete
> 
> On Fri, 29 Jun 2018 at 16:35 Peter Hull  wrote:
> 
> > On Fri, 29 Jun 2018 at 15:22 Mike Billman  
> > wrote:
> > 
> > > Is anybody else experiencing this?
> > 
> > I could not repeat it on my system but, is this the same as NETBEANS-701 
> > (https://issues.apache.org/jira/browse/NETBEANS-701) ?
> > 
> > Pete

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

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



Re: History of one bug, or what is the attitude of NB devs

2018-10-15 Thread Emilian Bold
Every option exponentially increases the states / configurations one needs
to handle and invites bugs.

So, often times a product will just not do something by design. See the
great success of iPhone as a testament to this.

But... we are developers! You can make a case for this feature. You can
write the patch yourself. You can submit it. And... even if it's not
accepted in the official build -- you can use your own custom NetBeans
build! It seems very sad to me that companies/developers/users find it so
unbelievable that you can actually customize your computing environment.
With a bit of time or money invested you can tweak your perfect cozy little
bits, just the way you like them.

IntelliJ is a commercial product. On the forums you are a potential sale.
This changes everything. Last I checked the open-source Community Edition
didn't even have a proper Javascript editor (it only had basic syntax
highlighting) -- the good Javascript editor was commercial only. Oh, how
would things look if a small fraction of NetBeans' users would invest the
equivalent of an IntelliJ license (89 - 149 euro/year) back into NetBeans
development.

--emi


On Thu, Oct 11, 2018 at 4:12 PM Tom Arilla  wrote:

> Hello,
>
> I am a longtime user of Netbeans and a submitted of many bugs. I see how
> practically none of them is ever resolved, so that I do not submit any bug
> report any more.
>
> I am wondering now (as probably many other users, given Netbeans'
> declining popularity) if to leave, given the (increasing?) number of
> problems with the IDE. Please help me and explain the history of one of the
> many bugs, and why it is like that. Possibly it is a representative of the
> current ecosystem around the development of the IDE.
>
> It is here https://netbeans.org/bugzilla/show_bug.cgi?id=192613 and it
> has 8 years. It is about adding a ridiculously easy option. And about an
> option which was there, I but one dev representative who commented
>
> This behaviour is intentional. I am sorry you hate it but there are users who 
> love it. There is no plan to change it.
>
> had probably no idea that an option to disable this "behaviour" was
> already there, several lines of code which were either removed or are no
> more functional. I would check it again, but I do not care any more. Few
> lines, which I would resubmit as a patch, but when I see a dev answer like
> that above, or how I was once ridiculed when I asked about this bug on the
> non-existing forum (something about the lines of not fixing it in order to
> show who rules here), I do not care any more. Someone reopened that bug two
> years ago, but probably no dev cares any more.
>
> IntelliJ is somewhat plagued with bugs, but when I browse discussion
> forums of IntelliJ, there is something encouraging in all that energy of
> *helping* the users, of *caring* about them. And we talk about adding few
> lines of a ridiculously easy code. Which does not even increase the
> complexity of the UI. Guess which will be my next IDE.
>
>
>
>


Re: [rcp][platform] Moving UI application based on Netbeans RCP 6.9.1 to 9.0 ?

2018-10-19 Thread Emilian Bold
The RCP is still supported and will be. I don't think 9.0 versus 10.0
will matter in terms of RCP, so if you have to pick something, go with
the latest version.

Backporting stuff for 6.9.1 might be an option depending how expensive
the migration is going to be, but I think there's value in the
migration itself.

--emi

On Thu, Oct 18, 2018 at 7:13 PM tanas gjorgoski  wrote:
>
> Hi,
>
> The company I work for has an UI app built using the Netbeans Rich Client 
> Platform (RCP)  6.9.1 version. It has stopped working under JDK 9, and I got 
> the job of figuring out what to do.
> I think it would be best if we can move to Netbeans 9.0, instead of patching 
> the 6.9.1 code. But before I look into it , I thought to ask:
> a)  is the RCP still supported as part of Netbeans 9.0
> b) given that I expect the work might take possibly a month - is it better to 
> look into moving to 10.0?
> c) is the support for the RCP planned to continue in future?
>
> Thanks,
> Tanas Gjorgoski
> -
> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
> For additional commands, e-mail: users-h...@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>

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

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



Re: Apache NetBeans: Duke's Choice Award Winner 2018

2018-10-27 Thread Emilian Bold
Cool!

--emi

On Wed, Oct 24, 2018 at 2:29 AM Geertjan Wielenga
 wrote:
>
> Hi all,
>
> Congratulations to all of us!
>
> We have won the highest accolade in the Java ecosystem -- a Duke's Choice 
> Award.
>
> Oracle press release:
>
> https://www.oracle.com/it/corporate/pressrelease/oow18-code-one-java-keynote-2018-10-22.html
>
> Attached is a happy pic of a lot of Apache NetBeans PPMC members at the award 
> ceremony, together with Georges Saab, Vice President, Software Development, 
> Java Platform Group at Oracle.
>
> This is big news!
>
> Gj
>
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
> For additional commands, e-mail: users-h...@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

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

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



Re: NetBeans Platform Editors (Advanced)

2018-11-07 Thread Emilian Bold
My guess is that while you are typing with the code completion popup
open you are filling in the completion hint. While you are doing that
I guess there is no parsing going on  so all the existing highlighting
is kept and the error hints cleared. Once the popup is closed you are
re-parsing and then get the hints again.

Not sure why for .java it's different, there may be some flag for it.

As for the embedded JEditorPane, are any other things missing? Can you
set a bookmark?

--emi

On Wed, Nov 7, 2018 at 6:28 PM Graeme Ingleby  wrote:
>
> I have followed all the online tutorials I can find related to Lexing, 
> Parsing & Code Completion.
>
>
>
> I have implemented my own language (a query language for search/filter) using 
> ANTLR.  Syntax Highlighting works.  Code completion appears to work.   
> Parsing/Error Hints get triggered after a short delay and appear to be 
> working.  I say appear to work because the functionality works individually.
>
>
>
> However, I’ve noticed if I have grammatical errors in my file the Error Hints 
> disappear when the Code-Completion window is opened and the user continues to 
> type (to filter the code-completion popup).  The error hints are displayed 
> again as soon as the code-completion window is closed.
>
>
>
> So I can have syntax highlighting & errors or syntax highlighting & code 
> completion but not syntax highlighting, error hints and code completion.
>
>
>
> When editing a .java file in NetBeans you can see error hints while code 
> completion is open and the user continues typing (filtering the code 
> completion window).
>
>
>
> I have noticed when editing a .js (javascript) file in NetBeans the editor 
> behaves the way my language behaves – the parsing error hints disappear if 
> the code-completion popup is visible and the user continues typing/filters 
> the code-completion suggestions.
>
>
>
> I am using the default Editor behavior when opening a custom file type.
>
>
>
> Could someone familiar with the parsing/editing APIs help point me in the 
> right direction?  I would really like the behavior to be the same as editing 
> a .java file.
>
>
>
> One other issue that’s kind of related.   I then changed my data object so 
> that it opens a custom editor rather than the default editor because 
> ultimately I want my editor to be a text field embedded into another 
> top-component rather than a standalone editor.   Again I followed the 
> tutorials dealing with this type of functionality.
>
>
>
> In my custom editor I create a JEditorPane, set the editor kit for my MIME 
> type.  Bind the component to the document.  Syntax highlighting and 
> Code-Completion are functional but the parsing/error hints never activate.   
> I am trying to figure out what needs to be added to get the parsing/editor 
> hints functional.
>
>
>
> Many Thanks
>
>
>
> -Graeme

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

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



Re: [Netbeans][JDK]Regarding building and running new versions of the IDE

2018-11-10 Thread Emilian Bold
We build with Java 8. The general idea was NetBeans 10 == Java 10 but
since Java is getting so speedy with releases, I believe we might
stick with LTSes. So our next target would be Java 11 (although right
now there is a blocker issue for NetBeans with 11.0.1 so we are
waiting on JDK 11.0.2 or something like that).

About the HumbleBundle Java books, they might be too many:

* $1 books: 2 are Spring and Web Services, 1 is RxJava (while
interesting, we don't use it). The Java 9 cookbook might be too much,
just use the concurrency stuff we have. 'Algorithms and Data
Structures' *might* be interesting, but I don't believe you will be
contribute that much algorithmic stuff.
* $8+ books: 5 are Java EE and Sprint, 3 are generic (Java 9, Java 11
and Java for beginners).  I assume the generic one might come in
handy... The Java EE ones might give you an idea about the tech but
they won't necessarily help you to build tooling (like NetBeans) for
that technology.
* $15+ books: 7 are Java EE and Spring, 1 is Machine Learning and 3
are generic (about Java 11 and Learning Java through an Android game).

It might help you more to read about Ant (Maven too perhaps), see some
articles about the NetBeans Platforms (there are some old books too)
and if you want to do UI you might have to read about Swing (also old
old books here, they don't make them anymore :-) ).

--emi
On Sat, Nov 3, 2018 at 6:19 AM Emilio - Rareitor  wrote:
>
> Hello
>
> First I apologize if this has been publicly discussed and posted elsewhere 
> (in one of these lists even) and I have missed it. Regarding building and 
> running releases of Netbeans post 8.X, is there some sort of standard for 
> which JDK (of those available at the time) should it be possible to do either 
> or both of these in for each new Netbeans version? In other words: is there 
> some rule or "best practice" when consolidating what Netbeans N (N >= 9.0) 
> will be, which JDKs it should, or must, be possible to build and run it in 
> before the actual official release? Further, should there be, and would it be 
> best to explicitly put that in the documentation for each release?
> I ask, really late if I'm being honest, because it seems like a logical 
> extension of the settled debate about the new Netbeans release cycle and its 
> distancing from the JDK release cycle itself or Oracle's new 3 year LTS 
> model. I don't remember reading it anywhere after that topic was decided in 
> the dev mailing list (again, might have missed it).
>
> On a completely separate topic, currently there's a sale on HumbleBundle (the 
> book bundle, Java by Packt) that includes a bunch of seemingly useful tools 
> for learning and or getting up to speed on Java development. Would any of you 
> consider this a worthwhile investment for someone who has used the language, 
> and Netbeans, but not delved deep into it? I'd like to learn enough so that I 
> can actually contribute to the Netbeans project, among others, in the future, 
> instead of just ask random stuff on the mailing list.
>
> Thank you.
>
> Emilio G.C.

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

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



Re: NetBeans Platform Editors (Advanced)

2018-11-11 Thread Emilian Bold
I wonder if you figured out this editor problem.

--emi

On Thu, Nov 8, 2018 at 12:36 AM Emilian Bold  wrote:
>
> My guess is that while you are typing with the code completion popup
> open you are filling in the completion hint. While you are doing that
> I guess there is no parsing going on  so all the existing highlighting
> is kept and the error hints cleared. Once the popup is closed you are
> re-parsing and then get the hints again.
>
> Not sure why for .java it's different, there may be some flag for it.
>
> As for the embedded JEditorPane, are any other things missing? Can you
> set a bookmark?
>
> --emi
>
> On Wed, Nov 7, 2018 at 6:28 PM Graeme Ingleby  wrote:
> >
> > I have followed all the online tutorials I can find related to Lexing, 
> > Parsing & Code Completion.
> >
> >
> >
> > I have implemented my own language (a query language for search/filter) 
> > using ANTLR.  Syntax Highlighting works.  Code completion appears to work.  
> >  Parsing/Error Hints get triggered after a short delay and appear to be 
> > working.  I say appear to work because the functionality works individually.
> >
> >
> >
> > However, I’ve noticed if I have grammatical errors in my file the Error 
> > Hints disappear when the Code-Completion window is opened and the user 
> > continues to type (to filter the code-completion popup).  The error hints 
> > are displayed again as soon as the code-completion window is closed.
> >
> >
> >
> > So I can have syntax highlighting & errors or syntax highlighting & code 
> > completion but not syntax highlighting, error hints and code completion.
> >
> >
> >
> > When editing a .java file in NetBeans you can see error hints while code 
> > completion is open and the user continues typing (filtering the code 
> > completion window).
> >
> >
> >
> > I have noticed when editing a .js (javascript) file in NetBeans the editor 
> > behaves the way my language behaves – the parsing error hints disappear if 
> > the code-completion popup is visible and the user continues typing/filters 
> > the code-completion suggestions.
> >
> >
> >
> > I am using the default Editor behavior when opening a custom file type.
> >
> >
> >
> > Could someone familiar with the parsing/editing APIs help point me in the 
> > right direction?  I would really like the behavior to be the same as 
> > editing a .java file.
> >
> >
> >
> > One other issue that’s kind of related.   I then changed my data object so 
> > that it opens a custom editor rather than the default editor because 
> > ultimately I want my editor to be a text field embedded into another 
> > top-component rather than a standalone editor.   Again I followed the 
> > tutorials dealing with this type of functionality.
> >
> >
> >
> > In my custom editor I create a JEditorPane, set the editor kit for my MIME 
> > type.  Bind the component to the document.  Syntax highlighting and 
> > Code-Completion are functional but the parsing/error hints never activate.  
> >  I am trying to figure out what needs to be added to get the parsing/editor 
> > hints functional.
> >
> >
> >
> > Many Thanks
> >
> >
> >
> > -Graeme

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

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



Re: [DISCUSS] Apache NetBeans roadmap updates

2018-11-13 Thread Emilian Bold
Two releases per year seems more manageable.

--emi

On Tue, Nov 13, 2018 at 3:19 PM Geertjan Wielenga
 wrote:
>
> Hi all,
>
> We've completed the NetCAT process (on the functioning of the convenience 
> binary of Apache NetBeans 10) and the PPMC vote (on the sources of Apache 
> NetBeans 10).
>
> Right now, the IPMC (the incubator project management committee) is voting on 
> the sources of Apache NetBeans 10, since Apache NetBeans is in the Apache 
> Incubator. (We're going to be voting to get out of the Apache Incubator very 
> soon, with support from our mentors, since they're happy with how we're 
> working as a community and consider us to be ready to be a top level Apache 
> project.)
>
> So, what's next? After we release Apache NetBeans 10, we'll start working on 
> the next release. Consensus on the dev mailing list has formed around 
> quarterly releases. In the NetCAT process, we found that there was quite some 
> time pressure to get things done and maybe we should take more time and 
> thereby be able to provide more quality.
>
> As a result, here's a proposal to do two major releases next year, in line 
> with JDK 12 and 13 in March and September, with two optional minor releases 
> in between (e.g., a bug fix release could be great). Of course, Apache 
> NetBeans does not serve the Java community only, though those two months of 
> March and September are fairly spaced anyway and potentially could allow us 
> to provide bundles with those JDKs if and when that were to be possible.
>
> https://cwiki.apache.org/confluence/display/NETBEANS/Apache+NetBeans+Release+Roadmap
>
> There are several significant bugs that we need to nail down and resolve, we 
> can include them in the upcoming releases or distribute them via plugins. 
> We're I'm sure all very aware of several problems, as well as features that 
> need to be added -- we need everyone to be proactive in pinning down bugs and 
> in providing code contributions for missing features.
>
> Comments welcome, and many thanks for all the hard and enthusiastic work done 
> so far.
>
> Gj
>
>

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

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



Re: Apache NetBeans 10 vc-3: looks solid

2018-11-07 Thread Emilian Bold
I don't suppose the Nov 15th date shown on
https://cwiki.apache.org/confluence/display/NETBEANS/NetCAT+10.0+Schedule
includes the 3 days we have to keep the incubator vote, right?

So we are looking for Nov 19th for the actual release date, right?

--emi
On Wed, Nov 7, 2018 at 1:09 PM Geertjan Wielenga
 wrote:
>
> Hi all,
>
> Laszlo has put together the 3rd voting candidate, with all info collected
> over here:
>
> https://blogs.apache.org/netbeans/entry/is-apache-netbeans-10-ready
>
> I've seen several people closing issues over the past few days because
> they're found that they;ve been solved in 10-vc2 or 10-vc3.
>
> We're getting to the end of the survey deadline, i.e., November 11th COB.
>
> That means, unless we find actual real blockers that should prevent Apache
> NetBeans 10 from being released, we'll start voting on the sources
> (remember, Apache does not release binaries, it releases sources, at most
> the binaries are known as 'convenience binaries, but that's not the focus
> of an Apache release):
>
> https://cwiki.apache.org/confluence/display/NETBEANS/NetCAT+10.0+Schedule
>
> We do need to, of course, work on the many non-blocking issues that have
> been uncovered, and need to put together a plan for that, starting with
> evaluating them (maybe we can assign a set number per week to ourselves,
> e.g., evaluate 10 per week per person, something like that), and then
> tackle solving them.
>
> Anyway, this is where we are -- please get hold of 10-vc3, try to reproduce
> your issues, fill in the survey, next week we should begin the official
> PPMC vote thread for the release.
>
> Thanks,
>
> Gj

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

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



Re: Resolving imports with multiple source roots

2018-11-16 Thread Emilian Bold
You didn't mention what kind of project you are using. The Sources
window you have in the screenshot is for the Debugger so it doesn't
configure the editor in any way.

The Ant-based 'Java Project with Existing Sources' works for me (just
tested). You can probably also configure a Maven project for this
situation.

--emi
On Sat, Nov 17, 2018 at 5:29 AM Blake McBride  wrote:
>
> Greetings,
>
> I am using NetBeans 8.2 on a 64 bit Linux box with Java 8.  My app has two 
> source roots with no package name collisions.  I combine them as if they were 
> under the same tree.  The problem I have is that the IDE tags the imports as 
> errors as if it didn't know where the other source root is.
>
> I am attaching a picture of the problem.  I have 
> application/services/MyJavaService.java attempting to import 
> java/org/kissweb/database/Connection.java - which exists but the IDE flags it 
> as unknown.
>
> How can I fix this?
>
> Thanks!
>
> Blake McBride
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
> For additional commands, e-mail: users-h...@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

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

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



Re: [netbeans] offline installation

2018-12-29 Thread Emilian Bold
> The difference being intelij doesn't make you download something extra. So 
> the question is valid, why is netbeans different to intelij in this respect 
> and why does it have to be downloaded separately. I personally find it weird 
> why oracle thinks it wants to keep the extended javac code a secret when the 
> javac code is visible at the openjdk project.

nb-javac is not a secret, it was actually part of NetBeans 8.2. You
can find the source code here http://hg.netbeans.org/main/nb-java-x/

CoolBeans (https://coolbeans.xyz ) does compile its own and
redistributes nb-javac as Oracle does allow it. Just as it allows
IntelliJ to distribute their things. It's only Apache that has a
policy of not distributing GPL code.

As you see Apache NetBeans went to some lengths to still provide a
good experience for end users (by allowing run-time install of said
plugin, and adding some reasonably-well working parallel code that
kicks in when nb-javac is not present).

--emi

http://coolbeans.xyz/ - CoolBeans: An IDE for Java, JavaEE, PHP and more!

On Sat, Dec 29, 2018 at 8:07 PM Peter Steele  wrote:
>
> Oracle already has "donated" it in a way because of the openjdk project. 
> Nb-javac is just an extension of the javac distributed with added extras to 
> make ide's able to parse the results of compiling better (that's my take). 
> Intelij does a similar thing, presumably based on the openjdk code.
>
> The difference being intelij doesn't make you download something extra. So 
> the question is valid, why is netbeans different to intelij in this respect 
> and why does it have to be downloaded separately. I personally find it weird 
> why oracle thinks it wants to keep the extended javac code a secret when the 
> javac code is visible at the openjdk project.
>
> On Sat, 29 Dec 2018, 17:43 Geertjan Wielenga 
> >
>> No, that's the point. It will never be donated to Apache. It belongs to 
>> Oracle. Oracle is never going to donate its Java compiler, or forks thereof, 
>> to anybody.
>>
>> Gj
>>
>> On Sat, Dec 29, 2018 at 6:41 PM Alex O'Ree  wrote:
>>>
>>> Is nb-javac on the roadmap for being donated to apache?
>>>
>>> On Sat, Dec 29, 2018 at 10:54 AM Geertjan Wielenga 
>>>  wrote:
>
> Why can't we just bundle it all together and have it ready to go in the 
> zip?


 Because, for example, in the case of Java support in Apache NetBeans, the 
 nb-javac compiler belongs to Oracle and is GPL licensed and hence cannot 
 be distributed by Apache. You need to install it yourself, i.e., 
 individually accept the licensing terms.

 Gj

 On Sat, Dec 29, 2018 at 4:52 PM Alex O'Ree  wrote:
>
> For what it's worth, I often have to install netbeans on computers that 
> are not connected to the internet. In v8.2 and prior, I could download 
> the EE version and have everything I need to get up and running (except 
> for maven dependencies and any additional netbeans plugins). Maven 
> dependencies can be synced using a local nexus server and some swivel 
> chair action and i was able to find a way to clone the entire netbeans 
> plugin repo for local installations.
>
> With the newer installs, we're pretty much forced o be online during the 
> first "activation" of a specific feature. Why can't we just bundle it all 
> together and have it ready to go in the zip? Alternatively, if there a 
> single place there all of the online activation stuff downloads the 
> necessary dependencies from then it's possible that i can just clone that 
> website/repo. Is this how it works? If so, where is the repo?

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

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



Re: Nashorn?

2018-12-27 Thread Emilian Bold
You are supposed to click on some button which will download from the
plugin portal the Oracle JS parser. (Some modules depend on it but for
licensing reasons Apache could not redistribute it).

--emi

http://coolbeans.xyz/ - CoolBeans: An IDE for Java, JavaEE, PHP and more!

On Thu, Dec 27, 2018 at 6:24 PM Steve Jacobs  wrote:
>
> Hello,
>
> I've been using Netbeans candidates (vc4 currently) which is a joy to work
> with. This morning I download Netbeans 10 final. On firing it up I get this:
>
> Warning - could not install some modules: Nashorn Integration - No module
> providing the capability com.oracle.js.parser.implementation could be
> found. 19 further modules could not be installed due to the above problems.
>
> Not being a Java guy, I'd never heard of Nashorn until this happened.
> Anybody know what this means and how to fix it?
>
> Thanks in advance,
>
> Steve
>
> -
> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
> For additional commands, e-mail: users-h...@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>

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

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



Re: Netbeans 10.0 and C/C++ Support

2018-12-27 Thread Emilian Bold
I believe Oracle hasn't donated yet the C/C++ support. This will be
donated and included in a future part of NetBeans, probably NetBeans
11 (scheduled in about 6 months or so).

In the meantime you could try to install the C/C++ plugins from 8.2 on
top of 10 and see if they work (they should).

--emi

http://coolbeans.xyz/ - CoolBeans: An IDE for Java, JavaEE, PHP and more!

On Thu, Dec 27, 2018 at 6:37 PM Nick Couchman  wrote:
>
> I just upgraded from NetBeans 8.2 to NetBeans 10.0, and I seem to have lost 
> support for C/C++ source code.  I had an existing project that had the 
> nbproject/ directory, and lists the plugin type as:
>
> org.netbeans.modules.cnd.makeproject
>
> When I try to open this project, I get a message that it is an unknown 
> project type.  Additionally, if I try to create a new project, I see options 
> for Java, PHP, etc., but nothing for C, C++, GNU Make, or anything like that.
>
> Does NetBeans 10.0 support C/C++?  Is there some option I'm missing for this 
> plugin?
>
> -Nick

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

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



Re: Trying Out JDK Early Access builds

2019-01-18 Thread Emilian Bold
Hello Rory,

I was about to ask about JDK 11.0.2 but I now see it's been released 3
days ago! Any place I should subscribe for these release
announcements?

Last I remember there were some blockers on NetBeans with JDK 11.0.1
so we have been waiting on 11.0.2 since last year.

--emi

http://coolbeans.xyz/ - CoolBeans: An IDE for Java, JavaEE, PHP and more!

On Fri, Jan 18, 2019 at 5:04 PM Rory O'Donnell  wrote:
>
>
> On 18/01/2019 14:32, Geertjan Wielenga wrote:
>
> Hi all,
>
> As part of evaluating how far along various popular open source projects are 
> regarding testing with upcoming JDK releases, developers are regularly asked 
> to consider participating in the OpenJDK Quality Outreach [1][2] effort that 
> Rory (CC:ed, as the OpenJDK Quality Group Lead) leads.
>
> Through that effort, more community testing of JDK Early Access (EA) builds 
> are being encouraged, and to assist those projects that participate in 
> filing, tracking, and (hopefully) resolving issues they find along the way. 
> Currently, about 100 FOSS projects participate in the effort.
>
> So it would be great if we'd take a chance to try out our projects that we 
> develop with NetBeans with JDK 11, JDK 12, or JDK 13, as well as NetBeans 
> itself, and if we run into any JDK-related showstopper issues, file them 
> against the JDK.
>
> Last but not least, you're invited to join the Quality Outreach effort with 
> your projects. Rory can fill you in on the details of how it all works.
>
> I send out email every 2-3 weeks depending on contents of the builds, example 
> attached.
> I try to highlight significant changes in the builds, allowing you to decide 
> if you might want
> to test with a particular build. We don't expect you to test every build, 
> it's entirely up to you.
>
> If you would like us to list your project on the Quality Outreach wiki [1] , 
> can you provide a
> contact name ,  mailing list - I guess d...@netbeans.apache.org ,the current 
> status of you testing
> against JDK 11,JDK 12 etc. and a CI if possible  ?
>
> Rgds,Rory
>
> [1] https://wiki.openjdk.java.net/display/quality/Quality+Outreach
>
>
> Thanks, comments welcome, and also feel free to reach out to Rory directly.
>
> Gj
>
> [1] https://wiki.openjdk.java.net/display/quality/Quality+Outreach
> [2] 
> https://wiki.openjdk.java.net/download/attachments/21430310/TheWisdomOfCrowdTestingOpenJDK.pdf
>
> --
> Rgds,Rory O'Donnell
> Quality Engineering Manager
> Oracle EMEA , Dublin, Ireland
>
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org
> For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>

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

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



Re: Beansbinding

2019-01-20 Thread Emilian Bold
See https://github.com/emilianbold/nb-apache-form-binding/releases/tag/emi-1.0

Get the recompiled plugin from there.

--emi

http://coolbeans.xyz/ - CoolBeans: An IDE for Java, JavaEE, PHP and more!

On Sun, Jan 20, 2019 at 4:23 PM Geertjan Wielenga
 wrote:
>
> Here's the reason for the problem you're having, i.e,, you could simply 
> recompile the sources of the plugin and then provide a PR to the repo:
>
> https://github.com/GrolarDan/nb-apache-form-binding/issues/2
>
> Gj
>
> On Sun, Jan 20, 2019 at 2:56 PM Geertjan Wielenga 
>  wrote:
>>
>> The mailing list works like any other mailing list.
>>
>> BeansBinding is GPL licensed so cannot be distributed by an Apache project: 
>> https://github.com/apache/incubator-netbeans/pull/300
>>
>> Gj
>>
>>
>> On Sun, Jan 20, 2019 at 2:50 PM Thomas Willms  wrote:
>>>
>>> Hello,
>>>
>>> how does the mailing list work?
>>> Who can help me with the following problem of beans binding?
>>>   Could you integrate Beans binding again or help me  using it ?
>>>
>>> Why is it said to be integrated in NB 10 but does not work?
>>>  I used it in older software where I need it now and want to use it 
>>> further. So this blocks me totally
>>>   I found a plug-in
>>> [http://plugins.netbeans.org/plugin/74915/beans-binding-support-for-form-editor]
>>>  but using it I get the   messages below:
>>>   Can you tell me how to use Netbeans with it?
>>> Whatever I install does not work. Like below plug-in versions do not 
>>> correspond.
>>>   Why updates of plug-ins does not give the right version to use it?
>>> Which version of Netbeans do I need?
>>> I already wasted a lot of time and  I do not know to whom I could address...
>>>
>>>  Thanks
>>>
>>> Thomas
>>>
>>> >Some plugins require plugin Classpath APIs to be installed.
>>> > The plugin Classpath APIs is requested in version >= 1.57 but only 1.56.1 
>>> > was found.
>>> > The following plugin is affected:
>>> >   Beans Binding Support for Form Editor
>>> > h3. Some plugins require plugin Javac API Wrapper to be installed.
>>> > The plugin Javac API Wrapper is requested in version >= 8.25.0.3 but only 
>>> > 8.24.1.3 was found.
>>> > The following plugin is affected:
>>> >   Beans Binding Support for Form Editor
>>> > h3. Some plugins require plugin NetBeans Form Editor to be installed.
>>> > The plugin NetBeans Form Editor is requested in version >= 0.22.0.1.4 but 
>>> > only 0.21.1.1.4 was found.
>>> > The following plugin is affected:
>>> >   Beans Binding Support for Form Editor
>>> > h3. Some plugins require plugin Form Editor to be installed.
>>> > The plugin Form Editor is requested in version >= 1.61.0.4 but only 
>>> > 1.60.1.4 was found.
>>> > The following plugin is affected:
>>> >   Beans Binding Support for Form Editor
>>> > h3. Some plugins require plugin Java Source Base to be installed.
>>> > The plugin Java Source Base is requested in version >= 2.39.0.4.3.25.8.1 
>>> > but only 2.37.1.4.3.25.8.1 was found.
>>> > The following plugin is affected:
>>> >   Beans Binding Support for Form Editor
>>> > h3. Some plugins require plugin External Libraries to be installed.
>>> > The plugin External Libraries is requested in version >= 1.57 but only 
>>> > 1.56.1 was found.
>>> > The following plugin is affected:
>>> >   Beans Binding Support for Form Editor
>>> > h3. Some plugins require plugin File System API to be installed.
>>> > The plugin File System API is requested in version >= 9.14 but only 
>>> > 9.13.1 was found.
>>> > The following plugin is affected:
>>> >   Beans Binding Support for Form Editor
>>> > h3. Some plugins require plugin Datasystems API to be installed.
>>> > The plugin Datasystems API is requested in version >= 7.71 but only 
>>> > 7.70.1 was found.
>>> > The following plugin is affected:
>>> >   Beans Binding Support for Form Editor
>>> > h3. Some plugins require plugin Nodes API to be installed.
>>> > The plugin Nodes API is requested in version >= 7.49 but only 7.48.1 was 
>>> > found.
>>> > The following plugin is affected:
>>> >   Beans Binding Support for Form Editor
>>> > h3. Some plugins require plugin Lookup API to be installed.
>>> > The plugin Lookup API is requested in version >= 8.37 but only 8.36.1 was 
>>> > found.
>>> > The following plugin is affected:
>>> >   Beans Binding Support for Form Editor
>>> > Some plugins require plugin Utilities API to be installed.
>>> > The plugin Utilities API is requested in version >= 9.12 but only 9.11.1 
>>> > was found.
>>> > The following plugin is affected:
>>> >   Beans Binding Support for Form Editor
>>> > Some plugins not installed to avoid potential installation problems.
>>> >
>>> >

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

For further information about the NetBeans mailing lists, visit:

Re: Beansbinding

2019-01-20 Thread Emilian Bold
The binding module has a dependency on the javac API wrapper which is
a dummy unless nb-javac is installed. Ugh.

--emi

http://coolbeans.xyz/ - CoolBeans: An IDE for Java, JavaEE, PHP and more!

On Sun, Jan 20, 2019 at 9:51 PM Emilian Bold  wrote:
>
> See https://github.com/emilianbold/nb-apache-form-binding/releases/tag/emi-1.0
>
> Get the recompiled plugin from there.
>
> --emi
>
> http://coolbeans.xyz/ - CoolBeans: An IDE for Java, JavaEE, PHP and more!
>
> On Sun, Jan 20, 2019 at 4:23 PM Geertjan Wielenga
>  wrote:
> >
> > Here's the reason for the problem you're having, i.e,, you could simply 
> > recompile the sources of the plugin and then provide a PR to the repo:
> >
> > https://github.com/GrolarDan/nb-apache-form-binding/issues/2
> >
> > Gj
> >
> > On Sun, Jan 20, 2019 at 2:56 PM Geertjan Wielenga 
> >  wrote:
> >>
> >> The mailing list works like any other mailing list.
> >>
> >> BeansBinding is GPL licensed so cannot be distributed by an Apache 
> >> project: https://github.com/apache/incubator-netbeans/pull/300
> >>
> >> Gj
> >>
> >>
> >> On Sun, Jan 20, 2019 at 2:50 PM Thomas Willms  wrote:
> >>>
> >>> Hello,
> >>>
> >>> how does the mailing list work?
> >>> Who can help me with the following problem of beans binding?
> >>>   Could you integrate Beans binding again or help me  using it ?
> >>>
> >>> Why is it said to be integrated in NB 10 but does not work?
> >>>  I used it in older software where I need it now and want to use it 
> >>> further. So this blocks me totally
> >>>   I found a plug-in
> >>> [http://plugins.netbeans.org/plugin/74915/beans-binding-support-for-form-editor]
> >>>  but using it I get the   messages below:
> >>>   Can you tell me how to use Netbeans with it?
> >>> Whatever I install does not work. Like below plug-in versions do not 
> >>> correspond.
> >>>   Why updates of plug-ins does not give the right version to use it?
> >>> Which version of Netbeans do I need?
> >>> I already wasted a lot of time and  I do not know to whom I could 
> >>> address...
> >>>
> >>>  Thanks
> >>>
> >>> Thomas
> >>>
> >>> >Some plugins require plugin Classpath APIs to be installed.
> >>> > The plugin Classpath APIs is requested in version >= 1.57 but only 
> >>> > 1.56.1 was found.
> >>> > The following plugin is affected:
> >>> >   Beans Binding Support for Form Editor
> >>> > h3. Some plugins require plugin Javac API Wrapper to be installed.
> >>> > The plugin Javac API Wrapper is requested in version >= 8.25.0.3 but 
> >>> > only 8.24.1.3 was found.
> >>> > The following plugin is affected:
> >>> >   Beans Binding Support for Form Editor
> >>> > h3. Some plugins require plugin NetBeans Form Editor to be installed.
> >>> > The plugin NetBeans Form Editor is requested in version >= 0.22.0.1.4 
> >>> > but only 0.21.1.1.4 was found.
> >>> > The following plugin is affected:
> >>> >   Beans Binding Support for Form Editor
> >>> > h3. Some plugins require plugin Form Editor to be installed.
> >>> > The plugin Form Editor is requested in version >= 1.61.0.4 but only 
> >>> > 1.60.1.4 was found.
> >>> > The following plugin is affected:
> >>> >   Beans Binding Support for Form Editor
> >>> > h3. Some plugins require plugin Java Source Base to be installed.
> >>> > The plugin Java Source Base is requested in version >= 
> >>> > 2.39.0.4.3.25.8.1 but only 2.37.1.4.3.25.8.1 was found.
> >>> > The following plugin is affected:
> >>> >   Beans Binding Support for Form Editor
> >>> > h3. Some plugins require plugin External Libraries to be installed.
> >>> > The plugin External Libraries is requested in version >= 1.57 but only 
> >>> > 1.56.1 was found.
> >>> > The following plugin is affected:
> >>> >   Beans Binding Support for Form Editor
> >>> > h3. Some plugins require plugin File System API to be installed.
> >>> > The plugin File System API is requested in version >= 9.14 but only 
> >>> > 9.13.1 was found.
> >>> > The following plugin is affected:
> >>&g

Re: java home configuration in maven

2019-01-22 Thread Emilian Bold
In Project Properties | Build | Compile you can configure the 'Java
Platform' for the project. I see that switching to Java 8 makes the
compilation work for me:

cd /Users/apache/CoolBeansProjects/deleletmeee;
JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home
"/Users/apache/work/coolbeans/CoolBeans-2018.12-20190110-235217/CoolBeans/CoolBeans
2018.12.app/Contents/Resources/coolbeans/java/maven/bin/mvn" clean
install



com.sun
tools
1.8
system
${java.home}/../lib/tools.jar



OTOH, using the default Java 10 breaks the build:

cd /Users/apache/CoolBeansProjects/deleletmeee;
"JAVA_HOME=/Users/apache/work/coolbeans/CoolBeans-2018.12-20190110-235217/CoolBeans/CoolBeans
2018.12.app/Contents/Resources/coolbeans/jre"
"/Users/apache/work/coolbeans/CoolBeans-2018.12-20190110-235217/CoolBeans/CoolBeans
2018.12.app/Contents/Resources/coolbeans/java/maven/bin/mvn" clean
install

Failed to execute goal on project deleletmeee: Could not resolve
dependencies for project com.mycompany:deleletmeee:jar:1.0-SNAPSHOT:
Could not find artifact com.sun:tools:jar:1.8 at specified path
/Users/apache/work/coolbeans/CoolBeans-2018.12-20190110-235217/CoolBeans/CoolBeans
2018.12.app/Contents/Resources/coolbeans/jre/../lib/tools.jar -> [Help
1]

So the only remaining issue is that, indeed, you cannot globally
change the default Java Platform from Tools | Java Platforms.

--emi

http://coolbeans.xyz/ - CoolBeans: An IDE for Java, JavaEE, PHP and more!

On Tue, Jan 22, 2019 at 12:37 PM Geertjan Wielenga
 wrote:
>>
>> - NetBeans 10 "requires" (prefers) Java 11
>
>
> No, it does not. It runs on JDK 8 or above, to the current JDK, which is JDK 
> 11.
>
> Gj
>
> On Tue, Jan 22, 2019 at 11:35 AM  wrote:
>>
>> Hi, I have a problem with the java home configuration when I work with 
>> Netbeans 10 (but I guess that also other versions are affected).
>>
>> - In my company we still use JDK 8 so I configured the JAVA_HOME system 
>> variable to point to the JDK 8 folder. This configuration seems correct, I 
>> can see from the prompt that typing java -version the correct version of 
>> java is taken in account.
>>
>> - NetBeans 10 "requires" (prefers) Java 11 so I downloaded the OpenJDK11, 
>> extracted it on a folder and configured the path on the netbeans.conf file 
>> (netbeans_jdkhome="D:\java\jdk11") also this configuration seems to be ok.
>>
>> - One of the maven project on which I'm working (remind we use java 8) has 
>> an external dependency like this:
>>   
>> com.sun
>> tools
>> ${jdk.version}
>> system
>> ${java.home}/../lib/tools.jar
>> 
>>
>>   The problem is that ${java.home} is translated using the netbeans_jdkhome 
>> path and not the system JAVA_HOME variable so it points to jdk 11 and not 
>> jdk 8 and it doesn't find the path.
>>
>>
>> In Netbeans Java Platform Manager I have both the java version jdk 8 and jdk 
>> 11(default) but the default version can't be changed.
>>
>> How can I workaround this limitation so that I can work on the maven project 
>> using the jdk 8 home?
>>
>> Kind regards,

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

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



Re: Enlarge existing project

2019-01-23 Thread Emilian Bold
So by Java beans you mean beans in Swing forms? Interesting project.

Normally if you use layouts properly there's no widths / heights to fix as
the layout will adapt to whatever new size the container has.

So you start from constants down: hardcoded font sizes, hardcoded
positions, dimensions.

If these are all NetBeans .forms then you can probably automate this with a
custom script... although I never did try to process .form files externally.

I don't know of any plugin that would do this automatically.

--emi

http://coolbeans.xyz/ - CoolBeans: An IDE for Java, JavaEE, PHP and more!


On Wed, Jan 23, 2019 at 3:55 PM CHRISTOPHE LAFOLET <
christophe.lafo...@naval-group.com> wrote:

> Hello,
>
> I would like to refactore an existing netbeans project.
> I need to apply a scale factor to nearly 500 Java beans : this
> transformation should modify width, height, position, layout, bordure size,
> gap, ...
> Do anyone have done this transformation ? by script or with a plugin ? and
> which plugin ?
>
> Thanks for your help.
>
> Pensez à l'environnement : avez-vous besoin d'imprimer ce message ?
>
> Think about the environment : Do you need to print message ?
>
> .
>
> Ce courrier électronique, incluant les éventuelles pièces jointes, peut 
> contenir des informations confidentielles et/ou personnelles et a été envoyé 
> uniquement à l'usage de la personne ou de l'entité citée ci-dessus. Si vous 
> receviez ce courrier électronique par erreur, merci de bien vouloir en 
> avertir l'expéditeur immédiatement, effacer l'original et détruire toute 
> copie enregistrée dans un ordinateur, imprimée ou sauvegardée sur un disque. 
> Toute revue, retransmission ou toute autre forme d'utilisation de ce courrier 
> électronique par toute autre personne que le destinataire prévu est 
> strictement interdite.
>
> L'internet ne permettant pas d'assurer l'intégrité de ce message, 
> l'expéditeur décline toute responsabilité au cas où il aurait été intercepté 
> ou modifié par quiconque.
>
> This e-mail and its possible attachments may contain confidential and/or 
> privileged information and is intended only for the use of the person or 
> entity named above. If you have received it in error, please advise the 
> sender immediately, delete it and destroy all copies stored in the 
> recipient's computer, printed or saved to disk. Any review, retransmission, 
> or further use of this e-mail by persons or entities other than the intended 
> recipient is strictly prohibited.
>
> The nature of the internet being such that the integrity of this message 
> cannot be ensured, the sender disclaims any liability whatsoever, in the 
> event of this message having been intercepted and/or altered.
>
> - To
> unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org For additional
> commands, e-mail: users-h...@netbeans.apache.org For further information
> about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


Re: Does JaCoCo 0.8.2 break NetBeans code coverage?

2019-01-23 Thread Emilian Bold
First time I hear about it. Since the comment mentions a simple XML change
perhaps we can do a PR?

--emi

On Thu, 24 Jan 2019 at 00:39, Philip Durbin  wrote:

> Please see https://github.com/IQSS/dataverse/issues/5483 and
> https://github.com/jacoco/jacoco/issues/772 for details but downgrading
> to JaCoCo 0.8.1 seems to get code coverage working again. Has anyone else
> observed this problem? Is there a ticket tracking this?
>
> Thanks!
>
> Phil
>
-- 
--emi


Re: Packaging Netbeans as a Mac app

2019-01-18 Thread Emilian Bold
There are multiple such attempts. You could try the script from
https://github.com/carljmosca/netbeans-macos-bundle or you could take
the already packaged CoolBeans IDE from https://coolbeans.xyz/

--emi

http://coolbeans.xyz/ - CoolBeans: An IDE for Java, JavaEE, PHP and more!

On Fri, Jan 18, 2019 at 9:26 AM Malcolm Fitzgerald
 wrote:
>
> I'm running NB10 on mac, which is great, thank you everyone for a terrific 
> IDE. I use it for PHP coding.
>
> At present I use a bash alias to fire up netbeans which works perfectly well. 
> However, I am interested in packaging it as a native mac app. I'm assuming 
> that I need to start with the source code and build it from scratch but I'm 
> hoping someone can point me to a good guide for doing so. I don't have any 
> Java skills so I'm hoping that the build process isn't too demanding.  RTFM 
> comments welcome.
>
> thanks,
> Malcolm
> -
> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
> For additional commands, e-mail: users-h...@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>

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

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



Re: How to Push NetBeans Plugins Silently to End Users?

2018-12-12 Thread Emilian Bold
That UpdateHandler seems to be the right thing.

Making a rolling release Platform app sounds the kind of use case we should
support out of the box (maybe even for the IDE?)

I haven't looked much into this (other that using that class you found) but
there are some odd corner cases too study: I remember I had an app kinda
looping after I killed it right before it wanted to restart for the
auto-update. Worked rather flawlessly other than that though, so don't
worry too much about it.

--emi

http://coolbeans.xyz/ - CoolBeans: An IDE for Java, JavaEE, PHP and more!


On Wed, Dec 12, 2018 at 7:26 PM Mark Phipps  wrote:

> Hi all,
>
> I am keen to follow the way of "pushing" updates to my NB platform app,
> that Geertjan and Jiri Rechtacek described a few years ago, in their blog
> posts and which is referred to in several other places.
>
>
> https://blogs.oracle.com/geertjan/how-to-push-netbeans-plugins-silently-to-end-users
>
> https://www.pellissier.co.za/hermien/?p=496
>
> However Jiri's blogpost with details of his plugin and technique seems to
> have disappeared. Can anyone point me to where I can find that plugin or
> details/example code to make this happen?
>
> Searching for Jiri himself, I came across the WakaTime netbeans plugin -
> is this the same/similar thing?
> https://github.com/wakatime/netbeans-wakatime/blob/master/src/org/wakatime/netbeans/plugin/UpdateHandler.java
>
> Any help is much appreciated
>
> Thanks
>
> Mark
>
> *Mark Phipps |* Front Office Development Manager
> *Sucden Financial Limited |* Plantation Place South *|* 60 Great Tower
> Street *| *London EC3R 5AZ
>
> *Telephone (DDI): *+44 (0)20 3207 5140* | Switchboard:* +44 (0)20 3207
> 5000
> *Email: *mark.phi...@sucfin.com | *Website:* www.sucdenfinancial.com
>
>
> [image: Description: signature20170705.jpg]
> 
>
> Twitter  | LinkedIn
> 
>
> www.sucdenfinancial.com
>
> Sucden Financial Limited, Plantation Place South, 60 Great Tower Street,
> London EC3R 5AZ
> Telephone +44 203 207 5000
>
> Registered in England no. 1095841
> VAT registration no. GB 446 9061 33
>
> Authorised and Regulated by the Financial Conduct Authority (FCA) and
> entered in the FCA register under no. 114239
>
> This email, including any files transmitted with it, is confidential and
> may be privileged. It may be read, copied and used only by the intended
> recipient. If you are not the intended recipient of this message, please
> notify *postmas...@sucfin.com * immediately and
> delete it from your computer system.
>
> We believe, but do not warrant, that this email and its attachments are
> virus-free, but you should check.
>
>
>
> Sucden Financial Limited may monitor traffic data of both business and
> personal emails. By replying to this email, you consent to Sucden
> Financial's monitoring the content of any emails you send to or receive
> from Sucden Financial. Sucden Financial is not liable for any opinions
> expressed by the sender where this is a non-business email.
>
>
>
> The contents of this e-mail do not constitute advice and should not be
> regarded as a recommendation to buy, sell or otherwise deal with any
> particular investment.Where any trade ideas are made by an employee of
> Sucden Financial in an electronic communication, these are made
> incidentally to your dealing relationship with us and are provided solely
> to enable you to make your own investment decisions and do not amount to
> advice. Please note that the employee may have had many, varied trade ideas
> over the past 12 months, including contrary ideas. Any trade ideas are
> solely based on the employee’s market knowledge and experience and may not
> be tailored to your specific circumstances or investment objectives. Please
> contact the employee who made the trade idea if you would like to see any
> of his/her trade ideas made in the previous 12 months for comparative
> purposes. Please visit our website to view our full risk warnings and
> disclaimers: www.sucdenfinancial.com
>
>
>
> This message has been scanned for
> viruses by Mimecast 
>


Re: Unexpected Exception Using CoolBeans

2018-12-22 Thread Emilian Bold
Hello Pedro. I'm also here but I put my email on the site on purpose, I
don't mind getting direct email from users.

My guess is that you added then you deleted that JRE folder? And the IDE
still has it?

PS: Pressing "Review and Report Problem" should sent the error to the
server and I do review those once in a while.

--emi

http://coolbeans.xyz/ - CoolBeans: An IDE for Java, JavaEE, PHP and more!


On Fri, Dec 21, 2018 at 7:58 AM Pedro Eli de Leon Robledo <
pedro.deleo...@outlook.com> wrote:

> Hi first of all sorry if this is not the correct place to ask for help for
> the IDE Coolbeans, im getting this exception when I go to *tools* and
> click *Java Platforms:*
>
>
>
> I attached the messages.log  file that says that window.
>
> Greetings to all im loving Apache Netbeans BTW!! :D
>
> -
> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
> For additional commands, e-mail: users-h...@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


CoolBeans 2018.12 released

2018-12-27 Thread Emilian Bold
Hello,

As you might have noticed Apache NetBeans 10 has been released. I
recommend you look into that.

If you are interested in a proper installer that includes the JDK as
well as JavaEE and some other goodies, do take a look a my IDE
distribution called CoolBeans.

On https://coolbeans.xyz version 2018.12 has been released yesterday.

Disclaimer: CoolBeans is not affiliated with or developed by Apache
Software Foundation. This message is sent with the hope of being
informative to the subscribers of this mailing list.

--emi

http://coolbeans.xyz/ - CoolBeans: An IDE for Java, JavaEE, PHP and more!

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

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



Re: Disable Netbeans auto=recognition of a maven-project

2018-12-22 Thread Emilian Bold
I'm certain it's possible but don't have a quick answer as I've never
heard of it before. Deactivating the Maven plugin(s) would do the
trick.

I see maven has NbMavenProjectImpl.java which is probably what you want gone.

Note that the folder icon might be cached so just disabling the plugin
might still show the icon in the open dialog (there's a way to clear
the cache but I don't know if there's an UI for it).

--emi

http://coolbeans.xyz/ - CoolBeans: An IDE for Java, JavaEE, PHP and more!

On Fri, Dec 21, 2018 at 1:09 PM KT Nabe  wrote:
>
> Hello.
>
> Is there some way to disable netbeans' automatic recognition of a java 
> project with existing sources as a maven project (netbeans does this whenever 
> it detects a pom.xml file).
> Uninstalling/deactivating the maven plugin *does not* do the trick.
>
> I want to be able to have a maven project (with standard maven directory 
> layout with a pom.xml) be completely ignored by netbeans.
>
> Thanks

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

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



Re: How to Hide "Customize" under "View -> Toolbars"?

2018-12-14 Thread Emilian Bold
I suggest you make a PR where that action becomes a real action
registered in the layer which you can then hide.

In the mean time you could either keep your in-house fork of NetBeans
Platform and fix that or you could use reflection and hack the static
ToolbarConfiguration.toolbarMenu and see if removing the item there is
sufficient for your needs.

--emi

http://coolbeans.xyz/ - CoolBeans: An IDE for Java, JavaEE, PHP and more!

On Mon, Dec 10, 2018 at 3:41 PM Daniel Hartman
 wrote:
>
> Is there a way to hide the "Customize" menu item that appears under "View -> 
> Toolbars" for an application built on top of the NetBeans platform?  The 
> "Customize" menu item is added programmatically by the ToolbarConfiguration 
> class in the Core - Windows module.
>
> Thanks in advance for any suggestions.
>
> Dan
>
> -
> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
> For additional commands, e-mail: users-h...@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>

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

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



Re: Java Syntax checking problem/bug

2018-11-29 Thread Emilian Bold
Interesting. Can you provide a short(er) java file where this bug
reproduces?

It might be a nb-javac parser bug or something in the classes built on top
of that.

Does it happen if you change the variable names (x1, x2, y1, y2, etc)? If
it's for the same variable name then maybe some hash collision

Can you reproduce this on NetBeans 9 (with, without the nb-javac from
Oracle?).

--emi

http://coolbeans.xyz/ - CoolBeans: An IDE for Java, JavaEE, PHP and more!


On Thu, Nov 29, 2018 at 6:52 PM Joseph Huber  wrote:

> Hello!
>
>
>
> Please see the screenshots below (hopefully they come through on the
> mailing list).  I am working with Netbeans 8.2 in Windows 10.  The variable
> “x1” is not defined, but Netbeans stops showing the hint identifying it as
> a problem after it encounters a particular statement.  “x1” is italicized,
> but no lightbulb in the margin or red underscore.  The scope of the problem
> is not limited to the shown method.  The “cannot find symbol” hint stops
> working for the remainder of the file, although other syntax errors are
> found, and other hints seem to be working fine in the remainder of the file.
>
>
>
>
>
>
>
> Now, commenting out a couple of statements, things work for a little while
> longer.
>
>
>
>
>
>
>
> Commenting out another statement fixes the problem for the rest of the
> file.   There are nearly 1000 lines of code after this code fragment, and
> the “cannot find symbol” checking works fine for the rest of the file after
> this last statement is commented out.
>
>
>
>
>
> dptc1 is another DxProTopComponent defined at the class level, jpIB1 is a
> JPanel, and jcbModelFam is a JComboBox.
>
>
>
> This is mostly an annoyance, in that if I make a typo, it crashes during
> debug or build, rather than being identified in the editor.
>
>
>
> Any thoughts on what might be going on?
>
>
>
> Thank You!
>
>
>
> Joe Huber
>
>
>

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

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

Re: StackOverflow caused by TreeView#wlpc

2018-12-09 Thread Emilian Bold
If your code is really simple please provide a short example that
reproduces the issue and post it here or preferably on Apache JIRA for
the NETBEANS project.

--emi

http://coolbeans.xyz/ - CoolBeans: An IDE for Java, JavaEE, PHP and more!
On Sun, Dec 9, 2018 at 5:11 PM Geertjan Wielenga
 wrote:
>
> Provide a way to reproduce or a simple sample on GitHub etc, thanks.
>
> Gj
>
> On Sunday, December 9, 2018, Marc Streckfuß  wrote:
>>
>> Hey Guys,
>>
>> So this issue is on Netbeans 8.2, I cannot test them with NB 9.0 yet as
>> I have other issues preventing an upgrade.
>> I am also talking about the Netbeans Platform Facility here, not
>> Netbeans itself.
>>
>> I tried adding Properties Support by adding a Navigator with the Nodes
>> API, which works so far (I can see the Nodes in the Navigator panel).
>> The Problem is that selecting a Node in the Navigator leads to a
>> StackOverflowException because TreeView's Weak PropertyChangeListener
>> (that's my finding so far,  the debugger only shows that it's a
>> WeakListenerImpl) and EMLookup/ProxyLookup hang at ArrayList#addAll()
>> because it calls Collection#toArray, which in turn calls addAll at some
>> point.
>>
>> java.lang.StackOverflowError
>> at
>> org.openide.util.lookup.ProxyLookup$LazyCollection.getComputed(ProxyLookup.java:1306)
>> at
>> org.openide.util.lookup.ProxyLookup$LazyCollection.computeDelegate(ProxyLookup.java:1116)
>> at
>> org.openide.util.lookup.ProxyLookup$LazyCollection.delegate(ProxyLookup.java:1090)
>> at
>> org.openide.util.lookup.ProxyLookup$LazyCollection.delegate(ProxyLookup.java:1073)
>> at
>> org.openide.util.lookup.ProxyLookup$LazyCollection.size(ProxyLookup.java:1158)
>> at
>> org.openide.explorer.DefaultEMLookup$NoNodeLookup$ExclusionResult.allItems(DefaultEMLookup.java:254)
>> at
>> org.openide.util.lookup.ProxyLookup$LazyCollection.computeSingleResult(ProxyLookup.java:1296)
>> at
>> org.openide.util.lookup.ProxyLookup$LazyCollection.computeDelegate(ProxyLookup.java:1123)
>> at
>> org.openide.util.lookup.ProxyLookup$LazyCollection.delegate(ProxyLookup.java:1090)
>> at
>> org.openide.util.lookup.ProxyLookup$LazyCollection.delegate(ProxyLookup.java:1073)
>> at
>> org.openide.util.lookup.ProxyLookup$LazyCollection.toArray(ProxyLookup.java:1179)
>> at java.util.ArrayList.addAll(ArrayList.java:581)
>> at
>> org.openide.util.lookup.ProxyLookup$LazyCollection.computeDelegate(ProxyLookup.java:1143)
>> at
>> org.openide.util.lookup.ProxyLookup$LazyCollection.delegate(ProxyLookup.java:1090)
>> at
>> org.openide.util.lookup.ProxyLookup$LazyCollection.delegate(ProxyLookup.java:1073)
>> at
>> org.openide.util.lookup.ProxyLookup$LazyCollection.size(ProxyLookup.java:1158)
>> at
>> org.openide.explorer.DefaultEMLookup$NoNodeLookup$ExclusionResult.allItems(DefaultEMLookup.java:254)
>> at
>> org.openide.util.lookup.ProxyLookup$LazyCollection.computeSingleResult(ProxyLookup.java:1296)
>> at
>> org.openide.util.lookup.ProxyLookup$LazyCollection.computeDelegate(ProxyLookup.java:1123)
>> at
>> org.openide.util.lookup.ProxyLookup$LazyCollection.delegate(ProxyLookup.java:1090)
>> at
>> org.openide.util.lookup.ProxyLookup$LazyCollection.delegate(ProxyLookup.java:1073)
>> at
>> org.openide.util.lookup.ProxyLookup$LazyCollection.toArray(ProxyLookup.java:1179)
>> at java.util.ArrayList.addAll(ArrayList.java:581)
>>
>> With a Breakpoint on addAll I could see that it happens in
>> PropertyChangeSupport#fire() with a selectedNodes event.
>> Now since my code is really simple (actually only extending AbstractNode
>> and using the ChildFactory), I am unsure how to proceed/try to debug.
>>
>> Also this kind of error has been seen on the issue tracker:
>> https://netbeans.org/bugzilla/show_bug.cgi?id=210689 (the exception is
>> only different since we have enough RAM)
>> Is there a way to find out what the fuzz is about those Lookups? Could
>> that be related to my code doing something wrong? or not registering
>> something to the lookup?
>> Is there a workaround to use the Properties Panel without Nodes? (as
>> that's essentially what I need, I already have a graphical
>> representation of the contents of the Navigator)
>>
>> Thanks in Advance,
>> Marc Streckfuß
>>
>>
>>
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
>> For additional commands, e-mail: users-h...@netbeans.apache.org
>>
>> For further information about the NetBeans mailing lists, visit:
>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>>

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

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



Re: where is Featured Demo kept?

2018-11-18 Thread Emilian Bold
Maybe your firewall is blocking something? That panel is loading
http://netbeans.org/demos.xml

--emi


On Mon, Nov 19, 2018 at 7:38 AM * William 
wrote:

> Hi all ...
>
> This is such a small matter and for some reason It just keeps bugging me.
> This little fee -- I imagine it is an RSS or something -- Keep vanishing.
>
> Can one of the kind people on the list tell me where this is kept?  The
> file name and what URL it is supposed to grab ... Inorder for me to fix it
> when  it breaks as it so frequently does (as now).
>
> I'm setting up a new PC and about 10 min. ago the "Featured demo" was
> showing a netbeans 9 announcement.  Now it is dead.
>
> [image: image.png]
>
> Sometime ago when I put a bug against this the answer is to blow away my
> user directory.  That's one answer.
>
> I'd much rather just fix it manually with an editor and proceed.
>
> My thanks in advance,
>
>   Will.
>


Re: where is Featured Demo kept?

2018-11-19 Thread Emilian Bold
Well, this is a bit unusual config.

The RSS reader is caching resources, just like a web browser.

The timestamp of the cache is saved in
./config/Preferences/org/netbeans/modules/welcome.properties ,
something like:

> www.netbeans.org/demos.xml=Sun, 08 Jul 2018 14:01:59 GMT

I assume you still have that timestamp, which makes NetBeans believe
you did cache the resource, but then you are lacking the cached file.

--emi
On Mon, Nov 19, 2018 at 9:16 AM * William  wrote:
>
> Hi Emilian,
>
> Nope it seems to be a build-in limitation.  I've done some more poking 
> largely due to some other hassles and lucked(??) upon some more details.  
> Short version here is:
>
> "Feature Demo" somehow configured within the "--cachedir" (yes the cache)
> Something else in the "--userdir" is pointing to that item in cache!
>
> You can't just save a user directory and expect to see your "Feature demo" 
> feed.  I am working to set-up a "baseline" with the plugins and config I 
> want.  So I was able to test some of those variables and pairing.
>
> Good thought.  Thanks.
>
>
> On Mon, 19 Nov 2018 at 17:50, Emilian Bold  wrote:
>>
>> Maybe your firewall is blocking something? That panel is loading 
>> http://netbeans.org/demos.xml
>>
>> --emi
>>
>>
>> On Mon, Nov 19, 2018 at 7:38 AM * William  
>> wrote:
>>>
>>> Hi all ...
>>>
>>> This is such a small matter and for some reason It just keeps bugging me.  
>>> This little fee -- I imagine it is an RSS or something -- Keep vanishing.
>>>
>>> Can one of the kind people on the list tell me where this is kept?  The 
>>> file name and what URL it is supposed to grab ... Inorder for me to fix it 
>>> when  it breaks as it so frequently does (as now).
>
>

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

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



Re: Posible bug in Netbeans 10.0 - Macos 10.14.2 (Mojave)

2019-01-04 Thread Emilian Bold
This doesn't look like a java thread dump. Use something like jstack
https://docs.oracle.com/javase/8/docs/technotes/guides/troubleshoot/tooldescr016.html

--emi

http://coolbeans.xyz/ - CoolBeans: An IDE for Java, JavaEE, PHP and more!

On Fri, Jan 4, 2019 at 12:52 PM Juan Miguel Escribano
 wrote:
>
> Here you are
>
> Best
>
> Juan Miguel
> El 4 ene 2019 9:17 +0100, Emilian Bold , escribió:
>
> A thread dump during the beach ball would probably also help.
>
> --emi
>
> http://coolbeans.xyz/ - CoolBeans: An IDE for Java, JavaEE, PHP and more!
>
> On Thu, Jan 3, 2019 at 7:43 PM Juan Miguel Escribano
>  wrote:
>
>
> Same problem with other project opened and no svn errores in messages.log
>
> Best
>
> Juan Miguel
> El 3 ene 2019 18:14 +0100, Emilian Bold , escribió:
>
> It might be related to the svn errors you are getting. If you close
> the projects do you still reproduce the bug with 'Same background
> color for files from the same project'?
>
> --emi
>
> http://coolbeans.xyz/ - CoolBeans: An IDE for Java, JavaEE, PHP and more!
>
> On Thu, Jan 3, 2019 at 6:34 PM Juan Miguel Escribano
>  wrote:
>
>
> Hi all,
>
> Before commit a bug report I would like to know if the problem is only mine 
> or it is, really, a Netbeans’ bug.
>
> System:
> Macos 10.14.2 (Mojave)
> Netbeans 10.0 running over Java 1.8.0_181
> (The same problem occurs with Netbeans 9 and Netbeans 8.2)
>
> Steps:
> Activate “Same background color for files from the same project” in 
> Preferences -> Appearance -> Document Tabs
>
> Quit Netbeans and starts again.
>
> Go to a source file and click over any part of the text.
>
> The “system wait for” beach ball appears and Netbeans is unresponsive at all. 
> Need to force quit to exit Netbeans.
>
> ¿Anyone can confirm that this problem is general or only mine, please?
>
> Attached: messages.log
>
> Best
>
> Juan Miguel
>
> -
> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
> For additional commands, e-mail: users-h...@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

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

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



Re: Posible bug in Netbeans 10.0 - Macos 10.14.2 (Mojave)

2019-01-04 Thread Emilian Bold
A thread dump during the beach ball would probably also help.

--emi

http://coolbeans.xyz/ - CoolBeans: An IDE for Java, JavaEE, PHP and more!

On Thu, Jan 3, 2019 at 7:43 PM Juan Miguel Escribano
 wrote:
>
> Same problem with other project opened and no svn errores in messages.log
>
> Best
>
> Juan Miguel
> El 3 ene 2019 18:14 +0100, Emilian Bold , escribió:
>
> It might be related to the svn errors you are getting. If you close
> the projects do you still reproduce the bug with 'Same background
> color for files from the same project'?
>
> --emi
>
> http://coolbeans.xyz/ - CoolBeans: An IDE for Java, JavaEE, PHP and more!
>
> On Thu, Jan 3, 2019 at 6:34 PM Juan Miguel Escribano
>  wrote:
>
>
> Hi all,
>
> Before commit a bug report I would like to know if the problem is only mine 
> or it is, really, a Netbeans’ bug.
>
> System:
> Macos 10.14.2 (Mojave)
> Netbeans 10.0 running over Java 1.8.0_181
> (The same problem occurs with Netbeans 9 and Netbeans 8.2)
>
> Steps:
> Activate “Same background color for files from the same project” in 
> Preferences -> Appearance -> Document Tabs
>
> Quit Netbeans and starts again.
>
> Go to a source file and click over any part of the text.
>
> The “system wait for” beach ball appears and Netbeans is unresponsive at all. 
> Need to force quit to exit Netbeans.
>
> ¿Anyone can confirm that this problem is general or only mine, please?
>
> Attached: messages.log
>
> Best
>
> Juan Miguel
>
> -
> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
> For additional commands, e-mail: users-h...@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

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

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



Re: [PHP] NB8.2 / NB10.0 long background scanning - Netbeans tunning guide

2019-01-04 Thread Emilian Bold
You could take some thead dump every now and then and see which class
is running. Profiling the IDE could also show this.

There are also various logs where you could increase the log level
once you figure out which classes / packages to look further into.

--emi

http://coolbeans.xyz/ - CoolBeans: An IDE for Java, JavaEE, PHP and more!

On Fri, Jan 4, 2019 at 10:24 AM Mondane Woodworker
 wrote:
>
> I've tested this approach but it doesn't seem to improve my situation. The 
> background scanning is still going on for 20 minutes now. For the other 
> projects I've mentioned, this normally takes max. 5 minutes.
>
> Can I debug this somehow to help indicate why it's taking so long?
>
> Op do 3 jan. 2019 om 17:02 schreef arsi :
>>
>> Hi,
>>
>> The best way to speed up Netbeans is to move the netbeans_cachedir to RAM 
>> disk.
>>
>> On linux:
>>
>> Create a directory, for example /media/ramdisk
>>
>> Add to /etc/fstab line:
>>
>> none /media/ramdisk tmpfs defaults,user,size=2G,mode=0777 0 0
>>
>> reboot
>>
>> Create new file  /lib/systemd/system/ramdisk.service
>>
>> [Unit]
>> Description=RAM-Disk Manager
>> Before=umount.target
>>
>> [Service]
>> Type=oneshot
>> RemainAfterExit=yes
>> User=root
>> ExecStart=/usr/bin/rsync -ar /ssd/ramdisk-backup/ /media/ramdisk/
>> ExecStop=/usr/bin/rsync -ar /media/ramdisk/ /ssd/ramdisk-backup/
>>
>> [Install]
>> WantedBy=multi-user.target
>>
>> Replace /ssd/ramdisk-backup/ with a location on the HDD where the contents 
>> of the RAM disk will be saved when the computer is shut down..
>>
>>
>> sudo apt install rsync
>>
>> sudo systemctl enable ramdisk.service
>>
>> Menu Netbeans -> About -> Cache directory
>> And turn off netbeans.
>>
>> copy all directories from Cache directory to /media/ramdisk except 
>> mavencachedirs and mavenindex.
>>
>> For the mavencachedirs and mavenindex, create a symlink. The size of the two 
>> directories are huge.
>>
>> sudo rsync -ar /media/ramdisk/ /ssd/ramdisk-backup/  first backup...
>>
>> sudo systemctl start ramdisk.service
>>
>> now ...netbeans_dir/etc/netbeans.conf
>>
>> netbeans_default_cachedir="/media/ramdisk"
>>
>>
>> Run netbeans and enjoy the speed :)
>>
>> ArSi
>>
>> 
>> From: Mondane Woodworker 
>> Sent: Thursday, January 03, 2019 3:18PM
>>
>> Cc: Users 
>> Subject: Re: [PHP] NB8.2 / NB10.0 long background scanning Magento 2 projects
>>
>> Excluding the vendor folder is not really an option as I need NetBeans to 
>> know which classes are available. From the video, I added nodejs and 
>> node_modules to the ignored files pattern. I'll look into the magento 
>> modules to see if more can be ignored, I've ignored tests already, this 
>> saves ~8000 files
>>
>> Op do 3 jan. 2019 om 12:25 schreef Geertjan Wielenga 
>> :
>>>
>>> Maybe you can exclude the 'vendor' folder from scanning as explained here:
>>>
>>> https://www.youtube.com/watch?v=iBCid5KQDA8
>>>
>>> Gj
>>>
>>> On Thu, Jan 3, 2019 at 12:23 PM Mondane Woodworker 
>>>  wrote:

 Hello,

 Since a few months, I started developing Magento 2 shops in NetBeans 8.2 
 and 10.0 . I've noticed the background scanning of such projects takes a 
 long time and stays on 50%.

 This is after I've performed a composer install to have a /vendor folder 
 with all the Magento 2 packages.

 I don't have this problem when building something on Zend Framework 2/3 or 
 symfony 2+.

 Do more users experience this?

 NB I'm using a laptop with SSD's.

 Regards,
 Mondane
>>
>>

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

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



Re: Posible bug in Netbeans 10.0 - Macos 10.14.2 (Mojave)

2019-01-03 Thread Emilian Bold
It might be related to the svn errors you are getting. If you close
the projects do you still reproduce the bug with 'Same background
color for files from the same project'?

--emi

http://coolbeans.xyz/ - CoolBeans: An IDE for Java, JavaEE, PHP and more!

On Thu, Jan 3, 2019 at 6:34 PM Juan Miguel Escribano
 wrote:
>
> Hi all,
>
> Before commit a bug report I would like to know if the problem is only mine 
> or it is, really, a Netbeans’ bug.
>
> System:
> Macos 10.14.2 (Mojave)
> Netbeans 10.0 running over Java 1.8.0_181
> (The same problem occurs with Netbeans 9 and Netbeans 8.2)
>
> Steps:
> Activate “Same background color for files from the same project” in 
> Preferences -> Appearance -> Document Tabs
>
> Quit Netbeans and starts again.
>
> Go to a source file and click over any part of the text.
>
> The “system wait for” beach ball appears and Netbeans is unresponsive at all. 
> Need to force quit to exit Netbeans.
>
> ¿Anyone can confirm that this problem is general or only mine, please?
>
> Attached: messages.log
>
> Best
>
> Juan Miguel
>
> -
> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
> For additional commands, e-mail: users-h...@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

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

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



Re: Checking for external changes - Suspended, high cpu usage

2018-12-28 Thread Emilian Bold
Interesting work. Could you point me to the individual patches / commits?
You fixed 3 problems but I can't seem to find the individual commits for
them.

PS: what license are your changes?

--emi

On Fri, 28 Dec 2018 at 10:19, arsi  wrote:

> Hello,
>
> I fixed the problem with Checking for external changes - Suspended on
> Linux and I created modules with patches for Netbeans 8.2
>
>- org-netbeans-modules-masterfs-patch-module
>   - fixed problem with broken Symbolic Links, recursive
>   Created/Deleted file changed event
>   - fixed problem with files other that Link, File and Dir, recursive
>   Created/Deleted file changed event
>- org-netbeans-modules-versioning-masterfs-patch-module
>   - fixed problem with registering new filechangedlistener, after
>   file delete event
>
>
> Installation:
> Add new update center http://server.arsi.sk/masterfs/updates.xml  and
> install the modules
>
> or
>
> Manually download the modules from  http://server.arsi.sk/masterfs
>
> or
>
> Compile your own version
> https://github.com/NBANDROIDTEAM/org-netbeans-modules-masterfs-patches
>
>
>
> Details are here:
> https://github.com/NBANDROIDTEAM/NBANDROID-V2/issues/139
>
> https://issues.apache.org/jira/browse/NETBEANS-168
>
>
>
> Arsi
>
-- 
--emi


Re: Checking for external changes - Suspended, high cpu usage

2018-12-28 Thread Emilian Bold
Oh, I see the patches here
https://github.com/NBANDROIDTEAM/org-netbeans-modules-masterfs-patches/tree/master/patches_NB82_MAVEN_SRC

--emi

On Fri, 28 Dec 2018 at 14:43, arsi  wrote:

> Hello,
>
> I tested it in another project, this is just the result.
> I made patches to the NB82 Maven source tree.
> They are commited to
> https://github.com/NBANDROIDTEAM/org-netbeans-modules-masterfs-patches
> And I added a test app there.
>
>
> Finally, I found out that I forgot to delete the Files.isSymbolicLink()
> from the method FileObjectFactory.touchExists().
> Probably during the test I had a problem with online code update and it
> works..
> So I made better version of FileObjectFactory patch.
>
>
>
>
> Arsi
> --
>
> *From:* Emilian Bold
> *Sent:* Friday, December 28, 2018 11:23AM
> *To:* Arsi
> *Cc:* Users
> *Subject:* Re: Checking for external changes - Suspended, high cpu usage
>
>
> Interesting work. Could you point me to the individual patches / commits?
> You fixed 3 problems but I can't seem to find the individual commits for
> them.
>
> PS: what license are your changes?
>
> --emi
>
> On Fri, 28 Dec 2018 at 10:19, arsi  wrote:
>
>> Hello,
>>
>> I fixed the problem with Checking for external changes - Suspended on
>> Linux and I created modules with patches for Netbeans 8.2
>>
>>- org-netbeans-modules-masterfs-patch-module
>>   - fixed problem with broken Symbolic Links, recursive
>>   Created/Deleted file changed event
>>   - fixed problem with files other that Link, File and Dir,
>>   recursive Created/Deleted file changed event
>>- org-netbeans-modules-versioning-masterfs-patch-module
>>   - fixed problem with registering new filechangedlistener, after
>>   file delete event
>>
>>
>> Installation:
>> Add new update center http://server.arsi.sk/masterfs/updates.xml  and
>> install the modules
>>
>> or
>>
>> Manually download the modules from  http://server.arsi.sk/masterfs
>>
>> or
>>
>> Compile your own version
>> https://github.com/NBANDROIDTEAM/org-netbeans-modules-masterfs-patches
>>
>>
>>
>> Details are here:
>> https://github.com/NBANDROIDTEAM/NBANDROID-V2/issues/139
>>
>> https://issues.apache.org/jira/browse/NETBEANS-168
>>
>>
>>
>> Arsi
>>
> --
> --emi
>
>
>
> --
--emi


Re: Netbean 10 Java web

2019-01-02 Thread Emilian Bold
Yes, because NetBeans doesn't yet include JavaEE projects.

You could try the CoolBeans distribution https://coolbeans.xyz in the
meantime or see if you can install the 8.2 JavaEE modules on top of
NetBeans 10.

--emi

On Wed, 2 Jan 2019 at 13:13,  wrote:

> Hello,
>
> I downloaded the binaries of NB 10 .. unzipped in a folder and double
> click on C:\netbean\bin\netbeans64.exe
>
> I had a previous version of NB (8.2) .. so NB 10 imported the settings ..
>
> everything seems ok .. but I am not able to create a Java web application
> project .. no “Java Web” element appears in the wizard (File --> New
> Project...)
>
>
>
> Roberto
>
-- 
--emi


Re: Executable version

2019-01-04 Thread Emilian Bold
Good catch! That .exe doesn't need to be compiled very often since it
doesn't change and there's not much it has to do.

So, we last compiled it for NetBeans 9 and will use it until it breaks :-)

Please open a JIRA issue if you want, but we'll have to wait for Jan
to recompile the .exe.

--emi

http://coolbeans.xyz/ - CoolBeans: An IDE for Java, JavaEE, PHP and more!

On Fri, Jan 4, 2019 at 8:16 PM Mark A. Claassen  wrote:
>
> This is not a big deal, but I noticed that the Windows executable properties 
> are old.
>
>
>
> Right click on “netbeans64.exe” and select “Properties”.  Then on the 
> “Details” tab there are several items, some of which are out of date:
>
>
>
> File Version: 9.0.0.0
>
> Product Name: Netbeans IDE 9.0
>
> Product Version 9.0.0.0
>
>
>
>
>
> Mark Claassen
>
> Senior Software Engineer
>
>
>
> Donnell Systems, Inc.
>
> 130 South Main Street
>
> Leighton Plaza Suite 375
>
> South Bend, IN  46601
>
> E-mail: mailto:mclaas...@ocie.net
>
> Voice: (574)232-3784
>
> Fax: (574)232-4014
>
>
>
> Disclaimer:
>
> The opinions provided herein do not necessarily state or reflect
>
> those of Donnell Systems, Inc.(DSI). DSI makes no warranty for and
>
> assumes no legal liability or responsibility for the posting.
>
>

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

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



Re: NetBeans 10 JUnit support

2019-01-11 Thread Emilian Bold
I think we should also ask ourselves if the IDE NetBeans must promote
JUnit 5 or not.

I don't see a big push from actual users for JUnit 5. And for most
users JUnit 4 is quite adequate (and I wonder how many are picking 5
because it's newer versus because they are actually missing something
in JUnit 4).

The IDE should promote unit testing, that's for sure. A given unit
testing library... some data would be nice.

--emi

https://coolbeans.xyz/ - CoolBeans: An IDE for Java, JavaEE, PHP and more!

On Fri, Jan 11, 2019 at 11:38 AM Peter Hull  wrote:
>
> On Thu, Jan 10, 2019 at 7:47 PM John McDonnell  
> wrote:
> > I think at a minimum it requires an upgrade to the bundled Ant version, and 
> > then some changes to some internal build.xml's (which I think is where I 
> > got lost previously)
> NetBean's version of ant is 1.10.4 and that does have the
> `junitlauncher` task, but NB does not include the optional
> ant-junitlauncher.jar library with it.
> So I think we will need that jar plus the platform and engine
> libraries (listed in
> https://ant.apache.org/manual/Tasks/junitlauncher.html) added to the
> JUnit-5.x.y library in NB, plus the build script changes as mentioned
> by others.
> Alternatively, using Junit 4 is much more straightforward. I couldn't
> tell from the JUnit website whether JUnit 5 is supposed to co-exist
> with 4, or whether 4 is now done and everyone should be moving on.
> If I can, I will try and manually get JUnit 5 tests working and make
> list of what I had to add/change.
> Pete
>
> -
> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
> For additional commands, e-mail: users-h...@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>

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

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



Re: Does JaCoCo 0.8.2 break NetBeans code coverage?

2019-01-26 Thread Emilian Bold
Philip, did you even test this with *any* Apache NetBeans version.
This bug only seems to happen in NetBeans 8.2.

--emi

http://coolbeans.xyz/ - CoolBeans: An IDE for Java, JavaEE, PHP and more!


On Sat, Jan 26, 2019 at 10:14 PM Philip Durbin  wrote:
>
> Ok, I created an issue: JaCoCo 0.8.2 breaks code coverage integration - 
> https://issues.apache.org/jira/browse/NETBEANS-1997
>
> I've never worked on the NetBeans code base so I don't plan to attempt to 
> provide a pull request unless someone out there can provide a little guidance.
>
> Thanks,
>
> Phil
>
> On Wed, Jan 23, 2019 at 5:41 PM Geertjan Wielenga 
>  wrote:
>>
>> The reason for the problem is explained in the links you reference, would 
>> indeed be great if you'd file an issue (and ideally make an attempt at 
>> providing a pull request for it):
>>
>>> AFAIK NetBeans integration reads XML Report, which was intentionally 
>>> changed in version 0.8.2 in a perfectly valid way by addition of new 
>>> attribute - see #702. NetBeans integration must be fixed accordingly and 
>>> ideally be less strict to cope with such updates in future. This problem 
>>> should reported to developers of NetBeans integration
>>
>>
>> Thanks,
>>
>> Gj
>>
>> On Wed, Jan 23, 2019 at 11:39 PM Philip Durbin  
>> wrote:
>>>
>>> Please see https://github.com/IQSS/dataverse/issues/5483 and 
>>> https://github.com/jacoco/jacoco/issues/772 for details but downgrading to 
>>> JaCoCo 0.8.1 seems to get code coverage working again. Has anyone else 
>>> observed this problem? Is there a ticket tracking this?
>>>
>>> Thanks!
>>>
>>> Phil

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

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



Re: Does JaCoCo 0.8.2 break NetBeans code coverage?

2019-01-26 Thread Emilian Bold
Pasting my comment on https://github.com/jacoco/jacoco/issues/772

'd like to remark that from my tests (and looking at the source code)
this problem only happens under NetBeans 8.2! This does not happen
under any Apache NetBeans version.

Under NetBeans 8.2 this happens due to the way the DTD was obtained.
If you look at 
http://hg.netbeans.org/main-golden/file/tip/maven.coverage/src/org/netbeans/modules/maven/coverage/MavenCoverageProvider.java
you see a check publicId.equals("-//JACOCO//DTD Report 1.0//EN"). So
when you moved to `DTD Report 1.1` it broke NetBeans 8.2 parsing.
That's all.

--emi

On Sun, Jan 27, 2019 at 8:38 AM Emilian Bold  wrote:
>
> Philip, did you even test this with *any* Apache NetBeans version.
> This bug only seems to happen in NetBeans 8.2.
>
> --emi
>
> http://coolbeans.xyz/ - CoolBeans: An IDE for Java, JavaEE, PHP and more!
>
>
> On Sat, Jan 26, 2019 at 10:14 PM Philip Durbin  wrote:
> >
> > Ok, I created an issue: JaCoCo 0.8.2 breaks code coverage integration - 
> > https://issues.apache.org/jira/browse/NETBEANS-1997
> >
> > I've never worked on the NetBeans code base so I don't plan to attempt to 
> > provide a pull request unless someone out there can provide a little 
> > guidance.
> >
> > Thanks,
> >
> > Phil
> >
> > On Wed, Jan 23, 2019 at 5:41 PM Geertjan Wielenga 
> >  wrote:
> >>
> >> The reason for the problem is explained in the links you reference, would 
> >> indeed be great if you'd file an issue (and ideally make an attempt at 
> >> providing a pull request for it):
> >>
> >>> AFAIK NetBeans integration reads XML Report, which was intentionally 
> >>> changed in version 0.8.2 in a perfectly valid way by addition of new 
> >>> attribute - see #702. NetBeans integration must be fixed accordingly and 
> >>> ideally be less strict to cope with such updates in future. This problem 
> >>> should reported to developers of NetBeans integration
> >>
> >>
> >> Thanks,
> >>
> >> Gj
> >>
> >> On Wed, Jan 23, 2019 at 11:39 PM Philip Durbin  
> >> wrote:
> >>>
> >>> Please see https://github.com/IQSS/dataverse/issues/5483 and 
> >>> https://github.com/jacoco/jacoco/issues/772 for details but downgrading 
> >>> to JaCoCo 0.8.1 seems to get code coverage working again. Has anyone else 
> >>> observed this problem? Is there a ticket tracking this?
> >>>
> >>> Thanks!
> >>>
> >>> Phil

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

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



Re: Can't get XML Schema registration to work

2019-02-07 Thread Emilian Bold
I think Thomas is using a mixed mode? Some schemas are remote but my.xsd is
local?

--emi


On Thu, Feb 7, 2019 at 9:46 PM Stefan Winter 
wrote:

> Hi Thomas,
>
> I just tried it on my local Netbeans 10 and it works when you make the
> System ID a full URL.
>
> So in your XML put:
>
>  xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog
> http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.5.xsd
>  http://www.some-domain.com/my/lb*
> http://www.some-domain.com /my.xsd*”>
>
> then map System-ID http://www.some-domain.com/my.xsd to your local XSD
> file in the Tools -> DTS’s and XML Schemas -> User Catalog
>
> Actually I did not know that Netbeans can cache XSDs to avoid the lookup
> to the (often not existent) public http server.
> Nice feature
>
> Regards
> Stefan
>
>
> On 07.02.2019, at 13:24, Thomas Kellerer  wrote:
>
> So no one is using the XML editor with XSDs outside the XML file's
> directory?
>
> Thomas Kellerer schrieb am 31.01.2019 um 09:58:
>
> Hello,
>
> I am using NetBeans 10.0
>
> I am developing extensions for Liquibase in my project.
> So I have an additional XSD that defines the extension tags.
>
> My Liquibase changelogs (using my extensions) look like this:
>
>   xmlns="http://www.liquibase.org/xml/ns/dbchangelog;
>  xmlns:my="http://www.some-domain.com/my/lb;
>  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;
>  xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog
> http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.5.xsd
>  http://www.some-domain.com/my/lb my.xsd">
>
> 
>
> 
>
>
> The "http://www.some-domain.com/my/lb my.xsd" part is the where my
> extensions are defined.
>
> However, when editing those XML files I can't get NetBeans to validate the
> XML because it does not find "my.xsd" as it is located in a different
> directory than the XML file itself.
>
> So I tried to add the XSD through "Tools -> DTDs and XML Schemas"
>
> I selected the "User Catalog" and added a local XSD.
> I tried specifying "my.xsd" as the "System ID" as well as "
> http://www.some-domain.com/my/lb; in the dialog that pops up, but neither
> solution worked.
>
> When I validate my XML file (through the two "down arrows" in the editor -
> Alt- Shift - F9) I get the following errors:
>
> schema_reference.4: Failed to read schema document 'my.xsd', because
> 1) could not find the document; 2) the document could not be read; 3)
> the root element of the document is not . [11]
>
> As soon as I copy the my.xsd into the same folder as my XML file, the
> validation works.
>
> What am I missing here?
>
>
> Thanks
> Thomas
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
> 
> For additional commands, e-mail: users-h...@netbeans.apache.org
> 
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
>


Re: Enlarge existing project

2019-01-24 Thread Emilian Bold
Seems like one could write a plugin to invoke that action for all the forms.

--emi

On Thu, 24 Jan 2019 at 11:53, CHRISTOPHE LAFOLET <
christophe.lafo...@naval-group.com> wrote:

> Yes Swing froms
> actually the project use "AbsoluteLayout"
> With Java code, I can already modify XML forms but I need that Netbeans
> reload all forms (500) to update the java classes.
> Manually that works when I do a "reload Form" action for *one* form : I
> want to do this automatically for* all* forms ...
>
>
>
>
>
>
> De :Emilian Bold 
> A :CHRISTOPHE LAFOLET 
> Cc :NetBeans Mailing 
> Date :23/01/2019 18:31
> Objet :Re: Enlarge existing project
> --
>
>
>
> So by Java beans you mean beans in Swing forms? Interesting project.
>
> Normally if you use layouts properly there's no widths / heights to fix as
> the layout will adapt to whatever new size the container has.
>
> So you start from constants down: hardcoded font sizes, hardcoded
> positions, dimensions.
>
> If these are all NetBeans .forms then you can probably automate this with
> a custom script... although I never did try to process .form files
> externally.
>
> I don't know of any plugin that would do this automatically.
>
> --emi
>
> *http://coolbeans.xyz/* <http://coolbeans.xyz/> - CoolBeans: An IDE for
> Java, JavaEE, PHP and more!
>
>
> On Wed, Jan 23, 2019 at 3:55 PM CHRISTOPHE LAFOLET <
> *christophe.lafo...@naval-group.com* >
> wrote:
> Hello,
>
> I would like to refactore an existing netbeans project.
> I need to apply a scale factor to nearly 500 Java beans : this
> transformation should modify width, height, position, layout, bordure size,
> gap, ...
> Do anyone have done this transformation ? by script or with a plugin ? and
> which plugin ?
>
> Thanks for your help.
>
>
> Pensez à l'environnement : avez-vous besoin d'imprimer ce message ?
> Think about the environment : Do you need to print message ?
> .
> Ce courrier électronique, incluant les éventuelles pièces jointes, peut
> contenir des informations confidentielles et/ou personnelles et a été
> envoyé uniquement à l'usage de la personne ou de l'entité citée ci-dessus.
> Si vous receviez ce courrier électronique par erreur, merci de bien vouloir
> en avertir l'expéditeur immédiatement, effacer l'original et détruire toute
> copie enregistrée dans un ordinateur, imprimée ou sauvegardée sur un
> disque. Toute revue, retransmission ou toute autre forme d'utilisation de
> ce courrier électronique par toute autre personne que le destinataire prévu
> est strictement interdite.
> L'internet ne permettant pas d'assurer l'intégrité de ce message,
> l'expéditeur décline toute responsabilité au cas où il aurait été
> intercepté ou modifié par quiconque.
> This e-mail and its possible attachments may contain confidential and/or
> privileged information and is intended only for the use of the person or
> entity named above. If you have received it in error, please advise the
> sender immediately, delete it and destroy all copies stored in the
> recipient's computer, printed or saved to disk. Any review, retransmission,
> or further use of this e-mail by persons or entities other than the
> intended recipient is strictly prohibited.
> The nature of the internet being such that the integrity of this message
> cannot be ensured, the sender disclaims any liability whatsoever, in the
> event of this message having been intercepted and/or altered.
>
>
>
>
>
>
> - To
> unsubscribe, e-mail: *users-unsubscr...@netbeans.apache.org*
>  For additional commands, e-mail:
> *users-h...@netbeans.apache.org*  For
> further information about the NetBeans mailing lists, visit:
> *https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists*
> <https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists>
>
> Pensez à l'environnement : avez-vous besoin d'imprimer ce message ?
>
> Think about the environment : Do you need to print message ?
>
> .
>
> Ce courrier électronique, incluant les éventuelles pièces jointes, peut 
> contenir des informations confidentielles et/ou personnelles et a été envoyé 
> uniquement à l'usage de la personne ou de l'entité citée ci-dessus. Si vous 
> receviez ce courrier électronique par erreur, merci de bien vouloir en 
> avertir l'expéditeur immédiatement, effacer l'original et détruire toute 
> copie enregistrée dans un ordinateur, imprimée ou sauvegardée sur un disque. 
> Toute revue, retransmission ou toute autre forme d'utilisation de ce courrier 
> électronique par toute au

Re: Cannot execute Netbeans 10.0 platform application openjdk-11 Windows10

2019-02-02 Thread Emilian Bold
So it looks like your exe isn't reading the conf file for some reason.
Can you start the app on a Linux machine? Then we see if it's an .exe
launcher issue or a general configuration issue you have.

--emi

On Sat, Feb 2, 2019 at 2:27 PM Helmut Leininger  wrote:
>
> Hi,
>
> I just found a bypass. It works if xxx.exe --jdkhome is specified.
>
> Regards
> Helmut
>
> Am 02.02.2019 um 13:22 schrieb Helmut Leininger:
>
> Sorry, it is Netbeans 10.
>
> Am 02.02.2019 um 13:06 schrieb Helmut Leininger:
>
> Hi,
>
> I  am running on Windows10, Netbeans 9.0, Java openjdk-11.
>
> I have a Netbeans platform application which runs ok when started within 
> Netbeans.
>
> When started from the launcher (xxx.exe), you get a message "Cannot find Java 
> 1.8 or higher" and the program aborts. JAVA_HOME and netbeans_jdkhome in 
> netbeans.conf is ok. What can be done?
>
> NB:
> Other Java applications developped with Netbeans 9.0 not using Platform 
> execute well. If I install Oracle Java in addition to openjdk, the 
> applications runs ok without changing the settings.
>
> Regards
> Helmut
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
> For additional commands, e-mail: users-h...@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
> For additional commands, e-mail: users-h...@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
> For additional commands, e-mail: users-h...@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

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

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



Re: Netbeans 11 - Integrity of the release

2019-05-22 Thread Emilian Bold
That warning says there is no chain of trust to the key. But considering
you got the key from https://www.apache.org/dist/incubator/netbeans/KEYS
you can ignore that warning.

--emi


On Wed, May 22, 2019 at 5:23 PM Eduardo Quintanilla 
wrote:

> Hi,
>
>
>
> I downloaded Netbeans 11[1] and got an error when verifying the
> signature[3] of the downloaded zip.
>
> I got the KEYS from [2].
>
>
>
> [1] -
> https://us.mirrors.quenda.co/apache/incubator/netbeans/incubating-netbeans/incubating-11.0/incubating-netbeans-11.0-bin.zip
>
> [2] - https://www.apache.org/dist/incubator/netbeans/KEYS
>
> [3] -
> https://www.apache.org/dist/incubator/netbeans/incubating-netbeans/incubating-11.0/incubating-netbeans-11.0-source.zip.asc
>
>
>
> I opened a Command Line in Windows 10 and executed GnuPG for Windows
> version 2.2.11:
>
>
>
> gpg --import KEYS.txt
>
> gpg --verify incubating-netbeans-11.0-source.zip.asc.txt
> incubating-netbeans-11.0-bin.zip
>
>
>
> Output:
>
> gpg: Signature made 03/20/19 02:27:54 Central Standard Time (Mexico)
>
> gpg:using RSA key 79C8F02A726E9EF53646D712B2BF814FA145CB2D
>
> gpg: BAD signature from "Laszlo Kishalmi (CODE SIGNING KEY) <
> lkisha...@apache.org>" [unknown]
>
>
>
> Is the validation process correct? Is there an error with the KEYS or the
> downloaded file?
>
>
>
> Best regards,
>
> *Eduardo Quintanilla *
>
> *Software Developer*
>
>
>
>
> The information transmitted is intended only for the person or entity to
> which it is addressed and may contain confidential and/or privileged
> material. Any review, retransmission, dissemination or other use of, or
> taking of any action in reliance upon, this information by persons or
> entities other than the intended recipient is prohibited. If you received
> this in error, please contact the sender and delete the material from any
> computer.
> La información transmitida está destinada únicamente a la persona o
> entidad a quien que va dirigida y puede contener información confidencial
> y/o material privilegiado. Cualquier revisión, retransmisión, difusión u
> otros usos, o cualquier acción tomada por personas o entidades distintas al
> destinatario basándose en esta información está prohibida. Si usted recibe
> este mensaje por error, por favor contacte al remitente y elimine el
> material de cualquier computadora.
>


Re: making an offline portable setup

2019-05-19 Thread Emilian Bold
If you open the About box you'll see some folders with the user
directory and such. I guess syncing that up would give you a portable
setup.

--emi

On Sun, May 19, 2019 at 5:05 PM Alex O'Ree  wrote:
>
> After unzipping and running NB11, there's a number of cases where "features" 
> need to be downloaded and activated. Where are the downloaded components 
> stored? I have a case where I need to get a functioning NB environment setup, 
> then transferred to another computer that is offline.

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

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



Re: Question on Netbeans 11 and C++

2019-05-08 Thread Emilian Bold
> 1 Does NB11 also include C++ projects (I only saw Java, PHP and couple other 
> web based types)

No. I suspect the next release will include the C++ projects.

In the meantime you can try CoolBeans ( https://coolbeans.xyz ) which
does compile the C++ modules.

> 3 Does NB11 support C++17 ?

I suspect not entirely... but only because a low level library I know
related to the clang frontend is from Oct 2017 while C++17 seems to
have been finalized in 2018.

Would be interested about your feedback.

--emi

On Wed, May 8, 2019 at 10:22 PM Koos du Preez
 wrote:
>
> We are using Netbeans 8.2 extensively for cross platform C++ development and 
> I was curious with Netbeans 11 release, I have the following questions
>
> 1 Does NB11 also include C++ projects (I only saw Java, PHP and couple other 
> web based types)
>
> 2 Can you upgrade NB8.2 projects to NB11 ?
>
> 3 Does NB11 support C++17 ?
>
>
> Thanks!

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

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



Re: Trouble patching NetBeans 11.0 platform module

2019-05-08 Thread Emilian Bold
JavaHelp was removed from Apache NetBeans due to an Apache licensing policy.

It's on my todo list for re-inclusion in CoolBeans (as some older
Platform apps use it).

--emi

On Wed, May 8, 2019 at 11:34 PM Joseph Huber  wrote:
>
> Hello!
>
>
>
> I am in the initial phase of trying to patch a NetBeans 11.0 platform module 
> (which I have successfully done in NetBeans 8.2) per the procedure at 
> http://wiki.netbeans.org/DevFaqOrphanedNetBeansOrgModules.  I downloaded the 
> 11.0 source from the links at
>
> https://www.apache.org/dyn/closer.cgi/incubator/netbeans/incubating-netbeans/incubating-11.0/incubating-netbeans-11.0-source.zip
>
>
>
> The process is crashing at the “ant -f nbbuild/build.xml bootstrap” step with 
> numerous errors regarding javax.help, such as:
>
> nb_all\nbbuild\antsrc\org\netbeans\nbbuild\CheckHelpSets.java:37: error: 
> package javax.help does not exist
>
>
>
> In the netbeans 8.2 platform source, javahelp\external contains the following 
> files: binaries-list, jhall-2.0_05.jar, jhall-2.0_05-license.txt
>
>
>
> In the netbeans 11.0 platform source, javahelp\external contains the 
> following files:  binaries-list,  jhall-2.0_05-license.txt
>
>
>
> jhall-2.0_05.jar is missing in 11.0, which I believe is the source of the 
> above error.  The 11.0 binaries-list file contains the following text:
>
>
>
> # 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.
>
> CA70822C47A67FC3A11670270567C2D01566DAE1 jhall-2.0_05.jar
>
>
>
> It seems that jhall-2.0_05.jar should be in the 11.0, javahelp\external 
> folder (like it is in 8.2), but it is missing.  Is this a bug?  I searched 
> through the 11.0 source, and I don’t find jhall-2.0_05.jar included.
>
> Thank You for any help!
>
>
>
> Joe Huber
>
> Standard Refrigeration LLC
>
> 2005 Reverchon Dr
>
> Arlington, TX  76017
>
> Cell: 682-777-8374
>
> jhu...@stanref.co

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

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



Re: Building Windows Launchers only

2019-05-16 Thread Emilian Bold
Hm, last I looked we had some makefiles in about 2-3 places so I just
invoked those.

I assume the build system does something like that.

--emi

joi, 16 mai 2019, 11:51 Mark Phipps  a scris:

> On the Apache NetBeans github page, is the instruction to build the
> Windows launchers:
>
> ant -Ddo.build.windows.launchers=true
>
> This also builds the entire system, which takes a long time.
>
> Is there an addition to this incantation which builds JUST the launchers?
>
> Thanks
> Mark
>
> *Mark Phipps |* Front Office Development Manager
> *Sucden Financial Limited |* Plantation Place South *|* 60 Great Tower
> Street *| *London EC3R 5AZ
>
> *Telephone (DDI): *+44 (0)20 3207 5140* | Switchboard:* +44 (0)20 3207
> 5000
> *Email: *mark.phi...@sucfin.com | *Website:* www.sucdenfinancial.com
>
>
> [image: Description: signature20170705.jpg]
> 
>
> Twitter  | LinkedIn
> 
>
> www.sucdenfinancial.com
>
> Sucden Financial Limited, Plantation Place South, 60 Great Tower Street,
> London EC3R 5AZ
> Telephone +44 203 207 5000
>
> Registered in England no. 1095841
> VAT registration no. GB 446 9061 33
>
> Authorised and Regulated by the Financial Conduct Authority (FCA) and
> entered in the FCA register under no. 114239
>
> This email, including any files transmitted with it, is confidential and
> may be privileged. It may be read, copied and used only by the intended
> recipient. If you are not the intended recipient of this message, please
> notify *postmas...@sucfin.com * immediately and
> delete it from your computer system.
>
> We believe, but do not warrant, that this email and its attachments are
> virus-free, but you should check.
>
>
>
> Sucden Financial Limited may monitor traffic data of both business and
> personal emails. By replying to this email, you consent to Sucden
> Financial's monitoring the content of any emails you send to or receive
> from Sucden Financial. Sucden Financial is not liable for any opinions
> expressed by the sender where this is a non-business email.
>
>
>
> The contents of this e-mail do not constitute advice and should not be
> regarded as a recommendation to buy, sell or otherwise deal with any
> particular investment.Where any trade ideas are made by an employee of
> Sucden Financial in an electronic communication, these are made
> incidentally to your dealing relationship with us and are provided solely
> to enable you to make your own investment decisions and do not amount to
> advice. Please note that the employee may have had many, varied trade ideas
> over the past 12 months, including contrary ideas. Any trade ideas are
> solely based on the employee’s market knowledge and experience and may not
> be tailored to your specific circumstances or investment objectives. Please
> contact the employee who made the trade idea if you would like to see any
> of his/her trade ideas made in the previous 12 months for comparative
> purposes. Please visit our website to view our full risk warnings and
> disclaimers: www.sucdenfinancial.com
>
>
>
> This message has been scanned for
> viruses by Mimecast 
>


Re: How to test a NetBeans Platform app? NbTestCase classpath woes

2019-05-09 Thread Emilian Bold
Indeed, the java.class.path is much larger for tests.

--emi

On Fri, Apr 26, 2019 at 10:24 PM Emilian Bold  wrote:
>
> One trick I learned is that .clusters() is applied only to the cluster
> folder name, not the full path.
>
> This was kinda obvious really, but since the current suite has the
> cluster under build/cluster I assumed it might be the full path. But
> no, your regexp has to also match 'cluster'.
>
> This doesn't solve the classpath problem mentioned initially...
>
> --emi
>
> On Thu, Apr 25, 2019 at 11:16 AM Emilian Bold  wrote:
> >
> > Hello,
> >
> > I'm trying to introduce NbTestCase into a large existing app and I'm
> > getting all kinds of what seem to be class-loader/classpath problems.
> >
> > The whole NbModuleSuite.Configuration is quite limited in what it does
> > and I can't seem to find any combination of settings that starts the
> > application properly.
> >
> > The code uses some libraries that read "JAI (Java Advanced Imaging)
> > registry files" inside META-INF/registryFile.jai and also some
> > java.util.ServiceLoader.
> >
> > It seems that no matter how I run the configuration:
> > * with hand-picked clusters or just .clusters(".*") or
> > * with hand-picked enableModules or just ".*" or
> > * enableClasspathModules(false)
> >
> > ... I get some duplicated entries in the classpath.
> >
> > Then I get a warning like:
> >
> > > Error while parsing JAI registry file 
> > > "file:/home/nasa/DSCOVR/SecretLunarBase/release/modules/ext/some.jar"
> >
> > But that release/modules/ext folder is *not* supposed to be in the
> > classpath as I already have the same JAR in the suite build/cluster/
> > folder (which folder is shown at app startup under `Installation=`).
> >
> > So, is there a way to configure NbTestCase so 'it just works'? I don't
> > want any fewer modules, I just want the application to start normally,
> > then execute
> > my test, without breaking the classpath in ways that are
> > test-specific.
> >
> > Regards,
> >
> >
> > --emi

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

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



Re: [EXT] Re: duplicate project netbeans error, how coud I do it?

2019-05-06 Thread Emilian Bold
@Thomas: I wasn't actually suggesting to remove the copy action. My
impression is that this is a NetBeans bug (copy should work) or
otherwise a minor UX bug (the action should be disabled if we can't
manage).

Of course the copy action is valuable. But since everybody was
explaining how to copy *outside* NetBeans I was just half-questioning
why we even have copy in there? We have it for a reason and it should
work!

--emi

On Mon, May 6, 2019 at 11:08 PM Thomson, Duncan  wrote:
>
> I think the ability to copy projects within NetBeans is valuable, and should 
> not be removed.  I use it, not for making backups, but for creating a new 
> project in which I want to reuse some existing code or other stuff from an 
> existing project.
>
>
>
> Duncan
>
>
>
> From: Emilian Bold 
> Sent: Monday, May 6, 2019 1:27 PM
> To: Thomson, Duncan 
> Cc: Luis tuti ; Geertjan Wielenga 
> ; NetBeans Mailing 
> Subject: Re: [EXT] Re: duplicate project netbeans error, how coud I do it?
>
>
>
> I think Luis figured out how to copy that folder but the question is why 
> can't NetBeans figure that out?
>
>
>
> Our copy action could be disabled if there is something that we don't support 
> anyhow.
>
>
>
> Or, we could get rid of the copy action entirely.
>
>
>
> The problem is one of NetBeans UX.
>
> --emi
>
>
>
> lun., 6 mai 2019, 19:21 Thomson, Duncan  a scris:
>
> I don’t know what it means for a project to have “external source roots”, but 
> as others have noted, you have other (better) ways of making a backup of your 
> code rather than using the Netbeans function to copy a project.
>
>
>
> Let me elaborate slightly.
>
>
>
> One way to do this is to use your operating system, outside of netbeans, to 
> copy the directory structure.  I would recommend first exiting netbeans, just 
> to make sure everything is actually written out to disk.  Then navigate to 
> the directory containing the project and copy the entire directory structure.
>
>
>
> For example, on a Linux system your project might be 
> /home/luistuti/NetBeansProjects/MostExcellentProject
>
>
>
> Then you would use something like:
>
>$ cp  –archive  MostExcellentProject  MostExcellentProject-copy
>
>
>
> Or create a tarball, using something like:
>
>   $ tar -cvzf MostExcellentProject.tgz MostExcellentProject
>
>
>
> But a much better way is to use a source code configuration control tool.  
> Nowadays everyone is using git, and it’s really powerful, so unless you 
> already have a favorite that you want to use, I suggest you get on board with 
> git.  Netbeans has very good integration with git, so you can do it from 
> within Netbeans, or you can just go to the command line and run git commands 
> from there.
>
>
>
> Good luck!
>
>
>
> Duncan
>
>
>
> From: Luis tuti 
> Sent: Monday, May 6, 2019 6:36 AM
> To: Emilian Bold 
> Cc: Geertjan Wielenga ; NetBeans Mailing 
> 
> Subject: [EXT] Re: duplicate project netbeans error, how coud I do it?
>
>
>
> Yes, that's it.
>
>
>
> El lun., 6 may. 2019 a las 10:08, Emilian Bold () 
> escribió:
>
> Maybe this is the copy action from NetBeans?
>
> --emi
>
>
>
> lun., 6 mai 2019, 10:48 Geertjan Wielenga  a scris:
>
> You don't need NetBeans to copy a project, you can just go to your file 
> system and copy it there.
>
>
>
> Gj
>
>
>
> On Mon, May 6, 2019 at 8:30 AM Luis tuti  wrote:
>
> Hi, I'm trying to copy a project to have a backup and mofiy my copy but I 
> get: "The project has one more external source roots and cannot be copied"
>
> Someone could help me?
>
> Thanks

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

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



Re: NB Platform Maven Dependencies

2019-05-06 Thread Emilian Bold
I assume this is using Maven Central or the older NetBeans.org maven2
repository?

We recently published the Maven Central artefacts, it's possible there is a
bug...

--emi

lun., 6 mai 2019, 20:53 Adam Korynta  a scris:

> Hi All,
>
>
>
> I’m trying to compile my Netbeans Platform modules using Maven, but I’m
> unable to compile due to the following errors:
>
>
>
>
>
> [INFO] Private classes referenced in module:
> [org.netbeans.modules.settings.RecognizeInstanceObjects]
>
> [ERROR] Project depends on packages not accessible at runtime in module
> org.netbeans.api:org-netbeans-modules-settings:nbm:RELEASE82
>
> [INFO] Private classes referenced in module:
> [org.netbeans.modules.openide.util.ServiceProviderProcessor]
>
> [ERROR] Project depends on packages not accessible at runtime in module
> org.netbeans.api:org-openide-util-lookup:nbm:RELEASE82
>
> [INFO] Private classes referenced in module:
> [org.netbeans.modules.openide.filesystems.RecognizeInstanceFiles]
>
> [ERROR] Project depends on packages not accessible at runtime in module
> org.netbeans.api:org-openide-filesystems:nbm:RELEASE82
>
>
>
>
>
> These modules are declared in my pom.xml dependencies list as below:
>
>
>
>
> <*dependency*>
><*groupId*>org.netbeans.api
><*artifactId*>org-netbeans-modules-settings
><*version*>${netbeans.version}
><*type*>nbm
> 
> <*dependency*>
><*groupId*>org.netbeans.api
><*artifactId*>org-openide-util-lookup
><*version*>${netbeans.version}
><*type*>nbm
> 
> <*dependency*>
><*groupId*>org.netbeans.api
><*artifactId*>org-openide-filesystems
><*version*>${netbeans.version}
><*type*>nbm
> 
>
>
>
> When I look at the downloaded .jar and .nbm files, the MANIFEST.MFs’
> OpenIDE-Module-Public-Packages entries do not contain the packages that are
> trying to be referenced. I’ve attached the
> org-netbeans-modules-settings-RELEASE82.jar’s MANIFEST.MF as an example. I
> would expect to find the “org.netbeans.modules.settings” package under the
> public packages listing.
>
>
>
> If anyone could let me know what I’m doing wrong, that would be great1
>
>
>
> Thank you,
>
>
>
> Adam Korynta
>
> *Resource Management Associates - Software Developer*
>
> *1756 Picasso Avenue, Suite G, Davis, CA 95618*
>
> *Phone 530-564-7043 ext. 217*
>
> *Fax 530-231-5323*
>
> *a...@rmanet.com *
>
> *https://www.rmanet.com *
>
>
>
> [image: logo] 
>
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
> For additional commands, e-mail: users-h...@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


Re: How to remove the "Customize" menu item from toolbars popupmenu ?

2019-05-07 Thread Emilian Bold
I didn't do this before nor see an easy workaround.

Generally I highly recommend serious Platform applications to maintain
an Platform fork and recompile it themselves. Then little
customizations like this are just a matter of commenting a few lines
of code. Of course, this makes updating the Platform more work, but a
workaround is generally even harder to port as it's more complicated.

--emi

On Wed, May 8, 2019 at 1:50 AM Jerome Lelasseux
 wrote:
>
> In my RCP app the Customize action from the toolbars popup menu confuses 
> users and I'd like to remove it.
>
> Problem is that the popupmenu is not built from the layer file, it is 
> hardcoded (module Core Windows / ToolbarConfiguration.java / method 
> fillToolbarsMenu() method)... Is there a workaround ? Thanks.
>
> Jerome
>

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

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



Re: How to remove the "Customize" menu item from toolbars popupmenu ?

2019-05-08 Thread Emilian Bold
Sure, many of these UI things should be configurable. Even the TopComponent
popup has hardcoded things but there are ugly workarounds to filter those...

--emi

mie., 8 mai 2019, 09:13 Tushar Joshi  a scris:

> As this is a platform issue and platform should be flexible, should we add
> some way to hide such menu items for platform applications?
>
> with regards
> Tushar
>
> Tushar Joshi, Nagpur: http://www.tusharjoshi.com
>
> * MCSD_NET C#, SCJP, RHCE, ZCE, PMP, CSM, SAFe, PRINCE2
>
> * Senior Architect @ Persistent Systems http://www.persistent.com
> * LinkedIn: http://www.linkedin.com/in/tusharvjoshi
>
>
>
> On Wed, May 8, 2019 at 10:19 AM Emilian Bold 
> wrote:
>
>> I didn't do this before nor see an easy workaround.
>>
>> Generally I highly recommend serious Platform applications to maintain
>> an Platform fork and recompile it themselves. Then little
>> customizations like this are just a matter of commenting a few lines
>> of code. Of course, this makes updating the Platform more work, but a
>> workaround is generally even harder to port as it's more complicated.
>>
>> --emi
>>
>> On Wed, May 8, 2019 at 1:50 AM Jerome Lelasseux
>>  wrote:
>> >
>> > In my RCP app the Customize action from the toolbars popup menu
>> confuses users and I'd like to remove it.
>> >
>> > Problem is that the popupmenu is not built from the layer file, it is
>> hardcoded (module Core Windows / ToolbarConfiguration.java / method
>> fillToolbarsMenu() method)... Is there a workaround ? Thanks.
>> >
>> > Jerome
>> >
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
>> For additional commands, e-mail: users-h...@netbeans.apache.org
>>
>> For further information about the NetBeans mailing lists, visit:
>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>>
>>


Re: duplicate project netbeans error, how coud I do it?

2019-05-06 Thread Emilian Bold
Maybe this is the copy action from NetBeans?

--emi

lun., 6 mai 2019, 10:48 Geertjan Wielenga  a scris:

> You don't need NetBeans to copy a project, you can just go to your file
> system and copy it there.
>
> Gj
>
> On Mon, May 6, 2019 at 8:30 AM Luis tuti  wrote:
>
>> Hi, I'm trying to copy a project to have a backup and mofiy my copy but I
>> get: "The project has one more external source roots and cannot be copied"
>>
>> Someone could help me?
>>
>> Thanks
>>
>


Re: [EXT] Re: duplicate project netbeans error, how coud I do it?

2019-05-06 Thread Emilian Bold
I think Luis figured out how to copy that folder but the question is why
can't NetBeans figure that out?

Our copy action could be disabled if there is something that we don't
support anyhow.

Or, we could get rid of the copy action entirely.

The problem is one of NetBeans UX.

--emi

lun., 6 mai 2019, 19:21 Thomson, Duncan  a scris:

> I don’t know what it means for a project to have “external source roots”,
> but as others have noted, you have other (better) ways of making a backup
> of your code rather than using the Netbeans function to copy a project.
>
>
>
> Let me elaborate slightly.
>
>
>
> One way to do this is to use your operating system, outside of netbeans,
> to copy the directory structure.  I would recommend first exiting netbeans,
> just to make sure everything is actually written out to disk.  Then
> navigate to the directory containing the project and copy the entire
> directory structure.
>
>
>
> For example, on a Linux system your project might be
> /home/luistuti/NetBeansProjects/MostExcellentProject
>
>
>
> Then you would use something like:
>
>$ cp  –archive  MostExcellentProject  MostExcellentProject-copy
>
>
>
> Or create a tarball, using something like:
>
>   $ tar -cvzf MostExcellentProject.tgz MostExcellentProject
>
>
>
> But a much better way is to use a source code configuration control tool.
> Nowadays everyone is using git, and it’s really powerful, so unless you
> already have a favorite that you want to use, I suggest you get on board
> with git.  Netbeans has very good integration with git, so you can do it
> from within Netbeans, or you can just go to the command line and run git
> commands from there.
>
>
>
> Good luck!
>
>
>
> Duncan
>
>
>
> *From:* Luis tuti 
> *Sent:* Monday, May 6, 2019 6:36 AM
> *To:* Emilian Bold 
> *Cc:* Geertjan Wielenga ; NetBeans Mailing <
> users@netbeans.apache.org>
> *Subject:* [EXT] Re: duplicate project netbeans error, how coud I do it?
>
>
>
> Yes, that's it.
>
>
>
> El lun., 6 may. 2019 a las 10:08, Emilian Bold ()
> escribió:
>
> Maybe this is the copy action from NetBeans?
>
> --emi
>
>
>
> lun., 6 mai 2019, 10:48 Geertjan Wielenga  a scris:
>
> You don't need NetBeans to copy a project, you can just go to your file
> system and copy it there.
>
>
>
> Gj
>
>
>
> On Mon, May 6, 2019 at 8:30 AM Luis tuti  wrote:
>
> Hi, I'm trying to copy a project to have a backup and mofiy my copy but I
> get: "The project has one more external source roots and cannot be copied"
>
> Someone could help me?
>
> Thanks
>
>


Re: How to test a NetBeans Platform app? NbTestCase classpath woes

2019-04-26 Thread Emilian Bold
One trick I learned is that .clusters() is applied only to the cluster
folder name, not the full path.

This was kinda obvious really, but since the current suite has the
cluster under build/cluster I assumed it might be the full path. But
no, your regexp has to also match 'cluster'.

This doesn't solve the classpath problem mentioned initially...

--emi

On Thu, Apr 25, 2019 at 11:16 AM Emilian Bold  wrote:
>
> Hello,
>
> I'm trying to introduce NbTestCase into a large existing app and I'm
> getting all kinds of what seem to be class-loader/classpath problems.
>
> The whole NbModuleSuite.Configuration is quite limited in what it does
> and I can't seem to find any combination of settings that starts the
> application properly.
>
> The code uses some libraries that read "JAI (Java Advanced Imaging)
> registry files" inside META-INF/registryFile.jai and also some
> java.util.ServiceLoader.
>
> It seems that no matter how I run the configuration:
> * with hand-picked clusters or just .clusters(".*") or
> * with hand-picked enableModules or just ".*" or
> * enableClasspathModules(false)
>
> ... I get some duplicated entries in the classpath.
>
> Then I get a warning like:
>
> > Error while parsing JAI registry file 
> > "file:/home/nasa/DSCOVR/SecretLunarBase/release/modules/ext/some.jar"
>
> But that release/modules/ext folder is *not* supposed to be in the
> classpath as I already have the same JAR in the suite build/cluster/
> folder (which folder is shown at app startup under `Installation=`).
>
> So, is there a way to configure NbTestCase so 'it just works'? I don't
> want any fewer modules, I just want the application to start normally,
> then execute
> my test, without breaking the classpath in ways that are
> test-specific.
>
> Regards,
>
>
> --emi

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

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



How to test a NetBeans Platform app? NbTestCase classpath woes

2019-04-25 Thread Emilian Bold
Hello,

I'm trying to introduce NbTestCase into a large existing app and I'm
getting all kinds of what seem to be class-loader/classpath problems.

The whole NbModuleSuite.Configuration is quite limited in what it does
and I can't seem to find any combination of settings that starts the
application properly.

The code uses some libraries that read "JAI (Java Advanced Imaging)
registry files" inside META-INF/registryFile.jai and also some
java.util.ServiceLoader.

It seems that no matter how I run the configuration:
* with hand-picked clusters or just .clusters(".*") or
* with hand-picked enableModules or just ".*" or
* enableClasspathModules(false)

... I get some duplicated entries in the classpath.

Then I get a warning like:

> Error while parsing JAI registry file 
> "file:/home/nasa/DSCOVR/SecretLunarBase/release/modules/ext/some.jar"

But that release/modules/ext folder is *not* supposed to be in the
classpath as I already have the same JAR in the suite build/cluster/
folder (which folder is shown at app startup under `Installation=`).

So, is there a way to configure NbTestCase so 'it just works'? I don't
want any fewer modules, I just want the application to start normally,
then execute
my test, without breaking the classpath in ways that are
test-specific.

Regards,


--emi

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

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



Re: Platform wrapped jar cannot access META-INF/service impl via ServiceLoader

2019-08-17 Thread Emilian Bold
I don't have a solution at hand but remember that the lookup will keep
a single object instance in memory for a given service entry while the
ServiceLoader will create fresh instances if it's just reading
META-INF/service files (unless the JAR keeps a reference to a single
ServiceLoader instance so the cache is reused).

So you want a "bridge" from ServiceLoader to the default lookup or
just a way to instantiate the services?

I guess the most heavy duty solution would be to bytecode engineer the
3rd party JAR so you it either calls the lookup or allows you to
inject values.

PS: I had the reverse problem: the ServiceLoader finding classes when
I didn't want it to find any (geotools JARs). This was happening
because those JARs were in the boot classpath for some reason.

--emi

On Sat, Aug 17, 2019 at 9:12 AM Damian Carey  wrote:
>
> Hi all,
>
> We have a "mature" (10+ year old) Netbeans Platform Swing product, which has 
> 35+ modules. This all works well.
>
> As usual, when one Netbeans module provides an Implementation we find it from 
> other Netbeans modules using the usual idiom ...
> Provider: puts entry in META-INF/services
> Consumer: MyClass myObj = Lookup.getDefault().lookup(MyClass.class);
>
> Our current issue is that we need to add an external jar that is NOT built 
> using Netbeans, so it can't use Lookup. I have placed this external jar into 
> a module wrapper, and one of our modules depends on it so we can successfully 
> start this service as appropriate. Again, everything is perfect with this 
> setup.
>
> The problem is that this external jar is looking for services from our 
> Netbeans platform product, it is seeking them using standard java 
> ServiceLoader capability, but the implementations are not found.
>
> I *think* that if we use the Netbeans System ClassLoader then it CAN locate 
> the implementations, however we don't want to use the system classloader 
> because it will cause other issues.
>
> Does anyone have any suggestions on how a wrapped jar might access Netbeans 
> META-INF/services implementations via vanilla Java ServiceLoader SPI 
> interface?
>
> Any suggestions would be hugely appreciated.
>
> Many thanks,
> -Damian

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

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



Re: NB 11.1 Platform Application: HelpCtx.display()

2019-08-27 Thread Emilian Bold
NetBeans under Apache cannot include JavaHelp, that's why you don't
see your helpsets: https://issues.apache.org/jira/browse/NETBEANS-3

I think it should be easy to recompile-in JavaHelp. I kept meaning to
do this for CoolBeans ( http://coolbeans.xyz ) but haven't gotten to
it.

--emi

On Wed, Aug 28, 2019 at 2:51 AM Daniel Hartman
 wrote:
>
> All,
>
> I am porting my NB 8.2 platform application to 11.1, and I am struggling to 
> get my helpsets displayed. That is, nothing happens when, for example, a 
> wizard's help button within my platform application is clicked.  Everything 
> worked great in NB 8.2.
>
> I therefore created an empty platform application in NB 11.1 and added a 
> TopComponent, which contains a button that programmatically opens a helpset.  
> I also created a default Help Set in the TopComponent module by following the 
> guidelines here:
>
> https://netbeans.apache.org/wiki/DevFaqHelpGuidelines.asciidoc
>
> Finally, I added JavaHelp as library to my application and set it as a 
> dependency for my TopComponent module.
>
> Everything compiles and builds fine, but nothing happens when I click the 
> button.
>
> What am I missing?
>
> Thank you in advance for any help.
>
> Dan
>

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

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



Re: Nested SVN repositories in a project

2019-09-03 Thread Emilian Bold
Apache doesn't accept the license of SVNKit afaik.

As for the other lib, there is no Apache-wide push for any integration so
Apache's lib works as good or bad on Apache's IDE like any other lib: based
on how much an unpaid volunteer actually worked on it...

--emi

mar., 3 sept. 2019, 14:58 Markus Klein  a scris:

> Thanks for your reply, indeed that might be the case. Do you know why they
> ditched it?
>
> I've tried getting JavaHL to work instead of CLI, but I can't get it
> working on Win64 Netbeans 11.
> Checked out various 64bit SVN clients, none seem to have a compatible
> JavaHL DLL:
>
>
> INFO [org.netbeans.libs.svnclientadapter]: Native library version must be
> at least 1.9.0, but is only 1.7.19 (r1643991)
>
>
> Anyone know where to obtain a *current 64 bit JavaHL?* I had no luck
> googling, and the listed windows clients on subversion.apache.org didn't
> help:
>
>
>- CollabNet: outdated JavaHL version
>- SilkSVN: doesn't provide JavaHL
>- TortoiseSVN: doesn't provide JavaHL
>- VisualSVN: only works with visual studio
>- WANdisco: didn't get past the registration form
>
> The command line version I used to use is discontinued and 32bit only.
>
> I know Git is the latest hype and all, but it shouldn't be so hard to get
> Apache's versioning set up in Apache's IDE.
>
> Any help appreciated!
>
> Markus
>
>
>
>
>
>
>
>
>
> Am 02.09.2019 um 13:26 schrieb Emilian Bold:
>
> It might have something to do with the fact that Apache NetBeans
> doesn't include SVNKit anymore and perhaps that library handled your
> usecase better.
>
> --emi
>
> On Mon, Sep 2, 2019 at 2:03 PM Markus Klein  
>  wrote:
>
>
> Dear community,
>
> I've just upgraded from Netbeans 8.2 to Netbeans 11.1. There is a change in 
> the behaviour in case of nested SVN repositories. The use case is, I have 
> several projects which all share the same CMS core. The core is a subfolder 
> in the main project, and is represented by a separate SVN repository. This 
> fNetBeans Mailing  
> older is svn:ignore'd in the main project.
>
> The expected behaviour is that you can perform SVN actions in the "cms" 
> repository by right clicking its folder.  That's how it always worked in 8.2 
> and earlier.
>
> With the new version, the svn:ignore leads to it being completely ignored, 
> meaning I can't access the "cms" repository at all from the project context.
>
> I've attached an image to illustrate the problem more clearly.
>
> I've looked into the options, solving it via "include path" or "externals" is 
> less suited and complicates the workflow.
>
> Is there some other setting I need to make or is this a bug?
>
> Thanks for your help
> Markus
>
> -
> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
> For additional commands, e-mail: users-h...@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, 
> visit:https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
>


Free NetBeans stickers

2019-09-03 Thread Emilian Bold
Hello,

There are some nice interviews about NetBeans on http://www.codeswith.com

You can even request free stickers to be mailed to you via
http://www.codeswith.com/sticker.html

If you want to write your own testimonial about NetBeans, let's get in
touch.

--emi


Re: Nested SVN repositories in a project

2019-09-02 Thread Emilian Bold
It might have something to do with the fact that Apache NetBeans
doesn't include SVNKit anymore and perhaps that library handled your
usecase better.

--emi

On Mon, Sep 2, 2019 at 2:03 PM Markus Klein  wrote:
>
> Dear community,
>
> I've just upgraded from Netbeans 8.2 to Netbeans 11.1. There is a change in 
> the behaviour in case of nested SVN repositories. The use case is, I have 
> several projects which all share the same CMS core. The core is a subfolder 
> in the main project, and is represented by a separate SVN repository. This 
> folder is svn:ignore'd in the main project.
>
> The expected behaviour is that you can perform SVN actions in the "cms" 
> repository by right clicking its folder.  That's how it always worked in 8.2 
> and earlier.
>
> With the new version, the svn:ignore leads to it being completely ignored, 
> meaning I can't access the "cms" repository at all from the project context.
>
> I've attached an image to illustrate the problem more clearly.
>
> I've looked into the options, solving it via "include path" or "externals" is 
> less suited and complicates the workflow.
>
> Is there some other setting I need to make or is this a bug?
>
> Thanks for your help
> Markus
>
> -
> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
> For additional commands, e-mail: users-h...@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

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

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



Re: Netbeans 11.1 very slow to start on Windows 7

2019-08-23 Thread Emilian Bold
Disabling the antivirus will do wonders. Seems in some situations the
Windows antivirus will scan all those JAR files for ever and slow the
startup...

--emi

On Fri, Aug 23, 2019 at 6:54 PM Haunted2  wrote:
>
> It is installed on a SSD drive.
>
> Is there a way to debug this slow startup (log files or something)?
>
> Thanks.
>
> Il 23/08/2019 17:50, Tobias Oelgarte ha scritto:
> >
> > Might be a problem with your Windows installation. Im running Netbeans
> > 11.1 with JDK 11, 12, 14 (EA) without any performance issues on
> > Windows 7 x64. Maybe you installed Netbeans on an HDD instead of an SSD?
> >
> > Tobias Oelgarte
> > Mail:tobias.oelga...@gmail.com
> > On 23.08.19 17:24, Haunted2 wrote:
> >> Hello,
> >>
> >> I have Netbeans 11.1 on windows 7 with JDK 12.0.2 and it takes a couple
> >> of minutes to start.
> >>
> >> I tested it with JDK 8  too and it has the same issue.
> >>
> >> Then i installed Netbeans 11.1 on Linux VM with JDK 12 and it is much
> >> faster.
> >>
> >> Is this a windows 7 related problem? Thanks.
> >>
> >>
> >> -
> >> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
> >> For additional commands, e-mail: users-h...@netbeans.apache.org
> >>
> >> For further information about the NetBeans mailing lists, visit:
> >> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> >>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
> For additional commands, e-mail: users-h...@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>

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

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



  1   2   3   >