Re: C/C++ Support

2025-03-04 Thread Ulf Zibis
s needed. Another feature that needs experimentation. But, if it works for you then that is great. art On 3/3/2025 4:33 PM, Ulf Zibis wrote: Hi Art, I now learned, that the `cc` option `-s` means "strip" (I copied the command from elsewhere). When I omit it, the debug symbols, creat

Re: C/C++ Support

2025-03-03 Thread Ulf Zibis
write about anything but failures. If this all sounds like I'm frustrated, well, I am. And if it sounds, or looks, like I'm not accurate in what I say, it's because I don't know better. But, I truly do like NB, and I do think that the people who are movers and shakers have d

Re: C/C++ Support

2025-03-02 Thread Ulf Zibis
Hi Brad, it seems you have good luck with it. I have set up a small C project with NB 24 on Ubuntu to build a library. Package ccls is installed. Must i be somehow registered in NB? The build command is: cc -s -ggdb -shared -fPIC media.c -o libmedia.so When I set a breakpoint at some line and

Re: How to integrate a resource file into the final JAR

2024-06-23 Thread Ulf Zibis
e getClass(): InputStream is = getClass().getResourceAsInputStream(); Note that, if you do just use InputStream, the Exception imports and throws are not needed; it's overall much simpler. regards Stephen Parry On 23 June 2024 15:50:14 BST, Ulf Zibis wrote: Hi, I have a resource file im my project und

How to integrate a resource file into the final JAR

2024-06-23 Thread Ulf Zibis
Hi, I have a resource file im my project under the folder "resources". From my code, the file is accessed by: FileInputStream rs = new FileInputStream(new File("resources/Palm8BitColors.pal")); This works fine, when I run the application under NetBeans IDE. But the resource file is not includ

No new project from "Java Project from existing Sources"

2024-03-07 Thread Ulf Zibis
Hi, I have old java sources, which I want to work on with NetBeans 21. Location of the existing sources is: ~/Projects/Palm/NetbeansProjects/DesktopFiles_src/ Location for the new project is: ~/Projects/Palm/NetbeansProjects/DesktopFiles/ So these are separate paths, but I get: ! Project Folde

No new project from "Java Project from existing Sources"

2024-03-01 Thread Ulf Zibis
Hi, I have old java sources, which I want to work on with NetBeans 21. Location of the existing sources is: ~/Projects/Palm/NetbeansProjects/DesktopFiles_src/ Location for the new project is: ~/Projects/Palm/NetbeansProjects/DesktopFiles/ So these are separate paths, but I get: ! Project Folde

Re: Missing nb-javac plugin in NetBeans IDE 21

2024-03-01 Thread Ulf Zibis
Am 01.03.24 um 15:24 schrieb Michael Bien: NetBeans ships with nb-javac preinstalled as regular module, if you don't change anything it should just work. Start NB, open/create a project and the right modules will activate. You want to say, that I do not have to activate "Java SE" plugin man

Re: Missing nb-javac plugin in NetBeans IDE 21

2024-03-01 Thread Ulf Zibis
Am 01.03.24 um 15:24 schrieb Michael Bien: there are several red flags here which might cause you problems in future:  - Don't start NB with root rights. Subsequent starts will likely not be able to write to cache/log folders. I used `sudo -H` to avoid this.   - The "force plugin install

Re: Missing nb-javac plugin in NetBeans IDE 21

2024-03-01 Thread Ulf Zibis
Am 01.03.24 um 15:51 schrieb Neil C Smith: You can replicate running with a clean userdir by running netbeans --userdir /tmp/testuserdir1 Thanks for the hint. Sorry, should have been clearer - I meant NetBeans packaging. Between ASF and community options there's zip, deb (x2), appimage and

Re: Missing nb-javac plugin in NetBeans IDE 21

2024-03-01 Thread Ulf Zibis
Am 01.03.24 um 15:25 schrieb Neil C Smith: The above two steps might have been what fixed it. Have you been using NetBeans for a while and copying forward configuration and plugins? No, I didn't import old configuration and I deleted ~/.cache/netbeans and ~/.netbeans/21 nb-javac is included

Re: Missing nb-javac plugin in NetBeans IDE 21

2024-03-01 Thread Ulf Zibis
Am 29.02.24 um 22:12 schrieb Geertjan Wielenga: The Apache NetBeans 21 binary releases require JDK 11+, and officially supports running on JDK 11, 17 and 21. Thanks for the info. In the meantime I solved the problem still using JDK 18 as follows. - deleted user config data and reinstalled N

Re: Missing nb-javac plugin in NetBeans IDE 21

2024-02-29 Thread Ulf Zibis
Am 29.02.24 um 21:51 schrieb Ulf Zibis: Hi, when I start the IDE, I get this message: Oups, after I hit Install, nothing more happens When I hit Install, a new dialogue asks for confirmation. After confirmation of the dialogue and "Restart IDE" I again get the same message. Th

Re: Missing nb-javac plugin in NetBeans IDE 21

2024-02-29 Thread Ulf Zibis
Am 29.02.24 um 21:51 schrieb Ulf Zibis: Hi, when I start the IDE, I get this message: I'm running NetBeans IDE 21 on Ubuntu 22.04 with openjdk-18-jdk. -Ulf - To unsubscribe, e-mail: users-unsubscr...@netbeans.apach

Missing nb-javac plugin in NetBeans IDE 21

2024-02-29 Thread Ulf Zibis
Hi, when I start the IDE, I get this message: When I hit Install, a new dialogue asks for confirmation. After confirmation of the dialogue and "Restart IDE" I again get the same message. What I'm doing wrong? -Ulf

Re: Missing emails as cause of domain relocation

2023-09-04 Thread Ulf Zibis
ists.apache.org/list.html?net...@netbeans.apache.org HTH T On Mon, Sep 4, 2023 at 2:47 PM Ulf Zibis wrote: Hi, because of a domain relocation, my email was not reachable from 2023-09-01 13:54 UTC to 2023-09-04 11:38 UTC. Is it possible to resend the missing messages for users@netb

Missing emails as cause of domain relocation

2023-09-04 Thread Ulf Zibis
Hi, because of a domain relocation, my email was not reachable from 2023-09-01 13:54 UTC to 2023-09-04 11:38 UTC. Is it possible to resend the missing messages for users@netbeans.apache.org and net...@netbeans.apache.org? -Ulf ---

Re: Netbeans 11.3 C/C++ Plugin

2020-05-31 Thread Ulf Zibis
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.net

Re: NB 11.3 – Can not open old projects

2020-04-18 Thread Ulf Zibis
latform in 11.3? Kind regards, Peter Am 14.04.20 um 20:26 schrieb Ulf Zibis: Thanks for the hint, Laszlo. Surprise: After starting the IDE again to view the logs, the projects were opened automatically. Anyway in the logs I find: Even though the source level of /home/ich/Projects/Palm/jUSB/src

Re: NB 11.3 – Can not open old projects

2020-04-14 Thread Ulf Zibis
bootclasspath: Changing source level to 1.3 Not sure if this is expected, but is there anything wrong with the bootclasspath? -Ulf Am 14.04.20 um 19:39 schrieb Laszlo Kishalmi: See more in the: View > IDE Log On 4/14/20 10:37 AM, Ulf Zibis wrote: Hi, when trying to open old projects from NB 8 and bef

NB 11.3 – Can not open old projects

2020-04-14 Thread Ulf Zibis
Hi, when trying to open old projects from NB 8 and before, I see: Which plugin may be missing? -Ulf - To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org For additional commands, e-mail: users-h...@netbeans.apache.

Update from 11.1

2020-03-17 Thread Ulf Zibis
Hi, I have installed NB IDE 11.1. Now 11.3 is out, so I wonder why there are no Updates for 11.1. Should one always install a new entity? -Ulf - To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org For additional com

Re: Global plugin installation in Linux

2019-10-16 Thread Ulf Zibis
Hi Laszlo, Why? -Ulf Am 17.10.19 um 00:13 schrieb Laszlo Kishalmi: > Add the following commandline argument in netbeans.conf to disable > install plugins globally when you finihsed the installation of them: > > -J-Dplugin.manager.install.global=false > > > On 10/16/19 3:0

Re: Global plugin installation in Linux

2019-10-16 Thread Ulf Zibis
For me it works with installing NB 11.1 as root, then start it once as root, and install the plugins with "Force install into shared dierectory" in "Settings". -Ulf Am 13.10.19 um 20:04 schrieb Nikos Platis: > Hello, > > I am maintaining a computer lab for my Department and students use > Netbean

Re: Question on Netbeans 11 and C++

2019-09-27 Thread Ulf Zibis
Am 26.09.19 um 23:02 schrieb Peter Kovacs: > I do not understand the question. Can you elaborate? My understanding of "donation" was, that there is a kind of crowdfunding to support the C/C++ plugin. -Ulf - To unsubscribe, e

Re: Question on Netbeans 11 and C++

2019-09-26 Thread Ulf Zibis
I can open it in 11.1... > > On Thu, Sep 26, 2019 at 4:16 PM Ulf Zibis <mailto:ulf.zi...@cosoco.de>> wrote: > > Hi Geertjan, > > I've seen, that the C/C++ inclusion has been removed from the > release plan. > So now, what is the future of C/

Re: Question on Netbeans 11 and C++

2019-09-26 Thread Ulf Zibis
Am 26.09.19 um 22:42 schrieb Neil C Smith: > > The donation didn't make it by the 11.2 feature freeze date. Where is the home for the donations? -Ulf - To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org For additio

Re: Question on Netbeans 11 and C++

2019-09-26 Thread Ulf Zibis
Hi Geertjan, I've seen, that the C/C++ inclusion has been removed from the release plan. So now, what is the future of C/C++ inclusion in NetBeans IDE? -Ulf Am 09.05.19 um 05:07 schrieb Geertjan Wielenga: > Here's the roadmap, C/C++ inclusion is scheduled for September: > > https://cwiki.apache.

Re: How to update NB 11.1-beta3 to final version?

2019-08-08 Thread Ulf Zibis
Am 07.08.19 um 11:29 schrieb Neil C Smith: > On Wed, 7 Aug 2019 at 10:08, Laszlo Kishalmi > wrote: >> By default they are using the same user/cache dir, so by reinstalling it you >> won't actually loose anything. I also would think, this is correct, but nobody knows, as I also have installed s

Re: C++

2019-08-04 Thread Ulf Zibis
I use the version 8,2. I just manually added this update center: http://updates.netbeans.org/netbeans/updates/8.2/uc/final/distribution/catalog.xml.gz -Ulf Am 04.08.19 um 01:52 schrieb Peter Kovacs: > > Load the version from Netbeans 8.0. It works. > > Oracle is reviewing the code, and it will be

How to update NB 11.1-beta3 to final version?

2019-08-04 Thread Ulf Zibis
Hi, I've installed the beta 3 version. How can I update to the final release version without reinstaling? -Ulf - To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org For additional commands, e-mail: users-h...@netbeans

Re: Debugger doesn't work with C/C++ "Project from existing sources"

2019-07-05 Thread Ulf Zibis
https://issues.apache.org/jira/browse/NETBEANS-2806 -Ulf Am 05.07.19 um 13:09 schrieb Geertjan Wielenga: > > > On Fri, Jul 5, 2019 at 12:27 PM Ulf Zibis <mailto:ulf.zi...@cosoco.de>> wrote: > > This bug helped! > > The trick is to set Make -> Build Result: ffmpe

Re: Debugger doesn't work with C/C++ "Project from existing sources"

2019-07-05 Thread Ulf Zibis
But I'm still missing something like: DEBUG FINISHED; exit value 0; real time: 990ms; user: 0ms; system: 0ms when I complete the run with "Continue" So the "Output - test (Debug)" window hangs in some way. -Ulf Am 05.07.19 um 12:26 schrieb Ulf Zibis: > > This bug

Re: Debugger doesn't work with C/C++ "Project from existing sources"

2019-07-05 Thread Ulf Zibis
bugger to see if > that will meet your needs. > > Gj > > On Fri, Jul 5, 2019 at 10:54 AM Ulf Zibis <mailto:ulf.zi...@cosoco.de>> wrote: > > Hi, > > here is the log from fresh userdir with on run of debugger. I > don&#x

Re: Debugger doesn't work with C/C++ "Project from existing sources"

2019-07-05 Thread Ulf Zibis
have enough info for filing an issue, though it > appears to be similar or exactly > this: https://netbeans.org/bugzilla/show_bug.cgi?id=169842 > > Aside from that, I'd advise switching to clang debugger to see if that > will meet your needs. > > Gj > > On Fri, Jul 5, 2019 a

Re: Debugger doesn't work with C/C++ "Project from existing sources"

2019-07-05 Thread Ulf Zibis
NetBeans, I’ve seen > a few issues about that, which appears to be the problem here. > > Gj > > > On Fri, 5 Jul 2019 at 01:27, Ulf Zibis <mailto:ulf.zi...@cosoco.de>> wrote: > > Hi, > > now I installed NB 11.1 beta-3 from here: > > https

Re: Debugger doesn't work with C/C++ "Project from existing sources"

2019-07-04 Thread Ulf Zibis
/netbeans/11.1/ but it installed into /opt/netbeans/11.1/netbeans/ Additionally it had deleted "/usr/share/applications/netbeans 10.0.desktop" and created "/usr/share/applications/NetBeans-11.1.desktop" I think, this is not correct. -Ulf Am 04.07.19 um 23:42 schrieb Ulf Zi

Re: Debugger doesn't work with C/C++ "Project from existing sources"

2019-07-04 Thread Ulf Zibis
ng like: DEBUG FINISHED; exit value 0; real time: 990ms; user: 0ms; system: 0ms So bad, that it doesn't work at me. Hopefully we finde the cause. I'll try to install NB 11.1 for that. -Ulf Am 04.07.19 um 20:30 schrieb Geertjan Wielenga: > https://youtu.be/xPvasdbFJAw > > Ther

Re: Debugger doesn't work with C/C++ "Project from existing sources"

2019-07-04 Thread Ulf Zibis
o it to reproduce your requirements. > > Gj > > On Thu, Jul 4, 2019 at 8:08 PM Ulf Zibis <mailto:ulf.zi...@cosoco.de>> wrote: > > Sorry, I think I don't understand your question. > > If you were able to run the bebugger with "./ffmpeg --version"

Re: Debugger doesn't work with C/C++ "Project from existing sources"

2019-07-04 Thread Ulf Zibis
59 schrieb Geertjan Wielenga: > But how to run the debugger on that? > > Gj > > On Thu, Jul 4, 2019 at 7:54 PM Ulf Zibis <mailto:ulf.zi...@cosoco.de>> wrote: > > The simplest command line for real world is: > ./ffmpeg_g -i sample.jpg result.jpg > >

Re: Debugger doesn't work with C/C++ "Project from existing sources"

2019-07-04 Thread Ulf Zibis
is. > > Works without a problem, I can make a YouTube clip of this if you like. > > Gj > > On Thu, Jul 4, 2019 at 7:29 PM Ulf Zibis <mailto:ulf.zi...@cosoco.de>> wrote: > > The main() function is in fftools/ffmpeg.c > I think you can set a breakpoint th

Re: Debugger doesn't work with C/C++ "Project from existing sources"

2019-07-04 Thread Ulf Zibis
The simplest command line for real world is: ./ffmpeg_g -i sample.jpg result.jpg -Ulf Am 04.07.19 um 19:29 schrieb Ulf Zibis: > > The main() function is in fftools/ffmpeg.c > I think you can set a breakpoint there for a first test. Maybe set it > at line 4869 where show_banne

Re: Debugger doesn't work with C/C++ "Project from existing sources"

2019-07-04 Thread Ulf Zibis
king, I'll work on how to debug from there, using GNU > debugger on Mac, which I have working now for standard C/C++ > projects, but can't start applying to your project until I have > set it up correctly in the way that you have it). > > Gj > > O

Re: Debugger doesn't work with C/C++ "Project from existing sources"

2019-07-04 Thread Ulf Zibis
ebug from there, using GNU debugger on > Mac, which I have working now for standard C/C++ projects, but can't > start applying to your project until I have set it up correctly in the > way that you have it). > > Gj > > On Thu, Jul 4, 2019 at 12:43 PM Ulf Zibis <mailto:u

Re: Debugger doesn't work with C/C++ "Project from existing sources"

2019-07-04 Thread Ulf Zibis
Hi, I'm on Ubuntu 18.04 64 bit. The debugger should be gdb. -Ulf Am 04.07.19 um 16:23 schrieb Geertjan Wielenga: > Which debugger do you use and which operating system? > > Gj > > On Thu, Jul 4, 2019 at 3:57 PM Ulf Zibis <mailto:ulf.zi...@cosoco.de>> wrote: >

Re: Debugger doesn't work with C/C++ "Project from existing sources"

2019-07-04 Thread Ulf Zibis
27;from existing sources' > approach. > > Gj > > On Thu, Jul 4, 2019 at 12:43 PM Ulf Zibis <mailto:ulf.zi...@cosoco.de>> wrote: > > Hey Geertjan, > > this is a great offer, thanks. > Here the Git clone command: git clone > https://

Re: Debugger doesn't work with C/C++ "Project from existing sources"

2019-07-04 Thread Ulf Zibis
Thu, 4 Jul 2019 at 12:28, Ulf Zibis <mailto:ulf.zi...@cosoco.de>> wrote: > > Hi, > > I'm wondering if there would be a tutorial on how to configure a C/C++ > "Project from existing sources" to enable the debugger facility of > NetBeans IDE.

Debugger doesn't work with C/C++ "Project from existing sources"

2019-07-04 Thread Ulf Zibis
Hi, I'm wondering if there would be a tutorial on how to configure a C/C++ "Project from existing sources" to enable the debugger facility of NetBeans IDE. With a project created from the inbuild NetBeans templates it works fine, but not with a "Project from existing sources". Can one give me so

Re: Coming back to Netbeans

2019-06-25 Thread Ulf Zibis
Hi Peter, ... and don't miss to backup your old settings and project files, as importing and opening the old projects with new NB version quietly changes a lot in both, so you may have problems when there is the need to switch back to 8.0.2. About C/C++ I can tell, that using the old plugin fro

Re: NetBeans keep updating the maven index nonstop?

2019-05-27 Thread Ulf Zibis
Hi Varuna, the answer is in this thread: https://mail-archives.apache.org/mod_mbox/netbeans-users/201903.mbox/browser -Ulf Am 27.05.19 um 11:31 schrieb Varuna Seneviratna: > Hello, > Why does NetBeans keep updating the maven index nonstop? How > to stop that?. Usually, how long does ta

Re: [C/C++] Debugger does not stop at breakpoint

2019-05-16 Thread Ulf Zibis
the C/C++ features yourself since Apache > NetBeans does not provide C/C++ features. > > Gj > > On Fri, 19 Apr 2019 at 05:03, Ulf Zibis <mailto:ulf.zi...@cosoco.de>> wrote: > > Thanks for your hint Geertjan. > > I'm surprised. I don't remember f

Re: [C/C++] Debugger does not stop at breakpoint

2019-04-19 Thread Ulf Zibis
nga: > You must have installed the C/C++ features yourself since Apache > NetBeans does not provide C/C++ features. > > Gj > > On Fri, 19 Apr 2019 at 05:03, Ulf Zibis <mailto:ulf.zi...@cosoco.de>> wrote: > > Thanks for your hint Geertjan. > > I'

Re: [C/C++] Debugger does not stop at breakpoint

2019-04-19 Thread Ulf Zibis
ot;? -Ulf Am 18.04.19 um 00:14 schrieb Geertjan Wielenga: > NetBeans 10.0 does not support C/C++. You've probably installed > plugins from 8.2, or you must have, which may or may not work, i.e., > you're using untested features, and there's no promise that this will > work. &

Re: [C/C++] Debugger does not stop at breakpoint

2019-04-17 Thread Ulf Zibis
A polite Ping! -Ulf Am 12.04.19 um 17:27 schrieb Ulf Zibis: > > Hi, > > I have a C-project here, a clone from the famous FFmpeg: > > git clone git://source.ffmpeg.org/ffmpeg > > make creates 2 binaries, ffmpeg and ffmpeg_g, the latter with debug > symbols. > >

[C/C++] Debugger does not stop at breakpoint

2019-04-12 Thread Ulf Zibis
Hi, I have a C-project here, a clone from the famous FFmpeg: git clone git://source.ffmpeg.org/ffmpeg make creates 2 binaries, ffmpeg and ffmpeg_g, the latter with debug symbols. When I use the latter with Debug Project, I expect the processing would stop at a set Breakpoint in the source file

Re: How to prevent from maven updates

2019-03-20 Thread Ulf Zibis
il.com>> wrote: > > get same problem but with gradle, project was not open in nb. > > Le jeu. 14 mars 2019 à 13:53, Ulf Zibis <mailto:ulf.zi...@cosoco.de>> a écrit : > > Hi, > > some time ago I had created a project with maven support to

Re: [C/C++] Irritating Pre-Build command line

2019-03-14 Thread Ulf Zibis
mmand. But: > 1) your command generates Makefile file > 2) Makefile will generate executable file with debug info > 3) If you uses non-default compiler you need to specify path to compiler > > 03.03.2019 16:35, Ulf Zibis пишет: >> Hi, >> >> I have created a new C pro

How to prevent from maven updates

2019-03-14 Thread Ulf Zibis
Hi, some time ago I had created a project with maven support to follow a HandOnLab session. As I don't need the project anymore, I have closed it some weeks ago. Now from time to time I still see, that NB triggers the updating of the maven repository with the result, that I'm getting almost out o

[C/C++] Irritating Pre-Build command line

2019-03-03 Thread Ulf Zibis
Hi, I have created a new C project "from existing sources". With invokation of Pre-Build I see the following problem: cd '/home/ich/Projects/ffmpeg/dev' ./configure CC=/usr/bin/gcc CXX=/usr/bin/g++ CFLAGS=-g3 -gdwarf-2 CXXFLAGS=-g3 -gdwarf-2 Unknown option "CC=/usr/bin/gcc". See ./configure --help