Re: Netbeans development on the Mac

2021-11-19 Thread Emilian Bold
The user provided JRE doesn't exist anymore. You have to bundle a runtime
with your app. Zulu is a good runtime and they also have a version with
JavaFX included so you don't have to tweak that.

--emi

joi, 18 nov. 2021, 22:01 Alonso Del Arte  a scris:

> So the Macs have the JRE but not JavaFX? Is the separation of JavaFX an
> issue? Is it one of several issues?
>
> Al
>
> On Thu, Nov 18, 2021 at 10:58 AM Emilian Bold 
> wrote:
>
>> It's not terribly hard. I don't know the app store but for notarization I
>> ended up with a script that did the required steps sign and it blessed the
>> DMG. Creating the DMG with some included JRE (say, from Azul Zulu) is also
>> trivial.
>>
>> --emi
>>
>> joi, 18 nov. 2021, 17:06 Chris Olsen  a scris:
>>
>>> Hello, Everyone --
>>>
>>>   I am a seriously amateur JavaFX programmer and have written a freeware
>>> statistical package for high school teachers of Advanced Placement
>>> Statistics.  I have no trouble packaging my program for the PC, but
>>> commonly teachers run afoul of the Mac Gatekeeper when trying to install
>>> the program.  (They are not typically comfortable with doing anything on
>>> the terminal command line.)
>>>
>>>   I am willing (grumble, grumble) to pony up the $99/year to support my
>>> program in the App Store, but not willing to desert Netbeans. (Old dog, new
>>> tricks.)
>>>  The U.S. education system being what it is, teachers have Macs varying
>>> in age from long in the tooth to the new Macs with the M1 chip. So I have
>>> two questions:
>>>
>>>   1.  How much of a headache would it be to develop (actually translate)
>>> and package for a variety of Mac OSs?
>>>
>>>   2.  What are good sources (books, URLs, whatever) where I can learn
>>> more about how to do this?
>>>
>>>   Thanks in advance!
>>>
>>>   -- Chris
>>>
>>>
>>>
>>> -
>>> 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
>>>
>>>
>
> --
> Alonso del Arte
> Author at SmashWords.com
> <https://www.smashwords.com/profile/view/AlonsoDelarte>
> Musician at ReverbNation.com <http://www.reverbnation.com/alonsodelarte>
>


Re: Netbeans development on the Mac

2021-11-18 Thread Emilian Bold
It's not terribly hard. I don't know the app store but for notarization I
ended up with a script that did the required steps sign and it blessed the
DMG. Creating the DMG with some included JRE (say, from Azul Zulu) is also
trivial.

--emi

joi, 18 nov. 2021, 17:06 Chris Olsen  a scris:

> Hello, Everyone --
>
>   I am a seriously amateur JavaFX programmer and have written a freeware
> statistical package for high school teachers of Advanced Placement
> Statistics.  I have no trouble packaging my program for the PC, but
> commonly teachers run afoul of the Mac Gatekeeper when trying to install
> the program.  (They are not typically comfortable with doing anything on
> the terminal command line.)
>
>   I am willing (grumble, grumble) to pony up the $99/year to support my
> program in the App Store, but not willing to desert Netbeans. (Old dog, new
> tricks.)
>  The U.S. education system being what it is, teachers have Macs varying in
> age from long in the tooth to the new Macs with the M1 chip. So I have two
> questions:
>
>   1.  How much of a headache would it be to develop (actually translate)
> and package for a variety of Mac OSs?
>
>   2.  What are good sources (books, URLs, whatever) where I can learn more
> about how to do this?
>
>   Thanks in advance!
>
>   -- Chris
>
>
>
> -
> 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: OT perhaps (better directed to Oracle?): Suggestions for improving checked exceptions in Java.

2021-11-01 Thread Emilian Bold
It looks to me that the JVM doesn't have the concept of checked exceptions,
only Java has. So, it may be valid bytecode to just rip out checked
exception from the method signatures. New compilations, targeting a
modified JAR, will not complain about the checked exception. At runtime
they will be handled by the normal try-catch chain.

Which is to say, bytecode processing may be sufficient. No need for
language-wide changes.

--emi


On Mon, Nov 1, 2021 at 9:23 PM Alonso Del Arte 
wrote:

> > Might it be good to have a way to indicate to others that your module
> can guarantee that checked exceptions have not been buried inside unchecked
> ones?
>
> Okay, that might be good to know. We can certainly write that in the
> Javadoc, but without a system like what you're proposing we would be on the
> honor system.
>
> As you might know, Scala inventor Martin Odersky wrote the Java 1.3
> compiler. Java was not evolving as fast as he wanted it to. He put a lot of
> things into Scala that Java eventually adopted later, and some that will be
> added to future versions of Java.
>
> But his approach was to make all exceptions unchecked, though you can add
> an @throws annotation for the sake of interoperability with Java. Clearly
> that's something Java will never adopt.Your idea of managed exceptions
> seems likelier to be added.
>
> Suppose that Java 19 adds managed exceptions. What changes would an IDE
> like NetBeans have to make in response to that?
>
> Al
>
> On Sun, Oct 31, 2021 at 11:22 PM Owen Thomas 
> wrote:
>
>>
>>
>> On Mon, 1 Nov 2021 at 09:51, Alonso Del Arte 
>> wrote:
>>
>>> >  Although I do it often enough, I'm not a fan of wrapping a checked
>>> exception in a RuntimeException or even another checked exception like
>>> IOException.
>>>
>>> I'm not either. Nor do I like how AssertionError has a constructor that
>>> takes an Object rather than specifically a Throwable. But usually
>>> (though not always), a better way occurs to me during refactoring. I'm not
>>> sure I see the benefit of managed exceptions.
>>>
>>
>> Might it be good to have a way to indicate to others that your module can
>> guarantee that checked exceptions have not been buried inside unchecked
>> ones?
>>
>> I'm wondering if perhaps it might be good to generate a compile error in
>> code that threw anything other than the type of managed exception that was
>> indicated to be thrown in an associated module descriptor?
>>
>>   Owen.
>>
>
>
> --
> Alonso del Arte
> Author at SmashWords.com
> 
> Musician at ReverbNation.com 
>


Re: OT perhaps (better directed to Oracle?): Suggestions for improving checked exceptions in Java.

2021-10-31 Thread Emilian Bold
I don't understand your proposal. You are trying to explain it in an almost
formal way but I don't know what it means...

For eg. not sure what "ignored" means. Does it behave like a Runtime
Exception? Or is it just not thrown?

Same with the other 2 options.

I think you could do a byte code processor and tweak checked exceptions but
of course you would change signatures.

--emi

vin., 29 oct. 2021, 03:48 Owen Thomas  a scris:

> G'day.
>
> Upon seeing some recent emails from this group expressing a somewhat
> philosophical tone about how the evolving landscape of paradigms in
> software development may be putting a strain on Java, I just wish to put
> some comments that others might find interesting down about how a specific
> Java feature, namely checked exceptions, can be improved so that again,
> Java perhaps can show how to do something well enough that other languages
> might try and copy it.
>
> I say the following. Have an abstract checked exception class in the Java
> SE API. Call it, say, CheckedException. Descendents of this class behave
> like any other checked exception, with perhaps a few caveats explained in
> this email.
>
> The build script of a deployable artifact (an application or library, but
> in this case, probably a library explains the situation more clearly)
> somehow indicates that this deployable artifact (hereon referred to as a
> library) can declare that descendents of CheckedExceptions (never the
> CheckedException class itself) are:
>
>1. thrown: A more specific descendent of a checked exception under
>this clause occurs in the throws clause of a method that is exposed to
>libraries that are dependent on this one.
>
>2. caught: A more specific descendent of a checked exception under
>this clause occurs in the catch block of a method that calls a method from
>a library on which this one depends.
>
>3. ignored: Neither of the above scenarios occurs. *However, methods
>in this library that call methods that throw a descendent of a checked
>exception under this clause do not themselves explicitly declare that they
>throw or catch and deal with the given checked exception*.
>
> If a library declares that it throws or ignores a descendent of a
> CheckedException, in its build script or other deployment descriptor, then
> any dependent library must either declare that that CheckedException is
> thrown, caught, or ignored.
>
> The emphasis above is used to underscore the utility that my suggestion is
> trying to convey. I think that with perhaps a few tweaks, this is a
> flexible suggestion. Although I do not (not yet perhaps... I just need a
> compelling reason to) know much about Java modules, this system of
> selectively dealing with checked exceptions appears as a very good
> candidate for expression there.
>
> These are just suggestions and I put them out there because someone with
> some clout in shaping the future of the Java SE API might think these
> suggestions are worth considering further. Happy to share and perhaps to
> talk about it here if others share a similar interest.
>
> Have a great day. :)
>
>   Owen.
>


Re: slightly off-topic: Can someone with BigSur or older help me out?

2021-10-18 Thread Emilian Bold
I also don't see any problem on AdoptOpenJDK 11 / macOs Mojave.

--emi

On Tue, Oct 19, 2021 at 12:04 AM John Mc  wrote:
>
> Hi Thomas,
>
> I am running Catalina(10.15.7) and Amazon Corretto(15)[1], I used your code 
> and didnt notice any problems, my cursor changed every time.
>
> Hope this helps.
>
> John
>
>
>
> [1]:
> Product Version: Apache NetBeans IDE 12.5
>
> Java: 15.0.1; OpenJDK 64-Bit Server VM 15.0.1+9
>
> Runtime: OpenJDK Runtime Environment 15.0.1+9
>
> System: Mac OS X version 10.15.7 running on x86_64; UTF-8; en_GB (nb)
>
>
> On Mon, 18 Oct 2021 at 21:28, Thomas Wolf  wrote:
>>
>> I previously posted about a problem I’m encountering with Java/Swing on my 
>> Mac - basically cursors stop switching after one switches to another cursor 
>> & back.  I checked this problem as far back as I had JDKs for - so this 
>> issue exists at least as far back as JDK 12.  The one thing I don’t know is 
>> whether it’s to do with the macOS I am running - Monterey.  Unfortunately, I 
>> don’t have a machine with BigSur or older.  Do any of you?  The code to try 
>> is very simple:
>>
>>
>> public static void main(String[] args) {
>> SwingUtilities.invokeLater(new Runnable() {
>>   @Override
>>   public void run() {
>>   final JFrame f = new JFrame();
>>   f.setSize(400, 400);
>>   f.setLocationRelativeTo(null);
>>   Container c = f.getContentPane();
>>   JPanel p = new JPanel(new BorderLayout());
>>   c.add(p);
>>   JButton b1 = new JButton("Busy");
>>   b1.addActionListener((ActionEvent e) -> {
>>   f.getGlassPane().setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR));
>>   });
>>   JButton b2 = new JButton("Normal");
>>   b2.addActionListener((ActionEvent e) -> {
>>   f.getGlassPane().setCursor(Cursor.getDefaultCursor());
>>   });
>>   p.add(b1, BorderLayout.NORTH);
>>   p.add(b2, BorderLayout.SOUTH);
>>   f.setVisible(true);
>>   f.getGlassPane().setVisible(true);
>>   }
>>   });
>> }
>>
>> After you paste it into any .java file of your choosing (and fixing 
>> imports), just run the file, click on the “Busy” button once, then on the 
>> “Normal” button, and then one last time on “Busy”.  On Linux and Windows, 
>> the cursor changes each time.  On Mac, the cursor doesn’t change to “Busy” 
>> the second time around :-(
>>
>> Unless you guys see anything wrong with this code, I will file a bug report 
>> in Oracle’s Bug database.
>>
>> Thanks a bunch,
>> Tom
>>

-
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: Pssst! [Kotlin Support]

2021-10-12 Thread Emilian Bold
There are worse things than doing Kotlin on IntelliJ. Congrats on the new
job!

--emi

mar., 12 oct. 2021, 13:35 Owen Thomas  a scris:

> It's a nice sentiment (and one I agree with) but I've recently been
> employed by people who one might say have swallowed this Kotlin/IntelliJ
> cool-aide.
>
> Therefore I either learn Kotlin, or I find another job; before this, I was
> unemployed (on a pension) for more than 13 years. Hence, I would rather
> that this job succeeded if at all possible. If NetBeans supported Kotlin,
> I'd use NetBeans.
>
> On Mon, 11 Oct 2021 at 23:36, Neil C Smith  wrote:
>
>> On Sun, 10 Oct 2021 at 14:42, Emilian Bold 
>> wrote:
>> > Looks like Kotlin is working as intended and funneling people into
>> IntelliJ.
>>
>> +1 - this!  IMO it's a good thing when developer tools and languages
>> have some distance.
>>
>> Best wishes,
>>
>> Neil
>>
>> -
>> 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: Pssst! [Kotlin Support]

2021-10-10 Thread Emilian Bold
Looks like Kotlin is working as intended and funneling people into IntelliJ.

--emi

On Sun, Oct 10, 2021 at 5:38 AM Owen Thomas  wrote:
>
> I have found myself cajoled into using IntelliJ because it allows one to use 
> Java and Kotlin sources simultaneously. To do this however, I have had to 
> create a new project using Gradle and copy my Java sources to this new 
> project because IntelliJ thumbs it's nose at Ant projects. So, now I am 
> pondering the prospect of continuing with the Ant project in NetBeans and 
> discarding the Kotlin sources, or making the transition to Gradle (and 
> perhaps IntelliJ) permanent. The second option (minus the move to IntelliJ 
> perhaps) is inevitable, but I do feel as though IntelliJ is making the 
> decision on what is an appropriate build tool for me at a time when I do not 
> think it necessary to entertain such a move.
>
> I'd like it better if NetBeans was able to intermix Kotlin and Java in a way 
> similar to IntelliJ, but without making a judgement call on what build tool I 
> choose to use.
>
>
> On Sun, 10 Oct 2021 at 00:23, Eric Bresie  wrote:
>>
>> Unrelated but at some point, there was discussion of integrating Kotlin 
>> support (I believe donated by JetBrain developer)…did anything further 
>> happen with that?
>>
>> Or is Kotlin another candidate for “new LSP language implementation”?
>>
>> Eric
>>
>> On Fri, Oct 8, 2021 at 11:03 PM Owen Thomas  
>> wrote:
>>>
>>> Okay... I make a provisional withdrawal and reserve the right to reassert.
>>>
>>> On Fri, 8 Oct 2021 at 18:59, Owen Thomas  wrote:

 Java and Kotlin interoperability is a fabrication. Stick with Java or 
 stick with Kotlin. Don't try it; it will only lead one to rip one's face 
 off.
>>
>> --
>> Eric Bresie
>> ebre...@gmail.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: With JDK 17, Oracle moves back to a free license

2021-09-15 Thread Emilian Bold
Indeed, there is no reason to switch back to Oracle JDK unless you want
legal ambiguities. There are many JDK vendors/builds now, the Oracle build
doesn't have anything fancy, they themselves tried very hard to kill it and
now want back into the spotlight. I don't think it works that way and I
can't think of a reason a corporation would use them without a support
contract with them. It's only risks.

--emi


On Wed, Sep 15, 2021 at 3:28 AM Andreas Reichel <
andr...@manticore-projects.com> wrote:

> All,
>
> in my opinion, even if Oracle changed the terms and meant it (which would
> be welcome of course) -- there won't be a guarantee, that they will
> flip-flop again after a new lawyer/COO/whatever arrived.
>
> Any corporate's worst nightmare is to a java stack running, which is
> suddenly affected by such legal threads. Its all about trust and
> confidence, not necessarily about technical performance.
>
> So at least for us, it is Liberica and as little Oracle as ever possible
> and no announcement is going to change that.
> Fool me once, shame on you. Fool me twice, try to avoid.
>
> Good luck.
>
> On Tue, 2021-09-14 at 19:12 -0500, Raul Cosio wrote:
>
> Thanks Will, interesting reading but I still don't get it. Comments from
> the group are welcome.
> I've read the license many times but it doesn't look clear to me, the
> license says that It grants to you, a limited license to internally use the
> unmodified programs for the purposes of "developing, testing, prototyping
> and demonstrating your application, and running the program *for you own
> personal use or internal business operations*". That last part does look
> to me the same as the last license because it means that I can use the JDK
> for my "private personal use", and in my company I can use it "for
> internal business operations". Running the JDK for a public tomcat web
> server is considered internal business operations?. However, as you
> indicated in your email, Donald Smith in his blog, said that "it is free
> for commercial and production use" as long as it is not redistributed for a
> fee. Would that mean that I can sell my product with a JDK included as long
> as I include a paragraph saying that "The JDK is included freely as a
> courtesy"?
>
> Regards,
> Raul Cosio
>
> On Tue, Sep 14, 2021 at 12:34 PM Will Hartung 
> wrote:
>
> JDK 17 is out.
>
> And there was this interesting development.
>
> https://blogs.oracle.com/java/post/free-java-license
>
> Top two bullet points:
>
> +   Oracle is making the industry leading Oracle JDK available for free,
> including all quarterly security updates.  This includes commercial and
> production use.
>
> +   The new license is the "Oracle No-Fee Terms and Conditions" (NFTC)
> license.  This license for the Oracle JDK permits free use for all users,
> even commercial and production use.  Redistribution is permitted as long as
> it is not for a fee.
>
> So, I thought this was interesting news.
>
> Regards,
>
> Will Hartung
>
>
>


Re: serialVersionUID generator

2021-09-08 Thread Emilian Bold
I see there is an older plugin in the 11 Plugin Portal
https://cwiki.apache.org/confluence/display/NETBEANS/Where+to+download+plugins+for+NetBeans+10.0+and+earlier

http://plugins.archive.librebeans.org/nbms/1559203287_org-pr-nb-suid.nbm;
downloadsize="9863"homepage="https://github.com/manikantannaren/mynetbeans/tree/master/NB-SUID-Generator;
license="FBA63931" moduleauthor="Manikantan Narender Nath"
needsrestart="false"releasedate="2019/05/30">

--emi

On Wed, Sep 8, 2021 at 12:51 AM Ed Sowell  wrote:
>
> Inno Setup, which I use to create the installer for my app, generates a GUID.
>
> I just signed up  for this mail list so  I don't know if this is the proper 
> way to respond.
> EdS
>
> -Original Message-
> From: Ewan Slater 
> Sent: Tuesday, September 7, 2021 11:04 AM
> To: NetBeans Mailing List 
> Subject: serialVersionUID generator
>
> Hi,
>
> Does anyone know of a method for creating serialVersionUID in NetBeans?
>
> IIRC there were some plugins for this in the past, but I can’t find them now 
> on wither the community plugins page or plugin portal page.
>
> Cheers,
>
> Ewan
>
>
> -
> 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 send "Report Problem"

2021-09-06 Thread Emilian Bold
I think in the olden days you could have just pressed 'Send' and the
report would have been automatically sent to the errors tracker
database.

But nowadays Apache by policy disallows such data gathering, even if
it is user initiated.

I wonder if it's worth making a plugin that does allow this (I know I
have such a backend for OpenBeans) and then somehow post stuff
upstream to Apache... Few would bother installing it I guess.

--emi

On Mon, Sep 6, 2021 at 2:32 AM Don  wrote:
>
> This is a recurring, minor annoyance.
>
> I get a Notification with the text saying I have found a bug and it
> wants me to report what I was doing. But it's a silent exception that I
> would not know about without the notification. Then it wants me to
> create a Jira ticket when all I did was open a project and received the
> silent notification. Since I can't do damn-all about it, I just mark is
> as read and go on with the day.
>
>
> On 9/4/21 7:22 PM, Vladimir Kokovic wrote:
> > Can anyone tell me how to send a "Report problem" from Netbeans (any 
> > version) ?
> >
> > You have found a bug in the application!
> > Please help Apache NetBeans by reporting this problem to our bug tracking 
> > system. Click View Data button, copy the exception and submit it together 
> > with detailed information about what you were trying to achieve before the 
> > problem occurred in JIRA.
> > Thank you for helping us make Apache NetBeans better
> >
> > "View Data" panel has 2 tabs "UI log" and "IDE log".
> > What the mean when "copy the exception" is said ?
> >
> > -
> > 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: NB12.4 quit

2021-08-24 Thread Emilian Bold
Try a memtest. Most likely it's bad RAM and that can easily be replaced.

--emi

On Mon, Aug 23, 2021 at 9:10 PM Chuck Davis  wrote:
>
> I'm beginning to suspect hardware.  I put everything on my laptop (same OS, 
> same NB, same JVM) and it's working flawlessly.
>
> May have to build myself a new desktop.  Bummer..
>
> But thanks for your response Emilian.
>
> On Sun, Aug 22, 2021 at 11:36 PM Emilian Bold  wrote:
>>
>> You could try jstack to see what the threads are doing. Maybe a heap dump?
>>
>> But if it locks up the desktop I suspect it may be the OpenJDK itself.
>>
>> --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: [verification] Neither gpg nor sha512 verifies integrity of Apache-NetBeans-12.4-bin-linux-x64.sh

2021-08-23 Thread Emilian Bold
I've made https://github.com/emilianbold/check-netbeans-integrity
which downloads and checks the integrity.

Upon executing that GitHub Action on their infra I see this:

./Apache-NetBeans-12.4-bin-linux-x64.sh: OK
[...]
gpg: Signature made Wed May 19 11:03:21 2021 UTC
gpg: using RSA key 8FE1C26F15E0320E740BAED84A2601CEDA9382F3
gpg: Good signature from "Eric Barboni (Signing Key)
" [unknown]
gpg: WARNING: This key is not certified with a trusted signature!
gpg: There is no indication that the signature belongs to the owner.
Primary key fingerprint: 8FE1 C26F 15E0 320E 740B AED8 4A26 01CE DA93 82F3

So this confirms to me that at least the GitHub VM also doesn't get
corrupted bits.

--emi

On Mon, Aug 23, 2021 at 5:02 PM Emilian Bold  wrote:
>
> Maybe you yourself are being targeted or your disk / RAM is corrupting data.
>
> --emi
>
> On Mon, Aug 23, 2021 at 4:46 PM Christian Kruggel  
> wrote:
> >
> > Thanks for your feedback. After I droped all GPG-Keys by hand an
> > reimported https://downloads.apache.org/netbeans/KEYS I still cann't
> > verify Apache-NetBeans-12.4-bin-linux-x64.sh
> >
> > The sha512 differs for all downloads I had this far (a bit of a miracle
> > to me as I assumed that the file is the same throughout all mirrors) and
> > like to know, how I can get a dedicated download that uses the file Emi
> > managed to verify via sha512 for I'd like to do so too.
> >
> > Am 22.08.21 um 19:57 schrieb Emilian Bold:
> > > Just tested:
> > >
> > > $ shasum -c Apache-NetBeans-12.4-bin-linux-x64.sh.sha512.txt
> > > ./Apache-NetBeans-12.4-bin-linux-x64.sh: OK
> > >
> > > Not sure which server the CDN pointed me to. Maybe your mirror is 
> > > corrupted.
> > >
> > >
> > > --emi
> > >
> > > On Sun, Aug 22, 2021 at 4:41 PM Christian Kruggel  
> > > wrote:
> > >>
> > >> Hello everyone,
> > >>
> > >> I downloaded Apache-NetBeans-12.4-bin-linux-x64.sh from
> > >> https://netbeans.apache.org/download/nb124/nb124.html several times and
> > >> tried to verify integrity the way that's described here
> > >> https://www.apache.org/dyn/closer.cgi#verify
> > >>
> > >> However I can not verify any download and my fail goes like this (pls
> > >> excuse nasty German in between):
> > >>
> > >> gpg --import KEYS.txt
> > >>
> > >> gpg: Schlüssel B4C1940FEA9364F1: "Jan Lahoda (Key for signing Apache
> > >> NetBeans & co. releases.) " nicht geändert
> > >> gpg: Schlüssel 13E9F7AE3A4FD551: "geert...@apache.org (Key for signing
> > >> Apache NetBeans & co. releases.) " nicht geändert
> > >> gpg: Schlüssel CF7BA0AB1CCF4647: "Emilian Marius Bold "
> > >> nicht geändert
> > >> gpg: Schlüssel B2BF814FA145CB2D: "Laszlo Kishalmi (CODE SIGNING KEY)
> > >> " nicht geändert
> > >> gpg: Schlüssel 4A2601CEDA9382F3: "Eric Barboni (Signing Key)
> > >> " nicht geändert
> > >> gpg: Schlüssel 3703AC389A12A9D4: "Neil C Smith "
> > >> nicht geändert
> > >> gpg: Schlüssel 57D5896CD86C1320: "Reema Taneja (Code Signing Key)
> > >> " nicht geändert
> > >> gpg: Schlüssel E860B148D27236F9: "Jaroslav Tulach (Key for signing
> > >> Apache NetBeans & co. releases.) " nicht geändert
> > >> gpg: Schlüssel 6FA863B0C32A18B1: "Arunava Sinha (CODE SIGNING KEY)
> > >> " nicht geändert
> > >> gpg: Schlüssel 3ED477750C09D18D: "John McDonnell (CODE SIGNING KEY)
> > >> " nicht geändert
> > >> gpg: Schlüssel 5CDA98F97CD37A42: "Anton Epple "
> > >> nicht geändert
> > >> gpg: Schlüssel 13548D7CCAFAE80D: "Jaroslav Tulach (2nd key for signing
> > >> NetBeans releases) " nicht geändert
> > >> gpg: Schlüssel 7022397A0BFA52E9: "Geertjan Wielenga
> > >> " nicht geändert
> > >> gpg: Anzahl insgesamt bearbeiteter Schlüssel: 13
> > >> gpg: unverändert: 13
> > >>
> > >> gpg --verify Apache-NetBeans-12.4-bin-linux-x64.sh.asc
> > >> Apache-NetBeans-12.4-bin-linux-x64.sh
> > >>
> > >> gpg: Signatur vom Mi 19 Mai 2021 13:03:21 CEST
> > >> gpg:mittels RSA-Schlüssel
> > >> 8FE1C26F15E0320E740BAED84A2601CEDA9382F3
> > >> gpg: FALSCHE Signatur v

Re: [verification] Neither gpg nor sha512 verifies integrity of Apache-NetBeans-12.4-bin-linux-x64.sh

2021-08-23 Thread Emilian Bold
Maybe you yourself are being targeted or your disk / RAM is corrupting data.

--emi

On Mon, Aug 23, 2021 at 4:46 PM Christian Kruggel  wrote:
>
> Thanks for your feedback. After I droped all GPG-Keys by hand an
> reimported https://downloads.apache.org/netbeans/KEYS I still cann't
> verify Apache-NetBeans-12.4-bin-linux-x64.sh
>
> The sha512 differs for all downloads I had this far (a bit of a miracle
> to me as I assumed that the file is the same throughout all mirrors) and
> like to know, how I can get a dedicated download that uses the file Emi
> managed to verify via sha512 for I'd like to do so too.
>
> Am 22.08.21 um 19:57 schrieb Emilian Bold:
> > Just tested:
> >
> > $ shasum -c Apache-NetBeans-12.4-bin-linux-x64.sh.sha512.txt
> > ./Apache-NetBeans-12.4-bin-linux-x64.sh: OK
> >
> > Not sure which server the CDN pointed me to. Maybe your mirror is corrupted.
> >
> >
> > --emi
> >
> > On Sun, Aug 22, 2021 at 4:41 PM Christian Kruggel  
> > wrote:
> >>
> >> Hello everyone,
> >>
> >> I downloaded Apache-NetBeans-12.4-bin-linux-x64.sh from
> >> https://netbeans.apache.org/download/nb124/nb124.html several times and
> >> tried to verify integrity the way that's described here
> >> https://www.apache.org/dyn/closer.cgi#verify
> >>
> >> However I can not verify any download and my fail goes like this (pls
> >> excuse nasty German in between):
> >>
> >> gpg --import KEYS.txt
> >>
> >> gpg: Schlüssel B4C1940FEA9364F1: "Jan Lahoda (Key for signing Apache
> >> NetBeans & co. releases.) " nicht geändert
> >> gpg: Schlüssel 13E9F7AE3A4FD551: "geert...@apache.org (Key for signing
> >> Apache NetBeans & co. releases.) " nicht geändert
> >> gpg: Schlüssel CF7BA0AB1CCF4647: "Emilian Marius Bold "
> >> nicht geändert
> >> gpg: Schlüssel B2BF814FA145CB2D: "Laszlo Kishalmi (CODE SIGNING KEY)
> >> " nicht geändert
> >> gpg: Schlüssel 4A2601CEDA9382F3: "Eric Barboni (Signing Key)
> >> " nicht geändert
> >> gpg: Schlüssel 3703AC389A12A9D4: "Neil C Smith "
> >> nicht geändert
> >> gpg: Schlüssel 57D5896CD86C1320: "Reema Taneja (Code Signing Key)
> >> " nicht geändert
> >> gpg: Schlüssel E860B148D27236F9: "Jaroslav Tulach (Key for signing
> >> Apache NetBeans & co. releases.) " nicht geändert
> >> gpg: Schlüssel 6FA863B0C32A18B1: "Arunava Sinha (CODE SIGNING KEY)
> >> " nicht geändert
> >> gpg: Schlüssel 3ED477750C09D18D: "John McDonnell (CODE SIGNING KEY)
> >> " nicht geändert
> >> gpg: Schlüssel 5CDA98F97CD37A42: "Anton Epple "
> >> nicht geändert
> >> gpg: Schlüssel 13548D7CCAFAE80D: "Jaroslav Tulach (2nd key for signing
> >> NetBeans releases) " nicht geändert
> >> gpg: Schlüssel 7022397A0BFA52E9: "Geertjan Wielenga
> >> " nicht geändert
> >> gpg: Anzahl insgesamt bearbeiteter Schlüssel: 13
> >> gpg: unverändert: 13
> >>
> >> gpg --verify Apache-NetBeans-12.4-bin-linux-x64.sh.asc
> >> Apache-NetBeans-12.4-bin-linux-x64.sh
> >>
> >> gpg: Signatur vom Mi 19 Mai 2021 13:03:21 CEST
> >> gpg:mittels RSA-Schlüssel
> >> 8FE1C26F15E0320E740BAED84A2601CEDA9382F3
> >> gpg: FALSCHE Signatur von "Eric Barboni (Signing Key)
> >> " [unbekannt]
> >>
> >> diff -u Apache-NetBeans-12.4-bin-linux-x64.sh.sha512 <(sha512sum
> >> Apache-NetBeans-12.4-bin-linux-x64.sh)
> >>
> >> --- Apache-NetBeans-12.4-bin-linux-x64.sh.sha5122021-08-21
> >> 10:08:34.242825939 +0200
> >> +++ /dev/fd/63  2021-08-21 10:22:04.844541870 +0200
> >> @@ -1 +1 @@
> >> -4866f7bcc0fcc42eb5d00f3ff153b669d84e4b59ba32c776628757d03255d19fff85be364ec1ba9a3559872838103f7074d94d52e6de2039d49208f84b1c59d5
> >>./Apache-NetBeans-12.4-bin-linux-x64.sh
> >> +7cf418e70ed85c6ab52b79091178a343be9fedb094f1d29538a353cf22ed1f8f62e955ee0ab3d1b09e2be679148c9fc4898bc23eacfdf8262db739bd519676c0
> >>Apache-NetBeans-12.4-bin-linux-x64.sh
> >>
> >> Is the file Apache-NetBeans-12.4-bin-linux-x64.sh indeed corrupted or am
> >> I missing something very basic again?
> >>
> >> Any help / hint is highly appreciated.
> >>
> >> Chris
> >>
> >> -
> >> To unsubscribe, e-mail: user

Re: NB12.4 quit

2021-08-23 Thread Emilian Bold
You could try jstack to see what the threads are doing. Maybe a heap dump?

But if it locks up the desktop I suspect it may be the OpenJDK itself.

--emi

On Mon, Aug 23, 2021 at 1:43 AM Chuck Davis  wrote:
>
> Referenced has been sometimes closing itself and other times performing a 
> hard lock of the desktop.  The only thing I can find in the log is merely a 
> warning:
>
> INFO [org.netbeans.core.netigso.Netigso]: bundle 
> org.eclipse.osgi@3.9.1.v20140110-1610 started
> INFO [org.netbeans.core.network.proxy.NetworkProxyReloader]: System network 
> proxy resolver: KDE
> WARNING [org.netbeans.core.network.proxy.kde.KdeNetworkProxy]: KDE system 
> proxy resolver: The kioslaverc file not found 
> ([/home/chuck/.config/kioslaverc, /home/chuck/.kde/share/config/kioslaverc])
> WARNING [org.netbeans.core.network.proxy.kde.KdeNetworkProxy]: KDE system 
> proxy resolver: The kioslaverc key not found (ProxyType)
> INFO [org.netbeans.core.network.proxy.NetworkProxyReloader]: System network 
> proxy reloading failed! Trying fallback resolver.
> INFO [org.netbeans.core.network.proxy.fallback.FallbackNetworkProxy]: 
> Fallback system proxy resolver: no http_proxy variable found
> INFO [org.netbeans.core.network.proxy.NetworkProxyReloader]: System network 
> proxy reloading succeeded. Fallback provider was successful.
> INFO [org.netbeans.core.network.proxy.NetworkProxyReloader]: System network 
> proxy - mode: direct
> INFO [org.netbeans.core.network.proxy.NetworkProxyReloader]: System network 
> proxy: fell to default (correct if direct mode went before)
> WARNING [org.netbeans.TopSecurityManager]: use of system property 
> netbeans.home has been obsoleted in favor of InstalledFileLocator/Places at 
> org.netbeans.modules.java.j2seplatform.platformdefinition.Util.removeNBArtifacts(Util.java:337)
>
> Is this a bug in NB, Java16 or KDE?  I'm running OpenSUSE Tumbleweed which 
> keeps OpenJDK at the current level automatically:
> openjdk version "16.0.2" 2021-07-20
> OpenJDK Runtime Environment (build 16.0.2+7-suse-1.1-x8664)
> OpenJDK 64-Bit Server VM (build 16.0.2+7-suse-1.1-x8664, mixed mode)
>
> Is this something to file a bug report about?  It's most annoying to try to 
> compile a project and have it lock up tight.  Furthermore, it's inconsistent.
>
> Thanks for any ideas.
>
>

-
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: [verification] Neither gpg nor sha512 verifies integrity of Apache-NetBeans-12.4-bin-linux-x64.sh

2021-08-22 Thread Emilian Bold
Just tested:

$ shasum -c Apache-NetBeans-12.4-bin-linux-x64.sh.sha512.txt
./Apache-NetBeans-12.4-bin-linux-x64.sh: OK

Not sure which server the CDN pointed me to. Maybe your mirror is corrupted.


--emi

On Sun, Aug 22, 2021 at 4:41 PM Christian Kruggel  wrote:
>
> Hello everyone,
>
> I downloaded Apache-NetBeans-12.4-bin-linux-x64.sh from
> https://netbeans.apache.org/download/nb124/nb124.html several times and
> tried to verify integrity the way that's described here
> https://www.apache.org/dyn/closer.cgi#verify
>
> However I can not verify any download and my fail goes like this (pls
> excuse nasty German in between):
>
> gpg --import KEYS.txt
>
> gpg: Schlüssel B4C1940FEA9364F1: "Jan Lahoda (Key for signing Apache
> NetBeans & co. releases.) " nicht geändert
> gpg: Schlüssel 13E9F7AE3A4FD551: "geert...@apache.org (Key for signing
> Apache NetBeans & co. releases.) " nicht geändert
> gpg: Schlüssel CF7BA0AB1CCF4647: "Emilian Marius Bold "
> nicht geändert
> gpg: Schlüssel B2BF814FA145CB2D: "Laszlo Kishalmi (CODE SIGNING KEY)
> " nicht geändert
> gpg: Schlüssel 4A2601CEDA9382F3: "Eric Barboni (Signing Key)
> " nicht geändert
> gpg: Schlüssel 3703AC389A12A9D4: "Neil C Smith "
> nicht geändert
> gpg: Schlüssel 57D5896CD86C1320: "Reema Taneja (Code Signing Key)
> " nicht geändert
> gpg: Schlüssel E860B148D27236F9: "Jaroslav Tulach (Key for signing
> Apache NetBeans & co. releases.) " nicht geändert
> gpg: Schlüssel 6FA863B0C32A18B1: "Arunava Sinha (CODE SIGNING KEY)
> " nicht geändert
> gpg: Schlüssel 3ED477750C09D18D: "John McDonnell (CODE SIGNING KEY)
> " nicht geändert
> gpg: Schlüssel 5CDA98F97CD37A42: "Anton Epple "
> nicht geändert
> gpg: Schlüssel 13548D7CCAFAE80D: "Jaroslav Tulach (2nd key for signing
> NetBeans releases) " nicht geändert
> gpg: Schlüssel 7022397A0BFA52E9: "Geertjan Wielenga
> " nicht geändert
> gpg: Anzahl insgesamt bearbeiteter Schlüssel: 13
> gpg: unverändert: 13
>
> gpg --verify Apache-NetBeans-12.4-bin-linux-x64.sh.asc
> Apache-NetBeans-12.4-bin-linux-x64.sh
>
> gpg: Signatur vom Mi 19 Mai 2021 13:03:21 CEST
> gpg:mittels RSA-Schlüssel
> 8FE1C26F15E0320E740BAED84A2601CEDA9382F3
> gpg: FALSCHE Signatur von "Eric Barboni (Signing Key)
> " [unbekannt]
>
> diff -u Apache-NetBeans-12.4-bin-linux-x64.sh.sha512 <(sha512sum
> Apache-NetBeans-12.4-bin-linux-x64.sh)
>
> --- Apache-NetBeans-12.4-bin-linux-x64.sh.sha5122021-08-21
> 10:08:34.242825939 +0200
> +++ /dev/fd/63  2021-08-21 10:22:04.844541870 +0200
> @@ -1 +1 @@
> -4866f7bcc0fcc42eb5d00f3ff153b669d84e4b59ba32c776628757d03255d19fff85be364ec1ba9a3559872838103f7074d94d52e6de2039d49208f84b1c59d5
>   ./Apache-NetBeans-12.4-bin-linux-x64.sh
> +7cf418e70ed85c6ab52b79091178a343be9fedb094f1d29538a353cf22ed1f8f62e955ee0ab3d1b09e2be679148c9fc4898bc23eacfdf8262db739bd519676c0
>   Apache-NetBeans-12.4-bin-linux-x64.sh
>
> Is the file Apache-NetBeans-12.4-bin-linux-x64.sh indeed corrupted or am
> I missing something very basic again?
>
> Any help / hint is highly appreciated.
>
> Chris
>
> -
> 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 struggles with hierarchical Gradle Projects

2021-08-21 Thread Emilian Bold
>>  What you are doing there is a bad practice.
> Says who and why. Please elaborate.

:-) Says the guy that wrote the Gradle support in NetBeans and that
(as far as I remember) has a job related to builds and stuff like
this.

I have nothing else to add. Gradle is great as long as somebody else
configures it properly. Parallel builds and build caches are magic.
Unlike Ant/Maven it's a pain to learn.

--emi

On Sat, Aug 21, 2021 at 8:44 AM Andreas Reichel
 wrote:
>
> Greetings.
>
> On Fri, 2021-08-20 at 18:52 -0700, Laszlo Kishalmi wrote:
>
> Try to get rid of the version specification.
>
>
> I have tried that just because I am desperate and ready to grab any straw.
> Unfortunately it did not change anything -- and why should it.
>
>  What you are doing there is a bad practice.
>
>
> Says who and why. Please elaborate.
>
> Best regards
> Andreas
>

-
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: Official NetBeans Plugin new site?

2021-08-06 Thread Emilian Bold
See 
https://cwiki.apache.org/confluence/display/NETBEANS/Where+to+download+plugins+for+NetBeans+10.0+and+earlier

Sadly the backend server is off (I have to restart it... soon). But
the most common plugins are cached and will be downloaded.

--emi

On Fri, Aug 6, 2021 at 4:18 PM Tim Mullé  wrote:
>
> Hi,
>
> Sorry if this has been answered before but where has the official Netbeans 
> Plugin site been relocated to?
>
> I was looking for a Markdown editor for Netbeans and it mentioned 
> “plugins.netbeans.org/plugin"
> But it’s not longer working.
>
> This was the original article that I was reading: 
> https://ourcodeworld.com/articles/read/717/how-to-add-support-for-markdown-in-netbeans
>
>
> I’ve enabled the older plugins list in Netbeans settings but that doesn’t 
> seem to contain nearly as many as the old site used to.
>
> Thanks,
> - Tim
>

-
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: Auto Popup Completion Window

2021-08-05 Thread Emilian Bold
I just tried this and I can't reproduce it.

It I uncheck for HTML there's no auto popup window.

The popup window does show up if I expressly press cmd+space and stays
there until I close it with Escape or until I select some option.
Maybe this is the odd behaviour you are annoyed by?

It is odd: in other languages the popup goes away after a while but
for HTML you have the dictionary always suggesting something so once
opened the popup never closes.

(Though, I suspect this happened before 12.4 too? I dunno).

--emi

On Thu, Aug 5, 2021 at 9:24 AM Tom Rushworth  wrote:
>
> Using Netbeans 12.4 on Windows 10.
>
> I do not want the Auto Popup Completion Window to pop up in HTML and PHP. 
> Other file types OK.
>
> I have checked the Auto Popup for All Languages and unchecked it for HTML and 
> PHP.  This seems to have no effect on HTML.  If I type ul, I get a pop up 
> with 6 variations of ULCER.  If I type an a,the window pops up.  How can I 
> not get the popup window in HTML?

-
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: Auto Popup Completion Window

2021-08-05 Thread Emilian Bold
A few weeks back John (CCed) started another similar thread.

--emi

On Thu, Aug 5, 2021 at 9:24 AM Tom Rushworth  wrote:
>
> Using Netbeans 12.4 on Windows 10.
>
> I do not want the Auto Popup Completion Window to pop up in HTML and PHP. 
> Other file types OK.
>
> I have checked the Auto Popup for All Languages and unchecked it for HTML and 
> PHP.  This seems to have no effect on HTML.  If I type ul, I get a pop up 
> with 6 variations of ULCER.  If I type an a,the window pops up.  How can I 
> not get the popup window in HTML?

-
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: GIT branch naming

2021-08-04 Thread Emilian Bold
I wonder if it's the extra space after "feature/"?

--emi

On Wed, Aug 4, 2021 at 2:38 AM Greenberg, Gary
 wrote:
>
> Our company policy require branches in the repository to contain department 
> ID and JIRA ticket number.
> I.e. bugfix/DEPTID-JIRATICKET or feature/ DEPTID-JIRATICKET.
>
> Our stash repo configured that way and won’t accept any check-ins that are 
> not compliant with the rule.
>
> While I do not have any problems with bugfix branches, Netbeans (12.4) won’t 
> allow me to create feature branches.
>
> It is telling me “Cannot create branch under already existing “feature””.
>
> It is not a showstopper for me, but does require additional hazzle.
>
> I have to :
>
> create a branch in the Stash using their web interface
> create a different local branch name
> create a remote branch mapping
> do a fetch
>
> Manual git command does not give me any error message. Why Netbeans putting 
> this limitation?
>
> If I am doing something wrong, would you please steer me to the right 
> direction?
>
>
>
> Regards,
>
>
>
> Gary Greenberg
>
> Staff Software Engineer
>
> Data Product Development, BI-A
>
> E: ggree...@visa.com
>
> M: 650-269-7902
>
>
>
>

-
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 GIT Merge conflicts breaks code

2021-07-29 Thread Emilian Bold
Haha, did I mention there's also an unmerged patch from me *in Bugzilla*
(ie. since forever) providing a proper 3-way merge GUI to NetBeans?

I just use the command line. It's good enough.

--emi

mie., 28 iul. 2021, 16:39 Andreas Reichel 
a scris:

> On Wed, 2021-07-28 at 16:29 +0300, Emilian Bold wrote:
>
> For a pretty long time OpenBeans.org (initially CoolBeans) had the
> idea the people may want to fund IDE features that would be eventually
> pushed into upstream NetBeans. Such an economy didn't really
> materialise.
>
>
> Wow, I have never every even heard about that -- and I think I am quite
> literate about Linux and Java and Database stuff.
> But I agree with your findings "There is a market for tooling, but not one
> for a NetBeans distribution."
>
> So how would we get a better Merge Tool?
> I found so far: GumTreeDiff and DiffSitter and we would need to marry
> these with a proper 3-way Merge UI.
> Guess, I will need to look into that myself too :(
>
> Is there anything like a Crowd-Funding for Netbeans? Like a "kickstarter"
> for missing plugins/functionality?
>
> Cheers
> Andreas
>


Re: Resolving GIT Merge conflicts breaks code

2021-07-28 Thread Emilian Bold
>> As for bribing, sadly there is no longer a fork of NetBeans that could take 
>> the funds to do such fixes and push them upstream ;-)
>
> Emilian and Team,
>
> Thank you for your feedback.
> How am I supposed to read that:
>
> a) there is already such a Fork (and I just do not know about) or
>
> b) I should fork and develop such a tool myself?

For a pretty long time OpenBeans.org (initially CoolBeans) had the
idea the people may want to fund IDE features that would be eventually
pushed into upstream NetBeans. Such an economy didn't really
materialise.

> I am actually quite sad that nothing has been done about that and am almost 
> intrigued looking into that . Managing and merging parallel open Pull 
> Requests for a Third > How are other Java Programmers dealing with this 
> situation?

I use git from the command line :-) I solve such conflicts manually
though it's obvious better diff/merge tools should and could (easily)
be written.

--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: JFROG XRAY plugin

2021-07-16 Thread Emilian Bold
I think it would be good feedback to JFrog that paying customers use
NetBeans. Maybe that will convince them they need to invest into a plug-in.

--emi

vin., 16 iul. 2021, 03:44 Greenberg, Gary  a
scris:

> Our cyber security dept. requested developers to install JFrog XRAY plugin
> for every IDE to
> identify binary vulnerabilities.
>
> I saw such plugins for Eclipse, IntelliJ and VisualStudio but do not see
> it for Netbeans.
>
> Does it exist or is someone working on it?
>
>
>
> Gary Greenberg
>
> Staff Software Engineer
>
> Data Product Development, BI-A
>
> E: ggree...@visa.com
>
> M: 650-269-7902
>
>
>
> [image: EmailSig-TaglineVersion]
>
>
>


Re: NetBeans Platform "Golden Path"

2021-07-12 Thread Emilian Bold
I don't think the Platform is opinionated about not including a JRE,
it's just that they can't under Apache.

NetBeans used to come as a JDK bundle in the Sun Microsystems and
Oracle days. So, all the plumbing is still there and in the conf file
is just a jdkhome to set.

It was relatively easy to include a JRE for Windows and macOS.

--emi

On Mon, Jul 12, 2021 at 10:22 PM Chris Marusich  wrote:
>
> Hi everyone,
>
> Thank you very much for the thoughtful replies.  It's very helpful to
> hear about how others do things.
>
> It sounds like I am probably making my life more difficult than it needs
> to be by choosing to use JPMS modules.  Personally, I believe that as
> JPMS modules are adopted more and more by the Java ecosystem, and as
> everyone's Java version inexorably advances to Java 9 and beyond, it
> will become harder and harder to avoid dealing with JPMS modules in
> practice.  Once you start using Java 9 or later, JPMS modules are there,
> and even if you try to avoid them, you'll probably bump into some
> problems related to automatic modules or unnamed modules or similar
> eventually...  However, for now I get the impression that avoiding JPMS
> modules, if possible, is the path of least resistance in NetBeans.
> Maybe the problems I've had with the nbm-maven-plugin were because I was
> trying to explicitly make use of JPMS modules.  I'll try again, this
> time avoiding explicitly using JPMS modules if I can, and see how it
> goes.
>
> Regarding how to build a stand-alone application: without the
> convenience of jlink (because JPMS modules are definitely required, at
> least in my specific case, to use jlink; it is possible that jlink can
> work without JPMS modules in other specific circumstances, but in my
> case that is not possible), I agree the only option is to probably
> create a custom script that does the jobs.  It's good to know that I'm
> not missing something; that's about what I expected.
>
> Regarding the point about requiring a user to install Java separately, I
> think sometimes it could be appropriate, and sometimes not.  Personally,
> I usually feel that it is an unnecessary hurdle and an additional
> maintenance burden.  My users shouldn't even need to know they're
> running Java.  It seems like a small thing, but it really is a
> significant hurdle in some contexts.  I could be wrong, but it sounds
> like NetBeans Platform is pretty "opinionated" about this point, and it
> basically encourages you to require the user to install the JRE
> separately.  However, I can see it isn't too hard to bundle a JRE
> yourself with a custom script if you really want to.  I'll probably try
> to do that if I can.
>
> I appreciate all the helpful advice!
>
> --
> Chris

-
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: HTML Disable Auto Completion 12.4

2021-07-08 Thread Emilian Bold
Back when I was working on this each such settings had a property that
was being saved by NetBeans. So, just because there's no UI for it it
doesn't mean you can't make a simple module that tweaks that property
or just hand-edit an XML in your userdir.

So now, the questions just is how was that property called?

You can probably learn it by just tweaking the property in an older
NetBeand then diff-ing the files. I'd guess just copying the XML to
the 12.4 user dir would do the trick.

--emi

On Thu, Jul 8, 2021 at 10:24 AM John Lavelle  wrote:
>
> BUMP! BUMP!
>
> I assume that no one uses HTML in NetBeans so has no experience of this?
>
> Any answers or suggestions?
>
> Regards
> John
>
> BUMP!
>
> Can anyone shed any light on this?
>
> Thanks
> John
>
> Hi,
>
> You used to be able to disable the Auto Completion pop-up for HTML by 
> deleting (must be deleted not just disabled) the items in "Tools>Palette>Code 
> Clips" (why?) then in "Tools>Options>Editor>Code Completion>HTML" deselecting 
> "Auto Popup Completion Window".
>
> In 12.4 it seems the only way to disable Code Completion for HTML is to 
> disable it for every language in the "All languages" Code Completion section.
>
> Is there a way to disable Code Completion just for one language as the "old" 
> system no longer seems to work correctly?
>
> Best regards,
> John
> j...@jql.co.uk
> Bike Farkles: https://www.youtube.com/channel/UCPRV92Cf_R1ihviRtVU2teQ
> JLavelle.uk https://www.youtube.com/jlavelleuk

-
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 "Golden Path"

2021-07-07 Thread Emilian Bold
1. Don't use JPMS
2. Use Maven and nbm-maven-plugin. Documentation isn't the best but
you can do most things with it including wrapping jars (ie. Maven
Central dependencies), doing branding, doing the app.
3. I don't think anybody looked into using jlink/jpackage (which
probably would need JPMS, no?) so your baseline for the release is the
ZIP file
4. Once you have a zip file with the launchers it's super easy to make
a macOS DMG and a Windows installer (using Inno Setup).
5. Pay Apple the $99 to sign/notarize the DMG and some Windows vendor
the price of a code signing certificate (max $300 for the extended
one).

My 2c,
--emi

On Wed, Jul 7, 2021 at 10:24 PM Chris Marusich  wrote:
>
> Hi,
>
> What's the current "best practice" or "golden path" for building and
> distributing a NetBeans Platform application and managing its
> dependencies (e.g., from Maven central)?  That's a big general question,
> so I'll ask some specifics:
>
> - Should I ever try to use JPMS modules when building a NetBeans
> Platform application?  I've found that in my projects (which are
> NetBeans Maven-based projects, not NetBeans Platform projects), when I
> use JPMS modules, it can cause problems for NetBeans [1], so I wonder if
> it's really wise to even try mixing JPMS modules with NetBeans projects
> at this time, let alone NetBeans Platform projects.
>
> - Should I ever try to make a Maven-based NetBeans Platform application?
> I see there are Maven templates in NetBeans that offer to create a
> Maven-based NetBeans Platform project.  However, all the examples online
> and in books that I've seen so far do NOT use Maven.  In spite of this,
> recent emails on this list have suggested that Maven-based NetBeans
> projects are generally preferred over the older Ant-based project types.
> So I'm a bit confused about what the currently prevailing wisdom on this
> matter is, in the case of NetBeans Platform projects.  Perhaps Maven can
> be used to build NetBeans Platform applications/modules or not,
> depending on the situation.  As a beginner in the world of NetBeans
> Platform, I just want to try making a NetBeans Platform project using
> whatever approach is more likely to work without trouble and remain
> supported by the community.  But what approach might that be?
>
> - If I want to use a library that is available from Maven central in my
> NetBeans Platform application, is the best option to just manually
> download the JAR file, manually create a NetBeans Platform "wrapper
> module" for the JAR, and then use the "wrapper module" in my
> application?  I tried using the nbm-maven-plugin to use dependencies
> from Maven in a simple NetBeans Platform application, but I encountered
> problems and couldn't figure out how to get it to work.  So to me it
> feels like the answer to this question is "yes, at the moment you should
> manage your JARs manually in order to have the best developer experience
> when working on a NetBeans Platform application," but I'm not sure.  I'm
> curious to hear the opinions of people who have more experience with the
> NetBeans Platform.
>
> - If I want to build a stand-alone release of my NetBeans Platform
> application that I can distribute to an end user, what's a good way to
> do it?  It seems that some of the features in NetBeans that build a
> stand-alone release will only work when your project is not a
> Maven-based NetBeans Platform application.  Additionally, although
> recent developments like jlink and jpackage have made it somewhat easier
> to produce stand-alone application bundles that don't require the user
> to first install a JRE, which is nice, it seems that these tools
> sometimes require the use of JPMS modules, which can be problematic in
> NetBeans (see above).  And in any case NetBeans does not yet seem to
> expose any way to take advantage of these new tools.  So what IS the
> most common way that people build a release version of a NetBeans
> Platform application, anyway?
>
> Ultimately, I just don't understand what the current "best practice" or
> "golden path" is for using NetBeans Platform.  I'd like to know, though.
> I am happy to help improve the tutorials, but the problem is that even
> after reading various tutorials and documentation, and even after
> experimenting quite a bit on my own, I don't even understand what the
> path of least resistance is supposed to be.
>
> Footnotes:
> [1] 
> http://mail-archives.apache.org/mod_mbox/netbeans-users/202010.mbox/%3c87sg9wgt19@gmail.com%3E
>
> --
> Chris

-
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 about netbeans compatibility

2021-06-28 Thread Emilian Bold
If you download a 32bit JRE (there's a 32bit Zulu) then I expect NetBeans
would work.

--emi

lun., 28 iun. 2021, 09:38 LOVELIN DHONI J.B 
a scris:

> I want to download netbeans latest version on my PC. My PC is windows 7 32
> bit version. Does Netbeans 12.4 supports that or which version of Netbeans
> supports that.
> Kindly reply soon.
>


Re: JavaScript Framework's

2021-06-27 Thread Emilian Bold
It's very easy to understand why: supporting a major framework requires a
huge investment in terms of time/money.

So you either need a super passionate individual or group that will do all
this work for free or you need money from a company or the community.

I don't think the Netbeans community can sustain a single developer
full-time for a few months to get this done so that leaves you with a
company.

Let's hope such a thing materializes.

--emi

dum., 27 iun. 2021, 06:14 Brain Rebooting  a
scris:

> Dear all,
>
> With due respect, I can't understand why netbeans doesn't support a single
> latest JavaScript framework. I mean, angular/react/vue are extremely
> popular now a days and are must. Though netbeans claims itself a full ide
> for JavaScript. But it supports not a single javascript framework. As a
> netbeans fan boy since last 3 years, I find it inferior.
>
> If there is no one to build those tools for netbeans, then at least can't
> we open a donation account and gather money hire someone with expertise on
> those tech to build tools to support those frameworks in netbeans?
>
> I realizes that, why people are leaving netbeans due to existential
> reasons. If I need to use any text editor to work with those frameworks,
> then still I already writing code outside of netbeans.
>
> We use ide for what? By definition, so that we can write/test/debug/deploy
> everything from one place.
>
> Its not my request as you already know. Even eclipse dont support these
> framework's for free. I saw they recently start angular/react option but
> thats also paid. Our last hope is remains only netbeans.
>
>
> Samiul Alom Sium
> Bangladesh
>


Re: Java 16 Javadocs?

2021-06-24 Thread Emilian Bold
I was thinking of something online.

--emi

joi, 24 iun. 2021, 01:16 Andreas Reichel  a
scris:

> Greetings.
>
> On Wed, 2021-06-23 at 17:32 +0300, Emilian Bold wrote:
>
> It's amazing there's no 3rd party place for Javadocs considering there's
> now so many OpenJDK distros.
>
>
> I do not think that this is correct:
>
> are@ryzen ~ [SIGINT]> yay openjdk-doc
> 1 extra/openjdk-doc 16.0.1.u9-1 (11.0 MiB 260.9 MiB)
> OpenJDK Java 16 documentation
> ==> Packages to install (eg: 1 2 3, 1-3 or ^4)
>
>
> are@ryzen ~> yay -Ql openjdk-doc
> openjdk-doc /usr/
> openjdk-doc /usr/share/
> openjdk-doc /usr/share/doc/
> openjdk-doc /usr/share/doc/java-openjdk/
> openjdk-doc /usr/share/doc/java-openjdk/api/
> openjdk-doc /usr/share/doc/java-openjdk/api/allclasses-index.html
> openjdk-doc /usr/share/doc/java-openjdk/api/allpackages-index.html
> openjdk-doc /usr/share/doc/java-openjdk/api/constant-values.html
> openjdk-doc /usr/share/doc/java-openjdk/api/deprecated-list.html
> openjdk-doc /usr/share/doc/java-openjdk/api/element-list
> openjdk-doc /usr/share/doc/java-openjdk/api/help-doc.html
> openjdk-doc /usr/share/doc/java-openjdk/api/index-files/
> openjdk-doc /usr/share/doc/java-openjdk/api/index-files/index-1.html
>
>
> Best regards
> Amdreas
>


Re: Java 16 Javadocs?

2021-06-23 Thread Emilian Bold
It's amazing there's no 3rd party place for Javadocs considering there's
now so many OpenJDK distros.

Luckily the IDE doesn't show the huge cookie consent you see on
docs.oracle.com

--emi


On Wed, Jun 23, 2021 at 10:15 AM Christian Pervoelz 
wrote:

> If you have added the Java Platform via Tools > Java Platforms it should
> be already there.
>
> If it's not, then:
> 1. Tools > Java Platforms
> 2. On the left side, select the JDK entry
> 3. On the right side, click the tab Javadoc
> 4. Click "Add URL"
> 5. Enter https.//docs.oracle.com/en/java/javase/16/docs/api
>
> If you need it offline, download the docs from here:
> https://www.oracle.com/java/technologies/javase-jdk16-doc-downloads.html
> Store the zip file in a location of your choice and perform the steps as
> above. In step 4. click on "Add Zip/Folder..." and locate your downloaded
> zip.
>
> That's it.
>
> ---C.
>
>
> Am Mi., 23. Juni 2021 um 05:46 Uhr schrieb Owen Thomas <
> owen.paul.tho...@gmail.com>:
>
>> Can someone please point me in the direction of the Javadoc for JDK 16? I
>> want to access it in NetBeans.
>>
>> Thanks,
>>
>>   Owen.
>>
>


Re: NB 12.4, PHP, Xdebug 3

2021-06-17 Thread Emilian Bold
Alan, I wonder if you meant that xdebug.start_with_request also needs
the xdebug.mode config?

--emi


On Fri, Jun 18, 2021 at 12:22 AM Alan 
wrote:

> Hi Tom,
>
> Thanks for your response. I found the problem. I had
>
> xdebug.start_with_request = yes
>
> in the INI file. Misinterpreted the documentation. User error :)
>
>
> On 2021-06-17 16:49, Tomáš Procházka wrote:
> > Hi Alan,
> > I tried debugging on my computer and it works with PHP 8.0.7 and
> > Xdebug 3.0.4.
> >
> > Check your NetBeans configuration for debugger port (Options > PHP >
> > Debugging). It should be set to 9003 (default port for Xdebug 3).
> >
> > Here is my configuration of Xdebug:
> > xdebug.mode=debug
> > xdebug.client_host=localhost
> > xdebug.remote_port=9003
> > xdebug.idekey="netbeans-xdebug"
> >
> > Hope this will help.
> >
> > Regards,
> > Tom
> >
> > On 17. 06. 21 18:53, Alan wrote:
> >> Not sure if this is a bug or a [cough] user error.
> >>
> >> Is Netbeans 12.4 passing XDEBUG_MODE through in the environment when
> >> starting up PHP CLI?
> >>
> >> If I set xdebug.mode to off or develop, the debugger won't start when
> >> debugging a file or project.
> >>
> >> If I set it to debug, it the debugger starts when running or
> >> debugging. When running, I get multiple messages of the form
> >>
> >> Xdebug: [Step Debug] Time-out connecting to debugging client, waited:
> >> 200 ms. Tried: 127.0.0.1:9003 (through
> >> xdebug.client_host/xdebug.client_port) :-(
> >>
> >> All those 200ms delays are killing unit test performance.
> >>
> >> Haven't tried it yet, but I kind of expect code coverage to break too.
> >>
> >> I've gone through the setup several times and can't find anything to
> >> address this, short of editing php.ini whenever I want to switch.
> >>
> >> --
> >> For Apache Netbeans Users List
> >>
> >>
> >> -
> >> 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
> >
> --
> For Apache Netbeans Users List
>
>
> -
> 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 ...again

2021-06-13 Thread Emilian Bold
Hello,

You can request free NetBeans stickers to be mailed on
http://www.codeswith.com/sticker.html

http://www.codeswith.com also has some nice interviews about NetBeans.

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

--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] Module load order maven application

2020-08-15 Thread Emilian Bold
Yes, adding OpenIDE-Module-Module-Dependencies by hand is pretty old school
:-)

--emi

sâm., 15 aug. 2020, 14:37 Patrik Karlström  a scris:

> This is really cool,
> first I noticed that the nbm-maven-plugin supports 
> configuration,
> then that I don't have to use them. :)
>
> Looking at a module's *generated* manifest tells me that they end up there
> due to their maven dependency. Nice!
>
>
> Den fre 14 aug. 2020 kl 18:42 skrev Patrik Karlström :
>
>> I will start declaring manifest dependencies, moduleType, and add
>> something like the WindowManager.invokeWhenUIReady() that modules can
>> register for and be run after the foundation of the application is set up
>> and ready to go.
>>
>> /Patrik
>>
>>



Re: [platform] Module load order maven application

2020-08-14 Thread Emilian Bold
I feel you are enumerating a whole bunch of workarounds you already thought
about without giving us an example of the real issue you experienced.

Normally, modules can be installed and enabled and disabled by users are
any time.

If your app is somehow erratic now it means there's a hidden dependency not
exposed. Maybe a module needs to provide / require some tags or maybe your
module install needs to wait for something. So it could be a module problem
or just a business logic problem: if a module prepares the DB in a
background thread and the other module just starts using the DB right
ahead, the modules could be loaded in the right order and still break the
app due to a normal bug.

--emi

joi, 13 aug. 2020, 13:46 Patrik Karlström  a scris:

> Lately I've been experiencing problematic behavior in a platform
> application with close to 40 modules, NetBeans ones un-counted.
>
> I believe that it's related to the fact that I did not declare
> any OpenIDE-Module-Module-Dependencies in the manifests and that the module
> load order changed somehow.
>
> I do have a couple of platform books but I'm struggling with putting the
> pieces together in order to secure my module dependencies.
>
> This led to the following questions:
>
> 1. Is it just dumb luck that I got away with this for a couple of years,
> just relying on maven dependencies?
>
> 2. Does the following list reflect the order for @OnStart and Installers
> to be executed?
> INFO [org.netbeans.core.startup.NbEvents]: Turning on modules:
> org.openide.util.lookup [8.41.1
> 12.0-u1-efd543aaefdb0a9f8f0073896cb12c82fe4ef9c8]
> org.openide.util [9.15.1 12.0-u1-efd543aaefdb0a9f8f0073896cb12c82fe4ef9c8]
> org.openide.util.ui [9.16.1
> 12.0-u1-efd543aaefdb0a9f8f0073896cb12c82fe4ef9c8]
> org.openide.modules [7.56 12.0-u1-efd543aaefdb0a9f8f0073896cb12c82fe4ef9c8]
> org.netbeans.api.annotations.common/1 [1.35
> 12.0-u1-efd543aaefdb0a9f8f0073896cb12c82fe4ef9c8]
> se.trixon.almond.almond.nbp.core [11.0.6 11.0.6-20200809 202008090637]
> org.openide.filesystems [9.18
> 12.0-u1-efd543aaefdb0a9f8f0073896cb12c82fe4ef9c8]
> ...
>
> 3. Will the order of the module loading always be the same, given that the
> module collection is unchanged?
>
> 4. Will OpenIDE-Module-Module-Dependencies declarations change the loading
> order? (Counting on that actually :))
>
> 5. Is it a good idea to create a module A, that depends (manifest) on
> module B, C & D, and let module E that depends on B,C,D depend on A instead?
> There are a couple of E1, E2,E3 modules.
>
> 6. Should I combine OpenIDE-Module-Module-Dependencies with 
> in nbm-maven-plugin?
>
> 7. How do they interact?
>
> /Patrik
>
>


Re: Aliased font rendering in Override popup

2020-07-23 Thread Emilian Bold
Quite possible. The are a few places where fonts are drawn manually so
there may be problems with antialias and HiDPI screens. Tooltips come to
mind

--emi

mie., 22 iul. 2020, 20:08 Niklas Matthies  a scris:

> Hi,
>
> I noticed that in the popup menu that opens when clicking on the Java
> override icons, the text is rendered without anti-aliasing. Here is a
> small screenshot (the menu in the lower part):
> https://www.nmhq.net/tmp/nbnoaa.png
>
> This is on Windows with NetBeans 11.1. Can anyone confirm that
> behavior? I tried to fiddle with the netbeans_default_options
> (http://wiki.netbeans.org/FaqFontRendering), but to no avail.
>
> Niklas
>
>
> -
> 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 Gradle is not comfortable anymore

2020-07-20 Thread Emilian Bold
I'm not entirely certain but the Gradle support is NetBeans 10 is the
official one or the other plugin made by Atilla?

--emi


On Mon, Jul 20, 2020 at 1:29 AM Winter Silence 
wrote:

> I am a happy Netbeans user for about 3 years now. For a long time I've
> been working for a single Gradle-managed Spring Boot project and had
> developed a certain workflow I was enjoying. Right now I am using NetBeans
> 10 and I am pretty much satisfied with it (Except for a slow pop-up
> appearance when you do method autocomplete but I got used to it).
> So, at the top left corner there is a select-box where I can choose an
> active profile. I created 3 profiles where I provided
> Spring's spring.profiles.active setting through Custom Variables
> Category(or tab whatever). Now I can choose some profile and press F6 to
> run the project with it. This is very useful to me as I often change the
> database I need to work with(One profile runs with H2 and another with
> Mysql). Also It is very convenient to just press one key and project always
> runs with the selected profile.
> ​
> Recently I decided to give it a shot with Netbeans 12.0. Gradle
> configuration has been changed drastically. There is no more Profiles
> selectbox for Gradle projects. I discovered I can add a custom task by
> stating some current task and provide some additional parameters. But here
> are 2 problems with this approach:
> ​
> 1) It modifies my gradle.properties file (adds 2 properties
> action.custom-1, action.custom-1.args) and it is under version control. Now
> I must talk to the project manager and ask for permission to commit the
> changes. I do not think he would be happy to have some Netbeans specific
> properties in the configuration considering only me in our team uses
> Netbeans. I rather liked the old approach where all this additional stuff
> was saved in a Gradle Plugin config files which were excluded from Git.
> ​
> 2) And most important one. How would I run my custom Task with a key
> combination? When I press F6 always the default bootRun Spring Boot task is
> executed. I always have to press the right mouse button and select the
> desired Task from a context menu.
> ​
> Considering all of that, it is not so comfortable to work with Gradle
> projects anymore. Seems like a regression to me, so I stay for Netbeans 10
> for now.
> ​
> And my question is. Is there a way to improve it? Maybe I am missing
> something?
> Is it possible to bring the profile selection back in some future NetBeans
> versions?
>


Re: Networking module? Netbeans platform

2020-07-20 Thread Emilian Bold
Hm, I never tested this but I wonder if opening a plain URL connection
goes through the proxy or not. Perhaps it does?

We have the Core Network module but it's not public API
https://bits.netbeans.org/dev/javadoc/org-netbeans-core-network/overview-summary.html

And, of course, the autoupdate infra would use the proper proxy
settings. I'm just not certain modules get that for free...

--emi

On Sun, Jul 19, 2020 at 11:01 PM Jonathan Bergh
 wrote:
>
> hi there,
>
> I'm not sure if this is the correct list to email, however, does anyone know 
> whether the Netbeans platform has a built in networking module? Nothing is 
> mentioned in the book i'm reading (Def Guide to NB Platform 7), however, I 
> notice even in a plain NB platform build, there are proxy network settings in 
> the Options panels.
>
> Does this mean there is a built set of networking classes which can be used, 
> or do you need to write your own networking code if you want to do TCP / IP 
> stuff in your NB platform app?
>
> thanks in advance,
> regards
> jon

-
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 8.2 Maven Artifacts, anyone?

2020-07-16 Thread Emilian Bold
This sounds like web scrapping almost.

Can somebody from Oracle either create a huge tar file to download or at
least do a 'find .' on the server so we have a full list of files to backup?

Historical releases are also worth keeping.

--emi

joi, 16 iul. 2020, 22:22 antonio  a scris:

> Hi Emi,
>
> I think that the easiest way to download the stuff it using the Maven
> Indexer. I think that you can use that to fetch a list of artifacts (and
> even the artifacts themselves) for all Oracle NetBeans releases.
>
> Kind regards,
> Antonio
>
> El 16/7/20 a las 17:38, Emilian Bold escribió:
> > Loads of people do. Please provide a way to easily download what
> > NetBeans/Oracle plans on deleting and I will back then up somewhere.
> >
> > --emi
> >
> > joi, 16 iul. 2020, 11:17 Antonio  > <mailto:anto...@vieiro.net>> a scris:
> >
> > Hi all,
> >
> > Is anybody still using NetBeans 8.2 Maven artifacts? Is there any
> > interest in keeping those around?
> >
> > Those old artifacts are being kept in Oracle servers, and could be
> > decomissioned soon. Is there any interest in keeping them around?
> >
> > Thanks,
> > Antonio
> >
> > -
> > To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
> > <mailto:users-unsubscr...@netbeans.apache.org>
> > For additional commands, e-mail: users-h...@netbeans.apache.org
> > <mailto: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 8.2 Maven Artifacts, anyone?

2020-07-16 Thread Emilian Bold
Loads of people do. Please provide a way to easily download what
NetBeans/Oracle plans on deleting and I will back then up somewhere.

--emi

joi, 16 iul. 2020, 11:17 Antonio  a scris:

> Hi all,
>
> Is anybody still using NetBeans 8.2 Maven artifacts? Is there any
> interest in keeping those around?
>
> Those old artifacts are being kept in Oracle servers, and could be
> decomissioned soon. Is there any interest in keeping them around?
>
> Thanks,
> Antonio
>
> -
> 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
>
>


Racing condition in DataFolder.setSortMode(DataFolder.SortMode.LAST_MODIFIED)?

2020-07-12 Thread Emilian Bold
I have a strong suspicion that org-openide-loaders
DataFolder.setSortMode(DataFolder.SortMode.LAST_MODIFIED)
could lead to a racing condition in the sorting and cause something like

https://bz.apache.org/netbeans/show_bug.cgi?id=257997

java.lang.IllegalArgumentException: Comparison method violates its
general contract!
at java.util.TimSort.mergeHi(TimSort.java:868)
at java.util.TimSort.mergeAt(TimSort.java:485)
at java.util.TimSort.mergeForceCollapse(TimSort.java:426)
at java.util.TimSort.sort(TimSort.java:223)
at java.util.TimSort.sort(TimSort.java:173)
at java.util.Arrays.sort(Arrays.java:659)
at java.util.Collections.sort(Collections.java:217)
at
org.openide.loaders.FolderList.carefullySort(FolderList.java:600)
at
org.openide.loaders.FolderList.getObjects(FolderList.java:570)
at org.openide.loaders.FolderList.access$600(FolderList.java:77)
at
org.openide.loaders.FolderList$ComparatorTask.run(FolderList.java:1028)

The reason being that the file timestamp might change *while* the list
if being sorted and
break the comparator contract.

(I also suspect that perhaps some DataObject instantiation could
further delay things long enough for a timestamp to be changed but
this is not really required.)

FolderComparator(FolderComparator.LAST_MODIFIED) as used by DataFolder
needs to be looked at perhaps.

I wonder, does the filesystem prevent the timestamp from being changed
during that careful sorting? Or is there some other locking preventing
this? It's a bit of work but I think a test case could be created
reproducing it.

--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: NetBeans RCP

2020-07-10 Thread Emilian Bold
I think one of the books has recently been updated given the Apache move.

Still, things haven't changed that much on the Platform side so any
older reference will /kinda/ work just as well.

The lack of JavaHelp and JavaFX not being part of the JRE are going to
be your biggest concerns.

--emi

On Fri, Jul 10, 2020 at 11:10 AM Kristian Rink  wrote:
>
> Folks;
>
> haven't been here or with NetBeans in a while but, given a bit more time
> at hand right now, am looking into a smaller project that needs a
> desktop environment. As NetBeans has changed considerably since I last
> touched it, just a short question: Is NetBeans RCP still a thing? Still
> have two books on that issue that date back to as far as 2007, and am
> unsure (after taking a quick dive/browser) how up-to-date the docs on
> https://netbeans.apache.org/tutorials/nbm-quick-start.html are... Any
> recommendations where to start, if at all...? :)
>
> Thanks and best,
> Kristian
>
> -
> 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: [Bugtracking API] Create new task in LocalTasks Repository programmatically ?

2020-07-08 Thread Emilian Bold
That other method returns a Local task which has some setters. Is that not
enough?

--emi

lun., 6 iul. 2020, 10:37 Bilu  a scris:

> Is this possible ?
> Le 29/06/2020 à 10:59, Bilu a écrit :
>
> Hello,
>
> Is there a way to add new task to the local repository programmatically ?
>
> Bugtracking API provides Util.createIssue(Repository repository,  String
> summary,  String description) but this method throw  an
> java.lang.UnsupportedOperationException: Not supported yet.
> at
> org.netbeans.modules.localtasks.RepositoryProviderImpl.createIssue(RepositoryProviderImpl.java:94)
> at
> org.netbeans.modules.localtasks.RepositoryProviderImpl.createIssue(RepositoryProviderImpl.java:35)
> at
> org.netbeans.modules.bugtracking.RepositoryImpl.createNewIssue(RepositoryImpl.java:248)
> at org.netbeans.modules.bugtracking.api.Util.createIssue(Util.java:150)
>
> and indeed seems not supported yet by the API:
> https://github.com/apache/netbeans/blob/0f2e98d513deaedccef831ee9cfc08d09f3650b6/ide/localtasks/src/org/netbeans/modules/localtasks/RepositoryProviderImpl.java#L94
>
> So is there another way to achieve this and create new local tasks
> programmatically?
>
>


Re: Running NetBeans version

2020-07-07 Thread Emilian Bold
Note that your module could run on any NetBeans Platform app, not just on
IDE.

Two approaches:

* via branding: eg. http://wiki.netbeans.org/DevFaqMainTitle
* via module versions / ModuleInfo:
https://netbeans.org/download/5_5/org-openide-modules/org/openide/modules/doc-files/api.html#listing

--emi


On Wed, Jul 8, 2020 at 1:39 AM Michael Wiedeking <
michael.wiedek...@mathema.de> wrote:

>
>
> Hello (again),
>
>
>
> is there a way from within my module to retrieve the version of the
> currently running NetBeans instance?
>
>
>
> Thanks for the help,
>
>
>
> M.
>


Re: JavaFx Problem

2020-07-05 Thread Emilian Bold
Start by telling us which errors you see.

--emi

lun., 6 iul. 2020, 08:04 Brain Rebooting  a scris:

> Why Apache NetBeans 12 don't execute my JavaFX program? I run the same to
> same program in IntelliJ IDEA community edition and it works. But NetBeans
> shows there are some errors. Here is my software usage:
>
> Apache NetBeans 12
> Ubuntu 18
> JDK 8
>
>
> Samiul alom sium
> Bangladesh
>


Is NetBeans too eager to scan folders?

2020-06-26 Thread Emilian Bold
Hello,

I know we have native file listeners which are super snappy but I now
think NetBeans is too eager to scan folders!

For example, I see the IDE take a lot of CPU doing 'Background
scanning of projects' and that background scanning seems to eagerly
index the build/ classes that Gradle is just generating after being
invoked by me in the terminal.

So, NetBeans is effectively slowing down the overall compilation by
grabbing CPU and IO too soon.

I wonder if we could apply different strategies here, maybe some smart
delays or throttling? I suspect the overall experience would be better
if the IDE would index *after* Gradle is done.

I'm also wondering if the whole Lucene backend we have is not
re-indexing the same things too often. Maybe just doing a hash on a
file is faster than revisiting and reindexing the whole .class. I
would like for this part to be pluggable. I'm curious if using some
other indexing backend would make the IDE more snappy. It's been a
while since I looked at that code so I can't remember how modular it
all really was... I think most of it is built with Lucene in mind.

--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: Command line parameter with JUnit

2020-06-20 Thread Emilian Bold
Maybe just plain -D

--emi

On Sat, Jun 20, 2020 at 7:48 PM Jerome Lelasseux
 wrote:
>
> I need to change the logging level of some files during unit tests (NB 11.3).
>
> According to this wiki page 
> http://wiki.netbeans.org/DevRunningTestsPlatformApp   it's possible to add 
> command line parameters for unit tests using the "test.run.args" property.
>
> But when I add  "test.run.args=-J-DMyLogger.level=200" in 
> module/nbproject/project.properties, the unit test fails:
>
> Unrecognized option: -J-DMyLogger.level=200
> Error: Could not create the Java Virtual Machine.
> Error: A fatal exception has occurred. Program will exit.
>
> Is there another way to do it ?
>
>
>
>

-
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: nbm-maven-plug for java14

2020-06-13 Thread Emilian Bold
https://github.com/apache/netbeans-mavenutils-nbm-maven-plugin

--emi

On Sun, Jun 14, 2020 at 12:45 AM Richard Linsdale
 wrote:
>
> I have just upgraded to Netbeans 12.0 and java14 and am have trouble in 
> getting a suitable version of the nbm-maven-plug which works in this 
> environment.  Version 4.5 does not accept Java14 compiled classes.  The 
> documentation for the plugin states the latest version is 4.6-SNAPSHOT, but I 
> can't find any details of where to find snapshot releases for this plugin.  
> Does anyone know the repository url?  Otherwise can I ask when the 4.6 
> version is planned to be released (and by implication will be available from 
> Maven Central).
>
> Product Version: Apache NetBeans IDE 12.0
>
> Java: 14.0.1; OpenJDK 64-Bit Server VM 14.0.1+7
>
> Runtime: OpenJDK Runtime Environment 14.0.1+7
>
> System: Mac OS X version 10.14.6 running on x86_64; UTF-8; en_GB (nb)
>
> User directory: /Users/richard/Library/Application Support/NetBeans/12.0
>
> Cache directory: /Users/richard/Library/Caches/NetBeans/12.0
>
> thanks for any information
>
> Richard

-
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: problem with xquartz on mac osx

2020-06-12 Thread Emilian Bold
One is copy pasting text the other files. My guess is that on OSX you have
some local clipboard configured by default which means it might try to put
that file in the macOS clipboard and it does nothing. Try disabling the
clipboard in the Quartz config and see if you see the same problem.

--emi

vin., 12 iun. 2020, 10:45 Roberto Tagliaferri - Tosnet srl <
r.tagliafe...@tosnet.it> a scris:

> Good morning.
> I've a development server with fedora 29,X.Org X Server 1.20.4 and
> netbeans (11.3 and 12)
> The developers access with linux, windows 7 and mac osx Uquartz library)
> to the server and use netbeans with Xorg (i try to use local netbeans but
> the scan of project is very very slow).
> Work fine on all system but on osX i can't use copy and paste in the
> project or file window.
> In editor window work fine.
>
> Where is the problem?
>
> Thank you (and excuse for the english)
>
>
> --
> [image: TosNet.it]
>
>
> Roberto Tagliaferri
>
> Responsabile Progettazione & Produzione
> TosNet s.r.l. - Internet Service Provider
> *Office*: +39 0574 875 100
> *Mobile*: +39 329 591 3899
> *Fax*: +39 0574 875 199
> *Email*: r.tagliafe...@tosnet.it
> *Web*: www.tosnet.it
> *Skype*: ilrobyt
>


Re: "Runtime Platform" in (Ant) project properties

2020-06-10 Thread Emilian Bold
This sounds like an easy 'first-issue' for new contributors. I wanted
to quickly create one issue on GitHub but then I saw we have JIRA and
I don't know my login there...

Just commenting that block would be fine I think. The only problem is
make sure the layout doesn't get messed up due to that.

--emi

On Wed, Jun 10, 2020 at 9:28 AM Thomas Kellerer  wrote:
>
> Well, if that dropdown doesn't do anything I absolutely vote to remove it (or 
> implement the feature it promises to do ;) )
>
> Thomas
>
>
> Emilian Bold schrieb am 06.06.2020 um 14:45:
> > Sounds like that combobox is pointless and confusing to users and should be 
> > removed?
> >
> > --emi
> >
> > sâm., 6 iun. 2020, 15:24 Geertjan Wielenga  > <mailto:geert...@apache.org>> a scris:
> >
> > 
> > https://stackoverflow.com/questions/35071993/how-to-change-netbeans-java-project-runtime
> >
> > That might help and at least explains the current state.
> >
> > Gj
> >
> > On Sat, Jun 6, 2020 at 11:25 AM Geertjan Wielenga  > <mailto:geert...@apache.org>> wrote:
> >
> > Can you describe your scenario more explicitly so that it can be 
> > understood?
> >
> > I.e., why do you want to compile & build with JDK 8 and run with 
> > JDK 11?
> >
> > Gj
> >
> > On Sat, Jun 6, 2020 at 10:59 AM Thomas Kellerer  > <mailto:sham...@gmx.net>> wrote:
> >
> > Thomas Kellerer schrieb am 29.05.2020 um 09:52:
> > > What is the intended use of the "Runtime Platform" drop down 
> > in the project properties of an Ant project?
> > >
> > > The only option it shows is "Project Platform", even though I 
> > have multiple JDKs configured in the IDE.
> > > The "Manage Platforms" button next to the dropdown simply 
> > takes me to the "Java Platform Manager" where I can see the JDKs that I 
> > have configured.
> > >
> > > What I would like to achieve is to compile & build with JDK 
> > 8, but run with JDK 11.
> > >
> > > Do I need to register the JDK in a special way so that it 
> > shows up in the dropdown?
> > >
> > > I am using NetBeans 12.0beta6 (but 11.3 behaves the same way)
> >
> > Can anyone shed a light on what the dropdown is for?
> >
> >
> >
> > 
> > -
> > To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org 
> > <mailto:users-unsubscr...@netbeans.apache.org>
> > For additional commands, e-mail: users-h...@netbeans.apache.org 
> > <mailto: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: "Runtime Platform" in (Ant) project properties

2020-06-06 Thread Emilian Bold
Sounds like that combobox is pointless and confusing to users and should be
removed?

--emi

sâm., 6 iun. 2020, 15:24 Geertjan Wielenga  a scris:

>
> https://stackoverflow.com/questions/35071993/how-to-change-netbeans-java-project-runtime
>
> That might help and at least explains the current state.
>
> Gj
>
> On Sat, Jun 6, 2020 at 11:25 AM Geertjan Wielenga 
> wrote:
>
>> Can you describe your scenario more explicitly so that it can be
>> understood?
>>
>> I.e., why do you want to compile & build with JDK 8 and run with JDK 11?
>>
>> Gj
>>
>> On Sat, Jun 6, 2020 at 10:59 AM Thomas Kellerer  wrote:
>>
>>> Thomas Kellerer schrieb am 29.05.2020 um 09:52:
>>> > What is the intended use of the "Runtime Platform" drop down in the
>>> project properties of an Ant project?
>>> >
>>> > The only option it shows is "Project Platform", even though I have
>>> multiple JDKs configured in the IDE.
>>> > The "Manage Platforms" button next to the dropdown simply takes me to
>>> the "Java Platform Manager" where I can see the JDKs that I have configured.
>>> >
>>> > What I would like to achieve is to compile & build with JDK 8, but run
>>> with JDK 11.
>>> >
>>> > Do I need to register the JDK in a special way so that it shows up in
>>> the dropdown?
>>> >
>>> > I am using NetBeans 12.0beta6 (but 11.3 behaves the same way)
>>>
>>> Can anyone shed a light on what the dropdown is for?
>>>
>>>
>>>
>>> -
>>> 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: Layer.xml: How to Register new Language in Editor option language context tab

2020-06-03 Thread Emilian Bold
Aren't you using an annotation which creates a generated-layer?

--emi


On Wed, Jun 3, 2020 at 6:45 PM Bilu Al  wrote:

> yes it works even without registering it in the layer.xml. Should be
> another API probably...
>
> Le mer. 3 juin 2020 à 16:43, Emilian Bold  a
> écrit :
>
>> So code folding works. I'm not sure which API offers integration into
>> that Options panel...
>>
>> --emi
>>
>>
>> On Wed, Jun 3, 2020 at 5:37 PM Bilu Al  wrote:
>>
>>> hum, i am not sure. I was hoping it would work like the CodeTemplates.
>>>
>>> Its works fine in the Editor, i would like to be able to enable/disable
>>> it in the Editor Options for that specific language
>>>
>>> Le mer. 3 juin 2020 à 13:07, Emilian Bold  a
>>> écrit :
>>>
>>>> Hm, I never knew code folding is supposed to auto-register in that
>>>> setting panel. Are you sure?
>>>>
>>>> Do you not see code folding in the editor?
>>>>
>>>> --emi
>>>>
>>>>
>>>> On Wed, Jun 3, 2020 at 12:37 PM Bilu Al  wrote:
>>>>
>>>>> Its not working:
>>>>> [image: 25.png]
>>>>>
>>>>> but for CodeTemplate works fine my custom language is displayed:
>>>>> [image: 22.png]
>>>>>
>>>>>
>>>>> is there anything wrong in my layer.xml ?
>>>>>
>>>>> Le mer. 3 juin 2020 à 08:01, Emilian Bold  a
>>>>> écrit :
>>>>>
>>>>>> Looks good to me:
>>>>>>
>>>>>> > Register FoldManagerFactory into xml layer into the directory
>>>>>> "Editors//FoldManager/"
>>>>>>
>>>>>> --emi
>>>>>>
>>>>>> On Wed, Jun 3, 2020 at 1:42 AM Bilu Al  wrote:
>>>>>> >
>>>>>> > Hello,
>>>>>> >
>>>>>> > Is it possible to register custom language to the language context
>>>>>> tab in editor options for: Folding, Formating, Hints etc...
>>>>>> >
>>>>>> > This works fine for CodeTemplates in layer file :
>>>>>> > 
>>>>>> > 
>>>>>> > 
>>>>>> > 
>>>>>> >   >>>>> url="/com/xxx/xxx/config/Xxxtemplates.xml"/>
>>>>>> >  
>>>>>> >
>>>>>> >
>>>>>> > But not for FoldManager, not sure to have the right syntax.
>>>>>> FoldManagerFactory already implemented:
>>>>>> > 
>>>>>> > 
>>>>>> > 
>>>>>> >
>>>>>> >
>>>>>> >
>>>>>> >
>>>>>> -
>>>>>> > 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: Layer.xml: How to Register new Language in Editor option language context tab

2020-06-03 Thread Emilian Bold
So code folding works. I'm not sure which API offers integration into that
Options panel...

--emi


On Wed, Jun 3, 2020 at 5:37 PM Bilu Al  wrote:

> hum, i am not sure. I was hoping it would work like the CodeTemplates.
>
> Its works fine in the Editor, i would like to be able to enable/disable it
> in the Editor Options for that specific language
>
> Le mer. 3 juin 2020 à 13:07, Emilian Bold  a
> écrit :
>
>> Hm, I never knew code folding is supposed to auto-register in that
>> setting panel. Are you sure?
>>
>> Do you not see code folding in the editor?
>>
>> --emi
>>
>>
>> On Wed, Jun 3, 2020 at 12:37 PM Bilu Al  wrote:
>>
>>> Its not working:
>>> [image: 25.png]
>>>
>>> but for CodeTemplate works fine my custom language is displayed:
>>> [image: 22.png]
>>>
>>>
>>> is there anything wrong in my layer.xml ?
>>>
>>> Le mer. 3 juin 2020 à 08:01, Emilian Bold  a
>>> écrit :
>>>
>>>> Looks good to me:
>>>>
>>>> > Register FoldManagerFactory into xml layer into the directory
>>>> "Editors//FoldManager/"
>>>>
>>>> --emi
>>>>
>>>> On Wed, Jun 3, 2020 at 1:42 AM Bilu Al  wrote:
>>>> >
>>>> > Hello,
>>>> >
>>>> > Is it possible to register custom language to the language context
>>>> tab in editor options for: Folding, Formating, Hints etc...
>>>> >
>>>> > This works fine for CodeTemplates in layer file :
>>>> > 
>>>> > 
>>>> > 
>>>> > 
>>>> >   >>> url="/com/xxx/xxx/config/Xxxtemplates.xml"/>
>>>> >  
>>>> >
>>>> >
>>>> > But not for FoldManager, not sure to have the right syntax.
>>>> FoldManagerFactory already implemented:
>>>> > 
>>>> > 
>>>> > 
>>>> >
>>>> >
>>>> >
>>>> > -
>>>> > 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: Layer.xml: How to Register new Language in Editor option language context tab

2020-06-03 Thread Emilian Bold
Hm, I never knew code folding is supposed to auto-register in that setting
panel. Are you sure?

Do you not see code folding in the editor?

--emi


On Wed, Jun 3, 2020 at 12:37 PM Bilu Al  wrote:

> Its not working:
> [image: 25.png]
>
> but for CodeTemplate works fine my custom language is displayed:
> [image: 22.png]
>
>
> is there anything wrong in my layer.xml ?
>
> Le mer. 3 juin 2020 à 08:01, Emilian Bold  a
> écrit :
>
>> Looks good to me:
>>
>> > Register FoldManagerFactory into xml layer into the directory
>> "Editors//FoldManager/"
>>
>> --emi
>>
>> On Wed, Jun 3, 2020 at 1:42 AM Bilu Al  wrote:
>> >
>> > Hello,
>> >
>> > Is it possible to register custom language to the language context tab
>> in editor options for: Folding, Formating, Hints etc...
>> >
>> > This works fine for CodeTemplates in layer file :
>> > 
>> > 
>> > 
>> > 
>> >   > url="/com/xxx/xxx/config/Xxxtemplates.xml"/>
>> >  
>> >
>> >
>> > But not for FoldManager, not sure to have the right syntax.
>> FoldManagerFactory already implemented:
>> > 
>> > 
>> > 
>> >
>> >
>> >
>> > -
>> > 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: Layer.xml: How to Register new Language in Editor option language context tab

2020-06-03 Thread Emilian Bold
Looks good to me:

> Register FoldManagerFactory into xml layer into the directory 
> "Editors//FoldManager/"

--emi

On Wed, Jun 3, 2020 at 1:42 AM Bilu Al  wrote:
>
> Hello,
>
> Is it possible to register custom language to the language context tab in 
> editor options for: Folding, Formating, Hints etc...
>
> This works fine for CodeTemplates in layer file :
> 
> 
> 
> 
>url="/com/xxx/xxx/config/Xxxtemplates.xml"/>
>  
>
>
> But not for FoldManager, not sure to have the right syntax. 
> FoldManagerFactory already implemented:
> 
> 
> 
>
>
>
> -
> 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.3 C/C++ Plugin

2020-06-01 Thread Emilian Bold
OpenBeans is based on 11.2 but has the C/C++ modules freshly compiled:
http://www.openbeans.org/comparison.html

--emi

On Mon, Jun 1, 2020 at 2:07 AM Ulf Zibis  wrote:
>
> Hi,
>
> you can add this UpdateCenter to NB: 
> http://updates.netbeans.org/netbeans/updates/8.2/uc/final/distribution/catalog.xml.gz
>
> Alternatively, you may find something here:
> https://cwiki.apache.org/confluence/display/NETBEANS/Where+to+download+plugins+for+NetBeans+10.0+and+earlier
> http://bits.netbeans.org/dev/nbms-and-javadoc/lastSuccessfulBuild/artifact/nbbuild/nbms/updates.xml.gz
>
> In my experience, unfortunately the debugger does not work any more 100 % 
> with NB 11.3
>
> -Ulf
>
> Am 31.05.20 um 22:03 schrieb slipbits:
>
> Netbeans 11.3
> Win 7-64 bit
> Cygwin
>
> I would like to install a C/C++ plugin for Netbeans 11.3. The comments I've 
> read seem to indicate that an integrated C/C++ has been in the offing for 
> quite some time (Oracle was late in delivering the C/C++ modules).  I have 
> had header difficulty with Netbeans 8.2 and g++ - resolved when I used Visual 
> Studio. But I'd like an integrated environment with Netbeans.
>
>
>

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

2020-05-30 Thread Emilian Bold
Yes, this could be good publicity right before the release!

--emi

sâm., 30 mai 2020, 16:57 Emma Atkinson  a scris:

> I wouldn't treat this as a negative thing about which to be defensive. It
> can be positive and show the team in a good light.
>
> Here's a suggestion
>
> We are aware of news report ... etc.
> We contacted the researchers behind the news.  They found 26 infected
> projects. The owners have been contacted and their accounts have been made
> private, which we think is the correct action.
> We contacted the researcher who has given us some additional information.
> We will examine the information to identify whether there is anything we
> could add or change to Netbeans. There appears to be no need for urgent
> action ahead of the imminent release of Netbeans IDE version 12.
>
> Perhaps add.
>
> We welcome suggestions from Netbeans  users. Please send your constructive
> proposals and suggestions to .
>
> Then give the key details of the problems uncovered.
>
>
> Just a suggestion.
>
> Emma
>
>
>
>
> On Sat, 30 May 2020, 14:11 Geertjan Wielenga,  wrote:
>
>>
>> OK, I’ll put together a blog we can refer to that will say this —
>> “research has been done on GitHub that identified 26 small Ant-based Java
>> projects, mostly games, some of them by the same person, none of the
>> projects appeared to be enterprise/professional, that had been infiltrated
>> by malware. The projects have been set to private on GitHub and the project
>> owners have been approached about this. The malware campaign has had very
>> low impact and is considered by GitHub to be over.”
>>
>> Most of the above is not in the research article, but comes from me
>> asking repeated questions on Twitter to the guy behind tbe report.
>>
>> Gj
>>
>>
>> On Sat, 30 May 2020 at 13:57, Emilian Bold 
>> wrote:
>>
>>> Note this is not a CVE since it's not a NetBeans vulnerability.
>>>
>>> Executing any build will run with the local user privileges on any
>>> popular IDE and injecting something dubious in a build is trivial.
>>>
>>> Still, I think GitHub could have approached the Apache security team so
>>> the NetBeans PMC has a reply to this.
>>>
>>> It would be trivial to push a check for that cache.dat file but it's not
>>> the role of the IDE to play at being an antivirus.
>>>
>>> --emi
>>>
>>> sâm., 30 mai 2020, 14:03 Geertjan Wielenga  a
>>> scris:
>>>
>>>>
>>>> It seems to me like we should put out a blog entry with some response
>>>> to this. Just so that we have a central point to refer to when people ask
>>>> about this.
>>>>
>>>> However, I have no idea what that blog entry should say, beyond “if
>>>> someone wants to do so, they can inject malware into the build process of
>>>> software, here’s an example of how they can do that”, and then point to
>>>> that report.
>>>>
>>>> Gj
>>>>
>>>> On Sat, 30 May 2020 at 12:08, Emma Atkinson 
>>>> wrote:
>>>>
>>>>> Should someone from the Apache Netbeans governing team, approach
>>>>> Microsoft for information on this matter?
>>>>>
>>>>> I would have thought Microsoft GitHub would welcome any approach that
>>>>> might go some way toward tackling the problem.  Knowing details should
>>>>> enable the Netbeans and NetbeansIDE communities to help. It would also be
>>>>> good for the public to know Apache Netbeans takes these matters as
>>>>> seriously as Oracle would have done.  Be on the front foot.
>>>>>
>>>>> This might be a matter of reducing risk rather than eliminating a
>>>>> vulnerability.  Any fix may not involve much effort. Perhaps a written or
>>>>> updated guide might be all that is needed. If the contaminated accounts
>>>>> belong to computer science students, perhaps some changes to Apache
>>>>> Netbeans IDE defaults, or added warnings would help users avoid 
>>>>> inadvertent
>>>>> contamination of their code or build environments from untrusted origins. 
>>>>> A
>>>>> general lesson in good practice perhaps.
>>>>>
>>>>> Emma
>>>>>
>>>>>
>>>>> On Sat, 30 May 2020, 09:32 Emilian Bold, 
>>>>> wrote:
>>>>>
>>>>>> I'm leaning towards this being a student project hon

Re: Netbeans and malware article

2020-05-30 Thread Emilian Bold
Note this is not a CVE since it's not a NetBeans vulnerability.

Executing any build will run with the local user privileges on any popular
IDE and injecting something dubious in a build is trivial.

Still, I think GitHub could have approached the Apache security team so the
NetBeans PMC has a reply to this.

It would be trivial to push a check for that cache.dat file but it's not
the role of the IDE to play at being an antivirus.

--emi

sâm., 30 mai 2020, 14:03 Geertjan Wielenga  a scris:

>
> It seems to me like we should put out a blog entry with some response to
> this. Just so that we have a central point to refer to when people ask
> about this.
>
> However, I have no idea what that blog entry should say, beyond “if
> someone wants to do so, they can inject malware into the build process of
> software, here’s an example of how they can do that”, and then point to
> that report.
>
> Gj
>
> On Sat, 30 May 2020 at 12:08, Emma Atkinson 
> wrote:
>
>> Should someone from the Apache Netbeans governing team, approach
>> Microsoft for information on this matter?
>>
>> I would have thought Microsoft GitHub would welcome any approach that
>> might go some way toward tackling the problem.  Knowing details should
>> enable the Netbeans and NetbeansIDE communities to help. It would also be
>> good for the public to know Apache Netbeans takes these matters as
>> seriously as Oracle would have done.  Be on the front foot.
>>
>> This might be a matter of reducing risk rather than eliminating a
>> vulnerability.  Any fix may not involve much effort. Perhaps a written or
>> updated guide might be all that is needed. If the contaminated accounts
>> belong to computer science students, perhaps some changes to Apache
>> Netbeans IDE defaults, or added warnings would help users avoid inadvertent
>> contamination of their code or build environments from untrusted origins. A
>> general lesson in good practice perhaps.
>>
>> Emma
>>
>>
>> On Sat, 30 May 2020, 09:32 Emilian Bold,  wrote:
>>
>>> I'm leaning towards this being a student project honestly. Why would a
>>> company developing a legacy project grab random unknown Ant-based
>>> projects from GitHub?
>>>
>>> But NetBeans is used a lot for teaching and I suspect teachers don't
>>> introduce Maven / Gradle since they are more complex and they use the
>>> default Ant-based build system.
>>>
>>> So, if a smart student wants to troll his fellow students it does
>>> something like this.
>>>
>>> Note that GitHub has the full logs of who uploaded, downloaded,
>>> visited and cloned those 26 projects but made no remarks about them. I
>>> think those logs would be highly informative as to source and the
>>> target domain / country. My money is on students from India / China /
>>> Greece / Brazil.
>>>
>>> --emi
>>>
>>> On Fri, May 29, 2020 at 11:50 PM Alan 
>>> wrote:
>>> >
>>> > The odds that a virus scanner would have a pattern for something like
>>> this are very low indeed, so in this specific case I doubt it would make a
>>> difference. However, excluding paths for any reason leaves an aperture open
>>> that could be exploited.
>>> >
>>> > The targeted attacks I've seen are amazingly specific. For example,
>>> someone profiled a customer site looking for the queries with the slowest
>>> response time, then launched requests against those pages at a rate low
>>> enough to not trigger DDoS protection on the network firewall, but to bring
>>> the site down anyway.
>>> >
>>> > This malware has the hallmarks of such a specific attack. Scan the end
>>> product for open source components, then infect the components, get in, get
>>> the code, go away. Not something your general antivirus software is ever
>>> going to even notice.
>>> >
>>> > On 2020-05-29 16:32, Juan Algaba wrote:
>>> >
>>> > I wonder if excluding netbeans from antivirus scanning (for
>>> performance reasons), but not the project folders, make you more at risk to
>>> something like this?
>>> >
>>> > On Fri, May 29, 2020 at 12:40 PM Alan 
>>> wrote:
>>> >>
>>> >> The malware is oddly focused. I suspect a specific group was being
>>> targeted. If eventually GitHub releases the project names that might
>>> provide a clue.
>>> >>
>>> >> On 2020-05-29 15:30, Emilian Bold wrote:
>>> >>
>>> >>  so I

Re: Netbeans and malware article

2020-05-30 Thread Emilian Bold
I'm leaning towards this being a student project honestly. Why would a
company developing a legacy project grab random unknown Ant-based
projects from GitHub?

But NetBeans is used a lot for teaching and I suspect teachers don't
introduce Maven / Gradle since they are more complex and they use the
default Ant-based build system.

So, if a smart student wants to troll his fellow students it does
something like this.

Note that GitHub has the full logs of who uploaded, downloaded,
visited and cloned those 26 projects but made no remarks about them. I
think those logs would be highly informative as to source and the
target domain / country. My money is on students from India / China /
Greece / Brazil.

--emi

On Fri, May 29, 2020 at 11:50 PM Alan  wrote:
>
> The odds that a virus scanner would have a pattern for something like this 
> are very low indeed, so in this specific case I doubt it would make a 
> difference. However, excluding paths for any reason leaves an aperture open 
> that could be exploited.
>
> The targeted attacks I've seen are amazingly specific. For example, someone 
> profiled a customer site looking for the queries with the slowest response 
> time, then launched requests against those pages at a rate low enough to not 
> trigger DDoS protection on the network firewall, but to bring the site down 
> anyway.
>
> This malware has the hallmarks of such a specific attack. Scan the end 
> product for open source components, then infect the components, get in, get 
> the code, go away. Not something your general antivirus software is ever 
> going to even notice.
>
> On 2020-05-29 16:32, Juan Algaba wrote:
>
> I wonder if excluding netbeans from antivirus scanning (for performance 
> reasons), but not the project folders, make you more at risk to something 
> like this?
>
> On Fri, May 29, 2020 at 12:40 PM Alan  wrote:
>>
>> The malware is oddly focused. I suspect a specific group was being targeted. 
>> If eventually GitHub releases the project names that might provide a clue.
>>
>> On 2020-05-29 15:30, Emilian Bold wrote:
>>
>>  so I guess this is all just about me. :-)
>>
>> Hehe.
>>
>> Still, they worked too much to target Ant and NetBeans. I think the
>> Gradle wrapper is a much easier target and developers will run
>> ./gradlew without a 2nd tought.
>>
>> --emi
>>
>> On Fri, May 29, 2020 at 10:25 PM Geertjan Wielenga  
>> wrote:
>>
>> Sure, those are simply Ant files.
>>
>> I also wonder about the 26 open source projects they refer to on GitHub, 
>> without naming them, where this problem was encountered. I have about that 
>> number of NetBeans projects in my GitHub repo, so I guess this is all just 
>> about me. :-)
>>
>> Gj
>>
>> On Fri, 29 May 2020 at 21:22, Scott Palmer  wrote:
>>
>> The malware explicitly targets NetBeans:
>>
>> The malware is capable of identifying the NetBeans project files and 
>> embedding malicious payload both in project files and build JAR files. Below 
>> is a high -evel description of the Octopus Scanner operation:
>>
>> • Identify user's NetBeans directory
>> • Enumerate all projects in the NetBeans directory
>> • Copy malicious payload cache.dat to nbproject/cache.dat
>> • Modify the nbproject/build-impl.xml file to make sure the malicious 
>> payload is executed every time NetBeans project is build
>> • If the malicious payload is an instance of the Octopus Scanner itself the 
>> newly built JAR file is also infected.
>>
>>
>>
>> Though they did also mention:
>>
>> "If malware developers took the time to implement this malware specifically 
>> for NetBeans, it means that it could either be a targeted attack, or they 
>> may already have implemented the malware for build systems such as Make, 
>> MsBuild, Gradle and others as well and it may be spreading unnoticed," 
>> GitHub added.
>>
>>
>> I’m not sure if there is any sort of sanity check NB can do to the cache.dat 
>> file to help prevent this.
>>
>> Scott
>>
>>
>> On May 29, 2020, at 3:16 PM, Geertjan Wielenga  wrote:
>>
>>
>> It seems to be saying that a build system that uses Apache Ant can be 
>> poisoned by malware. That probably is equally true for Gradle and Apache 
>> Maven — so I don’t understand why they’re picking on Ant.
>>
>> Gj
>>
>> On Fri, 29 May 2020 at 21:09, Peter Steele  wrote:
>>
>> Hi
>>
>> Saw this
>>
>> https://www.zdnet.com/article/github-warns-java-developers-of-new-malware-poisoning-netbeans-projects/
>>
>> Do we know anyt

Re: Netbeans and malware article

2020-05-29 Thread Emilian Bold
No, because it targets the project folders and the build artifacts,
not the NetBeans JARs themselves.

--emi

On Fri, May 29, 2020 at 11:33 PM Juan Algaba  wrote:
>
> I wonder if excluding netbeans from antivirus scanning (for performance 
> reasons), but not the project folders, make you more at risk to something 
> like this?
>
> On Fri, May 29, 2020 at 12:40 PM Alan  wrote:
>>
>> The malware is oddly focused. I suspect a specific group was being targeted. 
>> If eventually GitHub releases the project names that might provide a clue.
>>
>> On 2020-05-29 15:30, Emilian Bold wrote:
>>
>>  so I guess this is all just about me. :-)
>>
>> Hehe.
>>
>> Still, they worked too much to target Ant and NetBeans. I think the
>> Gradle wrapper is a much easier target and developers will run
>> ./gradlew without a 2nd tought.
>>
>> --emi
>>
>> On Fri, May 29, 2020 at 10:25 PM Geertjan Wielenga  
>> wrote:
>>
>> Sure, those are simply Ant files.
>>
>> I also wonder about the 26 open source projects they refer to on GitHub, 
>> without naming them, where this problem was encountered. I have about that 
>> number of NetBeans projects in my GitHub repo, so I guess this is all just 
>> about me. :-)
>>
>> Gj
>>
>> On Fri, 29 May 2020 at 21:22, Scott Palmer  wrote:
>>
>> The malware explicitly targets NetBeans:
>>
>> The malware is capable of identifying the NetBeans project files and 
>> embedding malicious payload both in project files and build JAR files. Below 
>> is a high -evel description of the Octopus Scanner operation:
>>
>> • Identify user's NetBeans directory
>> • Enumerate all projects in the NetBeans directory
>> • Copy malicious payload cache.dat to nbproject/cache.dat
>> • Modify the nbproject/build-impl.xml file to make sure the malicious 
>> payload is executed every time NetBeans project is build
>> • If the malicious payload is an instance of the Octopus Scanner itself the 
>> newly built JAR file is also infected.
>>
>>
>>
>> Though they did also mention:
>>
>> "If malware developers took the time to implement this malware specifically 
>> for NetBeans, it means that it could either be a targeted attack, or they 
>> may already have implemented the malware for build systems such as Make, 
>> MsBuild, Gradle and others as well and it may be spreading unnoticed," 
>> GitHub added.
>>
>>
>> I’m not sure if there is any sort of sanity check NB can do to the cache.dat 
>> file to help prevent this.
>>
>> Scott
>>
>>
>> On May 29, 2020, at 3:16 PM, Geertjan Wielenga  wrote:
>>
>>
>> It seems to be saying that a build system that uses Apache Ant can be 
>> poisoned by malware. That probably is equally true for Gradle and Apache 
>> Maven — so I don’t understand why they’re picking on Ant.
>>
>> Gj
>>
>> On Fri, 29 May 2020 at 21:09, Peter Steele  wrote:
>>
>> Hi
>>
>> Saw this
>>
>> https://www.zdnet.com/article/github-warns-java-developers-of-new-malware-poisoning-netbeans-projects/
>>
>> Do we know anything more about this?
>>
>>
>> -
>> 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
>>
>>
>>
>
>
> --
>
> -Juan Algaba

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

2020-05-29 Thread Emilian Bold
>  so I guess this is all just about me. :-)

Hehe.

Still, they worked too much to target Ant and NetBeans. I think the
Gradle wrapper is a much easier target and developers will run
./gradlew without a 2nd tought.

--emi

On Fri, May 29, 2020 at 10:25 PM Geertjan Wielenga  wrote:
>
>
> Sure, those are simply Ant files.
>
> I also wonder about the 26 open source projects they refer to on GitHub, 
> without naming them, where this problem was encountered. I have about that 
> number of NetBeans projects in my GitHub repo, so I guess this is all just 
> about me. :-)
>
> Gj
>
> On Fri, 29 May 2020 at 21:22, Scott Palmer  wrote:
>>
>> The malware explicitly targets NetBeans:
>>
>> The malware is capable of identifying the NetBeans project files and 
>> embedding malicious payload both in project files and build JAR files. Below 
>> is a high -evel description of the Octopus Scanner operation:
>>
>> • Identify user's NetBeans directory
>> • Enumerate all projects in the NetBeans directory
>> • Copy malicious payload cache.dat to nbproject/cache.dat
>> • Modify the nbproject/build-impl.xml file to make sure the malicious 
>> payload is executed every time NetBeans project is build
>> • If the malicious payload is an instance of the Octopus Scanner itself the 
>> newly built JAR file is also infected.
>>
>>
>>
>> Though they did also mention:
>>
>> "If malware developers took the time to implement this malware specifically 
>> for NetBeans, it means that it could either be a targeted attack, or they 
>> may already have implemented the malware for build systems such as Make, 
>> MsBuild, Gradle and others as well and it may be spreading unnoticed," 
>> GitHub added.
>>
>>
>> I’m not sure if there is any sort of sanity check NB can do to the cache.dat 
>> file to help prevent this.
>>
>> Scott
>>
>>
>> On May 29, 2020, at 3:16 PM, Geertjan Wielenga  wrote:
>>
>>
>> It seems to be saying that a build system that uses Apache Ant can be 
>> poisoned by malware. That probably is equally true for Gradle and Apache 
>> Maven — so I don’t understand why they’re picking on Ant.
>>
>> Gj
>>
>> On Fri, 29 May 2020 at 21:09, Peter Steele  wrote:
>>>
>>> Hi
>>>
>>> Saw this
>>>
>>> https://www.zdnet.com/article/github-warns-java-developers-of-new-malware-poisoning-netbeans-projects/
>>>
>>> Do we know anything more about this?
>>>
>>>
>>

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

2020-05-29 Thread Emilian Bold
Seems near-impossible for this to actually be in the wild.

According to 
https://securitylab.github.com/research/octopus-scanner-malware-open-source-supply-chain
macOS developer machines seem unaffected. For Linux / Windows
developer machines look for:

* nbproject/cache.dat files
* $HOME/.local/share/octo
* $HOME/.config/autostart/octo.desktop
* $TEMP/../Microsoft/Cache134.dat

Infected build artifacts will also work on macOS and create:

* $HOME/Library/LaunchAgents/AutoUpdater.dat
* $HOME/.local/share/bbauto
* $HOME/Library/LaunchAgents/AutoUpdater.plist
* $HOME/.config/autostart/none.desktop
* $HOME/.config/autostart/.desktop
* $HOME/Library/LaunchAgents/SoftwareSync.plist
* %TEMP%\..\Microsoft\ExplorerSync.db

--emi

On Fri, May 29, 2020 at 10:09 PM Peter Steele  wrote:
>
> Hi
>
> Saw this
>
> https://www.zdnet.com/article/github-warns-java-developers-of-new-malware-poisoning-netbeans-projects/
>
> Do we know anything more about this?
>
>

-
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: Problem with libs

2020-05-28 Thread Emilian Bold
It's not related to Windows.

I guess in your old IDE you defined a library for MySQL and registered the
driver JAR in there. (Tools something menu)

Your project is referencing it but you are missing it in the new IDE.

--emi

mie., 27 mai 2020, 20:36 Ken Litkowski  a scris:

> I am getting the message "Non-existing path
> "C:\JavaProjects\FanseParser2\${libs.MySQLDriver.classpath}" provided."
> What should I be doing? (I am moving from Netbeans 8 to Netbeans 11,
> from Windows 7 to Windows 10. I don't understand what I need to do.)
>
> --
> Ken Litkowski TEL.: 301-482-0237
> CL Research   EMAIL: k...@clres.com
> 9208 Gue Road Home Page: http://www.clres.com
> Damascus, MD 20872-1025 USA   Blog: http://www.clres.com/blog
>
>
> -
> 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: API key storage best practices: help from NetBeans?

2020-05-23 Thread Emilian Bold
> ¿Does netbeans provide a "keyring" of some sorts where user
credentials are stored, and is such a store accessible through an API?

http://bits.netbeans.org/dev/javadoc/org-netbeans-modules-keyring/overview-summary.html

> Actually this has nothing to do with IDEs and am not aware of any that
integrate with such functionality.

But if GitHub is able to show users some warning about leaking secretes,
surely the IDE can also do something in this area?

Right now NetBeans does not touch this, but I think it could.

--emi


On Sat, May 23, 2020 at 6:23 AM Juan Algaba  wrote:

> > And what help does NetBeans offer for adhering to those best practices?
>
> I'm currently developing new features to an existing FTP netbeans
> plugin and currently store the password as plain text.
> ¿Does netbeans provide a "keyring" of some sorts where user
> credentials are stored, and is such a store accessible through an API?
> My guess is that there is one because NB remembers my remote
> repository credentials.
>
> On Fri, May 22, 2020 at 4:58 PM Scott Palmer  wrote:
> >
> > Or if you are less paranoid, store and retrieve it with the Java
> Preferences API. Encrypt it so it isn’t stored in plaintext.  The User
> preferences should be isolated from other user’s access.  If your software
> requires a user to authenticate in any way, use that authentication in the
> encryption so there are no hard coded keys in the code.
> >
> > Scott
> >
> > On May 22, 2020, at 7:42 PM, Daoud Abdelmonem Faleh <
> abdelmonem.fa...@gmail.com> wrote:
> >
> > 
> > Actually this has nothing to do with IDEs and am not aware of any that
> integrate with such functionality.
> >
> > The general consensus for managing users secrets (API keys, Databases
> credentials,...) is to use a secrets management system.
> > Many of the public clouds providers have this kind of service (AWS
> Secrets Manager, GCP secrets manager, Azure Key Vault, ...) if you're on
> premises opensource tools do exist (Hashicorp vault, Square Keywhiz).
> Spring framework seems to support many of them.
> > Github do have a secrets scanning tool that recognize many of public
> APIs. Other tools are available to scan source code for secretes and can be
> configured as pre-commit hook (Yelp Detect Secrets come to mind).
> >
> > HTH,
> > --Daoud
> >
> > On Fri, May 22, 2020 at 10:27 PM Alonso Del Arte <
> alonso.dela...@gmail.com> wrote:
> >>
> >> This is somewhat of a general Java question, but I do believe it has an
> IDE-specific component.
> >>
> >> What are the best practices for storing and retrieving API keys in Java
> programs? And what help does NetBeans offer for adhering to those best
> practices?
> >>
> >> Suppose for example that your key for an example widget API is
> "555EXAMPLE." You could certainly write "private final static String
> API_KEY = "555EXAMPLE";" and then each time you need the key, you write
> "API_KEY" where it's needed.
> >>
> >> String query = "https://www.example.com/api/q=; + sendParams + "="
> + API_KEY;
> >> URL queryURL = new URL(query);
> >> HttpURLConnection conn = (HttpURLConnection) queryURL.openConnection();
> >> conn.setRequestMethod("POST");
> >> // etc.
> >>
> >> But then I might forget about the API key and upload the source file to
> a public GitHub repository (maybe GitHub would alert us, but I don't know
> for sure).
> >>
> >> I suppose I could store the API key in a file or folder listed in the
> Git Ignore, and then create a class to store and retrieve API keys, but
> that would probably feel like I'm reinventing the wheel...
> >>
> >> Alonso del Arte
> >> Author at SmashWords.com
> >> Musician at ReverbNation.com
>
>
> --
>
> - Juan Algaba
>
> -
> 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 add nbm-maven-plugin implementation dependency?

2020-05-22 Thread Emilian Bold
Hello,

If I create a Java with Maven | NetBeans Application for RELEASE113 I just
can't add an implementation dependency to org-netbeans-core-network.

I'm using


org.netbeans.modules
org-netbeans-core-network
${netbeans.version}
provided


which apparently does not do the trick as I'm getting:

java.lang.ClassNotFoundException:
org.netbeans.core.network.utils.NativeException
at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:471)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:588)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
at org.netbeans.ProxyClassLoader.doFindClass(ProxyClassLoader.java:209)
Caused: java.lang.ClassNotFoundException:
org.netbeans.core.network.utils.NativeException starting from
ModuleCL@5a5698e7[com.mycompany.bugnbapp.sample] with possible defining
loaders [ModuleCL@19189c17[org.netbeans.core.network]] and declared parents
[ModuleCL@28b49e17[org.netbeans.api.annotations.common],
org.netbeans.JarClassLoader@54659dcf]
at org.netbeans.ProxyClassLoader.doFindClass(ProxyClassLoader.java:211)
at org.netbeans.ProxyClassLoader.loadClass(ProxyClassLoader.java:125)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
Caused: java.lang.NoClassDefFoundError:
org/netbeans/core/network/utils/NativeException

The sample code is at https://github.com/emilianbold/nbm-impldep

Any help greatly appreciated.

--emi


JDK 14 missing pack200 is a problem even for older NetBeans plugins!?

2020-05-21 Thread Emilian Bold
I assumed the removal of pack200 is a problem only for the NetBeans
installer, but apparently NetBeans cannot even install older modules:

WARNING [org.netbeans.updater]
java.io.IOException: CreateProcess error=2, The system cannot find the
file specified
at java.base/java.lang.ProcessImpl.create(Native Method)
at java.base/java.lang.ProcessImpl.(ProcessImpl.java:483)
at java.base/java.lang.ProcessImpl.start(ProcessImpl.java:158)
at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1107)
Caused: java.io.IOException: Cannot run program "C:\Program
Files\Java\jdk-14.0.1\bin\unpack200.exe" (in directory
"C:\Users\X\AppData\Roaming\NetBeans\12.0-beta4\modules"):
CreateProcess error=2, The system cannot find the file specified
at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1128)
at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1071)
[catch] at org.netbeans.updater.ModuleUpdater.unpack200(ModuleUpdater.java:567)
at org.netbeans.updater.ModuleUpdater.unpack(ModuleUpdater.java:465)
at org.netbeans.updater.ModuleUpdater.run(ModuleUpdater.java:117)
INFO [org.netbeans.updater]: File
C:\Users\X\AppData\Roaming\NetBeans\12.0-beta4\modules\ro-emilianbold-modules-maven-search-remote.jar.pack.gz
deleted.
INFO [org.netbeans.updater]: Ignore non-readable files
java.io.FileNotFoundException:
C:\Users\X\AppData\Roaming\NetBeans\12.0-beta4\modules\ro-emilianbold-modules-maven-search-remote.jar
(The system cannot find the file specified)
at java.base/java.io.FileInputStream.open0(Native Method)
at java.base/java.io.FileInputStream.open(FileInputStream.java:212)
at java.base/java.io.FileInputStream.(FileInputStream.java:154)
at org.netbeans.updater.UpdateTracking.getFileCRC(UpdateTracking.java:507)
[catch] at org.netbeans.updater.ModuleUpdater.unpack(ModuleUpdater.java:469)
at org.netbeans.updater.ModuleUpdater.run(ModuleUpdater.java:117)

So NetBeans forks a separate process to do the unpacking and with JDK
14 that unpack200 executable no longer exists. Maybe it should use a
library for unpack?

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

2020-05-19 Thread Emilian Bold
Maybe he doesn't have root on that machine?

--emi

On Tue, May 19, 2020 at 10:01 PM Juan Algaba  wrote:
>
> > Please give me idea that include no command.
> Also, you're on linux and a developer, Why such a strange requirement?
> I think "sudo apt install openjdk-8-jdk" is easier than actually
> hunting down and setting up a jdk manually.
>
>
> On Tue, May 19, 2020 at 11:05 AM Laszlo Kishalmi
>  wrote:
> >
> > What do you mean no command?
> >
> > Do you have Java 8 already installed on Ubuntu?
> >
> > Or You just need to add Java 8 to the list of Java Platforms in NetBeans?
> >
> > On 5/19/20 9:58 AM, Brain Rebooting wrote:
> > > HI all,
> > >
> > > How to install jdk 8 into netbeans 11.3 in ubuntu 18?
> > > Please give me idea that include no command.
> > >
> > > Samiul alom sium
> >
> > -
> > 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
> >
>
>
> --
> Juan Algaba
>
> -
> 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: When will 12.0 be released?

2020-05-18 Thread Emilian Bold
There is a web interface but I think in order to post you need an
Apache id: https://lists.apache.org/list.html?users@netbeans.apache.org

> The mailing list is an anachronism.

Probably by design. Just like the crocodile, mailing lists are since
the dawn of Internet and will outlive any other communication mode.

--emi

On Mon, May 18, 2020 at 2:14 PM HRH  wrote:
>
> ** I could share this on Reddit if you'd like. Not everyone is subscribed to 
> the mailing lists after all **
>
> I wish Apache would consider replacing the mailing list with a web-based 
> forum. The mailing list is an anachronism.
>
> On Monday, May 18, 2020, 11:32:07 AM GMT+4:30, Ty Young 
>  wrote:
>
>
>
> On 5/18/20 12:55 AM, Geertjan Wielenga wrote:
>
> Hi all,
>
> Apache NetBeans 12.0 will be released once many of you:
>
> 1. Download beta 4: http://bit.ly/download-12-0-beta-4
>
> 2. Try it out. Here is an overview of the newest features, though incomplete:
>
> https://cwiki.apache.org/confluence/display/NETBEANS/Apache+NetBeans+12.0
>
> 3. Fill in this very quick survey: bit.ly/12-0-community-acceptance-survey
>
> Thanks!
>
>
> I could share this on Reddit if you'd like. Not everyone is subscribed to the 
> mailing lists afterall.
>
>
>
>
> 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: Decompiler for java

2020-05-17 Thread Emilian Bold
> 1. Machine learning capabilities to code completion.

Let's just put this under "better code completion". You don't know that
only ML can provide this and it being ML will not necessarily make it
better. For JS we could provide better code completion in commercial
tooling using better static analysis compared to what NetBeans does by
default. Plenty of things to improve using classical engineering before we
need to bring in AI.

> 2. Autocompletion support for database or SQL language and NoSQL support
like MongoDB.

I think SQL support exists?

> 3. A Decompiler for java.

Sure, problem is few libraries in this area, especially under good license
terms. I think a good one was GPL last I checked which the ASF will dislike.

> 4. React Native support.

That's on toolkit. Other real life developers never used it.

PS: Nice to see you on the mailing lists Sium!

--emi


On Sun, May 17, 2020 at 7:27 AM Brain Rebooting 
wrote:

> Still, Apache Netbeans requires some things to be usable as a true full
> stack IDE for java and JavaScript at least. They are:
>
> 1. Machine learning capabilities to code completion.
> 2. Autocompletion support for database or SQL language and NoSQL support
> like MongoDB.
> 3. A Decompiler for java.
> 4. React Native support.
>
> at least these should be added into Apache Netbeans future releases to
> gather more real life developers.
> Hope for the best.
>
>
>
>
> On Sun, May 17, 2020 at 9:17 AM Brain Rebooting 
> wrote:
>
>> Hi all,
>>
>> Is there any decompiler for netbeans to see source code from class file.
>>
>> Samiul alom sium
>> Bangladesh
>>
>


Re: Apache NetBeans 11.3

2020-05-12 Thread Emilian Bold
Might be your old Maven NBM modules perhaps? I think you can try to create
a new Maven-based NBM and it will open. See how they pom.xml files differ.

--emi


On Tue, May 12, 2020 at 9:43 PM Enciu Petre 
wrote:

>
>
> Hello
>
> Apache netbeans 11.3 does not support nbm packaging.
>
> Every module having nbms packaging are unloadable in this version.
>
> Thanks
>
> [image: LogoVestaTranspa1009.png]
>
> *ENCIU* Petre
>
> Ingénieur R
>
> Société Vesta – System
>
> http://www.vesta-system.com
>
> (
>
> +40 724 697 577
>
> *
>
> petre.en...@vesta-system.com
> 
>
> Visiter aussi
>
> http://www.cades-solutions.com
>
>
>
>
>


Re: [C++]C++ plugin installation

2020-05-12 Thread Emilian Bold
Try http://openbeans.org/ it has the C/C++ modules included.

Not sure which UC of mine you used... I don't have any except those for
OpenBeans.

--emi


On Tue, May 12, 2020 at 9:07 AM Bilu  wrote:

> Hello,
>
> For some reason my company Firewall is blocking connections to the
> Netbeans 8.2 Plugin portal url hence i am not able to install C++ plugin
> which is available only there i think.
>
> I checked earlier Update centers provided by Emilian but no C++.
>
> Is there the C++ plugin available somewhere for download as .nbm or .zip
> file?
>


Re: Maven-Repository for older (pre 9) releases

2020-05-11 Thread Emilian Bold
No need to compile yourself, I think you can start with a netbeans install.
Does using NetBeans 8.2 not work? By using I don't mean using as an IDE but
using as a parameter to the populate plugin which should find the ready
compiled JARs in there.

--emi


On Mon, May 11, 2020 at 11:41 AM Tino Schöllhorn <
t.schoellh...@plattform-gmbh.de> wrote:

> Hi emi,
>
> thanks for your reply. I guess I have to compile the old version myself
> and upload them to my Maven Repository. I just have found your
> git-repository for that.
>
> The specific question would be:
>
> Is there a maintained Maven-Repository for the old versions of NetBeans?
> The current one does not work.
>
> Tino
>
>
> Am 11.05.2020 um 10:18 schrieb Emilian Bold:
>
> My answer doesn't assume you are an IDE user, but you are a Maven consumer
> of JARs. External JARs somehow have to get into the local Maven repository,
> right? That populate-repository plugin accomplishes this task.
>
> This is all a bit open ended, maybe you have some specific question?
>
> I don't do contracting for this stuff anymore, but I see you are in
> Germany and Oliver Rettig is also in Germany. Perhaps you could get in
> touch with him for commercial support on this
> http://netbeans.apache.org/help/commercial-support.html
>
> --emi
>
>
> On Mon, May 11, 2020 at 10:58 AM Tino Schöllhorn <
> t.schoellh...@plattform-gmbh.de> wrote:
>
>> Hi emi,
>>
>> sorry - I think I have to add that I am actually a user of Netbeans at
>> all. We are just using a library which has dependencies to some modules of
>> Netbeans.
>>
>> If you have other ideas I am happy if you could share them with me.
>> Tino
>> Am 11.05.2020 um 09:34 schrieb Emilian Bold:
>>
>> Did the populate goal not work for you?
>>
>> You might need to find the populate-repository plugin (which, sadly, was
>> on Codehaus for a long time) and see if you can build your stuff starting
>> from scratch, using the NetBeans (8.x) install and by populating the local
>> Maven repo with that plugin.
>>
>> --emi
>>
>>
>> On Mon, May 11, 2020 at 9:30 AM Tino Schöllhorn <
>> t.schoellh...@plattform-gmbh.de> wrote:
>>
>>> Hi,
>>>
>>> we are developing a package which has a dependency to a quite old
>>> netbeans-version. As quite a few things have changed in the setup of
>>> Netbeans there seems to be problem with the documented Maven-Repository
>>> (see: http://bits.netbeans.org/mavenutilities/nb-repository-plugin/)
>>>
>>> The Maven-Repository http://bits.netbeans.org/maven2/ is currently not
>>> available and returns a HTTP-Error 500. Is there another URL for that
>>> repository?
>>>
>>> If this is the wrong list for posting such messages please let me know
>>> where to address  this issue.
>>>
>>> Thanks for any help!
>>>
>>> Tino
>>>
>>> --
>>> Tino Schöllhorn
>>> Diplom Wirtschaftsinformatiker
>>> Geschäftsführer
>>> Plattform GmbH
>>> Gabelsbergerstr. 5
>>> 68165 Mannheim
>>> Tel: 0621-58679312
>>> E-Mail: t.schoellh...@plattform-gmbh.de
>>> Internet: http://www.plattform-gmbh.de
>>>
>>> Registergericht: Amtsgericht Mannheim, HRB 9955
>>> Geschäftsführer: Olaf Kellermeier, Tino Schöllhorn
>>>
>>>
>>> -
>>> 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
>>>
>>> --
>> Tino Schöllhorn
>> Diplom Wirtschaftsinformatiker
>> Geschäftsführer
>> Plattform GmbH
>> Gabelsbergerstr. 5
>> 68165 Mannheim
>> Tel: 0621-58679312
>> E-Mail: t.schoellh...@plattform-gmbh.de
>> Internet: http://www.plattform-gmbh.de
>>
>> Registergericht: Amtsgericht Mannheim, HRB 9955
>> Geschäftsführer: Olaf Kellermeier, Tino Schöllhorn
>>
>> --
> Tino Schöllhorn
> Diplom Wirtschaftsinformatiker
> Geschäftsführer
> Plattform GmbH
> Gabelsbergerstr. 5
> 68165 Mannheim
> Tel: 0621-58679312
> E-Mail: t.schoellh...@plattform-gmbh.de
> Internet: http://www.plattform-gmbh.de
>
> Registergericht: Amtsgericht Mannheim, HRB 9955
> Geschäftsführer: Olaf Kellermeier, Tino Schöllhorn
>
>


Re: Maven-Repository for older (pre 9) releases

2020-05-11 Thread Emilian Bold
My answer doesn't assume you are an IDE user, but you are a Maven consumer
of JARs. External JARs somehow have to get into the local Maven repository,
right? That populate-repository plugin accomplishes this task.

This is all a bit open ended, maybe you have some specific question?

I don't do contracting for this stuff anymore, but I see you are in Germany
and Oliver Rettig is also in Germany. Perhaps you could get in touch with
him for commercial support on this
http://netbeans.apache.org/help/commercial-support.html

--emi


On Mon, May 11, 2020 at 10:58 AM Tino Schöllhorn <
t.schoellh...@plattform-gmbh.de> wrote:

> Hi emi,
>
> sorry - I think I have to add that I am actually a user of Netbeans at
> all. We are just using a library which has dependencies to some modules of
> Netbeans.
>
> If you have other ideas I am happy if you could share them with me.
> Tino
> Am 11.05.2020 um 09:34 schrieb Emilian Bold:
>
> Did the populate goal not work for you?
>
> You might need to find the populate-repository plugin (which, sadly, was
> on Codehaus for a long time) and see if you can build your stuff starting
> from scratch, using the NetBeans (8.x) install and by populating the local
> Maven repo with that plugin.
>
> --emi
>
>
> On Mon, May 11, 2020 at 9:30 AM Tino Schöllhorn <
> t.schoellh...@plattform-gmbh.de> wrote:
>
>> Hi,
>>
>> we are developing a package which has a dependency to a quite old
>> netbeans-version. As quite a few things have changed in the setup of
>> Netbeans there seems to be problem with the documented Maven-Repository
>> (see: http://bits.netbeans.org/mavenutilities/nb-repository-plugin/)
>>
>> The Maven-Repository http://bits.netbeans.org/maven2/ is currently not
>> available and returns a HTTP-Error 500. Is there another URL for that
>> repository?
>>
>> If this is the wrong list for posting such messages please let me know
>> where to address  this issue.
>>
>> Thanks for any help!
>>
>> Tino
>>
>> --
>> Tino Schöllhorn
>> Diplom Wirtschaftsinformatiker
>> Geschäftsführer
>> Plattform GmbH
>> Gabelsbergerstr. 5
>> 68165 Mannheim
>> Tel: 0621-58679312
>> E-Mail: t.schoellh...@plattform-gmbh.de
>> Internet: http://www.plattform-gmbh.de
>>
>> Registergericht: Amtsgericht Mannheim, HRB 9955
>> Geschäftsführer: Olaf Kellermeier, Tino Schöllhorn
>>
>>
>> -
>> 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
>>
>> --
> Tino Schöllhorn
> Diplom Wirtschaftsinformatiker
> Geschäftsführer
> Plattform GmbH
> Gabelsbergerstr. 5
> 68165 Mannheim
> Tel: 0621-58679312
> E-Mail: t.schoellh...@plattform-gmbh.de
> Internet: http://www.plattform-gmbh.de
>
> Registergericht: Amtsgericht Mannheim, HRB 9955
> Geschäftsführer: Olaf Kellermeier, Tino Schöllhorn
>
>


Re: Maven-Repository for older (pre 9) releases

2020-05-11 Thread Emilian Bold
Did the populate goal not work for you?

You might need to find the populate-repository plugin (which, sadly, was on
Codehaus for a long time) and see if you can build your stuff starting
from scratch, using the NetBeans (8.x) install and by populating the local
Maven repo with that plugin.

--emi


On Mon, May 11, 2020 at 9:30 AM Tino Schöllhorn <
t.schoellh...@plattform-gmbh.de> wrote:

> Hi,
>
> we are developing a package which has a dependency to a quite old
> netbeans-version. As quite a few things have changed in the setup of
> Netbeans there seems to be problem with the documented Maven-Repository
> (see: http://bits.netbeans.org/mavenutilities/nb-repository-plugin/)
>
> The Maven-Repository http://bits.netbeans.org/maven2/ is currently not
> available and returns a HTTP-Error 500. Is there another URL for that
> repository?
>
> If this is the wrong list for posting such messages please let me know
> where to address  this issue.
>
> Thanks for any help!
>
> Tino
>
> --
> Tino Schöllhorn
> Diplom Wirtschaftsinformatiker
> Geschäftsführer
> Plattform GmbH
> Gabelsbergerstr. 5
> 68165 Mannheim
> Tel: 0621-58679312
> E-Mail: t.schoellh...@plattform-gmbh.de
> Internet: http://www.plattform-gmbh.de
>
> Registergericht: Amtsgericht Mannheim, HRB 9955
> Geschäftsführer: Olaf Kellermeier, Tino Schöllhorn
>
>
> -
> 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: Error badge on the correct code

2020-05-07 Thread Emilian Bold
I always assumed that stray Java error badges are a mismatch between the
internal compiler/parser NetBeans used and the actual project compiler.

Since this happens for JSON either it's a similar parser bug or even worse
an index invalidation bug.

Seems really awful product-wise to have a recommendation for a 'Restart
IDE' plugin!

Now that I think about it, a 'Clean Cache' button somewhere would actually
make sense. I wonder why we don't have this.

--emi


On Fri, May 8, 2020 at 5:19 AM Greenberg, Gary 
wrote:

> I have deleted cache directory, but when I restarted Netbeans, error badge
> was still there.
>
> Gary Greenberg
> Staff Software Engineer
> Data Product Development, BI-A
> E: ggree...@visa.com
> M: 650-269-7902
>
>
>
> -Original Message-
> From: Eirik Bakke 
> Sent: Thursday, May 7, 2020 7:05 PM
> To: Ernie Rael ; users@netbeans.apache.org
> Subject: RE: Error badge on the correct code
>
> > An aficiaonado could tell you which subdirectory of cachedir to remove.
>
> I find removing the "index" subdirectory in the cache directory (after
> first exiting NetBeans) does the trick. At least for Java files with stray
> error badges.
>
> -- Eirik
>
> -Original Message-
> From: Ernie Rael 
> Sent: Thursday, May 7, 2020 7:48 PM
> To: users@netbeans.apache.org
> Subject: Re: Error badge on the correct code
>
> This can frequently be cleared up by removing "Cache Directory" only, see
> Menu > Help > About. This won't loose your settings/windows/openFiles/...
>
> An aficiaonado could tell you which subdirectory of cachedir to remove.
>
> -ernie
>
> On 5/7/2020 1:29 PM, Greenberg, Gary wrote:
> >
> > I have in one of my projects JSON file.
> > At some point in time, while I was still editing it, it had errors.
> > However, these errors were fixed long time ago, but in project file
> > marked with the red error badge.
> >
> > Netbeans was restarted several times and my laptop was rebooted
> > recently. The badge is still there.
> > How can I get rid of it, short of removing userdir?
> >
> > I am working on several projects and have over 30 files open. Hate to
> > reload everything.
> >
> > My environment: NB 11.1, Java 8, Win 10pro.
> >
> > Gary Greenberg
> >
> > Staff Software Engineer
> >
> > Data Product Development, BI-A
> >
> > E: ggree...@visa.com
> >
> > M: 650-269-7902
> >
> > EmailSig-TaglineVersion
> >
>
>
> -
> 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://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcwiki.apache.org%2Fconfluence%2Fdisplay%2FNETBEANS%2FMailing%2Blistsdata=02%7C01%7Cggreenbe%40visa.com%7C12344f9b9fc1449cd89e08d7f2f43bd3%7C38305e12e15d4ee888b9c4db1c477d76%7C0%7C0%7C637245003103436599sdata=A%2BbHG2tAfJJukgehrPyGNPXk6zT81d32If1iNi5aBz4%3Dreserved=0
>
>
> -
> 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://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcwiki.apache.org%2Fconfluence%2Fdisplay%2FNETBEANS%2FMailing%2Blistsdata=02%7C01%7Cggreenbe%40visa.com%7C12344f9b9fc1449cd89e08d7f2f43bd3%7C38305e12e15d4ee888b9c4db1c477d76%7C0%7C0%7C637245003103436599sdata=A%2BbHG2tAfJJukgehrPyGNPXk6zT81d32If1iNi5aBz4%3Dreserved=0
>
>


Re: C++ compiler gone weird, flags errors

2020-05-05 Thread Emilian Bold
I'm pretty sure there was no C++ release from NetBeans in the past week. It
was a fluke on your machine.

--emi


On Mon, May 4, 2020 at 9:17 PM Brenden Towey  wrote:

>
> And thank you to whoever released the new C++ patch for Netbeans this
> morning.  The errors have disappeared and all seems to be working. :-)
>
> Brenden
>
>
>  Forwarded Message 
> Subject: C++ compiler gone weird, flags errors
> Date: Tue, 28 Apr 2020 08:36:46 -0700
> From: Brenden Towey  
> To: users@netbeans.apache.org
>
> Hi folks, I wonder if I could get some help with an issue I'm having.  I
> have NetBeans 11.1 and the C++ module installed for Cygwin.  I think at
> some point I updated my Cygwin installation (using the standard install
> tool for Cygwin) and now NetBeans reports errors everywhere.
>
> For example, this code example with errors marked as comments:
>
> #include   // cannot find include file 
> #include // cannot find include file 
>
> using namespace std;   // Unable to resolve identifier std
>
> /*
>  *
>  */
> int main(int argc, char** argv) {
>cout << "Hello world.";  // Unable to resolve identifier cout
>return 0;
> }
>
>
> The thing is the code compiles and runs just fine.  It's just the editor
> window that is getting all of these errors.  Help?  What would I look for
> to tell the editor to resolve these errors when the compiler is working
> just fine?
>
> Thanks!
>
>
>


Re: Gradle based project won't load. How to investigate it or see compiler output?

2020-05-01 Thread Emilian Bold
This was using Gradle 6 and it seems after doing some more builds and then
configuring Gradle in the options NetBeans is able to load the project...

Odd thing is the IDE did detect the Gradle binary correctly so maybe the
repeat build finally produced something on disk?

It's a big project so I don't know / have time to produce a small sample
that reproduces the problem. I think this would be much easier to track
down if the compiler output would be saved somewhere by the Gradle project
support. It was failing in there for some reason but can't know what it
was. Maybe some -D property to dump this in an output window or in the log?

--emi

mie., 29 apr. 2020, 18:15 Peter Steele  a scris:

> Run the build on the command line to see if it's a netbeans issue, if it
> is then run with With --info or --debug (logging levels) or with
> --stacktrace to get the stack trace info of the build failure.
>
> If it works on the command line then you need to setup gradle properly in
> netbeans.
>
> On Wed, 29 Apr 2020, 07:30 Emilian Bold,  wrote:
>
>> Hello,
>>
>> I have a Gradle based project that won't load in any version of
>> NetBeans, including the 12 beta. The notification shown says:
>>
>> > Compilation failed; see the compiler output for details.
>> > Execution failed for task: ''
>> > Execution failed for task: ''
>> > Could not run build action using Gradle installation '> wrapper dists/ folder>'
>>
>> How does one go about investigating this problem?
>>
>> For starters, I don't see anything in the output window or messages.log.
>>
>> Where is the compiler output with the details?
>>
>> A minor issue: the notification itself (being a Swing component) doesn't
>> allow you to copy-paste the error message.
>>
>> --emi
>>
>


Gradle based project won't load. How to investigate it or see compiler output?

2020-04-29 Thread Emilian Bold
Hello,

I have a Gradle based project that won't load in any version of
NetBeans, including the 12 beta. The notification shown says:

> Compilation failed; see the compiler output for details.
> Execution failed for task: ''
> Execution failed for task: ''
> Could not run build action using Gradle installation ''

How does one go about investigating this problem?

For starters, I don't see anything in the output window or messages.log.

Where is the compiler output with the details?

A minor issue: the notification itself (being a Swing component) doesn't
allow you to copy-paste the error message.

--emi


Re: How to Alt + Enter on mac?

2020-04-22 Thread Emilian Bold
I see in the popup 'Alt-Enter shows hints' and on macOS Mojave Alt + Enter
does the job. The key with 'Alt' on it, not Cmd, not Ctrl.

--emi


On Wed, Apr 22, 2020 at 2:54 PM Ewan Slater  wrote:

> Hi,
>
> Could somebody please tell me how to do Alt+Enter on Mac (and yes, I
> have googled and looked at "help > keyboard shortcuts card" but to no
> avail).
>
> Context: netbeans is suggesting I hit Alt Enter for hints.
>
> Cheers,
>
> Ewan
>
>


Re: I cannot find the MySQL Plugin

2020-04-19 Thread Emilian Bold
If you rightclick Databases in the Services window you have a 'Register
MySQL server' action. If you right click and do 'New Connection' you have a
wizard mentioning how the MySQL driver can be installed.

Due to licensing issues Apache can't include out of the box the MySQL
driver...

--emi


On Sun, Apr 19, 2020 at 3:20 PM Dr Francis Greaves 
wrote:

> Dear All
> I thought I would move from Oracle Netbeans 8.2 to the Apache 11.3 version
> of Netbeans, only to come unstuck at the absence of a MySQL Plugin. I know
> there is a Database connection in the Services, but I cannot get that to
> connect.
> Is there an alternative?
> Looks Like I will stick with the 8.2 Netbeans for now.
> Regards
> Francis
>
>
>


Re: Overriding equals and hashCode in subclass: wizard doesn't include inherited fields.

2020-04-19 Thread Emilian Bold
Interesting. Another idea might be to rely on super.hashCode and
super.equals somewhere in there?

--emi


On Sun, Apr 19, 2020 at 6:00 AM Owen Thomas 
wrote:

> Hi. I'm using NB 11.0.
>
> I'm trying to override equals and hashCode for a subclass of a type that
> extends object. The inherited class and the subclass both declare fields
> and getters for them.
>
> It seems unfortunate to me that the NB wizard that one usually uses to
> generate the code for equals and hashCode does not permit inherited fields
> (or their getters, preferably, so the fields can remain private) to be used.
>
> Have others found this to be a bit of a frustration?
>
>   Owen.
> --
> I'll cut your code at an intensity and from a place of my own choosing.
> Clique Space(TM). Anima ex machina.
>


Re: Apache NetBeans IDE DEV, terminal, cygwin is not installed

2020-04-14 Thread Emilian Bold
Maybe we are thinking of different things but you basically want the IDE to
just execute externally another terminal-like app?

--emi

mar., 14 apr. 2020, 17:32 Vladimir Kokovic  a
scris:

> Hi,
>
> Ok, but why can't a "terminal" be an "external terminal" that otherwise
> works properly?
>
>
> -
> 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 IDE DEV, terminal, cygwin is not installed

2020-04-14 Thread Emilian Bold
Nor sure about mingw but I guess the cmd window was not a VT when this was
implemented in NetBeans?

(I guess it might be a VT nowadays, but maybe not.)

--emi


On Tue, Apr 14, 2020 at 4:45 PM Vladimir Kokovic 
wrote:

> Hi,
>
> Is there any explanation why NetBeans can't use "cmd window" or
> "mingw-msys" but only needs a cygwin terminal.
> The external terminal works with all terminals as specified.
> Otherwise I use (linux) and (wine, mingw64) NetBeans dev.
>
> Vladimir Kokovic, DP senior (69)
> Serbia, Belgrade, April 14, 2020
>
> -
> 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.3: Not reindexing local maven repo

2020-04-13 Thread Emilian Bold
You can always move those folders elsewhere then move them back. But I
doubt it's related to the userdir, must be the cache.

--emi


On Mon, Apr 13, 2020 at 10:30 AM Bradley Willcott 
wrote:

> Hi,
>
> That doesn't seem very practical, as it will blow away all my settings.
> Further, I'm look for an ongoing solution, as I will want to clean out
> those old files on a regular basis.
>
> Brad.
> On 13/4/20 2:23 pm, Geertjan Wielenga wrote:
>
>
> Maybe also remove cachedir and, if that doesn’t help, userdir. Location of
> both is in the About box.
>
> Gj
>
> On Mon, 13 Apr 2020 at 08:20, Bradley Willcott 
> wrote:
>
>> Hi there.
>>
>> I have deleted some old "-SNAPSHOT" versions of some projects, from my
>> local repo.  However, Netbeans still thinks that they exist!
>>
>> I have tried to get it to 'update index', both from the 'Services' tab,
>> and from the 'Options' dialog.  Nothing happens.
>>
>> I have even deleted the 'mavenindex' directory, and restarted Netbeans.
>> This just caused Netbeans to go into an apparent loop trying to index.
>> After over 12 hours, I shutdown Netbeans to stop this process. Still no
>> index!
>>
>> Any ideas?
>>
>> Thank you,
>> Brad.
>>
>>
>> -
>> 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 IDE - See the compiled code from Java class like Eclipse IDE

2020-04-12 Thread Emilian Bold
Normally if you have a Maven project you can go to the dependency,
right-click it, then tell it to download the sources. After the sources are
automatically downloaded by the IDE, jumping into that class will show you
the source code.

--emi


On Sun, Apr 12, 2020 at 6:22 AM Lucas Sampaio 
wrote:

> Hello, people. I'm Netbeans user and I was looking for the resource that
> allow read compiled class on IDE for know how one some method execute the
> statements from under the hood like in Eclipse IDE, but I couldn't found
> this resource. This exists? Can someone help me? Thank you.
>
> I will send two pictures. A picture from Netbeans IDE (what appears) and
> a picture from Eclipse IDE (and what I want).
>
>
> --
>
> Atenciosamente, Lucas Sampaio.
> Graduado em Análise e Desenvolvimento de Sistemas
>
> Telefone/Telegram: (85) 98589-3039
> Github: https://github.com/lukaz-sampaio/
> Linkedin: https://www.linkedin.com/in/lucas-sampaio-6b2079134/
>
> -
> 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: Project's pom.xml contains invalid xml content. Please fix the file before proceeding.

2020-04-10 Thread Emilian Bold
Oh, I understand you point! You are right, the URIs must be identical (
https://www.w3.org/TR/REC-xml-names/#NSNameComparison ).

I wonder why no validator complains?

--emi


On Fri, Apr 10, 2020 at 8:58 PM Eric J. Schwarzenbach <
eric.schwarzenb...@wrycan.com> wrote:

> Right, but are you considering this error behavior to be a bug? Because as
> far as I can see the pom.xml, despite OP's claims, is NOT valid.
>
> This pom.xml uses xsi:schemaLocation="https://maven.apache.org/POM/4.0.0
> https://maven.apache.org/xsd/maven-4.0.0.xsd;
> <https://maven.apache.org/POM/4.0.0https://maven.apache.org/xsd/maven-4.0.0.xsd>
> .
>
> The schema at https://maven.apache.org/xsd/maven-4.0.0.xsd declares xmlns=
> "http://maven.apache.org/POM/4.0.0; <http://maven.apache.org/POM/4.0.0>.
>
>
> On 4/10/20 12:30 PM, Emilian Bold wrote:
>
> I suspect that's the problem: the URL itself is not resolved (because then
> it wouldn't have mattered if it's https vs http). So internally there *may*
> be a list of such schema URLs which expressly has the http URL and does
> nothing for the new https URL.
>
> --emi
>
>
> On Fri, Apr 10, 2020 at 7:29 PM Eric J. Schwarzenbach <
> eric.schwarzenb...@wrycan.com> wrote:
>
>> XML namespaces *look* like urls by convention, but are not meant to
>> actually be treated as urls and resolved. Is
>> "https://maven.apache.org/POM/4.0.0; <https://maven.apache.org/POM/4.0.0>
>> actually a valid namespace for the maven pom XML?
>> On 4/10/20 1:39 AM, Emilian Bold wrote:
>>
>> Interesting. I think there's a whitelist of schema URLs in NetBeans
>> and they have the original http variant. Please report this on JIRA,
>> somebody might pick it up for 12 (which would be the next LTS
>> version).
>>
>> --emi
>>
>> On Fri, Apr 10, 2020 at 3:25 AM Philip Durbin  
>>  wrote:
>>
>> I see what happened. In a recent pull request* we changed "http" to "https" 
>> in our pom.xml like this:
>>
>> BEFORE
>> http://maven.apache.org/POM/4.0.0; 
>> <http://maven.apache.org/POM/4.0.0>
>> AFTER
>> https://maven.apache.org/POM/4.0.0; 
>> <https://maven.apache.org/POM/4.0.0>
>>
>> If I revert "https" back to "http" I can open the project properties.
>>
>> Phil
>>
>> * https://github.com/IQSS/dataverse/pull/6519
>>
>>
>>
>> On Thu, Apr 9, 2020 at 3:17 PM Philip Durbin  
>>  wrote:
>>
>> Hi, we are seeing the following error in Netbeans 11.3 and earlier versions 
>> such as Netbeans 8.2 even though our pom.xml is valid (I used xmllint to 
>> check it and others on my team used other validators):
>>
>> "Project's pom.xml contains invalid xml content. Please fix the file before 
>> proceeding."
>>
>> I'll also attach a screenshot.
>>
>> What I'm trying to do is right click the Java EE project and open the 
>> properties.
>>
>> Here's the commit I'm on: 
>> https://github.com/IQSS/dataverse/blob/d04d09c3e8d66295dc12e25f676a04a44b69acd6/pom.xml
>>
>> Any advice is welcome!
>>
>> 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: Project's pom.xml contains invalid xml content. Please fix the file before proceeding.

2020-04-10 Thread Emilian Bold
I suspect that's the problem: the URL itself is not resolved (because then
it wouldn't have mattered if it's https vs http). So internally there *may*
be a list of such schema URLs which expressly has the http URL and does
nothing for the new https URL.

--emi


On Fri, Apr 10, 2020 at 7:29 PM Eric J. Schwarzenbach <
eric.schwarzenb...@wrycan.com> wrote:

> XML namespaces *look* like urls by convention, but are not meant to
> actually be treated as urls and resolved. Is
> "https://maven.apache.org/POM/4.0.0; <https://maven.apache.org/POM/4.0.0>
> actually a valid namespace for the maven pom XML?
> On 4/10/20 1:39 AM, Emilian Bold wrote:
>
> Interesting. I think there's a whitelist of schema URLs in NetBeans
> and they have the original http variant. Please report this on JIRA,
> somebody might pick it up for 12 (which would be the next LTS
> version).
>
> --emi
>
> On Fri, Apr 10, 2020 at 3:25 AM Philip Durbin  
>  wrote:
>
> I see what happened. In a recent pull request* we changed "http" to "https" 
> in our pom.xml like this:
>
> BEFORE
> http://maven.apache.org/POM/4.0.0; 
> <http://maven.apache.org/POM/4.0.0>
> AFTER
> https://maven.apache.org/POM/4.0.0; 
> <https://maven.apache.org/POM/4.0.0>
>
> If I revert "https" back to "http" I can open the project properties.
>
> Phil
>
> * https://github.com/IQSS/dataverse/pull/6519
>
>
>
> On Thu, Apr 9, 2020 at 3:17 PM Philip Durbin  
>  wrote:
>
> Hi, we are seeing the following error in Netbeans 11.3 and earlier versions 
> such as Netbeans 8.2 even though our pom.xml is valid (I used xmllint to 
> check it and others on my team used other validators):
>
> "Project's pom.xml contains invalid xml content. Please fix the file before 
> proceeding."
>
> I'll also attach a screenshot.
>
> What I'm trying to do is right click the Java EE project and open the 
> properties.
>
> Here's the commit I'm on: 
> https://github.com/IQSS/dataverse/blob/d04d09c3e8d66295dc12e25f676a04a44b69acd6/pom.xml
>
> Any advice is welcome!
>
> 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: Project's pom.xml contains invalid xml content. Please fix the file before proceeding.

2020-04-10 Thread Emilian Bold


--emi



--emi


On Fri, Apr 10, 2020 at 5:35 PM Philip Durbin 
wrote:

> Sure, here you go: https://issues.apache.org/jira/browse/NETBEANS-4148
>
> On Fri, Apr 10, 2020 at 1:40 AM Emilian Bold 
> wrote:
>
>> Interesting. I think there's a whitelist of schema URLs in NetBeans
>> and they have the original http variant. Please report this on JIRA,
>> somebody might pick it up for 12 (which would be the next LTS
>> version).
>>
>> --emi
>>
>> On Fri, Apr 10, 2020 at 3:25 AM Philip Durbin 
>> wrote:
>> >
>> > I see what happened. In a recent pull request* we changed "http" to
>> "https" in our pom.xml like this:
>> >
>> > BEFORE
>> > http://maven.apache.org/POM/4.0.0;
>> > AFTER
>> > https://maven.apache.org/POM/4.0.0;
>> >
>> > If I revert "https" back to "http" I can open the project properties.
>> >
>> > Phil
>> >
>> > * https://github.com/IQSS/dataverse/pull/6519
>> >
>> >
>> >
>> > On Thu, Apr 9, 2020 at 3:17 PM Philip Durbin 
>> wrote:
>> >>
>> >> Hi, we are seeing the following error in Netbeans 11.3 and earlier
>> versions such as Netbeans 8.2 even though our pom.xml is valid (I used
>> xmllint to check it and others on my team used other validators):
>> >>
>> >> "Project's pom.xml contains invalid xml content. Please fix the file
>> before proceeding."
>> >>
>> >> I'll also attach a screenshot.
>> >>
>> >> What I'm trying to do is right click the Java EE project and open the
>> properties.
>> >>
>> >> Here's the commit I'm on:
>> https://github.com/IQSS/dataverse/blob/d04d09c3e8d66295dc12e25f676a04a44b69acd6/pom.xml
>> >>
>> >> Any advice is welcome!
>> >>
>> >> Phil
>>
>


Re: Netbeans 12.0 beta 2 - how to add an external jar

2020-04-10 Thread Emilian Bold
https://stackoverflow.com/q/5692256

--emi


On Fri, Apr 10, 2020 at 12:49 PM Louis Collet 
wrote:

> It’s an old .jar , not available via Maven Repository
>
>
>
> *From:* Geertjan Wielenga 
> *Sent:* vendredi 10 avril 2020 11:32
> *To:* Louis Collet 
> *Cc:* NetBeans Mailing List 
> *Subject:* Re: Netbeans 12.0 beta 2 - how to add an external jar
>
>
>
> Because you’re using a Maven project. Use the POM to add dependencies.
>
>
>
> Gj
>
>
>
> On Fri, 10 Apr 2020 at 11:24, Louis Collet  wrote:
>
> Hi everybody,
>
> I want to add an external .jar file to my projects
>
> I found this information on internet :
>
>
>
> With Netbeans 12.0 I don’t find *Librairies *. The properties of my
> project are :
>
>
>
> Any help would be appreciated !
>
> Louis
>
>


Re: Project's pom.xml contains invalid xml content. Please fix the file before proceeding.

2020-04-09 Thread Emilian Bold
Interesting. I think there's a whitelist of schema URLs in NetBeans
and they have the original http variant. Please report this on JIRA,
somebody might pick it up for 12 (which would be the next LTS
version).

--emi

On Fri, Apr 10, 2020 at 3:25 AM Philip Durbin  wrote:
>
> I see what happened. In a recent pull request* we changed "http" to "https" 
> in our pom.xml like this:
>
> BEFORE
> http://maven.apache.org/POM/4.0.0;
> AFTER
> https://maven.apache.org/POM/4.0.0;
>
> If I revert "https" back to "http" I can open the project properties.
>
> Phil
>
> * https://github.com/IQSS/dataverse/pull/6519
>
>
>
> On Thu, Apr 9, 2020 at 3:17 PM Philip Durbin  wrote:
>>
>> Hi, we are seeing the following error in Netbeans 11.3 and earlier versions 
>> such as Netbeans 8.2 even though our pom.xml is valid (I used xmllint to 
>> check it and others on my team used other validators):
>>
>> "Project's pom.xml contains invalid xml content. Please fix the file before 
>> proceeding."
>>
>> I'll also attach a screenshot.
>>
>> What I'm trying to do is right click the Java EE project and open the 
>> properties.
>>
>> Here's the commit I'm on: 
>> https://github.com/IQSS/dataverse/blob/d04d09c3e8d66295dc12e25f676a04a44b69acd6/pom.xml
>>
>> Any advice is welcome!
>>
>> 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: Netbeans C/C++ failing on Rasbian Buster (based on Debian)

2020-03-26 Thread Emilian Bold
> It could be that the old card was faulty but until I did the C/C++ plugin 
> installation (which failed) Raspbian was booting and working fine.

Correlation does not imply causation. Something is always running
right before a hardware failure.

Maybe the installation triggered many writes on the card and that was it.

--emi

On Thu, Mar 26, 2020 at 12:21 AM frui...@yahoo.co.uk
 wrote:
>
> I have another SD card now so I am going to give it a go and take screenshots.
> It could be that the old card was faulty but until I did the C/C++ plugin 
> installation (which failed) Raspbian was booting and working fine.
>
>
> On Wednesday, 25 March 2020, 22:13:40 GMT, Emilian Bold 
>  wrote:
>
>
> The most likely explanation is that it was the hardware card failing
> that made NetBeans not work properly.
>
> I wouldn't know how the 8.2 plugins work with current NetBeans but
> other people seem to suggest this workaround (although OpenBeans.org
> has had the /up-to-date/ C/C++ modules since 2018, sigh...)
>
> --emi
>
>
> On Wed, Mar 25, 2020 at 9:11 PM frui...@yahoo.co.uk.INVALID
>  wrote:
> >
> > Are there any know problems running the C/C++ plugin for Netbeans 10 on the 
> > latest distribution of Raspbian?
> >
> > I had a clean installation of the latest full Raspbian on a 32G microSD.
> > Using
> > sudo apt-get install netbeans
> >
> > It loaded Netbeans 10 which ran fine but had no C/C++ support.
> > I believed the solution was to use Netbeans to install a C/C++ plugin from 
> > Netbeans 8.?
> >
> > This I did before close to the very end an error was displayed.
> > Neatbeans still loaded and I could see C/C++ was now present however it 
> > would not run.
> >
> > After shutting Raspbian down properly I found the OS would not boot and I 
> > am having trouble using the card which shows 0 size.
> > Sorry for not posting screenshots and error messages, I am a bit messed up 
> > until I get the card working.
> > I am also a bit nervous of using Netbeans, is the card failure just a 
> > coincidence or is it related to the problem installing C/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
>
>

-
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 C/C++ failing on Rasbian Buster (based on Debian)

2020-03-25 Thread Emilian Bold
The most likely explanation is that it was the hardware card failing
that made NetBeans not work properly.

I wouldn't know how the 8.2 plugins work with current NetBeans but
other people seem to suggest this workaround (although OpenBeans.org
has had the /up-to-date/ C/C++ modules since 2018, sigh...)

--emi


On Wed, Mar 25, 2020 at 9:11 PM frui...@yahoo.co.uk.INVALID
 wrote:
>
> Are there any know problems running the C/C++ plugin for Netbeans 10 on the 
> latest distribution of Raspbian?
>
> I had a clean installation of the latest full Raspbian on a 32G microSD.
> Using
> sudo apt-get install netbeans
>
> It loaded Netbeans 10 which ran fine but had no C/C++ support.
> I believed the solution was to use Netbeans to install a C/C++ plugin from 
> Netbeans 8.?
>
> This I did before close to the very end an error was displayed.
> Neatbeans still loaded and I could see C/C++ was now present however it would 
> not run.
>
> After shutting Raspbian down properly I found the OS would not boot and I am 
> having trouble using the card which shows 0 size.
> Sorry for not posting screenshots and error messages, I am a bit messed up 
> until I get the card working.
> I am also a bit nervous of using Netbeans, is the card failure just a 
> coincidence or is it related to the problem installing C/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: When to install nb-javac

2020-03-23 Thread Emilian Bold
Is there some table highlighting the features that are broken with /
without nb-javac?

The nice page at
https://cwiki.apache.org/confluence/display/NETBEANS/Overview%3A+nb-javac
does highlight that there is a good reason nb-javac exists. Even when
running on JDK 9+ are we really on-par with all the nb-javac features?
My impression is that some things are just not the same (yet?).

--emi

On Mon, Mar 23, 2020 at 6:53 PM Geertjan Wielenga  wrote:
>
> https://cwiki.apache.org/confluence/display/NETBEANS/Overview%3A+nb-javac
>
> More info above.
>
> Gj
>
> On Mon, 23 Mar 2020 at 17:51, Geertjan Wielenga  wrote:
>>
>> Indeed, a must have only if NetBeans is running on JDK 8. Ultimately we want 
>> to need nb-javac increasingly less for later JDKs and if you can do without 
>> it, that would be great. Doesn’t exist yet, indeed, for 12.0 anyway.
>>
>> Gj
>>
>> On Mon, 23 Mar 2020 at 17:28, Mark Eggers  
>> wrote:
>>>
>>> Folks,
>>>
>>> I'm currently working with NetBeans 12 beta 1 running on Windows 10
>>> Professional and OpenJDK 11.-0.6. First of all, hats off to everyone who
>>> contributed to this. It's running fine for all of my projects
>>> (maven-based web and command line projects).
>>>
>>> I do have the notification showing 'Install nb-javac'. I've seen several
>>> threads in both the developers' list and users' list saying to not
>>> install nb-javac. I've also seen messages saying that if you run into
>>> problems with nb-javac, disabling it is not enough. It must be uninstalled.
>>>
>>> Is there a definitive list of the benefits that nb-javac brings, and
>>> when you should not install nb-javac?
>>>
>>> Considering this is also a beta, is the corresponding nb-javac even
>>> available?
>>>
>>> I'm running NetBeans 11.1 as well with nb-javac installed with no
>>> issues. However, NetBeans 12 fixes several issues (JavaScript CDN,
>>> Tomcat 7.0.103 launching) that are important in my environment.
>>>
>>> Thanks for any insight.
>>>
>>> .. . . just my two cents.
>>> /mde/
>>>

-
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: Generate missing switch cases for an enum

2020-03-19 Thread Emilian Bold
seems like a neat feature to add to Java too...

--emi

On Thu, Mar 19, 2020 at 6:18 PM Jerome Lelasseux
 wrote:
>
> I just realized the annoucement below was specific for C/C++... I use java.
>
> Le jeudi 19 mars 2020 à 17:14:25 UTC+1, Jerome Lelasseux 
>  a écrit :
>
>
> Hi,
>
> Since 8.1 Netbeans seems able to generate missing switch clauses:
> http://wiki.netbeans.org/NewAndNoteworthyNB81#Generate_missing_switch_clauses
>
> How to access it ?
>
> I tried ctrl-space in various places, alt-insert, without success.
>
>
>

-
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 14 / Netbeans download problem

2020-03-19 Thread Emilian Bold
Then again, the installer could perhaps *detect* JDK 14 and give the
users a nicer message?

--emi

On Wed, Mar 18, 2020 at 11:21 PM Chris Olsen  wrote:
>
> Geertjan and All --
>
>>  Or don’t use JDK 14 when installing as explicitly stated on the 
> download page.
>
>I have GOT to learn to read the fine print...
>
>   -- Chris
>
> - Original Message -
> From: Geertjan Wielenga 
> To: Patrik Karlström 
> Cc: users 
> Sent: Wed, 18 Mar 2020 15:14:10 -0400 (EDT)
> Subject: Re: Java 14 / Netbeans download problem
>
> Or don’t use JDK 14 when installing as explicitly stated on the download
> page.
>
> Gj
>
> On Wed, 18 Mar 2020 at 20:11, Patrik Karlström  wrote:
>
> > Pack200 was removed in Java 14.
> > https://openjdk.java.net/jeps/367
> >
> > Try the zip version of NetBeans and see if it works.
> >
> >
> > Den ons 18 mars 2020 kl 19:58 skrev Chris Olsen :
> >
> >> Hello, Everyone --
> >>
> >>I just downloaded the AdoptOpenJDK, and installed it via the  .msi
> >> file.  Then I attempted to download Netbeans 11.3.
> >>
> >>The Netbeans installation reached an "unexpected exception," to wit:
> >>
> >>   java.lang.NoClassDefFoundError:
> >>   java/util/jar/Pack200
> >>
> >>Has anyone else encountered this problem?  Have I messed up
> >> somewhere???
> >>
> >>-- Chris
> >>
> >> -
> >> 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: Best strategy to solve JavaHelp issue

2020-03-17 Thread Emilian Bold
> So far I don’t think anyone has figured out how it can be reincluded in a 
> NetBeans Platform app, if you manage to do it, would be great if you’d share 
> your findings.

The simplest solution is to just compile your own Platform with the
javahelp module and go on your merry way.

--emi

On Tue, Mar 17, 2020 at 8:32 AM Geertjan Wielenga  wrote:
>
>
> JavaHelp is GPL licensed and has not been donated by Oracle to Apache, so had 
> to be excluded from Apache NetBeans GitHub. So far I don’t think anyone has 
> figured out how it can be reincluded in a NetBeans Platform app, if you 
> manage to do it, would be great if you’d share your findings.
>
> Gj
>
> On Tue, 17 Mar 2020 at 05:49, Ernie Rael  wrote:
>>
>> On 3/11/2020 9:58 AM, Jean-Claude Dauphin wrote:
>> >
>> >
>> > My application is a modules suite and non commercial.
>> > I know that JavaHelp is not part of Apache NetBeans but what would be
>> > the best strategy to solve that issue
>>
>> I've been wondering about this myself.
>>
>> Maybe an integrated JavaFX web browser?
>>
>> There must have been some thought discussion about this in the NetBeans
>> team.
>>
>> What's the current thinking/plan?
>>
>> -ernie
>>
>>
>> >
>> > Thank you in advance for any advice on this issue
>> > Best regards,
>> > Jean-Claude
>> >
>> >
>> > --
>> > Jean-Claude Dauphin
>> >
>> > jc.daup...@gmail.com 
>> >
>> > https://github.com/J-ISIS
>> >
>> > http://www.greenstone.org
>>
>>
>>
>> -
>> 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: Statement of disappointment

2020-03-13 Thread Emilian Bold
> So let’s have all these laudables contribute to CoolBeans (put that page back 
> up Emilian and link to it in this thread) and then let’s have CoolBeans use 
> that pile if cash to sponsor NetCAT 12.0 participation!

First, I assume the bellow was written in jest:

>  $50 per person per NetCAT test spec

I see there are about 200 test specs according to
https://netbeans-vm.apache.org/synergy/client/app/#/specifications so
is anybody really donating such substantial sums of money?

Note that for CoolBeans (now OpenBeans, heh), I would have charged
money via my company. Then paid a salary to me or cover other project
expenses. I don't have a foundation that could give cash grants to
external individuals. Even so, I suspect just drafting the legal
paperwork for such a situation and clearing things up with the
accountant would cost more than the actual donations.

--emi


On Fri, Mar 13, 2020 at 10:34 PM Geertjan Wielenga  wrote:
>
> So let’s have all these laudables contribute to CoolBeans (put that page back 
> up Emilian and link to it in this thread) and then let’s have CoolBeans use 
> that pile if cash to sponsor NetCAT 12.0 participation!
>
> Gj
>
> On Fri, 13 Mar 2020 at 21:28, Emilian Bold  wrote:
>>
>> You guys are laudable!
>>
>> Back in late 2018 when I launched CoolBeans I also put up a store page
>> as I imagined it was possible to get paid working on NetBeans codebase
>> itself. (BTW, no third party can sell "NetBeans" since it's an Apache
>> trademark!)
>>
>> Incorporated entities did use CoolBeans but not once bought a license!
>> I did get a formal request via SoftChoice (aka procurement) which
>> involved a lot of back and forth and changes before they could buy
>> exactly 0 licenses.
>>
>> I also tried paying for features myself via bounties
>> https://www.openbeans.org/bounties/ but nobody claimed one.
>>
>> Really curious what the conclusion of this talk is and what solution is 
>> found.
>>
>> My opinion is that there is no money in NetBeans (excluding some
>> legacy Platform apps still going) and even when people want to pay
>> other requirements are not met and the deal fails.
>>
>> It would be cool to have a Tomitribe for NetBeans, but... there is no
>> market for IDE subscriptions.
>>
>> --emi
>>
>>
>> On Fri, Mar 13, 2020 at 9:53 PM John G. Weed  
>> wrote:
>> >
>> > I'd be more than happy to contribute some cash to the appropriately formed 
>> > company, either directly or in some form of licensing agreent. I'd also be 
>> > willing to offer some time, though my expertise is limited to c/c++.
>> >
>> > Sincerely,
>> >
>> > John .G Weed
>> > Cicero Systems, LLC
>> > "Reason. Resolve. Respond"
>> > (571) 277-9998
>> >
>> > "Steal a man's reputation for probity, and the more shrewd and clever he 
>> > is, the more hated and mistrusted he'll become." Marcus Tullius Cicero 
>> > (106BC-43BC)
>> >
>> > Confidentiality Notice:  The information contained in this electronic 
>> > transmission is privileged and confidential and is intended only for the 
>> > recipient(s) named above.  If the reader of this message is not the 
>> > recipient(s) named above, or an authorized agent of such recipient(s) 
>> > responsible for delivering it to the intended recipient(s), you are hereby 
>> > notified that you have received this electronic transmission in error.  
>> > Any review, dissemination, distribution, or copying of this electronic 
>> > transmission including any attachments is strictly prohibited.  If you 
>> > have received this electronic transmission in error, please notify the 
>> > sender immediately.
>> >
>> >
>> > On Fri, Mar 13, 2020, at 15:33, Thomas Wolf wrote:
>> >
>> > I'd be happy to contribute some personal money.  To get my employer to 
>> > pay, it would have to take the form of something like an IDE license or 
>> > support license.  Many engineers in my company use IntelliJ and the 
>> > company pays for those licenses - I don't see why they wouldn't pay for a 
>> > Netbeans "license" for me as long as they have an official place from 
>> > which to 'purchase' it.
>> >
>> > Best regards,
>> > Tom
>> >
>> >
>> >
>> > On Fri, Mar 13, 2020 at 3:22 PM Geertjan Wielenga  
>> > wrote:
>> >
>> > Sure! If you’re not willing/able to participate in NetCAT yourself:
>> >
>> > https://cwiki.a

Re: Statement of disappointment

2020-03-13 Thread Emilian Bold
You guys are laudable!

Back in late 2018 when I launched CoolBeans I also put up a store page
as I imagined it was possible to get paid working on NetBeans codebase
itself. (BTW, no third party can sell "NetBeans" since it's an Apache
trademark!)

Incorporated entities did use CoolBeans but not once bought a license!
I did get a formal request via SoftChoice (aka procurement) which
involved a lot of back and forth and changes before they could buy
exactly 0 licenses.

I also tried paying for features myself via bounties
https://www.openbeans.org/bounties/ but nobody claimed one.

Really curious what the conclusion of this talk is and what solution is found.

My opinion is that there is no money in NetBeans (excluding some
legacy Platform apps still going) and even when people want to pay
other requirements are not met and the deal fails.

It would be cool to have a Tomitribe for NetBeans, but... there is no
market for IDE subscriptions.

--emi


On Fri, Mar 13, 2020 at 9:53 PM John G. Weed  wrote:
>
> I'd be more than happy to contribute some cash to the appropriately formed 
> company, either directly or in some form of licensing agreent. I'd also be 
> willing to offer some time, though my expertise is limited to c/c++.
>
> Sincerely,
>
> John .G Weed
> Cicero Systems, LLC
> "Reason. Resolve. Respond"
> (571) 277-9998
>
> "Steal a man's reputation for probity, and the more shrewd and clever he is, 
> the more hated and mistrusted he'll become." Marcus Tullius Cicero 
> (106BC-43BC)
>
> Confidentiality Notice:  The information contained in this electronic 
> transmission is privileged and confidential and is intended only for the 
> recipient(s) named above.  If the reader of this message is not the 
> recipient(s) named above, or an authorized agent of such recipient(s) 
> responsible for delivering it to the intended recipient(s), you are hereby 
> notified that you have received this electronic transmission in error.  Any 
> review, dissemination, distribution, or copying of this electronic 
> transmission including any attachments is strictly prohibited.  If you have 
> received this electronic transmission in error, please notify the sender 
> immediately.
>
>
> On Fri, Mar 13, 2020, at 15:33, Thomas Wolf wrote:
>
> I'd be happy to contribute some personal money.  To get my employer to pay, 
> it would have to take the form of something like an IDE license or support 
> license.  Many engineers in my company use IntelliJ and the company pays for 
> those licenses - I don't see why they wouldn't pay for a Netbeans "license" 
> for me as long as they have an official place from which to 'purchase' it.
>
> Best regards,
> Tom
>
>
>
> On Fri, Mar 13, 2020 at 3:22 PM Geertjan Wielenga  wrote:
>
> Sure! If you’re not willing/able to participate in NetCAT yourself:
>
> https://cwiki.apache.org/confluence/display/NETBEANS/NetCAT+12.0
>
> ...would you be interested in sponsoring others to do so, at say $50 per 
> person per NetCAT test spec?
>
> Gj
>
> On Fri, 13 Mar 2020 at 20:01, Chris Olsen  wrote:
>
> Thomas and All --
>
>Mine is much the same story.  Would there be some way to contribute $$$ 
> (or, in my case, $$) to the team meaningfully?
>
>   -- Chris
>
> - Original Message -
> From: Thomas Wolf 
> To: John Mc 
> Cc: Robert Erdt , bmelen...@hemstech.com, Geertjan 
> Wielenga , Emilian Bold , Paul 
> Szudzik , Netbeans Mailing List 
> 
> Sent: Fri, 13 Mar 2020 14:10:11 -0400 (EDT)
> Subject: Re: Statement of disappointment
>
> My $.02,
> I’ve been benefitting from NB since I moved over from Visual Cafe in 1999 (to 
> give you an idea of what a Java dinosaur I am).  And my only contributions in 
> 2+ decades have been bug reports (most of which now lie forgotten somewhere 
> in the bowels of the old Bugzilla system) and 1-2 NetCAT participations.   I 
> have always been willing to pay for this excellent tool but never had the 
> desire (or time) to improve it myself.   In the early days, I once downloaded 
> it with the faint hope of correcting a minor bug - but didn’t even succeed in 
> building it.   For me at least, the time it takes to get high enough on the 
> learning curve to contribute meaningfully is more than I have been willing to 
> invest (maybe that’ll change after I retire in a few years).
>
> But like I said, I’ve always been more than happy to pay for the tool.  I 
> wonder if it’s too late for NB to introduce such an alternative/additional 
> model?   Just a thought.
>
> Best regards,
> Tom
>
>
> > On Mar 13, 2020, at 9:51 AM, John Mc  wrote:
> >
> > 
> > But instead of looking at this financial payment, why not consider an 
> > tim

Re: Statement of disappointment

2020-03-09 Thread Emilian Bold
Go and pick Azul Zulu' JDK FX package which comes bundles with JavaFX:
https://www.azul.com/downloads/zulu-community/?=x86-64-bit=jdk-fx

I used it for an older Platform app where I don't feel like
configuring the FX mumbo jumbo.

I doubt anybody can make a magic transition tools since there's too
much people can customize...

Given the resources available, things are as they are. They could
always be better.

--emi

On Mon, Mar 9, 2020 at 5:16 PM Paul Szudzik  wrote:
>
> I have been a NetBeans user since inception.  I am retired now, but when 
> I worked, I was one of the few people in my company that was an advocate of 
> NetBeans, and used it instead of the company line, Eclipse product.
>
> Retired now for 10+ years, I used NetBeans to develop my products, and 
> really getting involved in JavaFX big time. I love the cross platform 
> capability, and use it on both Ubuntu and Windows.  Raspberry Pi, no problem. 
>  Windows, no problem.  I loved it. Then boom, Oracle takes JavaFX out of the 
> mix, and NetBeans and I start having major problems. It gets harder and 
> harder to use NetBeans with it’s incompatibility with JavaFX without going 
> through hoops every single time we upgrade.  I have a ton of projects that 
> are a major pain to go back to without having to dance on a high wire to get 
> to work.  And I am still not sure I can do this anymore.
>
> I have been a computer programmer, designer and architect for well over 
> 53+ years.  I have see many systems come and go, many IDE rise and fall, many 
> languages surface and crash.  The move to Maven is beyond my scope now.  I 
> want to program, not to have to regenerate and rehash my build system every 
> release.  I have tried to move over to 11, and mostly failed.  I have too 
> many modules and programs in play to hack this out.
>
> It would have been great if NetBeans had a seamless transition , built in 
> conversions for old projects to current format.  Seriously, I would love to 
> be on that train.  But nope, it seems too much handholding and dancing.  I 
> currently have a half dozen active Beta’s  that are stuck in a NetBeans 8.1.x 
> / Java 8 scenario, that I want to port into NetBeans 11.3 / Java 13+ area, 
> but really don’t believe that it is 1: Easy, 2: Lasting, 3: Enduring more 
> than another release.
>
> I still have reported bugs > 5 years old that are not resolved.
>
> I see streams of notes that are asking questions about compatibility.  ( 
> The latest straw is the Ant image ... )  I see how once the major players in 
> NetBeans get on a wagon, the trail off is almost impossible.  If you’re new 
> to NetBeans, perhaps this is a good trend.  If you have dealt with NetBeans 
> as long as I have.. it becomes more than just an annoyance.  It almost easier 
> to find another IDE to settle in on, as the amount of work to transfer 100+ 
> projects, probably more, from old NetBeans to new NetBeans is formidable.
>
> Maybe a 3rd party can produce a product that 100% transfer old projects 
> to Maven..  I’d rather develop and code than mess around with trying to make 
> things move up the NetBeans chain anymore..  Coding is fun, transitioning is 
> not. I am 100% committed to JavaFX, I like the layouts, I like what Gluon has 
> done, I like the look and feel.
>
> NetBeans 8 –> NetBeans 11+ –> convert ...
>
> I would normally apologize for my rant, but nope. I feel that I am now 
> progressing backwards...
>
>
>

-
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: [ANNOUNCE] Apache NetBeans 11.3 released

2020-03-04 Thread Emilian Bold
> I tried downloading the plugin again from
> http://plugins.netbeans.org/plugin/62424/darcula-laf-for-netbeans
> but it's no longer available.

There's a mirror with all the plugins at http://plugins.archive.librebeans.org

--emi

On Wed, Mar 4, 2020 at 6:45 PM Thomas Wolf  wrote:
>
> Excellent new release - thanks so much for the new software, especially the 
> new L
>
> Speaking of L, the new FlatLaf Dark uses a very similar color palette to 
> Darcula, my favorite L for the past few years.  Nice!  The only downside 
> (so far)  I notice is with tabs, as they use up more vertical space (and, 
> possibly, horizontally too) than Darcula's.  What is the status of Darcula?  
> NB 11.3 offered to import it from my 11.2 installation, but it does not show 
> up as a L option after I do so.  Viewing the IDE log, I don't see any 
> errors either?!  I tried downloading the plugin again from
>  http://plugins.netbeans.org/plugin/62424/darcula-laf-for-netbeans
> but it's no longer available.  I tried building the code from GitHub but get 
> build failures.  It seems no longer maintained - the last update on GitHub 
> was 3 years ago.
>
> Thanks for all info,
> Tom
>
> On Wed, Mar 4, 2020 at 10:05 AM Eric Barboni  wrote:
>>
>> The Apache NetBeans team is pleased to announce the release of Apache
>> NetBeans 11.3. Apache NetBeans is a full IDE for Java SE, Java EE, PHP
>> and JavaScript development with some Groovy language support.
>>
>> Apache NetBeans 11.3 is the third Apache NetBeans release outside the
>> Apache Incubator and the third release of the new quarterly release
>> cycle.  The LTS release of the Apache NetBeans 11 cycle is Apache
>> NetBeans 11.0. The 11.3 release has not been as heavily tested as the
>> LTS release. Use 11.3 to access the latest features and to provide
>> feedback for the next LTS release, scheduled for May 2020.
>>
>> New & noteworthy features of the 11.3 release:
>>
>> https://netbeans.apache.org/download/nb113/index.html
>>
>> Downloads:
>>
>> https://netbeans.apache.org/download/nb113/nb113.html
>>
>> Feel free to share the good news!
>>
>> The next Apache NetBeans 12.0 will be tested through NetCAT program.
>> If you have some time to test and review Apache NetBeans Development build
>> feel free to join.
>> https://netbeans.apache.org/participate/netcat.html
>>
>> Thanks everyone, for fixing / reporting issue, improving documentation.
>> Special thanks to Neil and Geertjan for continuous help.
>>
>> Best Regards
>>
>> On Behalf of the Apache NetBeans PMC
>> Eric Barboni & Arunava Sinha
>>
>>
>>
>> -
>> 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
>>
>
>
> --
> 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: SOLVED: Apache Netbeans w/NetBeans 8.2 C/C++ plugin on Raspberry Pi 4B (ARM64) running Ubuntu 18.04.4/xubuntu

2020-02-28 Thread Emilian Bold
Well, I compiled NetBeans on slower systems. I suspect even a spinning
hard drive beats an SD card and even a 'weak' system becomes quite
good for work with an SSD.

If I were to buy some ARM gadgets nowadays I would also play with the
ROCKPro64 from https://www.pine64.org

--emi

On Fri, Feb 28, 2020 at 11:43 PM John G. Weed  wrote:
>
> I will try to build one without the JDK 8 and see what happens; if it  works, 
> I will update my instructions. As for your comment "You could never compile 
> something heavy on that thing..." I guess that depends on what you mean by 
> heavy. The RPi4 is the only hardware platform, given it's physical size, that 
> met our performance metrics--we've been waiting a long time for this 
> capability. We've tried the BeagleBone Black and some others, but wold not 
> run the Ubuntu operating system. And as I elluded to, this was important.
>
> Thank you for your inputs
>
>
>
> On Fri, Feb 28, 2020, at 21:34, Emilian Bold wrote:
> > I'm not entirely certain why you installed Java 8 from Oracle when you
> > also have JDK 11 in the repository and NetBeans runs with Java 11.
> >
> > The RPi is a capable machine, only slow part is the IO... You could
> > never compile something heavy on that thing although in the past you
> > would have compiled many things on a quad core / 4GB machine.
> >
> > --emi
> >
> > On Fri, Feb 28, 2020 at 11:26 PM John G. Weed  
> > wrote:
> > >
> > > All,
> > >
> > > Forgive me if this needs to be sent via some other venue, but since this 
> > > has been such a pain in the butt to find an answer to, I thought I'd 
> > > write out the steps I followed to build a Raspberry Pi 4B (4GB) running 
> > > the Ubuntu 18.04.4 LTS operating system, with the xubuntu desktop, for 
> > > the purpose of running the NetBeans 11.2 IDE with (most importantly) 
> > > support for the NetBeans 8.2 C/C++ plugin--one long run-on sentence.
> > >
> > > Our software baseline is currently running on some pretty hefty HP 
> > > DL-380s (the Enterprise version), as well as some smaller tactical units. 
> > > But we were missing a portable, pocket version platform. I wanted to be 
> > > able to use not only the same operating system (Ubuntu 18.04), but the 
> > > same IDE as well. This would dramatically decrease any cross platform 
> > > maintenance  issues. The following steps make this entirely possible. 
> > > Many thanks to the folks who provided valuable suggestions.
> > >
> > > The following are the steps required to build a Ubuntu 18.04.4 LTS server 
> > > based on the Raspberry Pi 4B (4GB) platform supporting the Apache 
> > > NetBeans 11.2 IDE with the NetBeans 8.2 C/C++ plugin. If you are already 
> > > well versed in Ubuntu and Raspberry Pi you may find the instructions a 
> > > tad verbose. However, in order to reach the widest possible audience, 
> > > I’ve taken the time to illustrate in excruciating detail. Please forward 
> > > any changes or correction to nonsequi...@fastmail.com.
> > >
> > > Required:
> > >
> > > Raspberry Pi 4B 4GB
> > >
> > > HDMI monitor
> > >
> > > USB Keyboard and mouse
> > >
> > > USB power supply
> > >
> > > 16GB MicroSD
> > >
> > > Windows 10 or equivalent PC (to burn Ubuntu image to MicroSD card)
> > >
> > > Windows PC Steps:
> > >
> > > Wipe-clean (delete all exiting partitions) and format the 16GB MicroSD 
> > > card using MiniTool Partition Wizard or equivalent
> > >
> > > Download file ubuntu-18.04.4-preinstalled-server-arm64+raspi3.img from 
> > > site https://ubuntu.com/download/raspberry-pi
> > >
> > > Using Win32 Disk Imager or equivalent, write the 
> > > ubuntu-18.04.4-preinstalled-server-arm64+raspi3.img to the MicroSD card.
> > >
> > > Raspberry PI 4B (RPi4):
> > >
> > > With power off, connect monitor, keyboard and mouse to the RPi4
> > >
> > > Insert imaged MicroSD card into the RPi4 and power up
> > >
> > > Login using username "ubuntu" and password "ubuntu"
> > >
> > > Respond to the change password request as appropriate and login
> > >
> > > Update configuration sources by entering: sudo apt-get update
> > >
> > > Install xubuntu desktop environment by entering: sudo apt-get install 
> > > xubuntu-desktop
> > >
> > > Login to RPi4 using the changed password
> > >
> > >

  1   2   3   >