Re: [DISCUSS] Projects, Builds and IDE magic

2024-08-16 Thread Jan Lahoda
Hi, First, I would like to take a step back and ask what's the purpose of an IDE. I think the purpose is to help developers to write better applications faster and more conveniently. If some more "magic" helps with that goal, it is not bad, I think. NetBeans specifically was "always" very close t

Re: [VOTE] Release Windows launcher natives version 1-94a19f0

2024-01-10 Thread Jan Lahoda
+1 I've: - checked the hashes - looked at the LICENSE and NOTICE in both artifacts, makes sense to me - tried to build, worked for me on Kubuntu 22.04 - checked sources correspond to the repository state at the given commit id. Thanks! Jan On Mon, Jan 8, 2024 at 7:00 PM Neil C Smith wrote: >

Re: [DISCUSS] Moving cnd forward

2023-09-18 Thread Jan Lahoda
ient was written against and for ccls. Supporting C/C++ using ccls was the driving reason for ide/lsp.client. So, unless something significant changed, supporting ccls should be viable. Jan > > > [1] > > https://github.com/apache/netbeans/blob/b5a8baff7408fb4f07633a38d47c32794

Re: [DISCUSS] Moving cnd forward

2023-09-16 Thread Jan Lahoda
Hi Antonio, Great to see progress on CND! First, the mime types in cpplite were intended to automatically "disable" the cpplite functionality when CND is installed. So, these are not intended to be used at the same time. OTOH, it is true cpplite is used a little bit more than anticipated. So, le

Re: [DISCUSS] disable remote index extraction by default [NB18]

2023-04-17 Thread Jan Lahoda
I apologize for being contrarian, but since the index download started for me (again) while on a bus with very poor internet connection, I guess I should tell you my view. Unless I am mistaken, the index gz has currently roughly 1.9GB, and it tooks several minutes to actually create the Lucene ind

Publishing the VS Code extension on open-vsx.org

2023-04-10 Thread Jan Lahoda
Hi, I just wanted to ask if anyone would object to me trying to publish the existing VS Code extension binary on https://open-vsx.org? Thanks, Jan

Re: Jackpot

2023-01-26 Thread Jan Lahoda
Hi Scott, Thanks for the interest in Jackpot. The Maven plugin basically only calls a standalone command line tool, which is also uploaded on Maven central (org.apache.netbeans.modules.jackpot30:tool:13.0), although that's a bit harder to use without the launchers (launchers are part of the relea

[RESULT][VOTE] Release Apache Netbeans Standalone Java Hints Tool 13.0 [vote candidate 3]

2022-07-02 Thread Jan Lahoda
problem for the future: Building only succeeds only on JDK 8 but > fails on JDK 11. > > If anyone has the feeling, that the text looks like my reply to VC2, > yes, I verified the the findings for VC2 on VC3. > > Am Dienstag, dem 21.06.2022 um 07:05 +0200 schrieb Jan Lahoda: > &

[VOTE] Release Apache Netbeans Standalone Java Hints Tool 13.0 [vote candidate 3]

2022-06-20 Thread Jan Lahoda
Dear all, I'd like to release the standalone Java Hints tool ("jackpot") based on Apache NetBeans 13.0, including the nb-javac. This is a third candidate for voting. The release is here: https://dist.apache.org/repos/dist/dev/netbeans/netbeans-jackpot/netbeans-jackpot-13.0-vc3/apache-netbeans-jac

Re: [VOTE] Release Apache Netbeans Standalone Java Hints Tool 13.0 [vote candidate 2]

2022-06-19 Thread Jan Lahoda
verlooked this thread. Didn't realize the second vote is > already happening. > > tested some inspections via CLI and everything worked fine, hashes match > too. > > best regards, > michael > > > On 06.06.22 07:43, Jan Lahoda wrote: > > Dear all, >

Re: next release

2022-06-07 Thread Jan Lahoda
Hi, If what you have is an Ant or Maven project, then: (File in the main menu or context menu of the project)/Project Properties/Build/Compiling, uncheck "Compile on Save". Jan On Tue, Jun 7, 2022 at 1:23 AM Ty Young wrote: > Apparently the only reason it is "fixed" is because nb-javac is > in

[VOTE] Release Apache Netbeans Standalone Java Hints Tool 13.0 [vote candidate 2]

2022-06-05 Thread Jan Lahoda
Dear all, I'd like to release the standalone Java Hints tool ("jackpot") based on Apache NetBeans 13.0, including the nb-javac. The release is here: https://dist.apache.org/repos/dist/dev/netbeans/netbeans-jackpot/netbeans-jackpot-13.0-vc2/apache-netbeans-jackpot-13.0.zip Signature file: https:/

Re: [CANCEL][VOTE] Release Apache Netbeans Standalone Java Hints Tool 13.0 [vote candidate 1]

2022-06-05 Thread Jan Lahoda
ue, May 24, 2022 at 11:50 AM Jaroslav Tulach wrote: > This is a fix for the version selection. Don't we also need a fix that > would fail the build? > -jt > > > Dne út 24. 5. 2022 7:35 uživatel Jan Lahoda napsal: > > > Oops. Fix: > > https://github.com/apache/

[CANCEL][VOTE] Release Apache Netbeans Standalone Java Hints Tool 13.0 [vote candidate 1]

2022-05-23 Thread Jan Lahoda
.tck.JavaScriptTCK; > > public class JsUtils { > + > + private final ArrayList list; > private JsUtils() { > +list = new ArrayList<>(); > } > > private static JavaScriptTCK instantiatedJsTCK; > > Dne neděle 22. května 2022 9:12:10 CES

[VOTE] Release Apache Netbeans Standalone Java Hints Tool 13.0 [vote candidate 1]

2022-05-22 Thread Jan Lahoda
Dear all, I'd like to release the standalone Java Hints tool ("jackpot") based on Apache NetBeans 13.0, including the nb-javac. The release is here: https://dist.apache.org/repos/dist/dev/netbeans/netbeans-jackpot/netbeans-jackpot-13.0-vc1/apache-netbeans-jackpot-13.0.zip Signature file: https:/

Re: How to handle cpplite and cnd coexistence?

2022-01-09 Thread Jan Lahoda
On Sun, Jan 9, 2022 at 10:15 AM antonio wrote: > > > El 9/1/22 a las 0:10, Matthias Bläsing escribió: > > before the whole module tree is changed, I would go with the least > > intrusive change, which is Option 1 (only the layer is changed). > > Very sensible, as usual. Thanks Matthias! :-). > >

Re: How to handle cpplite and cnd coexistence?

2022-01-08 Thread Jan Lahoda
Hi, I am sorry for a belated reply. My opinion: merge CND and cpplite. I.e. roughly: merge what is needed from the cpplite cluster into the cnd cluster, and drop the rest. I assume the CND would, at least for now, use an LSP server to provide the editor features. The LSP server setting from cppli

Re: Declarative Java Hints: Syntax help

2021-11-27 Thread Jan Lahoda
On Sat, Nov 27, 2021 at 11:11 PM Jan Lahoda wrote: > Hi, > > That rule should be working - a more general rule would be something like: > I meant: that is a rule that should do what you want, and the fact it is not working is a bug. Jan if ($expr instanceof $type $name) {

Re: Declarative Java Hints: Syntax help

2021-11-27 Thread Jan Lahoda
Hi, That rule should be working - a more general rule would be something like: if ($expr instanceof $type $name) { $stmts$; } else $else$; => if ($expr instanceof $type) { $type $name = ($type) $expr); $stmts$; } else $else$; ;; I am working on it. Jan On Wed, Nov 24, 2021 at 12:54

Re: 13+17

2021-11-11 Thread Jan Lahoda
Hi, On Thu, Nov 11, 2021 at 8:44 AM Laszlo Kishalmi wrote: > It's not about the how. It's about from where (legal). > (As Neil), I am not sure if there's a legal problem. The libraries/dependencies we use have some license, and that license needs to fulfil some requirements, but we could downlo

Re: [NOTICE] Freeze and branch for Apache NetBeans 12.6 - Oct 22nd.

2021-10-19 Thread Jan Lahoda
On Tue, Oct 19, 2021 at 7:58 PM Michael Bien wrote: > On 19.10.21 11:51, Jaroslav Tulach wrote: > > po 18. 10. 2021 v 20:32 odesílatel Neil C Smith > > napsal: > > > >> On Mon, 18 Oct 2021 at 17:44, Michael Bien wrote: > That's a developer request, right? We don't want to scare regular > >

Re: Mocking framework

2021-10-09 Thread Jan Lahoda
On Sat, Oct 9, 2021 at 7:26 PM Karl-Philipp Richter wrote: > Hi, > I wanted to contribute some unit tests to the project. As far I > understand there's no mocking framework in use currently looking at the > test classes and answers to my recent "Getting Started" post. > > I think this is odd and

[RESULT][VOTE] Release Apache Netbeans Standalone Java Hints Tool 12.5 [vote candidate 1]

2021-10-08 Thread Jan Lahoda
gt; Downloaded, verified signature and sha and tested the staged > `tool-12.5.jar` in my project: > https://github.com/apache/netbeans/pull/3206 > -jt <https://github.com/apache/netbeans/pull/3206-jt> > > > ne 3. 10. 2021 v 11:13 odesílatel Jan Lahoda napsal: > > > Dear

[VOTE] Release Apache Netbeans Standalone Java Hints Tool 12.5 [vote candidate 1]

2021-10-03 Thread Jan Lahoda
Dear all, I'd like to release the standalone Java Hints tool ("jackpot") based on Apache NetBeans 12.5. The release is here: https://dist.apache.org/repos/dist/dev/netbeans/netbeans-jackpot/netbeans-jackpot-12.5-vc1/apache-netbeans-jackpot-12.5.zip Signature file: https://dist.apache.org/repos/d

Re: NB and JDK 17 - OpenJDK Quality Outreach

2021-07-24 Thread Jan Lahoda
ueue.dispatchEvent(EventQueue.java:743) > at > > org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136) > [catch] at > > java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203) > at > > java.desktop/java.awt.

Re: NB and JDK 17 - OpenJDK Quality Outreach

2021-07-24 Thread Jan Lahoda
This build is then used as the system JDK(AKA JAVA_HOME). The project > > is using Maven, if that matters. > > > > > > On 7/13/21 1:10 AM, Jan Lahoda wrote: > >> Hi Ty, > >> > >> Do you have more information on how to reproduce (i.e. how to setup >

Re: NB and JDK 17 - OpenJDK Quality Outreach

2021-07-12 Thread Jan Lahoda
Hi Ty, Do you have more information on how to reproduce (i.e. how to setup the IDE and the projects to see the problem). I tried to run a (very) recent build on the Panama branch, and create a simple project, and I didn't see the FatalError, so there is something other I need to do. Thanks, J

Re: [VOTE] Release Apache NetBeans 12.5 windows native launchers

2021-07-01 Thread Jan Lahoda
Great work, and thanks for doing this! I have a question though (something I didn't notice before): the NOTICE in the 'launcher-12.5-distribution.zip` and `launcher-12.5-sources.jar` is different than in the source release. I think one in the source release zip is the correct one. So, this is unfo

Re: [12.4-rc1] "Go to Type" NPE org.netbeans.modules.lsp.client.LSPBindings

2021-04-25 Thread Jan Lahoda
FYI: https://github.com/apache/netbeans/pull/2911 Thanks for the report! Jan On Sun, Apr 25, 2021 at 7:05 AM Patrik Karlström wrote: > Whenever I hit Ctrl + O and start typing something it results in the NPE > below. > I noticed this first on the snap build with JDK 16 so I tried the > 12.4-r

Re: Problem in JPA Code Generation somewhere in Javac (issue: NETBEANS-5397)

2021-04-18 Thread Jan Lahoda
Hi, I think this was fixed by: https://github.com/oracle/nb-javac/pull/10 We need to include a new nb-javac in NetBeans, presumably done here: https://github.com/apache/netbeans/pull/2901 Jan On Sun, Apr 18, 2021 at 1:05 PM Matthias Bläsing wrote: > Hi, > > the following issue is reproducibl

[RESULT] [VOTE] Release Apache Netbeans Standalone Java Hints Tool 12.3 [vote candidate 2]

2021-04-11 Thread Jan Lahoda
Hi, Thanks everybody for votes! The voting is closed now. The results are: 5x binding +1 (Jaroslav Tulach, Eric Barboni, Geertjan Wielenga, Josh Juneau, Matthias Bläsing) 1x +1 (Kai Uwe Pel) 0x 0 0x -1 So the vote passes. Thanks! Jan On Mon, Mar 29, 2021 at 7:40 AM Jan Lahoda wrote: > D

Re: [DISCUSS] CND Next Steps

2021-04-10 Thread Jan Lahoda
Hi Antonio, A few comments below: On Sat, Apr 10, 2021 at 7:30 PM antonio wrote: > Hi all, > > I've been taking a look at the CND donation and I'd like to share with > you some findings, to verify if I'm correct and to discuss what should > be done (I'm afraid this is goning to be a long email)

Re: Manipulating System Classpath with NetBeans (OpenJFX assumes classes can be loaded by FindClass)

2021-04-07 Thread Jan Lahoda
Hi, On Wed, Apr 7, 2021 at 4:09 PM Matthias Bläsing wrote: > Hi Scott, > > Am Mittwoch, den 07.04.2021, 09:47 -0400 schrieb Scott Palmer: > > I saw this and it raised a red flag. JavaFX modules on the class > > path is not supported. > > > > See this comment in the OpenJFX bug system: > > > > >

[VOTE] Release Apache Netbeans Standalone Java Hints Tool 12.3 [vote candidate 2]

2021-03-28 Thread Jan Lahoda
Dear all, I'd like to release the standalone Java Hints tool ("jackpot") based on Apache NetBeans 12.3, this time hopefully with the right artefacts. The release is here: https://dist.apache.org/repos/dist/dev/netbeans/netbeans-jackpot/netbeans-jackpot-12.3-vc2/apache-netbeans-jackpot-12.3.zip S

Re: WM_CLASS(STRING) = "java-lang-Thread", "java-lang-Thread"

2021-03-28 Thread Jan Lahoda
If we need to get access to something like this, using something more specific like "--add-opens java.desktop/sun.awt=ALL-UNNAMED" is AFAIK a much better way. Jan On Sun, Mar 28, 2021 at 5:03 PM Bläsing, Matthias wrote: > Hi Patrik, > > Am 28.03.2021 um 13:01 schrieb Patrik Karlström: > > I not

Re: [CANCEL] [VOTE] Release Apache Netbeans Standalone Java Hints Tool 12.3 [vote candidate 1]

2021-03-27 Thread Jan Lahoda
As Matthias pointed out, the artifacts are swapped, cancelling this vote, and will send a new one. Sorry for confusion, Jan On Sun, Mar 14, 2021 at 1:54 PM Jan Lahoda wrote: > Dear all, > > I'd like to release the standalone Java Hints tool ("jackpot") based o

Re: [DISCUSS] Release Apache Netbeans Standalone Java Hints Tool 12.3 [vote candidate 1] (was: Re: [VOTE] Release Apache Netbeans Standalone Java Hints Tool 12.3 [vote candidate 1])

2021-03-27 Thread Jan Lahoda
pot-12.3.zip holds the convenience binaries, while > apache-netbeans-jackpot-12.3-bin.zip holds the source code. > > Greetings > > Matthias > > > > Am Sonntag, den 14.03.2021, 13:54 +0100 schrieb Jan Lahoda: > > Dear all, > > > > I'd like to release the

[VOTE] Release Apache Netbeans Standalone Java Hints Tool 12.3 [vote candidate 1]

2021-03-14 Thread Jan Lahoda
Dear all, I'd like to release the standalone Java Hints tool ("jackpot") based on Apache NetBeans 12.3. The release is here: https://dist.apache.org/repos/dist/dev/netbeans/netbeans-jackpot/netbeans-jackpot-12.3-vc1/apache-netbeans-jackpot-12.3.zip Signature file: https://dist.apache.org/repos/d

Re: [DISCUSS] Compile with JDK-11 javac --release flag

2021-02-11 Thread Jan Lahoda
The platform/openide.util.lookup module uses javac.source=1.8, so at least every module that depends on it, either directly or indirectly, effectively only runs on JDK 8, and hence we can upgrade javac.target to 1.8. Upgrading the javac.source (as opposed to target) might cause some issues, due to

Re: Gephi & NetBeans was: NetBeans platform: roadmap for compatibility with recent JDKs and the Java module system?

2021-02-09 Thread Jan Lahoda
s (like NetBeans Runtime Container). I believe people are still > using NetBeans 8.2 even on JDK15. That said, I'd be really glad if Gephi > migrated to recent Apache NetBeans. > > > roadmap of development for the NetBeans platform, with regards to > > compatibility

Re: Netbeans Long Term Java Planning

2021-02-09 Thread Jan Lahoda
On Tue, Feb 9, 2021 at 7:54 PM Eric Bresie wrote: > So from an initial plan perspective I would assume part of the "table or > work" would involve > I'd like to point out one thing: currently, the oldest JDK on which NetBeans runs is JDK 8, but that does not mean it does not run on newer JDKs. Q

Re: How to implement a new language on LSP (Python)

2021-01-26 Thread Jan Lahoda
Hi, I've started with a page here: https://cwiki.apache.org/confluence/display/NETBEANS/Adding+New+Language+Support Feedback, or improvements based on experiences are welcome! Jan On Sun, Jan 24, 2021 at 3:22 PM Matthias Bläsing wrote: > Hi Eric, > > Am Samstag, den 23.01.2021, 14:37 -0600 s

Re: Re: Profiling on 64bit Windows

2021-01-16 Thread Jan Lahoda
On Sat, Jan 16, 2021 at 2:48 PM Lars Bruun-Hansen wrote: > > What would it take for the CDDL code to be relicensed to AL2 and > incorporated? > > The C code involved here [1] is indeed already AL2 licensed, meaning > it has already been donated from Oracle and is now incorporated into > the NetBe

Re: Everybody (else) seems to hate nb-javac!

2020-12-19 Thread Jan Lahoda
PE - > eg. bundling JDK because of HotSpot licensing (although OpenJ9 might > be OK?!) and JavaFX because the bits we actually need are LGPL. > > On Sat, 19 Dec 2020 at 07:33, Jan Lahoda wrote: > > So this means nearly > > all features related to Java editing would need to be

Re: Everybody (else) seems to hate nb-javac!

2020-12-18 Thread Jan Lahoda
Clearly there are numerous drawbacks and we need a way out. Let's get rid > > of `nb-javac` as we know it. Let's replace it with JDK's own `javac`! > > Great, right? But there are problems... > > > > - `javac` in JDK15 isn't good enough > > - compile o

Re: A small update release?

2020-12-09 Thread Jan Lahoda
On Wed, Dec 9, 2020 at 7:58 PM Matthias Bläsing wrote: > Hi, > > Am Mittwoch, den 09.12.2020, 08:01 +0100 schrieb Jaroslav Tulach: > > Couldn’t that simply be 12.3: > > The schedule isn't working for our needs. We'd like to release the > update to the VSNetBeans in the middle of January. > > the

A small update release?

2020-12-08 Thread Jan Lahoda
Hi, Me and Jaroslav Tulach were talking about user experience with the VS Code extension. And, compared to the user experience with the ordinary NetBeans IDE, there are some significant possible improvements. So, we are considering doing a small update release very early in January, primarily to

Re: [DISCUSSION] Apache NetBeans 12.2 Retrospective

2020-12-08 Thread Jan Lahoda
On Tue, Dec 8, 2020 at 12:04 PM Neil C Smith wrote: > On Tue, 8 Dec 2020 at 05:45, Laszlo Kishalmi > wrote: > > As version 12.2 got out, > > Congratulations! And thanks. > +100! > - Our love and hate relationship to nb-javac needs to be resolved. We > > suggest people to go without it, then we

Re: Adding new language support using LSP

2020-12-03 Thread Jan Lahoda
Hi, If you want to create a new plugin/module that would add a new language support using LSP, these are the things to consider I believe: -create a new NB module -create a new "File Type" (i.e. something that will recognize extensions and provide icon and actions for files with the extension). Th

Re: VSNetBeans, future of NetBeans and personal words

2020-12-03 Thread Jan Lahoda
Just a few mostly random comments. On Thu, Dec 3, 2020 at 10:27 AM Christian Lenz wrote: > Hey all, > > To all the LSP devs here and to the devs of the VSNetBeans plugin for VS > Code, how will NetBeans get a benefit from the VS Code extension and the > work of the LSP Client or implementation?

Re: Question on LSP client

2020-11-24 Thread Jan Lahoda
t; > > > it seems that calling a command programmatically > > > wont be possible after all since the LSP classes are module private. > > > Is there a workaround for this? > > > > Prepare a PR that opens up the API slightly and let Jan Lahoda review it. > > -jt > > > > > > > > >

Re: Voting in parallel was: Release Apache NetBeans Language Server VSCode extension for 12.2

2020-11-24 Thread Jan Lahoda
Hi, My personal opinion only: 24. listopadu 2020 8:53:19 SEČ, John Mc napsal: >Hi Laszlo, > >It will probably be at the weekend when I can do the Mac installer. But >yeah I've no problem doing it. > >My main concern here and the reason for my -1 is that there seems to be >a >push for a convince

Re: Apache NetBeans 12.2-rc3 is Available for Express Testing!

2020-11-20 Thread Jan Lahoda
Seems can be reproduced for JSPs inside a Web Project (I used the freeform ant version, and added servlet API on the classpath). I'll look at it tomorrow. Jan On Fri, Nov 20, 2020 at 9:22 PM Matthias Bläsing wrote: > Hi, > > please provide a reproducer, that shows that the problem is not tied

Re: Is there a way to validate/test a project.xml for a freeform project from the command line?

2020-11-14 Thread Jan Lahoda
y. However while doing so, it has to also check for > errors. > > > Unless I am mistaken it understands NetBeans Ant (hopefully also free > > > form) > > > projects. It can be invoked from a command line[1]. It may be ideal for > > > validating project setup

Re: How to use different versions of javac api in netbeans sources

2020-11-11 Thread Jan Lahoda
Hi John, Sorry for the delayed answer. This is unfortunately a bit tricky. NetBeans currently can run on JDK 9+ using, for parsing, the javac that is in the JDK. So we cannot directly use javac APIs that are newer than JDK 9, we usually use reflection to call such APIs. This is not pretty but usu

Re: No Ctrl+C, Ctrl+V, Ctrl+F in plaintext in 12.2 beta2

2020-10-27 Thread Jan Lahoda
Probably mine, I'll take a look later today. Jan 27. října 2020 17:32:17 SEČ, "Matthias Bläsing" napsal: >Hi, > >so we now when it is known to be broken (12.2beta2) and we know when it >was still working (12.2beta1), this is perfect for a git bisect to find >the problematic commit. > >Greeting

Re: NBCode: VSCode Java Extension based on NetBeans

2020-10-07 Thread Jan Lahoda
FWIW, Apache NetBeans has already released the VS Code extension in the past: http://mail-archives.apache.org/mod_mbox/netbeans-dev/202004.mbox/%3CCALd%3D3dHVyENu%2Bj5o9stvP9_o%2B6FquTdzG7Wx-s-G5-_RdVeaDw%40mail.gmail.com%3E https://www.apache.org/dyn/closer.cgi/netbeans/netbeans-vscode-ext/0.0.1/

Re: NBCode: VSCode Java Extension based on NetBeans

2020-10-06 Thread Jan Lahoda
(First, I applaud this effort!) Regarding what's in it for NetBeans, I think that's simple - hopefully more users! VS Code already has a Java extension, based on Eclipse. So I don't think VS Code needs an extension based on NetBeans. But if some users will use a NetBeans-based extension, that's g

Re: Help needed from Compiler folks!

2020-09-29 Thread Jan Lahoda
Hi Lazslo, I was looking into this, and it seems to me the immediate problem is the sourcepath returned for the test files. In particular, the source path contains not only "gradle-modular-calculator/src/test/java" (and related roots), but also "gradle-modular-calculator/src/main/java" (and relate

Re: Fixing commit validation: ordering of MIME registrations

2020-09-16 Thread Jan Lahoda
Hi Svata, Thanks for looking into this. Not sure I like the 0.0 special case (as it orders after all position entries, which is contrary to the "natural" number ordering). I'd offer a simplification: -allow stringvalue="any" for positions. Orders the same as if no position is given, but won't pro

Re: Another NB12.1 Maven question - remove cpplite?

2020-09-05 Thread Jan Lahoda
On Sun, Sep 6, 2020 at 12:40 AM Laszlo Kishalmi wrote: > I think it is fine to release 12.1 maven stuff without cpplite, just put > a note in the release notes/download page. Next time we would do it better. > +1 Jan > The most important maven modules are the platform ones anyway. > > On 9/5/

Re: changing public api ?

2020-08-29 Thread Jan Lahoda
Changing a public API is always tricky, and should be avoided if possible. I believe the primary reason for adding FileObject toURL() instead of changing the signature of getURL() was to keep source compatibility. In this case, I am not sure what is the problem? Methods can have exceptions in thei

Re: C/C++ - CND Status

2020-07-26 Thread Jan Lahoda
On Sun, Jul 26, 2020 at 9:21 PM Eric Bresie wrote: > > > > On Sun, Jul 26, 2020 at 1:27 PM Brad Walker wrote: > > > On Sun, Jul 26, 2020 at 9:57 AM Eric Bresie wrote: > > > > > Okay so from the README.cnd I see: > > > > > > > There are many caveats currently, a possibly incomplete list: > > >

Re: C/C++ - CND Status

2020-07-26 Thread Jan Lahoda
Hi Eric, Please see: https://github.com/apache/netbeans/blob/cnd/README.cnd Jan On Sat, Jul 25, 2020 at 10:06 PM Eric Bresie wrote: > Anyone able to tell status of the "legacy" CND (not the newer one in 12.1 > beta) status? > > I checked out the cnd branch built and I don't find anything indi

Re: [DISCUSS] bits.netbeans.org / Oracle and Sun binaries

2020-07-23 Thread Jan Lahoda
Hi, Frankly, I am not particularly happy about making a distinction between "old NetBeans" and "new NetBeans". There should be just one "NetBeans". I think that's the point of keeping the name. Also, I am not sure how many people are still using the NetBeans 8.2 update center (or if we can even f

Re: module-info.java processing.

2020-07-20 Thread Jan Lahoda
Hi Laszlo, Would org.netbeans.api.java.source.SourceUtils.parseModuleName (in module java.source.base) work for you? Jan On Mon, Jul 20, 2020 at 11:18 PM Laszlo Kishalmi wrote: > Dear all, > > I might need some information (module name) out of module-info.java > inside NetBeans. It might be u

Re: Temporary lightweight C/C++ support?

2020-07-20 Thread Jan Lahoda
On Mon, Jul 20, 2020 at 11:12 AM Neil C Smith wrote: > On Sun, 19 Jul 2020 at 19:59, Jan Lahoda wrote: > > There is a short README in the cpplite cluster: > > https://github.com/jlahoda/netbeans/blob/cpplite/cpplite/README.md > > Ah, thanks, missed that. > > It looks

Re: Temporary lightweight C/C++ support?

2020-07-19 Thread Jan Lahoda
Hi, On Sat, Jul 18, 2020 at 12:38 PM Neil C Smith wrote: > On Sat, 18 Jul 2020 at 11:01, Antonio wrote: > > El 17/7/20 a las 20:30, Jan Lahoda escribió: > > > I believe we are still working on integrating the CND C/C++ support. > > > > Do we have a branch somewher

Re: Temporary lightweight C/C++ support?

2020-07-17 Thread Jan Lahoda
features. So someone will need to take care of this - and I don't think I have enough time for that. So, I think volunteers are welcome. Jan > > > Siddhesh Rane > > July 17, 2020 2:30 PM, "Jan Lahoda" wrote: > > > Hi, > > > > I believe we are

Temporary lightweight C/C++ support?

2020-07-17 Thread Jan Lahoda
Hi, I believe we are still working on integrating the CND C/C++ support. So, I wonder, would a temporary lightweight C/C++ support make sense? See: https://github.com/apache/netbeans/pull/2234 Basically, this has a rudimentary C/C++ project that allows the users to provide commands for the build

Re: [LAZY CONSENSUS]: bits.netbeans.org / Oracle server to be decomissioned

2020-07-16 Thread Jan Lahoda
eir stuff. > >Maybe we could suggest users to keep a backup of their $HOME/.m2 >RELEASE82 artifacts, and use that for future builds, before migrating >to >newest NetBeans versions. > >Kind regards, >Antonio > > >El 15/7/20 a las 22:19, Jan Lahoda escribió: >> H

Re: [LAZY CONSENSUS]: bits.netbeans.org / Oracle server to be decomissioned

2020-07-15 Thread Jan Lahoda
Hi Antonio, On Wed, Jul 15, 2020 at 6:35 PM antonio wrote: > Hi, > > Well I can't understand why people will complain, after all: > > - Oracle has been very kind in hosting the binaries for several years > now (8.2 was released in Octobre 2016!). > - We've set up a temporary solution that allowe

Re: Bypassing NetBeans Plugin Portal

2020-07-09 Thread Jan Lahoda
On Thu, Jul 9, 2020 at 11:21 AM Christian Lenz wrote: > Hi, > > IMHO there is no need to restrict to only maven. I tried to move my > Plugins one by one to the new PP3 and saw 2 or 3 tutorials that I need to > follow which is far more work as before (Settings for sonar, account at > sonar afaik,

Fixing java.hints tests

2020-07-01 Thread Jan Lahoda
Hi, In this PR: https://github.com/apache/netbeans/pull/2121 I tried to fix the java.hints code and tests, so that the tests pass. It also adds some of the testing configurations to Travis. Please let me know if you see an issue with the code - would be nice to integrate sometime soon. Thanks,

Re: Updates to Apache NetBeans 12.0

2020-06-28 Thread Jan Lahoda
ug, support for dynamic languages (right > now JavaScript, we'd welcome Python, Ruby, R too). > > > > but we have to see how we can > > compile for JDK8, when the whole IDE is build with JDK 11. > > > Jan Lahoda has enhanced javac in JDK9 with > ``` > --release

Re: How to correctly include third party files for tests

2020-06-28 Thread Jan Lahoda
Hi, Assuming the files are under a Category A license, see: https://www.apache.org/legal/resolved.html There shouldn't be any problem with including them inside the sources. Then a ${module}/licenseinfo.xml file should specify the license of the file (so that it can be summarized in a generated L

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

2020-06-17 Thread Jan Lahoda
ooked into how we could inject the classes into the >updatecenter module, but it might be doable. > >Greetings > >Matthias > >Am Mittwoch, den 17.06.2020, 11:42 +0200 schrieb Jan Lahoda: >> The only realistic thing that I was able to think up so far was to >> detect the mi

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

2020-06-17 Thread Jan Lahoda
The only realistic thing that I was able to think up so far was to detect the missing unpack200, warn the user, and ask for a location of an older JDK that still has the tool (which we then use to do the unpacking). Jan 17. června 2020 11:40:03 SELČ, Geertjan Wielenga napsal: >Great, thanks f

Re: cnd license ?

2020-06-10 Thread Jan Lahoda
Hi Brad, If the file was part of the donation (which it was), and the license header does not look suspicious (which it does not), then I believe the header can be replaced with the standard ASF header, look for example into: cnd/cnd.modelimpl/src/org/netbeans/modules/cnd/modelimpl/csm/IncludeImpl

Re: Default license header in generated files confuses students (was: Re: The time has come to bd farewell to the license header)

2020-05-31 Thread Jan Lahoda
Just a few comments: -we could have a hint (lightbulb) allowing to easily open global or project-specific configuration -if we keep the text, we probably want to tweak it to speak about per-project configuration (i.e. besides the global configuration, projects can have their own configuration) Jan

Re: TravisCI vs Jenkins vs GitHub Actions

2020-05-24 Thread Jan Lahoda
Hi, I don't mind using a different service, but let me point out the build currently consumes quite some resources (and is likely to consume more in the future[1]). I believe ASF is contributing to Travis, so that there are more concurrent builds available on Travis for us[2]. We should check that

[RESULT] [VOTE] Accept donation of CND code to Apache NetBeans

2020-05-18 Thread Jan Lahoda
/2147 Thanks to all who voted! Jan On Fri, May 15, 2020 at 8:29 AM Jan Lahoda wrote: > Hi, > > There are two question on which there should be a vote: > > a) does Apache NetBeans accept the donation of the CND code from Oracle? > The zips are here: > > http://hg.netbeans.o

[VOTE] Accept donation of CND code to Apache NetBeans

2020-05-14 Thread Jan Lahoda
Hi, There are two question on which there should be a vote: a) does Apache NetBeans accept the donation of the CND code from Oracle? The zips are here: http://hg.netbeans.org/releases/raw-file/tip/ApacheDonation4.zip sha256sum: 70fe5d6a8b405db2e6008970048721eb0e00566a9f51ab55d96a1d3f23963de0 s

Re: [mentors][cnd] Managing the CND donation

2020-05-13 Thread Jan Lahoda
větna 2020 7:33:20 SELČ, Geertjan Wielenga > >>> napsal: >>> >>>> Or maybe a branch of our mainline? >>>> >>>> Gj >>>> >>>> On Wed, 13 May 2020 at 07:32, Geertjan Wielenga > wrote: >>>> >>>> &

Re: [mentors][cnd] Managing the CND donation

2020-05-12 Thread Jan Lahoda
e: > >> >> >> Your plan sounds great. Maybe one of our several existing repos could >be >> used. >> >> Gj >> >> On Wed, 13 May 2020 at 07:21, Jan Lahoda wrote: >> >>> Hi, >>> >>> Seems there may be some pro

[mentors][cnd] Managing the CND donation

2020-05-12 Thread Jan Lahoda
Hi, Seems there may be some progress on cleaning up the C/C++ code, so I wanted to check what is the best/correct way to proceed. Obviously, this needs to go through the IP Clearance. At the same time, it is IMO not realistic to expect a single person will be able to prepare all CND for IP Cleara

Re: [DISCUSS] github: Disable squash-and-merge button

2020-05-11 Thread Jan Lahoda
So, I looked at some commits, and the outcomes seem to really leave a lot to be desired. Names in Author section appear to be preserved, but many commits have noreply address there, and quite a few have a generic GitHub noreply address in the Commit section. So I guess that if we can do better, it

Re: ? about C/C++ module

2020-04-30 Thread Jan Lahoda
lso debugger, on all other platforms. Jan > -brad w. > > > > -brad w. > > On Thu, Apr 30, 2020 at 1:50 AM Jan Lahoda wrote: > > > > > > > 30. dubna 2020 9:15:19 SELČ, Ivan Soleimanipour < > > ivan.soleimanip...@sbcglobal.net> napsal: > &g

Re: ? about C/C++ module

2020-04-30 Thread Jan Lahoda
;s that much stuff and >getting rid of >it won't simplify things _that_ much. >More importantly, once you ditch Studio support CND will become a >plugin/customization infrastructure with only one plugin: GNU stuff. >And we all know what >happens in such circumstances. The g

[RESULT] [VOTE] Release Apache Netbeans VisualStudio Code Extension for Java 0.0.1 [vote candidate 1]

2020-04-29 Thread Jan Lahoda
> > Envoyé : lundi 24 février 2020 13:19 > > À : dev > > Objet : Re: [VOTE] Release Apache Netbeans VisualStudio Code Extension > for > > Java 0.0.1 [vote candidate 1] > > > > +1 > > > > Dne út 21. 1. 2020 22:46 uživatel Jan Lahoda napsal: &g

Re: ? about C/C++ module

2020-04-29 Thread Jan Lahoda
To elaborate on the C/C++ support in NetBeans a little more: I think we have two main directions which we can take: 1) take more or less the full CND as donated, adjust to Apache standards and maintain; 2) attempt to do something simpler (taking from CND what we need). Using the full CND has some

Re: nb-javac and the upcoming 12.0

2020-04-28 Thread Jan Lahoda
e > > > > >> plug from Java 8 in 12.1?" thread. > > > > >> > > > > >> Good support for Java 8 is a feature, and an important one for > > > > >> an IDE > > > > that > > > > >> is primarily associ

Re: Build Failures on Travis

2020-04-18 Thread Jan Lahoda
Hi Laszlo, On Thu, Apr 16, 2020 at 11:09 PM Laszlo Kishalmi wrote: > Let's just remove that commit from the code, at least from now. > Will you do that, or do you want me to do it? Thanks, Jan > The reflection hack that it would have replaced works. > > On 4/16/20

Re: Build Failures on Travis

2020-04-16 Thread Jan Lahoda
does not have much do to with groovy editor as such. Jan > Thanks again for your help Jan > > Sven > > On Thu, Apr 16, 2020 at 10:34 PM Jan Lahoda wrote: > > > So, a little surprisingly (to me, at least), the issue is the new > > dependency in optio

Re: Build Failures on Travis

2020-04-16 Thread Jan Lahoda
So, a little surprisingly (to me, at least), the issue is the new dependency in options.editor, which now depends on core.windows. There are various pieces of code on multiple places doing WindowManager.invokeWhenUIReady. This method invokes the provided Runnable when the UI is up and running. When

Re: C/++ feature

2020-04-10 Thread Jan Lahoda
gree with your overall comments. > > -brad w. > > > > On Fri, Apr 10, 2020 at 8:45 AM Geertjan Wielenga > wrote: > > > I think this particular game is over. The C/C++ features have been > donated, > > no one is taking responsibility for it, except Jan Lahoda r

Re: NetBeans Collaboration Kit

2020-04-10 Thread Jan Lahoda
jan Wielenga > wrote: > > > I think this particular game is over. The C/C++ features have been > donated, > > no one is taking responsibility for it, except Jan Lahoda right now, he > has > > some plans and ideas. Soon the community-xml code and community-uml code >

Re: Forced to download nb-javac even when not selected

2020-04-05 Thread Jan Lahoda
rted from the JDK javac? > No fundamental reason, just no one had enough time to actually write that. Jan > -- Eirik > > -----Original Message- > From: Jan Lahoda > Sent: Friday, April 3, 2020 2:12 AM > To: Apache NetBeans > Subject: Re: Forced to download nb-javac ev

Re: Forced to download nb-javac even when not selected

2020-04-02 Thread Jan Lahoda
On Thu, Apr 2, 2020 at 5:10 PM Eirik Bakke wrote: > > Aside from that, for 12.0, should we downplay the usage of nb-javac as > much as possible and not make it so prominently available -- we should be > encouraging the usage of the latest LTS, which is 11 and not 8. > > I'm concerned that "downpl

Re: Configure line endings for editor

2020-03-26 Thread Jan Lahoda
te: > Hi, > > we actually have an issue with development splitted between linux and > windows based on the native line ending selection for new files. > > There once was a plugin > http://plugins.netbeans.org/plugin/36810/show-and-change-line-endings > > from Jan Lahoda, allo

  1   2   >