Re: [C/C++][NB13] Netbeans hangs parsing project

2022-04-13 Thread Graham Horner
I think you are assuming my knowledge of Netbeans is more than it really 
is. To get this far with C/C++ I've relied heavily on the defaults but 
your fork is not suggesting anything so I get lost quickly. For 
'location of clangd' I chose /usr/bin/clang but I'm getting no code 
assistance. I've no idea what cnd is or how anything could be ported 
from 8.2 (other than the full Oracle plugin).


I'm happy to test given detailed instructions but I do need to get some 
work done at the same time.  Do I need to build more than the 'basic' 
version?  The other options just seemed to be other languages which I 
don't need and the netbeans platform.


KR Graham

On 13/4/22 20:18, Antonio wrote:
The fork does support remote building. That's the part of cnd from 8.2 
that could be ported. So please keep up the good testing!


Cheers,
Antonio

El 13/4/22 a las 17:00, Graham Horner escribió:
I built the 'basic' version of your fork and added cpplite. I can't 
make much use of it for my main project until you add remote 
building.  So please keep up the good work!


-
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: [C/C++][NB13] Netbeans hangs parsing project

2022-04-13 Thread Antonio
The fork does support remote building. That's the part of cnd from 8.2 
that could be ported. So please keep up the good testing!


Cheers,
Antonio

El 13/4/22 a las 17:00, Graham Horner escribió:
I built the 'basic' version of your fork and added cpplite. I can't make 
much use of it for my main project until you add remote building.  So 
please keep up the good work!


-
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 suddenly reporting CRC errors for several dependencies

2022-04-13 Thread Jens Pelzetter

Hello everyone,

if anybody is interested: The problem is caused on Arch Linux by the 
recent update of zlib from zlib 1.2.11 to zlib 1.2.12. This native 
library is used by the JDK internally for calculating CRC sums.


More information:

https://bugs.archlinux.org/task/74371?string=zlib=1%5B0%5D=%5B0%5D=%5B0%5D=%5B0%5D=%5B0%5D=%5B0%5D=%5B0%5D=open%5B0%5D

https://github.com/madler/zlib/issues/634

https://github.com/madler/zlib/issues/426

Downgrading zlib to 1.2.11 solves the problem.

Best

Jens

On 04.04.22 08:16, Jens Pelzetter wrote:

Hello all,

for some reason Netbeans is reporting CRC errors for a lot of 
dependencies, for example several Jakarta EE things or Apache Shiro. The 
imports for classes from these dependencies are marked as errors, with 
the message (${classname} etc are only placeholders):


cannot access ${classname}
bad class file: ${classname}.class
unable to access file: ${full_qualified_name_of_class}: invalid entry 
CRC (expected ... but got ... )
Please remove or make sure it appears in the correct subdirectory of the 
classpath


This happens only on my desktop (Arch Linux), on almost identical 
configured Notebook everything is still fine. Tested with both the Arch 
Linux package, and the official download from netbeans.apache.org.


Java Version is

openjdk version "11.0.15" 2022-04-19
OpenJDK Runtime Environment (build 11.0.15+3)
OpenJDK 64-Bit Server VM (build 11.0.15+3, mixed mode)

Compiling the affected projects with Maven on the commandline (or from 
Netbeans) still works fine.


What I already tried:

* Deleting the Netbeans Cache
* Downloading the dependencies again
* Using a fresh Netbeans profile

Any ideas what may causes this problem and how to fix it? If you need 
more information please let me know.


Best

Jens



-
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/C++][NB13] Netbeans hangs parsing project

2022-04-13 Thread Graham Horner
Understood.  I was just hoping someone who is using the old plugin could 
give me some pointers.  I have got it working pretty well now with 11.2. 
It takes 30-40 mins to parse my linux kernel every time I start up NB 
which is not ideal and it's still missing some symbols from the 
Navigator.  But usable.


I built the 'basic' version of your fork and added cpplite. I can't make 
much use of it for my main project until you add remote building.  So 
please keep up the good work!


If you are working on remote building, a major issue for me with the old 
plugin (in 'Simple' mode) is there is no opportunity to automatically 
run a script locally or on the remote server _before_ NB attempts to 
upload changed files.  Even the Pre-build starts with an upload.


Another pain is there is no way I've found to exclude 'source' files 
from the upload.  My .git directory is about the same size as all the 
rest of the source tree (~2GB).  I don't need it on the build server but 
that plugin insists on trying to upload it with every build (and fails 
for unexplained reasons).  I think others have been asking for this for 
a long time.


So please give us these options as the work on C/C++ moves forward.

KR
Graham

On 13/4/22 10:50, antonio wrote:
So you're using NetBeans 8.2 C/C++ modules. We don't support those 
Oracle binaries any longer.


You may want to give 
https://github.com/vieiro/netbeans/tree/feature/cnd-small-4 a spin, 
though.


Cheers,
Antonio 

Re: [C/C++][NB13] Netbeans hangs parsing project

2022-04-13 Thread antonio
So you're using NetBeans 8.2 C/C++ modules. We don't support those 
Oracle binaries any longer.


You may want to give 
https://github.com/vieiro/netbeans/tree/feature/cnd-small-4 a spin, though.


Cheers,
Antonio

El 5/4/22 a las 19:13, Graham Horner escribió:
I'm not using cpplite under 11.2, so I don't have that folder. Can you 
point me to a description of the conf files - in the docs?


On 5/4/22 17:34, antonio wrote:

In windows, recursively copy the following folder

C:\Users\[YOUR_USER]\AppData\Roaming\NetBeans\11.X\config\Preferences\org\netbeans\modules\cpplite 



To the NetBeans 13 version:

C:\Users\[YOUR_USER]\AppData\Roaming\NetBeans\13\config\Preferences\org\netbeans\modules\cpplite 



You should recover your projects then. 


-
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