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

2024-06-23 Thread Ulf Zibis

Hi Stephen,

thanks for your inspiration.

I'm using an ANT project. I never managed how to go with Maven. So my file 
structure is:

Project
+ src
  + Java ...
+ test
  + Java ...
+ resources
  + Palm8BitColors.pal
+ TestData
  + ...

So you mean, that I should move the resource file into the src path. I was 
thinking, that there is a way to configure the NetBeans build properties, so 
that the file will be included into the JAR. But I have forgotten how to do.

Using getResourceAsInputStream() is a good idea. Actually I need the file 
content in a byte array or ByteBuffer.

-Ulf

Am 23.06.24 um 19:20 schrieb Stephen G. Parry:

Are you using a Java with Maven project? Assuming so, the process for what you 
are asking is a two step one:
1) Ensure the files you wish to access are located under the src/main/resources 
folder as shown here:
https://i0.wp.com/www.dineshonjava.com/wp-content/uploads/2016/10/Maven-dirctory-structure.png?w=728=1
 
<https://i0.wp.com/www.dineshonjava.com/wp-content/uploads/2016/10/Maven-dirctory-structure.png?w=728=1>
Doing this should ensure that the file is picked and included in the compiled 
jar file.
2) You will need to add to your code. What exactly you add will depend on 
whether you are opening the file from a static member or a proper member 
function and whether you really need an FileInputStream or just an InputStream. 
I have pasted some code to illustrate:
import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import 
java.io.InputStream; import java.net.URISyntaxException; import java.net.URL; import 
java.util.Scanner; /**  *  * @author parrysg  */ public class ResourceTest {     public static void 
main(String[] args) throws URISyntaxException, FileNotFoundException {     URL url = 
ResourceTest.class.getResource("/simpleResource.txt");     FileInputStream fs = new 
FileInputStream(new File(url.toURI()));     Scanner input = new Scanner(fs);     
System.out.println(input.nextLine());     InputStream is = 
ResourceTest.class.getResourceAsStream("/simpleResource.txt");     Scanner input2 = 
new Scanner(fs);     System.out.println(input2.nextLine());     } }
In the above code, I have used main (i.e. a static member), but if you are 
opening within a non-static member, it is better to use 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 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 included in the 
JAR file under "dist", so it won't run independently of NetBeans. How is the correct way to 
integrate and access the file into the JAR? Thanks -Ulf

--
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 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 included in the JAR file under "dist", so it won't 
run independently of NetBeans.

How is the correct way to integrate and access the file into the JAR?

Thanks
-Ulf


-
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



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 Folder has to be located outside of the folder containing packages.

So what I'm doing wrong?

-Ulf



-
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



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 Folder has to be located outside of the folder containing packages.

So what I'm doing wrong?

-Ulf


-
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: 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 manually, 
before opening or creating a java project?
It will be activated automatically?

The message about nb-javac was after I tried to create a java project from 
existing sources, which didn't work, the dialogue didn't finish, so I had to 
cancel it. This is maybe of interest.

From a fresh install with all configs, cache and user dir deleteted, I get 
following messages:
$ /usr/bin/netbeans
WARNING: package com.apple.eio not in java.desktop
WARNING: package jdk.internal.opt not in jdk.internal.opt
WARNING: package com.sun.java.swing.plaf.windows not in java.desktop
WARNING: package com.apple.laf not in java.desktop
WARNING: A terminally deprecated method in java.lang.System has been called
WARNING: System::setSecurityManager has been called by 
org.netbeans.TopSecurityManager 
(file:/usr/lib/apache-netbeans/platform/lib/boot.jar)
WARNING: Please consider reporting this to the maintainers of 
org.netbeans.TopSecurityManager
WARNING: System::setSecurityManager will be removed in a future release

Should I worry about that?

-Ulf


-
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: 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 into shared directories" is not a good idea

Why is it provided? I prefer to install binaries under binaries locations, 
which is /usr/lib here. /home is for data and configs. Helps to minimize backup 
footprint an allows all users to profit from the installed binaries.

(esp with root rights)

Under which conditions it is possible to install in shared directories without 
root rights?

and is likely the original cause why nb-javac couldn't be found if you done 
that in past


It was first time I installed NB 21.


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.


Unfortunately this didn't happen at me.

-Ulf


-
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: 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 snap you
could be using on Ubuntu.


I used:

sudo apt install ./apache-netbeans_21-1_all.deb

-Ulf


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 in NetBeans since NB13, so you should not see
this dialog unless you've deliberately disabled this support and run
on an older JDK.

This I assumed too, so I'm wondering about my ecperience.


Also, include the package you're using - there are multiple options on
Ubuntu, which might have an effect on what's happening.


I used package openjdk-18-jdk

-Ulf



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 NetBeans
- started NB under root
- configured plugins  to shared directory
- activated Java SE module, which also installed the profiler
- started NB as user
- again activated Java SE module
- Restart. All is fine !!!

Don't know, if that is a good workaround.

-Ulf

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.

This happens when I try to activate the Java SE plugin. After restart, I again 
get the message of missing nb-javac and the Java SE plugin is still not 
activated. I tried several times, also with canceling the first dialogue. 
Nothing helps.


What I'm doing wrong?

-Ulf


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



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

Hi Tamás,

yes, I think resending is a must.
From other mailing lists I'm used, that they automatically retry a resend for 3 
or more days, if a recipient was unreachable.
Isn't this the case here?

Referring the archives is very uncomfortable, the local history on email client 
is broken, and responding on messages there almost impossible.
Also search on messages can't find such, which are only in the archive.

Aside, on some other lists, there is a link to to the current message in the 
archive in the footer, so it is very comfortable to refer to a specific message 
in posts. Maybe you could configure this here too.

-Ulf

Am 04.09.23 um 14:51 schrieb Tamás Cservenák:

Howdy,

You have publicly available archives, is resending a must?

https://lists.apache.org/list.html?users@netbeans.apache.org
https://lists.apache.org/list.html?d...@netbeans.apache.org
https://lists.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@netbeans.apache.org 
and net...@netbeans.apache.org?

-Ulf



-
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


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



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





Re: NB 11.3 – Can not open old projects

2020-04-18 Thread Ulf Zibis

Hi Peter,

sorry I didn't see your answer since today.

No, I didn't add it manually. I only have installed jdk-8 and jdk-11 on my 
Ubuntu system. jdk-11 is the default.

-Ulf

Am 17.04.20 um 07:14 schrieb Peter Nabbefeld:


Hello Ulf,

just to make sure: Did You add JDK 1.7 as a Java Platform 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 is
set to: 1.7, java.lang.AssertionError cannot be found on the
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 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.org

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



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

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




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

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




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

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




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

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



Re: NB 11.3 – Can not open old projects

2020-04-14 Thread 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 is set to: 
1.7, java.lang.AssertionError cannot be found on the 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 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.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



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.org

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



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 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: 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:08 PM, Ulf Zibis wrote:
>> 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
>>> Netbeans for several courses.
>>>
>>> In version 8.2 the main plugins (for Java, C++) were installed for all
>>> users globally since a suitable package existed.
>>>
>>> In the new version 11.1, even for Java, each user has to install some
>>> plugins.
>>>
>>> Since our students' home directories are rather tight in free space, I
>>> would like to have these plugins installed globally. Especially C/C++
>>> plugins will take up too much space in each home directory.
>>>
>>> Is there a way to achieve this?
>>>
>>> Our PCs are running Linux.
>>>
>>> Thanks!
>> -
>> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
>> For additional commands, e-mail: users-h...@netbeans.apache.org
>>
>> For further information about the NetBeans mailing lists, visit:
>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
> For additional commands, e-mail: users-h...@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>

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

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



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
> Netbeans for several courses.
>
> In version 8.2 the main plugins (for Java, C++) were installed for all
> users globally since a suitable package existed.
>
> In the new version 11.1, even for Java, each user has to install some
> plugins.
>
> Since our students' home directories are rather tight in free space, I
> would like to have these plugins installed globally. Especially C/C++
> plugins will take up too much space in each home directory.
>
> Is there a way to achieve this?
>
> Our PCs are running Linux.
>
> Thanks!

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

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



Re: 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-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

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



Re: Question on Netbeans 11 and C++

2019-09-26 Thread Ulf Zibis
Thanks Alonso, but save your effort.

The plugin from 8.2 works so far with 11.1, but I'm longing for a new
updated version.

-Ulf

Am 26.09.19 um 22:37 schrieb Alonso Del Arte:
> (off-list) Huh... I have at least one C++ project in NetBeans 8.2. I'm
> going to have to check if 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/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.org/confluence/display/NETBEANS/Apache+NetBeans+Release+Roadmap
> >
> > Thanks,
> >
> > Gj
>
> -
> 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
>
>
>
> -- 
> Alonso del Arte
> Author at SmashWords.com
> <https://www.smashwords.com/profile/view/AlonsoDelarte>
> Musician at ReverbNation.com <http://www.reverbnation.com/alonsodelarte>


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 additional commands, e-mail: users-h...@netbeans.apache.org

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



Re: Question on Netbeans 11 and C++

2019-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.org/confluence/display/NETBEANS/Apache+NetBeans+Release+Roadmap
>
> Thanks,
>
> Gj

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

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



Re: 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 several plugins.
> Depends whether the previous installation was somewhere the IDE could
> install modules inside itself though!  That might just affect the JS
> parser but it can lead to lots of errors about missing dependencies.
> It's fixable, but unless you've been doing lots of work with a
> beta(?!) it's better to clear out the userdir and cache and start
> again.

A lot of work to recreate all settings and plugins. Actually I don't
have any markable problems using beta3, but having the "official"
version would make a better feeling. I also expect, that coming updates
will be compatible with beta3.

To have a better basis to decide, can one link me to the bugs/issues
that have been changed between beta 3 and final?

Thanks

-Ulf



-
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: 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 donated in the near future.
>
> On 04.08.19 01:44, mmo...@me.com.INVALID wrote:
>> I’m using NetBeans 11.0.
>>
>> Is C++ no longer supported?
>>
>> I can’t seem to find the PlugIn.
>>
>> Best Regards,
>>
>> Michael


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.apache.org

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



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

2019-07-05 Thread Ulf Zibis
Great to hear about the win-win.
Yes, NetBeans IDE is really great.

About the Installer I've posted bugs:
https://issues.apache.org/jira/projects/NETBEANS/issues/NETBEANS-2803
https://issues.apache.org/jira/browse/NETBEANS-2804
https://issues.apache.org/jira/browse/NETBEANS-2805
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: ffmpeg_g
> Did you have to set this too?
>
>
> For me, it worked without that. But great it's working now for you --
> and thanks for giving me the opportunity to try out C/C++, dbg, the
> debugger integration, etc. Learnt a lot since yesterday and I am even
> more impressed by NetBeans than I was.
>
> The next try from my side would have been clang.
>
> So now it seems, that I can remove NB 10.0 and use NB 11.1 :-)
>
> Much thanks for your help.
>
>
> Great to hear.
>
> Gj
>
>  
>
> -Ulf
>
> Am 05.07.19 um 11:04 schrieb Geertjan Wielenga:
>> And some tips in this one may be helpful:
>>
>> https://netbeans.org/bugzilla/show_bug.cgi?id=243859
>>
>> Gj
>>
>> On Fri, Jul 5, 2019 at 10:57 AM Geertjan Wielenga
>> mailto:geert...@apache.org>> wrote:
>>
>> gdb itself should have a log file too, maybe this
>> helps: http://wiki.netbeans.org/GdbLog or not, but somewhere
>> when you do those steps you should get a gdb log, that could
>> help too. Once you find where it is generated, I'd advise to
>> start from scratch, i.e, close the IDE, remove the userdir,
>> reproduce the problem, and generate the gdb log.
>>
>> And at this point you 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 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't see any error, but warnings.
>>
>> -Ulf
>>
>> Am 05.07.19 um 06:57 schrieb Geertjan Wielenga:
>>> Well, the solution is like always — start again with a
>>> fresh userdir and recreate the problem, then you'll have
>>> log files that we can look at to see the errors
>>> generated when the problem occurs. Also consider using a
>>> different version of gdb to see if that makes a
>>> difference or switch from gdb to clang debugger. In
>>> addition look on-line for issues about C/C++ debugger
>>> breakpoints not being hit in 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://github.com/rtaneja1/netbeans/blob/installer-bin-11-1/nbbuild/installer/binaries/Apache-NetBeans-11.1-bin-linux-x64.sh
>>>
>>> With this I have the same bad results when running
>>> the debugger. :-(
>>>
>>> Aside: I said the installer to install into
>>> /opt/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 Zibis:
>>>>
>>>> Hi Geertjan,
>>>>
>>>> please note, that I use NetBeans 10 (not 11.1) and
>>>>

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 helped!
>
> The trick is to set Make -> Build Result: ffmpeg_g
> Did you have to set this too?
>
> The next try from my side would have been clang.
>
> So now it seems, that I can remove NB 10.0 and use NB 11.1 :-)
>
> Much thanks for your help.
>
> -Ulf
>
> Am 05.07.19 um 11:04 schrieb Geertjan Wielenga:
>> And some tips in this one may be helpful:
>>
>> https://netbeans.org/bugzilla/show_bug.cgi?id=243859
>>
>> Gj
>>
>> On Fri, Jul 5, 2019 at 10:57 AM Geertjan Wielenga
>> mailto:geert...@apache.org>> wrote:
>>
>> gdb itself should have a log file too, maybe this
>> helps: http://wiki.netbeans.org/GdbLog or not, but somewhere when
>> you do those steps you should get a gdb log, that could help too.
>> Once you find where it is generated, I'd advise to start from
>> scratch, i.e, close the IDE, remove the userdir, reproduce the
>> problem, and generate the gdb log.
>>
>> And at this point you 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 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't see any error, but warnings.
>>
>> -Ulf
>>
>> Am 05.07.19 um 06:57 schrieb Geertjan Wielenga:
>>> Well, the solution is like always — start again with a fresh
>>> userdir and recreate the problem, then you'll have log files
>>> that we can look at to see the errors generated when the
>>> problem occurs. Also consider using a different version of
>>> gdb to see if that makes a difference or switch from gdb to
>>> clang debugger. In addition look on-line for issues about
>>> C/C++ debugger breakpoints not being hit in 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://github.com/rtaneja1/netbeans/blob/installer-bin-11-1/nbbuild/installer/binaries/Apache-NetBeans-11.1-bin-linux-x64.sh
>>>
>>> With this I have the same bad results when running the
>>> debugger. :-(
>>>
>>> Aside: I said the installer to install into
>>> /opt/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 Zibis:
>>>>
>>>> Hi Geertjan,
>>>>
>>>> please note, that I use NetBeans 10 (not 11.1) and I
>>>> have installed it into "/opt/netbeans/10.0/" as root.
>>>> Then I started it as root and added the C/C++ plugin
>>>> besides few others with "Force install into shared
>>>> directories". Hope that doesn't hurt.
>>>>
>>>> The starter is in "/usr/share/applications/netbeans
>>>> 10.0.desktop" with:
>>>> [Desktop Entry]
>>>> Name=NetBeans IDE 10.0
>>>> Comment=Apache NetBeans IDE 10.0
>>>> Exec=/opt/netbeans/10.0/bin/netbeans %f
>>>> Path=/opt/netbeans/10.0
>>>> Terminal=false
>>>>  

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

2019-07-05 Thread Ulf Zibis
This bug helped!

The trick is to set Make -> Build Result: ffmpeg_g
Did you have to set this too?

The next try from my side would have been clang.

So now it seems, that I can remove NB 10.0 and use NB 11.1 :-)

Much thanks for your help.

-Ulf

Am 05.07.19 um 11:04 schrieb Geertjan Wielenga:
> And some tips in this one may be helpful:
>
> https://netbeans.org/bugzilla/show_bug.cgi?id=243859
>
> Gj
>
> On Fri, Jul 5, 2019 at 10:57 AM Geertjan Wielenga  <mailto:geert...@apache.org>> wrote:
>
> gdb itself should have a log file too, maybe this
> helps: http://wiki.netbeans.org/GdbLog or not, but somewhere when
> you do those steps you should get a gdb log, that could help too.
> Once you find where it is generated, I'd advise to start from
> scratch, i.e, close the IDE, remove the userdir, reproduce the
> problem, and generate the gdb log.
>
> And at this point you 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 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't see any error, but warnings.
>
> -Ulf
>
> Am 05.07.19 um 06:57 schrieb Geertjan Wielenga:
>> Well, the solution is like always — start again with a fresh
>> userdir and recreate the problem, then you'll have log files
>> that we can look at to see the errors generated when the
>> problem occurs. Also consider using a different version of
>> gdb to see if that makes a difference or switch from gdb to
>> clang debugger. In addition look on-line for issues about
>> C/C++ debugger breakpoints not being hit in 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://github.com/rtaneja1/netbeans/blob/installer-bin-11-1/nbbuild/installer/binaries/Apache-NetBeans-11.1-bin-linux-x64.sh
>>
>> With this I have the same bad results when running the
>> debugger. :-(
>>
>> Aside: I said the installer to install into
>> /opt/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 Zibis:
>>>
>>> Hi Geertjan,
>>>
>>> please note, that I use NetBeans 10 (not 11.1) and I
>>> have installed it into "/opt/netbeans/10.0/" as root.
>>> Then I started it as root and added the C/C++ plugin
>>> besides few others with "Force install into shared
>>> directories". Hope that doesn't hurt.
>>>
>>> The starter is in "/usr/share/applications/netbeans
>>> 10.0.desktop" with:
>>> [Desktop Entry]
>>> Name=NetBeans IDE 10.0
>>> Comment=Apache NetBeans IDE 10.0
>>> Exec=/opt/netbeans/10.0/bin/netbeans %f
>>> Path=/opt/netbeans/10.0
>>> Terminal=false
>>> Icon=/opt/netbeans/10.0/nb/netbeans.icns
>>> Type=Application
>>> Categories=Java;Development;IDE;
>>> MimeType=application/x-jar;application/x-java;
>>>
>>> Then I copied the project files into
>>> "~/Projects/ffmpeg/test".
>>> Then I started NB as normal user and created a new "C/++
>>> Project with existing sources" in "~/Projects/ffmpeg/test".
>>> It automatically started to build and failed with:
>>> cd '/home/ich/Projects/ffmpeg/test'
>>> /b

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

2019-07-05 Thread Ulf Zibis
I've found the gdb log.

Interesting parts:
10-file-symbol-file "/home/ich/Projects/ffmpeg/test"
11-file-exec-file  "./ffmpeg_g"

(gdb)
10^error,msg="/home/ich/Projects/ffmpeg/test: Ist ein Verzeichnis." --->
english: "... is a direktory"
(gdb)
11^done
12-file-list-exec-source-file
13-environment-cd /home/ich/Projects/ffmpeg/test
14-exec-arguments "-version"
15-break-insert -f "/home/ich/Projects/ffmpeg/test/fftools/ffmpeg.c:4848"
(gdb)
12^error,msg="Es ist keine Symboltabelle geladen. Benutzen Sie den
\302\273file\302\253-Befehl." ---> english: "... use the
\302\273file\302\253-command."

Have you any idea how to correct that?

-Ulf

Am 05.07.19 um 10:57 schrieb Geertjan Wielenga:
> gdb itself should have a log file too, maybe this
> helps: http://wiki.netbeans.org/GdbLog or not, but somewhere when you
> do those steps you should get a gdb log, that could help too. Once you
> find where it is generated, I'd advise to start from scratch, i.e,
> close the IDE, remove the userdir, reproduce the problem, and generate
> the gdb log.
>
> And at this point you 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 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't see any error, but warnings.
>
> -Ulf
>
> Am 05.07.19 um 06:57 schrieb Geertjan Wielenga:
>> Well, the solution is like always — start again with a fresh
>> userdir and recreate the problem, then you'll have log files that
>> we can look at to see the errors generated when the problem
>> occurs. Also consider using a different version of gdb to see if
>> that makes a difference or switch from gdb to clang debugger. In
>> addition look on-line for issues about C/C++ debugger breakpoints
>> not being hit in 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://github.com/rtaneja1/netbeans/blob/installer-bin-11-1/nbbuild/installer/binaries/Apache-NetBeans-11.1-bin-linux-x64.sh
>>
>> With this I have the same bad results when running the
>> debugger. :-(
>>
>> Aside: I said the installer to install into
>> /opt/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
>>
This log is saved to: /tmp/gdb-cmds16896620495662773796.log

NB build: netbeans-release-419-on-20190703

=thread-group-added,id="i1"
~"GNU gdb (Ubuntu 8.1-0ubuntu3) 8.1.0.20180409-git\n"
~"Copyright (C) 2018 Free Software Foundation, Inc.\n"
~"License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\nThis is free software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitted by law.  Type \"show copying\"\nand \"show warranty\" for details.\n"
~"This GDB was configured as \"x86_64-linux-gnu\".\nType \"show configuration\" for configuration details."
~"\nFor bug reporting instructions, please see:\n"
~"<http://www.gnu.org/software/gdb/bugs/>.\n"
~"Find the GDB manual and other documentation resources online at:\n<http://www.gnu.org/software/gdb/documentation/>.\n"
~"For help, type \"help\".\n"
~"Type \"apropos word\" to search for commands related to \"word\".\n"
&"/home/ich/.gdbinit: Datei oder Verzeichnis nicht gefunden.\n"
(gdb) 
2-list-features
3info signals
4-gdb-set print repeat 0
5-gdb-set backtrace limit 1024
6-gdb-set print elements 400
7-gdb-set follow-fork-mode parent
8-gdb-set detach-on-fork on
9-enable-pretty-printing
10-file-symbol-file "/home/ich/Projects/ffmpeg/test"
11-file-exec-file  "./ffmpeg_g"
2^done,features=["frozen-varobjs","pending-breakpoints","thread-info","data-read-memory-byte

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

2019-07-04 Thread Ulf Zibis
Hi,

now I installed NB 11.1 beta-3 from here:
https://github.com/rtaneja1/netbeans/blob/installer-bin-11-1/nbbuild/installer/binaries/Apache-NetBeans-11.1-bin-linux-x64.sh

With this I have the same bad results when running the debugger. :-(

Aside: I said the installer to install into
/opt/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 Zibis:
>
> Hi Geertjan,
>
> please note, that I use NetBeans 10 (not 11.1) and I have installed it
> into "/opt/netbeans/10.0/" as root. Then I started it as root and
> added the C/C++ plugin besides few others with "Force install into
> shared directories". Hope that doesn't hurt.
>
> The starter is in "/usr/share/applications/netbeans 10.0.desktop" with:
> [Desktop Entry]
> Name=NetBeans IDE 10.0
> Comment=Apache NetBeans IDE 10.0
> Exec=/opt/netbeans/10.0/bin/netbeans %f
> Path=/opt/netbeans/10.0
> Terminal=false
> Icon=/opt/netbeans/10.0/nb/netbeans.icns
> Type=Application
> Categories=Java;Development;IDE;
> MimeType=application/x-jar;application/x-java;
>
> Then I copied the project files into "~/Projects/ffmpeg/test".
> Then I started NB as normal user and created a new "C/++ Project with
> existing sources" in "~/Projects/ffmpeg/test".
> It automatically started to build and failed with:
> cd '/home/ich/Projects/ffmpeg/test'
> /bin/sh ./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 for available options.
>
> RUN FAILED (exit value 1, total time: 293ms)
>
> So I had to configure:
> Pre-Build -> Command Line: ./configure
> Make -> Build Command: make
> Make -> Clean Command: make clean
> Run -> Command Line: ./ffmpeg -version
> Debug -> Debug command: ./ffmpeg_g -version
>
> Then: test -> More Build Commands -> Pre-Build:
> cd '/home/ich/Projects/ffmpeg/test'
> ./configure
> install prefix    /usr/local
> source path   .
> C compiler    gcc
> C library glibc
> ARCH  x86 (generic)
> big-endian    no
> runtime cpu detection yes
> standalone assembly   yes
> x86 assembler nasm
> [.]
> PRE-BUILD SUCCESSFUL (total time: 21s)
>
> Then: test -> Build:
> cd '/home/ich/Projects/ffmpeg/test'
> make
> GEN    libavutil/libavutil.version
> GEN    libswscale/libswscale.version
> GEN    libswresample/libswresample.version
> GEN    libavcodec/libavcodec.version
> GEN    libavformat/libavformat.version
> GEN    libavfilter/libavfilter.version
> GEN    libavdevice/libavdevice.version
> CC    libavdevice/alldevices.o
> [.]
> LD    ffprobe_g
> STRIP    ffprobe
>
> BUILD SUCCESSFUL (total time: 24m 28s)
>
> Then: test -> Run:
> ffmpeg version N-93535-gca448f0b47 Copyright (c) 2000-2019 the FFmpeg
> developers
> built with gcc 7 (Ubuntu 7.4.0-1ubuntu1~18.04.1)
> configuration:
> libavutil  56. 26.100 / 56. 26.100
> libavcodec 58. 48.100 / 58. 48.100
> libavformat    58. 26.101 / 58. 26.101
> libavdevice    58.  7.100 / 58.  7.100
> libavfilter 7. 48.100 /  7. 48.100
> libswscale  5.  4.100 /  5.  4.100
> libswresample   3.  4.100 /  3.  4.100
>
> RUN FINISHED; exit value 0; real time: 190ms; user: 0ms; system: 0ms
>
> Then in "fftools/ffmpeg.c" in line 4848
> "register_exit(ffmpeg_cleanup);" I set a breakpoint.
>
> Then: test -> Debug:
> ffmpeg version N-93535-gca448f0b47 Copyright (c) 2000-2019 the FFmpeg
> developers
> built with gcc 7 (Ubuntu 7.4.0-1ubuntu1~18.04.1)
> configuration:
> libavutil  56. 26.100 / 56. 26.100
> libavcodec 58. 48.100 / 58. 48.100
> libavformat    58. 26.101 / 58. 26.101
> libavdevice    58.  7.100 / 58.  7.100
> libavfilter 7. 48.100 /  7. 48.100
> libswscale  5.  4.100 /  5.  4.100
> libswresample   3.  4.100 /  3.  4.100
>
> The program didn't stop at the breakpoint :-(
> Shortly in the status bar I saw "Program completed, exit value 0", but
> as you can see above there is missing somthing 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
>>
>>

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

2019-07-04 Thread Ulf Zibis
Much thanks Geertjan, have a good afterwork. I'll try it and response
tomorrow.

-Ulf

Am 04.07.19 um 20:30 schrieb Geertjan Wielenga:
> https://youtu.be/xPvasdbFJAw
>
> There it is. Tell me what to do differently as specifically as
> possible, if needed, and I'll do 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"
> then with "./ffmpeg_g -i sample.jpg result.jpg" it should be the
> same ... if you have prepared a "sample.jpg" in start dir.
>
> -Ulf
>
> Am 04.07.19 um 19: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
>>
>> -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_banner(argc, argv,
>>> options); is called, so you can test what happens when
>>> jumping in.
>>> For first try just run ./ffmpeg_g (stands for gdb and
>>> includes symbols) without arguments or try ./ffmpeg_g --version.
>>>
>>> Curious if that works.
>>>
>>> -Ulf
>>>
>>> Am 04.07.19 um 18:35 schrieb Geertjan Wielenga:
>>>> OK, I ran ./configure and then built in NetBeans, so now I
>>>> have binaries and I can run them etc. Where do I need to
>>>> place a breakpoint when trying to set up the Debugger?
>>>>
>>>> Gj
>>>>
>>>> On Thu, Jul 4, 2019 at 4:56 PM Geertjan Wielenga
>>>> mailto:geert...@apache.org>> wrote:
>>>>
>>>> Maybe you can provide instructions on the site about
>>>> how to set up the sources so they can be run in
>>>> NetBeans (and then once I have that working, 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
>>>>
>>>> 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://git.ffmpeg.org/ffmpeg.git ffmpeg
>>>>
>>>> The documentations for developers:
>>>> https://ffmpeg.org/developer.html
>>>>
>>>> Did you get my current settings in the attachment
>>>> from my other thread 2 days ago?
>>>>
>>>> -Ulf
>>>>
>>>> Am 04.07.19 um 12:31 schrieb Geertjan Wielenga:
>>>>> I’ll look into it if you provide the starting
>>>>> point of an application on GitHub, i.e., the
>>>>> sources that are to be imported as a C/C++
>>>>> project. Then I’ll have a scenario to use as a
>>>>> starting point to figure this out.
>>>>>
>>>>> Gj
>>>>>
>>>>> On 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 facilit

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

2019-07-04 Thread Ulf Zibis
Sorry, I think I don't understand your question.

If you were able to run the bebugger with "./ffmpeg --version" then with
"./ffmpeg_g -i sample.jpg result.jpg" it should be the same ... if you
have prepared a "sample.jpg" in start dir.

-Ulf

Am 04.07.19 um 19: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
>
> -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_banner(argc, argv, options); is
>> called, so you can test what happens when jumping in.
>> For first try just run ./ffmpeg_g (stands for gdb and includes
>> symbols) without arguments or try ./ffmpeg_g --version.
>>
>> Curious if that works.
>>
>> -Ulf
>>
>> Am 04.07.19 um 18:35 schrieb Geertjan Wielenga:
>>> OK, I ran ./configure and then built in NetBeans, so now I have
>>> binaries and I can run them etc. Where do I need to place a
>>> breakpoint when trying to set up the Debugger?
>>>
>>> Gj
>>>
>>> On Thu, Jul 4, 2019 at 4:56 PM Geertjan Wielenga
>>> mailto:geert...@apache.org>> wrote:
>>>
>>> Maybe you can provide instructions on the site about how to
>>> set up the sources so they can be run in NetBeans (and then
>>> once I have that working, 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
>>>
>>> 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://git.ffmpeg.org/ffmpeg.git ffmpeg
>>>
>>> The documentations for developers:
>>> https://ffmpeg.org/developer.html
>>>
>>> Did you get my current settings in the attachment from
>>> my other thread 2 days ago?
>>>
>>> -Ulf
>>>
>>> Am 04.07.19 um 12:31 schrieb Geertjan Wielenga:
>>>> I’ll look into it if you provide the starting point of
>>>> an application on GitHub, i.e., the sources that are to
>>>> be imported as a C/C++ project. Then I’ll have a
>>>> scenario to use as a starting point to figure this out.
>>>>
>>>> Gj
>>>>
>>>> On 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.
>>>>
>>>> With a project created from the inbuild NetBeans
>>>> templates it works
>>>> fine, but not with a "Project from existing sources".
>>>>
>>>> Can one give me some hints please?
>>>>
>>>> -Ulf
>>>>
>>>>
>>>> 
>>>> -
>>>> 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: Debugger doesn't work with C/C++ "Project from existing sources"

2019-07-04 Thread Ulf Zibis
Hey great. Does it work without changing anything in "Project from
existing sources"?

YouTube clip would be nice if not too much work.

Thanks

-Ulf

Am 04.07.19 um 19:53 schrieb Geertjan Wielenga:
> Line 4850, i.e., 'register_exit(ffmpeg_cleanup);' works better for this.
>
> 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 there for a first test. Maybe set
> it at line 4869 where show_banner(argc, argv, options); is called,
> so you can test what happens when jumping in.
> For first try just run ./ffmpeg_g (stands for gdb and includes
> symbols) without arguments or try ./ffmpeg_g --version.
>
> Curious if that works.
>
> -Ulf
>
> Am 04.07.19 um 18:35 schrieb Geertjan Wielenga:
>> OK, I ran ./configure and then built in NetBeans, so now I have
>> binaries and I can run them etc. Where do I need to place a
>> breakpoint when trying to set up the Debugger?
>>
>> Gj
>>
>> On Thu, Jul 4, 2019 at 4:56 PM Geertjan Wielenga
>> mailto:geert...@apache.org>> wrote:
>>
>> Maybe you can provide instructions on the site about how to
>> set up the sources so they can be run in NetBeans (and then
>> once I have that working, 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
>>
>> 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://git.ffmpeg.org/ffmpeg.git ffmpeg
>>
>> The documentations for developers:
>> https://ffmpeg.org/developer.html
>>
>> Did you get my current settings in the attachment from my
>> other thread 2 days ago?
>>
>> -Ulf
>>
>> Am 04.07.19 um 12:31 schrieb Geertjan Wielenga:
>>> I’ll look into it if you provide the starting point of
>>> an application on GitHub, i.e., the sources that are to
>>> be imported as a C/C++ project. Then I’ll have a
>>> scenario to use as a starting point to figure this out.
>>>
>>> Gj
>>>
>>> On 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.
>>>
>>> With a project created from the inbuild NetBeans
>>> templates it works
>>> fine, but not with a "Project from existing sources".
>>>
>>> Can one give me some hints please?
>>>
>>> -Ulf
>>>
>>>
>>> 
>>> -
>>> 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: 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_banner(argc, argv, options); is called, so you
> can test what happens when jumping in.
> For first try just run ./ffmpeg_g (stands for gdb and includes
> symbols) without arguments or try ./ffmpeg_g --version.
>
> Curious if that works.
>
> -Ulf
>
> Am 04.07.19 um 18:35 schrieb Geertjan Wielenga:
>> OK, I ran ./configure and then built in NetBeans, so now I have
>> binaries and I can run them etc. Where do I need to place a
>> breakpoint when trying to set up the Debugger?
>>
>> Gj
>>
>> On Thu, Jul 4, 2019 at 4:56 PM Geertjan Wielenga > <mailto:geert...@apache.org>> wrote:
>>
>> Maybe you can provide instructions on the site about how to set
>> up the sources so they can be run in NetBeans (and then once I
>> have that working, 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
>>
>> 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://git.ffmpeg.org/ffmpeg.git ffmpeg
>>
>> The documentations for developers:
>> https://ffmpeg.org/developer.html
>>
>> Did you get my current settings in the attachment from my
>> other thread 2 days ago?
>>
>> -Ulf
>>
>> Am 04.07.19 um 12:31 schrieb Geertjan Wielenga:
>>> I’ll look into it if you provide the starting point of an
>>> application on GitHub, i.e., the sources that are to be
>>> imported as a C/C++ project. Then I’ll have a scenario to
>>> use as a starting point to figure this out.
>>>
>>> Gj
>>>
>>> On 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.
>>>
>>> With a project created from the inbuild NetBeans
>>> templates it works
>>> fine, but not with a "Project from existing sources".
>>>
>>> Can one give me some hints please?
>>>
>>> -Ulf
>>>
>>>
>>> 
>>> -
>>> 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: Debugger doesn't work with C/C++ "Project from existing sources"

2019-07-04 Thread 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_banner(argc, argv, options); is called, so you can
test what happens when jumping in.
For first try just run ./ffmpeg_g (stands for gdb and includes symbols)
without arguments or try ./ffmpeg_g --version.

Curious if that works.

-Ulf

Am 04.07.19 um 18:35 schrieb Geertjan Wielenga:
> OK, I ran ./configure and then built in NetBeans, so now I have
> binaries and I can run them etc. Where do I need to place a breakpoint
> when trying to set up the Debugger?
>
> Gj
>
> On Thu, Jul 4, 2019 at 4:56 PM Geertjan Wielenga  <mailto:geert...@apache.org>> wrote:
>
> Maybe you can provide instructions on the site about how to set up
> the sources so they can be run in NetBeans (and then once I have
> that working, 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
>
> 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://git.ffmpeg.org/ffmpeg.git ffmpeg
>
> The documentations for developers:
> https://ffmpeg.org/developer.html
>
> Did you get my current settings in the attachment from my
> other thread 2 days ago?
>
> -Ulf
>
> Am 04.07.19 um 12:31 schrieb Geertjan Wielenga:
>> I’ll look into it if you provide the starting point of an
>> application on GitHub, i.e., the sources that are to be
>> imported as a C/C++ project. Then I’ll have a scenario to use
>> as a starting point to figure this out.
>>
>> Gj
>>
>> On 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.
>>
>> With a project created from the inbuild NetBeans
>> templates it works
>> fine, but not with a "Project from existing sources".
>>
>> Can one give me some hints please?
>>
>> -Ulf
>>
>>
>> 
>> -
>> 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: Debugger doesn't work with C/C++ "Project from existing sources"

2019-07-04 Thread Ulf Zibis
1.) This is not my project, so I have no authority to change anything on
the site.

2.) In NetBeans I set "Pre-Build" to ./configure and "Build" to make,
nothing more. (Didn't you see that from my nbproject.zip ?)

3.) If it's the GNU debugger aka gdb, then I assume, the same
configuration for Mac and Ubuntu would fit.

-Ulf

Am 04.07.19 um 16:56 schrieb Geertjan Wielenga:
> Maybe you can provide instructions on the site about how to set up the
> sources so they can be run in NetBeans (and then once I have that
> working, 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
>
> 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://git.ffmpeg.org/ffmpeg.git ffmpeg
>
> The documentations for developers: https://ffmpeg.org/developer.html
>
> Did you get my current settings in the attachment from my other
> thread 2 days ago?
>
> -Ulf
>
> Am 04.07.19 um 12:31 schrieb Geertjan Wielenga:
>> I’ll look into it if you provide the starting point of an
>> application on GitHub, i.e., the sources that are to be imported
>> as a C/C++ project. Then I’ll have a scenario to use as a
>> starting point to figure this out.
>>
>> Gj
>>
>> On 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.
>>
>> With a project created from the inbuild NetBeans templates it
>> works
>> fine, but not with a "Project from existing sources".
>>
>> Can one give me some hints please?
>>
>> -Ulf
>>
>>
>> -
>> 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: 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:
>
> Thanks!
>
> I'd tried that for a while, but was lost in the huge config files.
> It would be really great, if there were a tutorial or
> documentation on that.
>
> If you find some time again, that would be great, and let me know
> your findings then.
>
> Aside: You need not to CC: me privately, otherwise I get your
> messages twice. Changing the settings at mailman is not a
> solution, as then I would receive the emails without "List-Id"
> tag, which prevents the "Answer List" function in Thunderbird and
> maybe other mail clients.
>
> -Ulf
>
> Am 04.07.19 um 14:18 schrieb Geertjan Wielenga:
>> Yes, but there's a lot to figure out and I'm not a C/C++
>> programmer, I'll look at this when I can, but I'd recommend
>> seeing as you have the debugger working for a standard C/C++
>> project to try and work your code into that structure rather than
>> using the '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://git.ffmpeg.org/ffmpeg.git ffmpeg
>>
>> The documentations for developers:
>> https://ffmpeg.org/developer.html
>>
>> Did you get my current settings in the attachment from my
>> other thread 2 days ago?
>>
>> -Ulf
>>
>> Am 04.07.19 um 12:31 schrieb Geertjan Wielenga:
>>> I’ll look into it if you provide the starting point of an
>>> application on GitHub, i.e., the sources that are to be
>>> imported as a C/C++ project. Then I’ll have a scenario to
>>> use as a starting point to figure this out.
>>>
>>> Gj
>>>
>>> On 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.
>>>
>>> With a project created from the inbuild NetBeans
>>> templates it works
>>> fine, but not with a "Project from existing sources".
>>>
>>> Can one give me some hints please?
>>>
>>> -Ulf
>>>
>>>
>>> 
>>> -
>>> 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: Debugger doesn't work with C/C++ "Project from existing sources"

2019-07-04 Thread Ulf Zibis
Thanks!

I'd tried that for a while, but was lost in the huge config files. It
would be really great, if there were a tutorial or documentation on that.

If you find some time again, that would be great, and let me know your
findings then.

Aside: You need not to CC: me privately, otherwise I get your messages
twice. Changing the settings at mailman is not a solution, as then I
would receive the emails without "List-Id" tag, which prevents the
"Answer List" function in Thunderbird and maybe other mail clients.

-Ulf

Am 04.07.19 um 14:18 schrieb Geertjan Wielenga:
> Yes, but there's a lot to figure out and I'm not a C/C++ programmer,
> I'll look at this when I can, but I'd recommend seeing as you have the
> debugger working for a standard C/C++ project to try and work your
> code into that structure rather than using the '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://git.ffmpeg.org/ffmpeg.git ffmpeg
>
> The documentations for developers: https://ffmpeg.org/developer.html
>
> Did you get my current settings in the attachment from my other
> thread 2 days ago?
>
> -Ulf
>
> Am 04.07.19 um 12:31 schrieb Geertjan Wielenga:
>> I’ll look into it if you provide the starting point of an
>> application on GitHub, i.e., the sources that are to be imported
>> as a C/C++ project. Then I’ll have a scenario to use as a
>> starting point to figure this out.
>>
>> Gj
>>
>> On 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.
>>
>> With a project created from the inbuild NetBeans templates it
>> works
>> fine, but not with a "Project from existing sources".
>>
>> Can one give me some hints please?
>>
>> -Ulf
>>
>>
>> -
>> 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
>>


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 some hints please?

-Ulf


-
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: 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 from 8.2 with new NB
10.0 works so far, will say, editing and running work fine, code
evaluation has some ignorable glitches, but usage of the debugger is
broken and maybe more.


-Ulf


Am 22.06.19 um 17:57 schrieb Emilio G.C.:
> Do in fact write back here if you find that some of your projects
> don't work quite right.
> We'll be happy to help.
>
> EGC
>
> 
> *From:* Geertjan Wielenga 
> *Sent:* Saturday, June 22, 2019 10:45
> *To:* Peter Toye
> *Cc:* users@netbeans.apache.org
> *Subject:* Re: Coming back to Netbeans
>  
> Welcome back, install from scratch (unzip the ZIP from
> netbeans.apache.org ), open your projects,
> should be fine (except if you’re using C/C++), and you should also be
> able to import your settings.
>
> Gj
>
>
> On Sat, 22 Jun 2019 at 17:39, Peter Toye  > wrote:
>
> I've not used NetBeans for some time, but probably want to start
> using it again. But a lot had happened since then: Apache has
> taken over from Oracle, and my old version (8.0.2) is way out of date.
>
> Is there an easy way to upgrade from that version to the latest
> stable one (whichever that is) and keep my existing projects? Or
> do I have to start from scratch? And are there any gotchas?
>
> I'm using Windows 7 SP1 Home.
>
>  
> Thanks in advance,
>
> Peter
> mailto:netbe...@ptoye.com
> www.ptoye.com 
>


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

2019-04-19 Thread Ulf Zibis
Thanks!

from the logic it must have been from Plugins Portal 8.2 – which I've
not recognized, but I can not see the version or the source, as these
informations are hidden from the new plugin manager in "User Installed
Plugins".

-Ulf

Am 19.04.19 um 13:11 schrieb Geertjan Wielenga:
> 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'm surprised. I don't remember from where I've installed the
> C/C++ plugin, and I can't see the source in the plugin, as all is
> hidden behind "User Installed Plugins".
> What you wanted to say with: "... or you must have ..."?
>
> -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.
>>
>> Gj
>>
>> On Wed, Apr 17, 2019 at 6:12 PM Ulf Zibis > <mailto:ulf.zi...@cosoco.de>> wrote:
>>
>> 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 
>>> <http://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, but that doesn't happen.
>>>
>>> Any idea why?
>>>
>>> I'm running NetBeans IDE 10 on Ubuntu 18.04
>>>
>>> -Ulf
>>>


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

2019-04-19 Thread Ulf Zibis
Thanks for your hint Geertjan.

I'm surprised. I don't remember from where I've installed the C/C++
plugin, and I can't see the source in the plugin, as all is hidden
behind "User Installed Plugins".
What you wanted to say with: "... or you must have ..."?

-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.
>
> Gj
>
> On Wed, Apr 17, 2019 at 6:12 PM Ulf Zibis  <mailto:ulf.zi...@cosoco.de>> wrote:
>
> 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 
>> <http://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, but that
>> doesn't happen.
>>
>> Any idea why?
>>
>> I'm running NetBeans IDE 10 on Ubuntu 18.04
>>
>> -Ulf
>>


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.
>
> When I use the latter with Debug Project, I expect the processing
> would stop at a set Breakpoint in the source file, but that doesn't
> happen.
>
> Any idea why?
>
> I'm running NetBeans IDE 10 on Ubuntu 18.04
>
> -Ulf
>


[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, but that doesn't happen.

Any idea why?

I'm running NetBeans IDE 10 on Ubuntu 18.04

-Ulf



Re: How to prevent from maven updates

2019-03-20 Thread Ulf Zibis
Hi,

thanks for the hint.

This plugin is only stated for NB 8.2. Are there any experiences, if it
works with NB 10.0?

In the meantime I've found the location of the "big data":
${HOME}/.cache/netbeans/10.0/mavenindex

And I've found, where to disable maven index update:
Tools->Options->Java->Maven->Index

-Ulf

Am 15.03.19 um 09:03 schrieb Geertjan Wielenga:
> https://jaxenter.com/netbeans/keep-netbeans-nimble-with-maven-remote-search
>
> Thanks,
>
> Gj
>
> On Thu, Mar 14, 2019 at 7:29 PM Marc Collin  <mailto:marccollin7...@gmail.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
> 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
> of space
> on my harddisk.
>
> How can I stop that, and where to find the local maven files
> to delete
> manually?
>
> Thanks in advance,
>
> -Ulf
>
>
> -
> 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: [C/C++] Irritating Pre-Build command line

2019-03-14 Thread Ulf Zibis
Much thanks Валера,

with your hints I was able to configure my C/C++ project to work as
expected.

-Ulf

Am 03.03.19 um 22:10 schrieb Валера Солдатов:
> In "C/C++ Project with Existing Sources" wizard on first step You can
> see "Use Build Analyzer" and "Select Configuration Mode" fields.
> If "Use Build Analyzer" checkbox is switched on, then IDE will listen
> build command. If build fails, then C/C++ Code Analyzer will ignore
> source files.
> Because you have non-standard ./configure script, then 'Custom' mode
> should be used in "Select Configuration Mode" field.
> On next wizard step You can select pre-built command. By default:
> ./configure CC=${IDE_CC} CXX=${IDE_CXX} CFLAGS="-g3 -gdwarf-2"
> CXXFLAGS="-g3 -gdwarf-2"
> You can replace default command on any your command. 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 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 for available options.
>>
>> PRE-BUILD FAILED (exit value 1, total time: 186ms)
>>
>> Now I'm wondering, where this command line comes from. Is it set from
>> NetBeans by default?
>> Does it have any importance to keep it?
>> Actually it should be this (by all means, this is what works):
>> ./configure
>> Under "Set Configuration", when I hit "Reset to default", anything
>> becomes removed, not even yet "./configure" remains, weird!
>>
>> Thanks in advance for answers and comments.
>>
>> -Ulf
>>
>>
>> -
>> 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



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 of space
on my harddisk.

How can I stop that, and where to find the local maven files to delete
manually?

Thanks in advance,

-Ulf


-
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



[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 for available options.

PRE-BUILD FAILED (exit value 1, total time: 186ms)

Now I'm wondering, where this command line comes from. Is it set from
NetBeans by default?
Does it have any importance to keep it?
Actually it should be this (by all means, this is what works):
./configure
Under "Set Configuration", when I hit "Reset to default", anything
becomes removed, not even yet "./configure" remains, weird!

Thanks in advance for answers and comments.

-Ulf


-
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