Re: Strange surefire problem using wrong Java version

2022-01-30 Thread Peter Nabbefeld



Thank You for the advice! In fact, I even remember of some rare cases
where I had issues with filehistory, but that's been some time ago
already ...

After thinking about why caching could cause the surefire problem, I
realized that copying a project's directory within NetBeans might lead
to indexing and history confusion, so I looked at my projects popup menu
and found "Reload POM" - this worked sufficiently, as it needs to
refresh indexing and filehistory for pom.xml, so in my case it's even
not been necessary to move or delete the whole cache. :)

Kind regards
Peter



Am 29.01.22 um 22:25 schrieb Pieter van den Hombergh:

reminds me of a caching problem I've  seen before. Rename you
cahch dir, to see if this is the case. If not, you can rename it back.


On Sat, Jan 29, 2022 at 8:52 PM Peter Nabbefeld
 wrote:


Hello,

though I've configured my project to use JDK 1.8, surefire outputs
syntax errors about module-info.java, which does even not exist:

Jan 29, 2022 8:29:36 PM
org.netbeans.modules.settings.RecognizeInstanceObjects$MSL 
WARNUNG: Not listening on module system
Jan 29, 2022 8:29:36 PM org.netbeans.modules.masterfs.watcher.Watcher
getNotifierForPlatform
INFORMATION: Native file watcher is disabled
Jan 29, 2022 8:29:36 PM
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$RootsWork
getDone
INFORMATION: Resolving dependencies took: 18 ms
Jan 29, 2022 8:29:36 PM

org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork
scanBinaries
INFORMATION: Complete indexing of 0 binary roots took: 1 ms
Jan 29, 2022 8:29:36 PM

org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork
scanSources
INFORMATION: Complete indexing of 0 source roots took: 0 ms (New or
modified files: 0, Deleted files: 0) [Adding listeners took: 0 ms]
/module-info.java:1: error: class, interface, or enum expected
module java.base {
^
/module-info.java:3: error: class, interface, or enum expected
 exports java.applet;
 ^
/module-info.java:4: error: class, interface, or enum expected
 exports java.util.spi;
 ^
/module-info.java:5: error: class, interface, or enum expected
 exports java.text.spi;
 ^
/module-info.java:6: error: class, interface, or enum expected
 exports java.awt.image;
[...]


I've already tried to fix the problem by adding
"/usr/lib64/jvm/java-8-openjdk/jre/bin/java" to the
configuration element, but that doesn't work either. The project is of
"NetBeans Module" type. If surefire needs its own Java version
configuration, this should be done automatically (as long as I'm using
the "Project properties" dialog), so it may be a bug.

Any help appreciated.

Kind regards
Peter


-
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



--
Pieter Van den Hombergh.
No software documentation is complete with out it's source code.



-
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



Strange surefire problem using wrong Java version

2022-01-29 Thread Peter Nabbefeld



Hello,

though I've configured my project to use JDK 1.8, surefire outputs
syntax errors about module-info.java, which does even not exist:

Jan 29, 2022 8:29:36 PM
org.netbeans.modules.settings.RecognizeInstanceObjects$MSL 
WARNUNG: Not listening on module system
Jan 29, 2022 8:29:36 PM org.netbeans.modules.masterfs.watcher.Watcher
getNotifierForPlatform
INFORMATION: Native file watcher is disabled
Jan 29, 2022 8:29:36 PM
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$RootsWork
getDone
INFORMATION: Resolving dependencies took: 18 ms
Jan 29, 2022 8:29:36 PM
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork
scanBinaries
INFORMATION: Complete indexing of 0 binary roots took: 1 ms
Jan 29, 2022 8:29:36 PM
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork
scanSources
INFORMATION: Complete indexing of 0 source roots took: 0 ms (New or
modified files: 0, Deleted files: 0) [Adding listeners took: 0 ms]
/module-info.java:1: error: class, interface, or enum expected
module java.base {
^
/module-info.java:3: error: class, interface, or enum expected
    exports java.applet;
    ^
/module-info.java:4: error: class, interface, or enum expected
    exports java.util.spi;
    ^
/module-info.java:5: error: class, interface, or enum expected
    exports java.text.spi;
    ^
/module-info.java:6: error: class, interface, or enum expected
    exports java.awt.image;
[...]


I've already tried to fix the problem by adding
"/usr/lib64/jvm/java-8-openjdk/jre/bin/java" to the
configuration element, but that doesn't work either. The project is of
"NetBeans Module" type. If surefire needs its own Java version
configuration, this should be done automatically (as long as I'm using
the "Project properties" dialog), so it may be a bug.

Any help appreciated.

Kind regards
Peter


-
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: v12.4 Fonts wrong

2021-06-24 Thread Peter Nabbefeld

Hello,

I got problems with fonts on Linux, too, with NB 12.4 running on Java 16.

I'm not sure, if the following article is related:
https://docs.oracle.com/en/java/javase/16/intl/font-configuration-files.html

Especially, the following statement:
"For Linux, the Oracle JDK is moving away from providing custom font
configuration files on Linux platforms, as they are difficult to keep up
to date across distributions and versions."

Kind regards
Peter



Am 23.06.21 um 11:48 schrieb Lister Jonathan:

Not much help for you, but NB 12.4 fonts look OK for me without any
serious tweaking on Ubuntu 20.04.
This is FlatLaf Dark.
J

*From:* Bradley Willcott 
*Sent:* Wednesday, June 23, 2021 10:38 AM
*To:* NetBeans Mailing 
*Subject:* re: v12.4 Fonts wrong

Hi.

Some more info.

I went through all the standard themes and found that only the
*Nimbus* and *Dark Nimbus* themes provided an override to the small
italicised fonts.  However, as you can see in the attached screenshot,
even that did not fix the problem in the editor or the output windows.

Any thoughts/ideas on fixing this?

Thank you,
Brad.



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

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



-
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-16 Thread 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



Grahical Git Browser?

2019-09-22 Thread Peter Nabbefeld



Hello,

is there any graphical GUI browser plugin available/planned, like in
Eclipse or IntelliJ?

Kind regards
Peter

-
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 10.0 - doesn't start

2019-02-19 Thread Peter Nabbefeld

(see inline)

Am 19.02.19 um 17:16 schrieb Davide Moschini:

Using CMD cli:
changed the directory to Netbeans bin folder.
this is the command I wrote:
netbeans64.exe --jdk-home "C:\.\jdk-11.0.2"

This is the answer:
The launcher has determined that the parent process has a console and 
will reuse it for its own console output.

Closing the console will result in termination of the running program.
Use '--console suppress' to suppress console output.
Use '--console new' to create a separate console window.

Nothing more? Did it stop right after the last line? Without complaining 
about anything?
BTW, probably try to use forward slashes, I'm not sure if Java needs 
them to be doubled otherwise (as backslashes are also escape characters 
in Java)


P.



On Tue, Feb 19, 2019 at 4:47 PM Peter Steele > wrote:


Can you send the contents of the set command from the CMD cli? I'd
recommending replacing personal identifiable information with
dummy values. There is something odd going on

On Tue, 19 Feb 2019, 15:43 Davide Moschini
mailto:davide.mosch...@gmail.com> wrote:

Moved everything in C:\Netbeans_10.0
no differences... the program doesn't start


On Tue, Feb 19, 2019 at 4:31 PM Geertjan Wielenga
mailto:geertjan.wiele...@googlemail.com>> wrote:

And maybe the fact that you have NetBeans at D: and JDK at
C: is the problem.

Gj

On Tue, Feb 19, 2019 at 4:30 PM Geertjan Wielenga
mailto:geertjan.wiele...@googlemail.com>> wrote:

Just double-click the executable and forget about that
--jdkhome flag, you don't need it.

Gj

On Tue, Feb 19, 2019 at 4:26 PM Davide Moschini
mailto:davide.mosch...@gmail.com>> wrote:

I would like to summarize the steps taken (sorry I
forgot to include the netbeans mailing list in the
last emails sent)
- Netbeans 10.0 is "installed" in a folder on a D:
partition.
- JDK (openJDK at the moment) is installed in
folder "C:\Program Files\AdoptOpenJDK\jdk-11.0.2+9"
- I'm using Windows 10 64 bit
- ENVIRONMENT VARIABLES:
    * JAVA_HOME: C:\Program
Files\AdoptOpenJDK\jdk-11.0.2+9\
    * JDK_HOME: %JAVA_HOME%
    * JRE_HOME: C:\Program
Files\AdoptOpenJDK\jdk-11.0.2+9-jre
    * Path: C:\Program
Files\AdoptOpenJDK\jdk-11.0.2+9\bin, C:\Program
Files\AdoptOpenJDK\jdk-11.0.2+9-jre\bin.(other
stuff)
- netbeans.conf: commented out the line
 netbeans_jdkhome="C:\Program
Files\AdoptOpenJDK\jdk-11.0.2+9"
- cmd line
* netbeans64.exe --jdkhome "C:\Program
Files\AdoptOpenJDK\jdk-11.0.2+9"
   The answer from cmd is:
      The launcher has determined that the parent
process has a console and will reuse it for its
own console output.
      Closing the console will result in
termination of the running program.
      Use '--console suppress' to suppress console
output.
      Use '--console new' to create a separate
console window.
- when I run javac -version from command line the
answer is:
    javac 11.0.2

Netbeans never started.

davide



On Tue, Feb 19, 2019 at 3:48 PM Geertjan Wielenga
mailto:geertjan.wiele...@googlemail.com>> wrote:

Maybe comment out the line in netbeans.conf
pointing to the JDK, instead run 'echo %path%'
to check that it is on your path (and put the
JDK on your path in Environment Variables if
needed) and then double-click the executable
again.

Gj

On Tue, Feb 19, 2019 at 3:36 PM Geertjan
Wielenga mailto:geertjan.wiele...@googlemail.com>> wrote:

On Windows, I don't have any problem
starting up Apache NetBeans 10, just by
double-clicking the executable. I don't
need any --jdkhome switch. In
etc/netbeans.conf, I have netbeans_jdkhome
commented out, so that I use the system's
   

How to use OSGi modules as dependencies in NetBeans modules?

2018-11-06 Thread Peter Nabbefeld



Hello,

I've got a problem with nbm-maven-plugin: the module is created, but 
when I start NetBeans with my module, the OSGi dependencies are not found.


POM is here: 
https://github.com/pnabbefeld/NbProjectManagement/blob/master/DocsTree/pom.xml


What am I doing wrong?

Kind regards

Peter

-
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 10-vc2 sez my projects "not valid or deleted"

2018-11-05 Thread Peter Nabbefeld
Strange - both actions (mouse and key press) should do the same, but 
obviously they're differently implemented. I can try it this evening.


However, the issue's comment seems unrelated (to the original issue), as 
the OP says there hasn't been any error message. But there's still 
another possible source of bugs because of reflective access, which 
probably sometimes leads to InstantiationExceptions and thus loosing 
functionality.


Kind regards
Peter


Am 05.11.18 um 13:21 schrieb Geertjan Wielenga:
This is a good analysis, and probably the reason why several are 
reporting having problems with 'Open Recent File', e.g., this one 
possibly too: https://issues.apache.org/jira/browse/NETBEANS-888


Gj

On Mon, Nov 5, 2018 at 11:11 AM Peter Nabbefeld 
mailto:peter.nabbef...@gmx.de>> wrote:


Hi, this is usual behaviour (called "Features on demand",
implemented by
ide.ergonomics):
To reduce startup time, features are activated only when used.
While You
can e.g. create a Java SE project when the feature is deactivated,
creating the first one will activate Java SE (activating all
necessary
modules).

So, if You delete Your settings, the ergonomics module does not
find its
preferences any more and is effectively reset, and You have to
re-activate features.

Kind regards
Peter


Am 01.11.18 um 12:46 schrieb Andreas Hauffe:
>
> Hi,
>
> it seems I had a similar problem. After downloading and unzipping I
> started netbeans 10.0_vc2. I didn't import the 9.0 settings. Non
of my
> java projects was listed as normal java project in the "open
project"
> dialog. All of them where shown with a blue folder symbol with a
> yellow symbol on the upper right. After ignoring this fact and
opening
> the first project with "open project" all went fine.
>
> It seems that most of the netbeans modules where loaded after the
> first open of a project.
>
> If I delete the settings in my home, I'm able to reproduce this
behaviour.
>
> OS: OpenSUSE Leap 15.0
> Netbeans: 10.0 VC2
> JDK: Oracle 10.0.2 64bit
>
> Andreas
>
> Am 31.10.18 um 16:55 schrieb Jack Woehr:
>> I'm not sure!
>> Ublu was in my project list for 9.0. It was open.
>> I loaded 10-vc2 and told it to import my settings from 9.0
>> Ublu briefly appeared in the Projects window and disappeared.
>> When I went to "Recently opened projects" it was in the list, but
>> without an icon.
>> When I I clicked that entry, it told me the project was "not
valid or
>> deleted".
>> Perhaps the way to test is:
>>
>>  1. Load Ublu project in 9.0
>>  2. Install 10-vc2
>>  3. Import setting from 9.0 and see if you get the same result
>>
>>
>> SoftWoehr LLC <http://SoftWoehr.Com>
>> Legacy Transformation using Open Source Software
>>
>>
>> On Wed, Oct 31, 2018 at 9:52 AM Geertjan Wielenga
>>  wrote:
>>
>>     So step by step what should be done to see the problem with
that
>>     specific project?
>>
>>     Gj
>>
>>     On Wed, Oct 31, 2018 at 4:50 PM Jack Woehr
mailto:softwo...@gmail.com>
>>     <mailto:softwo...@gmail.com <mailto:softwo...@gmail.com>>>
wrote:
>>
>>         The project Ublu was one of the projects --
>> https://github.com/jwoehr/ublu
>>
>>         SoftWoehr LLC <http://SoftWoehr.Com>
>>         Legacy Transformation using Open Source Software
>>
>>
>>         On Wed, Oct 31, 2018 at 9:25 AM Geertjan Wielenga
>>   wrote:
>>
>>             If a project reproducing this problem can be put on
>>             GitHub, that would help.
>>
>>             Gj
>>
>>             On Wed, Oct 31, 2018 at 4:15 PM Jack Woehr
>>             mailto:softwo...@gmail.com>
<mailto:softwo...@gmail.com <mailto:softwo...@gmail.com>>> wrote:
>>
>>                 Just downloaded and unzipped 10-vc2.
>>
>>                 Of 11 projects I was working on in NB 9.0 10-vc2
>>                 describes 5 as "not valid or deleted" when I try to
>>                 open from "Recent Projects"
>>
>>                 However, I can open some of them with "Open
Project".
>>
>>                 Also, I select plugins installed in previous
version
>>       

Re: NB 10-vc2 sez my projects "not valid or deleted"

2018-11-05 Thread Peter Nabbefeld
Hi, this is usual behaviour (called "Features on demand", implemented by 
ide.ergonomics):
To reduce startup time, features are activated only when used. While You 
can e.g. create a Java SE project when the feature is deactivated, 
creating the first one will activate Java SE (activating all necessary 
modules).


So, if You delete Your settings, the ergonomics module does not find its 
preferences any more and is effectively reset, and You have to 
re-activate features.


Kind regards
Peter


Am 01.11.18 um 12:46 schrieb Andreas Hauffe:


Hi,

it seems I had a similar problem. After downloading and unzipping I 
started netbeans 10.0_vc2. I didn't import the 9.0 settings. Non of my 
java projects was listed as normal java project in the "open project" 
dialog. All of them where shown with a blue folder symbol with a 
yellow symbol on the upper right. After ignoring this fact and opening 
the first project with "open project" all went fine.


It seems that most of the netbeans modules where loaded after the 
first open of a project.


If I delete the settings in my home, I'm able to reproduce this behaviour.

OS: OpenSUSE Leap 15.0
Netbeans: 10.0 VC2
JDK: Oracle 10.0.2 64bit

Andreas

Am 31.10.18 um 16:55 schrieb Jack Woehr:

I'm not sure!
Ublu was in my project list for 9.0. It was open.
I loaded 10-vc2 and told it to import my settings from 9.0
Ublu briefly appeared in the Projects window and disappeared.
When I went to "Recently opened projects" it was in the list, but 
without an icon.
When I I clicked that entry, it told me the project was "not valid or 
deleted".

Perhaps the way to test is:

 1. Load Ublu project in 9.0
 2. Install 10-vc2
 3. Import setting from 9.0 and see if you get the same result


SoftWoehr LLC 
Legacy Transformation using Open Source Software


On Wed, Oct 31, 2018 at 9:52 AM Geertjan Wielenga 
 wrote:


So step by step what should be done to see the problem with that
specific project?

Gj

On Wed, Oct 31, 2018 at 4:50 PM Jack Woehr mailto:softwo...@gmail.com>> wrote:

The project Ublu was one of the projects --
https://github.com/jwoehr/ublu

SoftWoehr LLC 
Legacy Transformation using Open Source Software


On Wed, Oct 31, 2018 at 9:25 AM Geertjan Wielenga
 wrote:

If a project reproducing this problem can be put on
GitHub, that would help.

Gj

On Wed, Oct 31, 2018 at 4:15 PM Jack Woehr
mailto:softwo...@gmail.com>> wrote:

Just downloaded and unzipped 10-vc2.

Of 11 projects I was working on in NB 9.0 10-vc2
describes 5 as "not valid or deleted" when I try to
open from "Recent Projects"

However, I can open some of them with "Open Project".

Also, I select plugins installed in previous version
but the "Import" button never highlights, just the
"Don't Import"

SoftWoehr LLC 
Legacy Transformation using Open Source Software




-
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 9.0 inserts class with fully qualified name when code completition is used

2018-10-09 Thread Peter Nabbefeld



Hi,

I've got another problem: Code completion doesn't work at all at some 
circumstances. So we'll have to see some more context, IMHO.


Places where code completion does not work for me:
- in braces (e.g. loop odr if conditions)
- if I want to import a class included in the JDK (but  only as long as 
there isn't an import statement already for this class).


Places/conditions where code completion doesn't work correctly for You?

Kind regards
Peter


Am 09.10.18 um 09:27 schrieb Alex Sviridov:

Hi all

I use NetBeans 9.0 and when I use code completion NetBeans inserts 
 fully qualified name.

For example, I have:

String s = "This is my code";
com.temp.foo.SuperFoo superFoo

When I used previous versions full qualified name was added to "import 
section" and I had


import com.temp.foo.SuperFoo;
.
String s = "This is my code";
SuperFoo superFoo

Could anyone say how to fix it?

--
Alex Sviridov 



-
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 9.0: git pull not working

2018-09-10 Thread Peter Nabbefeld



Hello,

the error message seems to be created by git, not NetBeans - are You 
probably using different URLs?


Probably one of the answers presented here might help You:
https://stackoverflow.com/questions/7077016/how-can-i-resolvecan-not-open-git-upload-pack-error-in-eclipse

Kind regards
Peter


Am 10.09.18 um 10:16 schrieb Thomas Kellerer:

When I use "Git -> Remote -> Pull from upstream" I get an error "cannot open 
git-upload-pack" from inside NetBeans

However when I run git from the command line (Windows 10) everything works fine.

This only happens with one repository, other repository in our company work 
fine from within NetBeans.

I am a noob when it comes to git.
Do I need to configure something in NetBeans to make this work?

Regards
Thomas


-
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: Maven Project Transferred from Netbeans 8.2 -> 9 No Longer Working?

2018-07-30 Thread Peter Nabbefeld



AFAIK, currently there're license issues to be clarified - I doubt I can 
help with these. If I can help on other topics, please tell me.


Currently I'm still trying to get the wicket plugin to work, while I 
also want to get it well documented and its structure simplified (seems 
to contain some duplicated code, probably copied code from different 
sources). Parsing isn't very reliable, leading to some hints which are 
not really helpful.


Peter



Am 30.07.2018 um 09:19 schrieb Geertjan Wielenga:
It will be integrated indeed, but not very soon. A lot of work is 
involved here (we need your help), I don’t think this will be 
completed very soon.


Gj


On Monday, July 30, 2018, Peter Nabbefeld <mailto:peter.nabbef...@gmx.de>> wrote:



Thank You for the link, Geertjan. In ealy versions of NB 9 it was
possible to just copy the enterprise cluster of NB 8.2, but this
didn't work when trying this again, so I didn't use NB 9 further.
Also, I don't want to mix NB 8 with NB 9 - it doesn't seem to me
to be a good idea, considering the 2nd donation is going to be
integrated.

Kind regards

Peter


Am 30.07.2018 um 08:13 schrieb Geertjan Wielenga:



On Mon, Jul 30, 2018 at 7:13 AM, Peter Nabbefeld
mailto:peter.nabbef...@gmx.de>
<mailto:peter.nabbef...@gmx.de
<mailto:peter.nabbef...@gmx.de>>> wrote:

    I'm still not using it because of the lack of all the web
and jee
    features still missing.


They're not missing:
https://blogs.apache.org/netbeans/entry/what-s-happened-to-my
<https://blogs.apache.org/netbeans/entry/what-s-happened-to-my>

Gj




    Kind regards

    Peter



    Am 30.07.2018 um 03:03 schrieb Sarah Szabo:

        TL;DR: Title description leads to an error when trying to
        build dependencies.

        Posed on StackOverflow here:
https://stackoverflow.com/q/51584455/2058221
<https://stackoverflow.com/q/51584455/2058221>
        <https://stackoverflow.com/q/51584455/2058221
<https://stackoverflow.com/q/51584455/2058221>>


        Sent with ProtonMail <https://protonmail.com> Secure
Email.



   
-
    To unsubscribe, e-mail:
users-unsubscr...@netbeans.apache.org
<mailto:users-unsubscr...@netbeans.apache.org>
    <mailto: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>
    <mailto: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
<https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists>
   
<https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
<https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists>>




-
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
<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: Maven Project Transferred from Netbeans 8.2 -> 9 No Longer Working?

2018-07-30 Thread Peter Nabbefeld



Thank You for the link, Geertjan. In ealy versions of NB 9 it was 
possible to just copy the enterprise cluster of NB 8.2, but this didn't 
work when trying this again, so I didn't use NB 9 further. Also, I don't 
want to mix NB 8 with NB 9 - it doesn't seem to me to be a good idea, 
considering the 2nd donation is going to be integrated.


Kind regards

Peter


Am 30.07.2018 um 08:13 schrieb Geertjan Wielenga:



On Mon, Jul 30, 2018 at 7:13 AM, Peter Nabbefeld 
mailto:peter.nabbef...@gmx.de>> wrote:


I'm still not using it because of the lack of all the web and jee
features still missing.


They're not missing: 
https://blogs.apache.org/netbeans/entry/what-s-happened-to-my


Gj




Kind regards

Peter



Am 30.07.2018 um 03:03 schrieb Sarah Szabo:

TL;DR: Title description leads to an error when trying to
build dependencies.

Posed on StackOverflow here:
https://stackoverflow.com/q/51584455/2058221
<https://stackoverflow.com/q/51584455/2058221>


Sent with ProtonMail <https://protonmail.com> Secure Email.



-
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
<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: Maven Project Transferred from Netbeans 8.2 -> 9 No Longer Working?

2018-07-29 Thread Peter Nabbefeld



Hello Sarah,

"Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of 
its dependencies could not be resolved: Failed to read artifact 
descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.6: 
Could not transfer artifact 
org.apache.maven.plugins:maven-resources-plugin:pom:2.6 from/to central 
(https://repo.maven.apache.org/maven2): java.lang.RuntimeException: 
Unexpected error: java.security.InvalidAlgorithmParameterException: the 
trustAnchors parameter must be non-empty"


1. You're not using the latest plugin versions - the maven modules 
themselves may not be able to run with JDK 9/10.


2. For the message see 
"https://stackoverflow.com/questions/6784463/error-trustanchors-parameter-must-be-non-empty;


3. Probably sth. security-related must be configured in NB 9. I'm still 
not using it because of the lack of all the web and jee features still 
missing.



Kind regards

Peter



Am 30.07.2018 um 03:03 schrieb Sarah Szabo:
TL;DR: Title description leads to an error when trying to build 
dependencies.


Posed on StackOverflow here: https://stackoverflow.com/q/51584455/2058221


Sent with ProtonMail  Secure Email.




-
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: What happened to SVN?

2018-06-22 Thread Peter Nabbefeld



HiEmilian,

thank You for clarifying this! But if JavaHL could be used, why is it 
disabled then? And, if SVN is disabled, there should probably be a hint 
somewhere?


Another question: Which features is JavaHL missing?

Kind regards
Peter



Am 22.06.2018 um 18:27 schrieb Emilian Bold:

One of the SVN libraries NetBeans depends on is GPL.

Apache Software Foundation does not allow GPL dependencies, so we disabled that 
one.

 From looking here: https://github.com/subclipse/svnclientadapter I see there's 
3 implementations:

* JavaHL - (http://subversion.apache.org/docs/)
* Command Line - (http://subversion.apache.org/packages.html)
* SVNKit - (http://svnkit.com)

I believe we only have JavaHL nowadays and disabled SVNKit. Not sure about 
Command Line...

--emi

‐‐‐ Original Message ‐‐‐

On 22 June 2018 4:23 PM, Peter Nabbefeld  wrote:


Hi Geertjan,

latest, of course.  ;-)

Running release build 316 on JDK 9 on Linux, not possible to insert any

repo address since the svn binary is asked for, regardless of options

configuration, so doesn't matter. Installed binary is svn 1.10.

With 8.x I didn't have any problems.

Kind regards

Peter

Am 22.06.2018 um 14:44 schrieb Geertjan Wielenga:


Which version of NetBeans, which JDK, which operating system, which

SVN repo, which URL...

Gj

On Friday, June 22, 2018, Peter Nabbefeld mailto:peter.nabbef...@gmx.de> wrote:

 Hello,
 
 what happened to SVN? When trying to checkout some source, I'm

 stucking asked for where the binary is, even if I select Java-HL
 (which is AFAIK a library use by NB).
 
 Kind regards

 Peter
 
 -

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



What happened to SVN?

2018-06-22 Thread Peter Nabbefeld



Hello,

what happened to SVN? When trying to checkout some source, I'm stucking 
asked for where the binary is, even if I select Java-HL (which is AFAIK 
a library use by NB).


Kind regards
Peter

-
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



Any alternatives to JavaHelp?

2018-06-21 Thread Peter Nabbefeld



Hello,

AFAIK, JavaHelp still supports only (part of) HTML 3.2 - is there a 
better alternative? And, important for me, will some alternative be 
supported in NetBeans?


Kind regards
Peter

-
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 build JavaCC from source?

2018-06-02 Thread Peter Nabbefeld

Thank You Antonio!

I didn't even think about the possibility, this project could be based 
on sth. other than Maven ... rather strange, IMHO, having the whole 
project structure and a POM.


Kind regards
Peter


Am 02.06.2018 um 06:18 schrieb Antonio:

Hi Peter,

After reading the documentation: this is an ant based project!

I just run "ant" and I build the thing withing 5 seconds [1].

Maybe you want to try to import into NetBeans as an Ant project?

Cheers,
Antonio

[1]

[...]
    [javac] Note: Recompile with -Xlint:unchecked for details.
  [jar] Building jar: /home/antonio/tmp/javacc/target/javacc.jar
  [jar] Building jar: 
/home/antonio/tmp/javacc/target/javacc-7.0.4.jar


BUILD SUCCESSFUL
Total time: 5 seconds



On 01/06/18 23:27, Peter Nabbefeld wrote:


Hi Antonio,

trying to build using NB was my first approach, of course, but 
resulted in several problems.


When trying from the command line, I get following errors (Java9 is 
default on my computer):

[ERROR] COMPILATION ERROR :
[INFO] -
[ERROR] Source option 1.5 is no longer supported. Use 1.6 or later.
[ERROR] Target option 1.5 is no longer supported. Use 1.6 or later.

Obviously it uses wrong JDK - probably JDK 9 isn't correctly 
identified yet, and Java 5 is taken as a fallback. So, as JDK 10 is 
current version, the POM is at least not ready for modern Java.


After adding the source and target properties, there 's a long list 
with errors. It seems to me, that this special POM might probably 
work with Eclipse (there're Eclipse project files in the repository), 
but I don't see how to build the project even from the command line.  
:-/


Kind regards
Peter



Am 01.06.2018 um 21:04 schrieb Antonio:

Hi,

Can you run a plain Maven build in the command line? Is this a 
Maven/pom.xml problem or a NetBeans problem?


If your objective is to build JavaCC from source, I don't think 
messing with the pom.xml (as retrieved from github's master branch) 
is a good idea.


I imagine the JavaCC people have a proper "pom.xml" file in their 
master branch. Just clone the repo and import it in NetBeans, then 
"Clean & Build" should do the job for you.


Cheers,
Antonio

On 01/06/18 19:20, Peter Nabbefeld wrote:


Hello,

I cloned JavaCC from "https://github.com/javacc/javacc.git; and 
tried to build it with NB 9.0 RC1. Of course, I first set the 
source/target versions to 1.8.


[1] The source hierarchy looks a bit suspicious, most probably 
because of several entries like the following in pom.xml:

src
 As I've never used those (to be honest, most changes I do in 
the POM are just adding copied dependencies), I don't know how to 
fix these. As I'm seeing Eclipse project files, I'd guess, that it 
handles them differently.


[2] As a result of the mal-configured hierarchy, packages are 
incorrectly interpreted by NB.


Usually, I'd guess the build file is correct, but IMHO maven should 
be able to build the project then without worrying, if NB 
interpretes the files correctly. So, could anybody tell me how to 
fix the build problems?



Kind regards
Peter


-
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: How to build JavaCC from source?

2018-06-01 Thread Peter Nabbefeld



Hi Antonio,

trying to build using NB was my first approach, of course, but resulted 
in several problems.


When trying from the command line, I get following errors (Java9 is 
default on my computer):

[ERROR] COMPILATION ERROR :
[INFO] -
[ERROR] Source option 1.5 is no longer supported. Use 1.6 or later.
[ERROR] Target option 1.5 is no longer supported. Use 1.6 or later.

Obviously it uses wrong JDK - probably JDK 9 isn't correctly identified 
yet, and Java 5 is taken as a fallback. So, as JDK 10 is current 
version, the POM is at least not ready for modern Java.


After adding the source and target properties, there 's a long list with 
errors. It seems to me, that this special POM might probably work with 
Eclipse (there're Eclipse project files in the repository), but I don't 
see how to build the project even from the command line.  :-/


Kind regards
Peter



Am 01.06.2018 um 21:04 schrieb Antonio:

Hi,

Can you run a plain Maven build in the command line? Is this a 
Maven/pom.xml problem or a NetBeans problem?


If your objective is to build JavaCC from source, I don't think 
messing with the pom.xml (as retrieved from github's master branch) is 
a good idea.


I imagine the JavaCC people have a proper "pom.xml" file in their 
master branch. Just clone the repo and import it in NetBeans, then 
"Clean & Build" should do the job for you.


Cheers,
Antonio

On 01/06/18 19:20, Peter Nabbefeld wrote:


Hello,

I cloned JavaCC from "https://github.com/javacc/javacc.git; and tried 
to build it with NB 9.0 RC1. Of course, I first set the source/target 
versions to 1.8.


[1] The source hierarchy looks a bit suspicious, most probably 
because of several entries like the following in pom.xml:

src
 As I've never used those (to be honest, most changes I do in the 
POM are just adding copied dependencies), I don't know how to fix 
these. As I'm seeing Eclipse project files, I'd guess, that it 
handles them differently.


[2] As a result of the mal-configured hierarchy, packages are 
incorrectly interpreted by NB.


Usually, I'd guess the build file is correct, but IMHO maven should 
be able to build the project then without worrying, if NB interpretes 
the files correctly. So, could anybody tell me how to fix the build 
problems?



Kind regards
Peter


-
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 build JavaCC from source?

2018-06-01 Thread Peter Nabbefeld



Hello,

I cloned JavaCC from "https://github.com/javacc/javacc.git; and tried to 
build it with NB 9.0 RC1. Of course, I first set the source/target 
versions to 1.8.


[1] The source hierarchy looks a bit suspicious, most probably because 
of several entries like the following in pom.xml:

src
    As I've never used those (to be honest, most changes I do in the 
POM are just adding copied dependencies), I don't know how to fix these. 
As I'm seeing Eclipse project files, I'd guess, that it handles them 
differently.


[2] As a result of the mal-configured hierarchy, packages are 
incorrectly interpreted by NB.


Usually, I'd guess the build file is correct, but IMHO maven should be 
able to build the project then without worrying, if NB interpretes the 
files correctly. So, could anybody tell me how to fix the build problems?



Kind regards
Peter


-
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: Starting netbeans 8.0.2 launches KDE Wallet

2018-03-09 Thread Peter Nabbefeld


Hello,

I'm using NB 8.1/8.2/dev on Arch Linux.

When starting NetBeans, I'm asked for the master password, with the 
following hint:


"The IDE can remember passwords for you, protected by a master password. 
If you have not chosen one yet, do so now; you will be prompted for it 
in subsequent sessions when needed. You can also change the master 
password whenever you are prompted for it."


The passwords will be stored in some keystore. I've found the following 
related link: http://wiki.netbeans.org/FaqMasterPasswordDialog


Obviously, in releases 7.x, setting the master password could be 
optionally enabled. Since 8.x it seems to be required.


However, as the document contains the following phrase: "[...] as of 
NetBeans 6.9 the IDE tries to use your operating system's native 
facility to store passwords.", using either password store should not be 
specified by netbeans, but by underlying OS instead. But I don't now if 
either keystore could be disabled on a per-application-basis.


However, NetBeans looks for available keystores and sorts them according 
to a position number - kwallet having position number 99, keyring having 
100, so kwallet "wins".


You could set "netbeans.keyring.no.native=true", then neither should be 
used.


However, I don't see any possibility in the current code, to switch the 
keystore used. You could implement a property to switch the keystore, my 
personal favorite would be 
"org.netbeans.modules.keyring.preferredKeystore" (a preferred keystore 
allows to find some other, if it is not available). The code should be 
added to api the "keyring" module (class "Keyring" could store both 
results and return the preferred one, if found).


Kind regards
Peter



Am 09.03.2018 um 02:11 schrieb Olumide:

Hello List,

Whenever I start netbeans-8.0.2 the KDE Wallet is launched and 
regardless of the look-and-feel, GTK+ or otherwise. How can I stop 
this from happening? My Os is Ubuntu Linux 17.10.


Regards,

- Olumide

-
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: Need help understanding NB error message on git commit

2018-02-01 Thread Peter Nabbefeld

Hi Tom,

at this point You'd really better use the Git Bash. I had a similar hell 
using Eclipse, even loosing some changes - the IDEs can provide only 
limited support, as they usually still rely on git itself, filtering 
some "spam" usually not interesting.


If You're in an unusual situation, e.g. because of some non-working 
configuration, it's better to use the console, as You now need the 
"spam" as debugging information.


"git status" may help, however, You can usually also get help with e.g. 
"git help merge".


Kind regards
Peter



Am 01.02.2018 um 17:22 schrieb Thomas Wolf:
Ok, what the he11 just happened.  I did a "Revert Modifications" to 
undo the merge in my defect branch, but now NB shows the word "Merged" 
in the version label next to the project - no matter which branch I 
switch to subsequently???  See attached screen shot.  Is this a NB bug 
or something I did wrong?  Thinking that it might be a bug, I exited 
NB and deleted its Cache.  But no change.  Any suggestions would be 
much appreciated.  I hope I didn't scramble my local repository :-(


Thnx,
tom

On Thu, Feb 1, 2018 at 10:46 AM, Thomas Wolf <tjw...@gmail.com 
<mailto:tjw...@gmail.com>> wrote:


Hi Peter,
The remote repository server is Linux based.  It's maintained by a
different group, so I don't have access to their git config file. 
I think at this point I will revert the merge and do as you
suggest: simply find the file name diffs - easy enough to do with
'find'. Thanks.

Maybe I will file a bug in Jira as John suggested (would be my
first in the new bug tracking system :-)


Tom

On Thu, Feb 1, 2018 at 12:57 AM, Peter Nabbefeld
<peter.nabbef...@gmx.de <mailto:peter.nabbef...@gmx.de>> wrote:

Hi Tom,

if Your repository has been created before moving to Mac, this
might cause problems. I don't know, what "ignorecase = true"
actually does - it's not in my git config. From reading, it
seems to just suppress checks on diffferent case, so shouldn't
hurt too much.

Did You check the config on Your remote repository? Sorry, I
don't know, how the NB git module actually works, but just in
case NB first does some compatibility checks ...

Did You check case in both branches? Probably somebody else
changed the filename by accident?

Which OS is Your remote running?

Kind regards
Peter


Am 31.01.2018 um 21:47 schrieb Thomas Wolf:

Hi Peter,
This is a pretty new machine.  I'm on the latest macOS
(10.13.2), and it runs Apple's newest files system APFS. 
We created this repository some 9 months ago and I've done
plenty of commits, pushes, pulls without problem.  The
only time I've seen this message before is when I was on
Windows 10 and there was some case sensitivity problem. 
I've been on Mac for 3-4 months without incident.

This is the first time I'm merging in the opposite
direction:  I'm merging from the main branch into a defect
branch (that was branched off the main branch a couple
months ago).  No idea whether that is relevant, though.

As I asked in my email from a moment ago, is there a way
to put NB into a more verbose mode with regards to its GIT
operations?  What actually happens (git-wise) when you
bring up the commit dialog?

    Thnx,
Tom


On Wed, Jan 31, 2018 at 3:12 PM, Peter Nabbefeld
<peter.nabbef...@gmx.de <mailto:peter.nabbef...@gmx.de>
<mailto:peter.nabbef...@gmx.de
<mailto:peter.nabbef...@gmx.de>>> wrote:

    Hello Tom,

    sorry, but I don't have a Mac, so I cannot reproduce
Your issue.
    Which file system does Your Mac use? I've found this
on Wikipedia:
https://en.wikipedia.org/wiki/HFS_Plus
<https://en.wikipedia.org/wiki/HFS_Plus>
    <https://en.wikipedia.org/wiki/HFS_Plus
<https://en.wikipedia.org/wiki/HFS_Plus>>

    Especially this sentence might give a hint - or
probably not:
    "Additionally, the core of the filesystem uses
case-insensitive
    NFD
   
<https://en.wikipedia.org/wiki/Unicode_equivalence#Normal_forms
<https://en.wikipedia.org/wiki/Unicode_equivalence#Normal_forms>
   
<https://en.wikipedia.org/wiki/Unicode_equivalence#Normal_forms
<https://en.wikipedia.org/wiki/Unicode_equivalence#Normal_forms>>>
    Unicode strings, which led Linus Torvalds
  

Re: Need help understanding NB error message on git commit

2018-01-31 Thread Peter Nabbefeld

Hi Tom,

if Your repository has been created before moving to Mac, this might 
cause problems. I don't know, what "ignorecase = true" actually does - 
it's not in my git config. From reading, it seems to just suppress 
checks on diffferent case, so shouldn't hurt too much.


Did You check the config on Your remote repository? Sorry, I don't know, 
how the NB git module actually works, but just in case NB first does 
some compatibility checks ...


Did You check case in both branches? Probably somebody else changed the 
filename by accident?


Which OS is Your remote running?

Kind regards
Peter


Am 31.01.2018 um 21:47 schrieb Thomas Wolf:

Hi Peter,
This is a pretty new machine.  I'm on the latest macOS (10.13.2), and 
it runs Apple's newest files system APFS.  We created this repository 
some 9 months ago and I've done plenty of commits, pushes, pulls 
without problem.  The only time I've seen this message before is when 
I was on Windows 10 and there was some case sensitivity problem.  I've 
been on Mac for 3-4 months without incident.


This is the first time I'm merging in the opposite direction:  I'm 
merging from the main branch into a defect branch (that was branched 
off the main branch a couple months ago).  No idea whether that is 
relevant, though.


As I asked in my email from a moment ago, is there a way to put NB 
into a more verbose mode with regards to its GIT operations?  What 
actually happens (git-wise) when you bring up the commit dialog?


Thnx,
Tom


On Wed, Jan 31, 2018 at 3:12 PM, Peter Nabbefeld 
<peter.nabbef...@gmx.de <mailto:peter.nabbef...@gmx.de>> wrote:


Hello Tom,

sorry, but I don't have a Mac, so I cannot reproduce Your issue.
Which file system does Your Mac use? I've found this on Wikipedia:
https://en.wikipedia.org/wiki/HFS_Plus
<https://en.wikipedia.org/wiki/HFS_Plus>

Especially this sentence might give a hint - or probably not:
"Additionally, the core of the filesystem uses case-insensitive
NFD
<https://en.wikipedia.org/wiki/Unicode_equivalence#Normal_forms
<https://en.wikipedia.org/wiki/Unicode_equivalence#Normal_forms>>
Unicode strings, which led Linus Torvalds
<https://en.wikipedia.org/wiki/Linus_Torvalds
<https://en.wikipedia.org/wiki/Linus_Torvalds>> to say that "HFS+
is probably the worst file-system ever."

Kind regards
Peter



Am 31.01.2018 um 20:36 schrieb Thomas Wolf:

Hallo Peter,
I'm on a Mac (I'm guessing you ask because of the case
sensitivity issue with Windows?).  The relevant parts of my
gitconfig (it's quite lengthy because of all the defect
branches, so I'm not going to send the whole thing):

[core]
    repositoryformatversion = 0
    filemode = true
    bare = false
    logallrefupdates = true
    ignorecase = true
    precomposeunicode = true
[remote "origin"]
    url =
g...@gitgrid.unx.sas.com:Vertical/SimulationStudio/DesktopApp
    fetch = +refs/heads/*:refs/remotes/origin/*
[branch "master"]
    remote = origin
    merge = refs/heads/master
[branch "dev-d5sim151"]
    remote = origin
    merge = refs/heads/dev-d5sim151
[pack]
    buildbitmaps = false
[branch "S1385163"]
    remote = origin
    merge = refs/heads/S1385163

I'm in the S1385163 branch and merged in our main branch
dev-d5sim151.  I'm now trying to commit the merged changes
into the S1385163.


Thanks for the links - I'll start reading, I guess. Just wish
NB was a little more forthcoming with what files are having
this issue :-(

Tschuess,
Thomas


On Wed, Jan 31, 2018 at 1:40 PM, Peter Nabbefeld
<peter.nabbef...@gmx.de <mailto:peter.nabbef...@gmx.de>
<mailto:peter.nabbef...@gmx.de
<mailto:peter.nabbef...@gmx.de>>> wrote:

    Hi Tom,

    are You on Windows? What is the content of Your git config?

    Probably these articles provide some helpful information
for You:

https://stackoverflow.com/questions/17683458/how-do-i-commit-case-sensitive-only-filename-changes-in-git

<https://stackoverflow.com/questions/17683458/how-do-i-commit-case-sensitive-only-filename-changes-in-git>
   

<https://stackoverflow.com/questions/17683458/how-do-i-commit-case-sensitive-only-filename-changes-in-git

<https://stackoverflow.com/questions/17683458/how-do-i-commit-case-sensitive-only-filename-changes-in-git>>

https://stackoverflow.com/questions/52950/how-to-make-git-ignore-changes-in-case

<https://stackoverflow.com/questions/52950/how-to-make-git-ignore-changes-in-case>


   

Re: Need help understanding NB error message on git commit

2018-01-31 Thread Peter Nabbefeld

Hello Tom,

sorry, but I don't have a Mac, so I cannot reproduce Your issue.
Which file system does Your Mac use? I've found this on Wikipedia: 
https://en.wikipedia.org/wiki/HFS_Plus


Especially this sentence might give a hint - or probably not: 
"Additionally, the core of the filesystem uses case-insensitive NFD 
<https://en.wikipedia.org/wiki/Unicode_equivalence#Normal_forms> Unicode 
strings, which led Linus Torvalds 
<https://en.wikipedia.org/wiki/Linus_Torvalds> to say that "HFS+ is 
probably the worst file-system ever."


Kind regards
Peter


Am 31.01.2018 um 20:36 schrieb Thomas Wolf:

Hallo Peter,
I'm on a Mac (I'm guessing you ask because of the case sensitivity 
issue with Windows?).  The relevant parts of my gitconfig (it's quite 
lengthy because of all the defect branches, so I'm not going to send 
the whole thing):


[core]
    repositoryformatversion = 0
    filemode = true
    bare = false
    logallrefupdates = true
    ignorecase = true
    precomposeunicode = true
[remote "origin"]
    url = g...@gitgrid.unx.sas.com:Vertical/SimulationStudio/DesktopApp
    fetch = +refs/heads/*:refs/remotes/origin/*
[branch "master"]
    remote = origin
    merge = refs/heads/master
[branch "dev-d5sim151"]
    remote = origin
    merge = refs/heads/dev-d5sim151
[pack]
    buildbitmaps = false
[branch "S1385163"]
    remote = origin
    merge = refs/heads/S1385163

I'm in the S1385163 branch and merged in our main branch 
dev-d5sim151.  I'm now trying to commit the merged changes into the 
S1385163.



Thanks for the links - I'll start reading, I guess.  Just wish NB was 
a little more forthcoming with what files are having this issue :-(


Tschuess,
Thomas


On Wed, Jan 31, 2018 at 1:40 PM, Peter Nabbefeld 
<peter.nabbef...@gmx.de <mailto:peter.nabbef...@gmx.de>> wrote:


Hi Tom,

are You on Windows? What is the content of Your git config?

Probably these articles provide some helpful information for You:

https://stackoverflow.com/questions/17683458/how-do-i-commit-case-sensitive-only-filename-changes-in-git

<https://stackoverflow.com/questions/17683458/how-do-i-commit-case-sensitive-only-filename-changes-in-git>

https://stackoverflow.com/questions/52950/how-to-make-git-ignore-changes-in-case

<https://stackoverflow.com/questions/52950/how-to-make-git-ignore-changes-in-case>

Kind regards
Peter


Am 31.01.2018 um 16:47 schrieb Thomas Wolf:


I'm on a defect branch and there have been lots of commits on
our main branch since I branched off.  Since I'm nowhere near
finishing my work on the branch, I thought it might be a good
time to merge changes from the main branch into my defect
branch.  The merge went well - only one file had a merge
conflict ("SASSimulation.java") which I resolved.  Everything
builds and functions as expected.  But when I tried to commit
everything to my branch, NB throws up an error:

"Some files were renamed only by changing the case in their
names.  You should use a command line client to commit this
state, the Netbeans IDE cannot handle it properly."

I can definitely try and use the 'git' commands (I'll have to
figure out which options :-), but what files is NB talking
about?  There's no list of offending files. The "Commit
Message" doesn't make much sense to me either - it seems to
still have the original merge conflict in SASSimulation.java -
which I resolved and which had nothing to do with the name of
the file (I highlighted the file in commit list just to point
it out.)

Any help would be much appreciated.
Tom


-- 
tjw...@gmail.com <mailto:tjw...@gmail.com>

<mailto:tjw...@gmail.com <mailto:tjw...@gmail.com>>
http://landofwolf.blogspot.com/ <http://landofwolf.blogspot.com/>


-
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
<https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists>



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

Re: [OSGi] Problem starting OSGi bundle with dependencies

2018-01-04 Thread Peter Nabbefeld
For some unknown reason, behaviour seems unstable, i.e. if the target is 
created, the variables seem to be set correctly, but if it already 
exists, the settings seem to be erroneous. I'll have to investigate that 
further.  :-/


Regards
P.


Am 04.01.2018 um 13:33 schrieb Peter Nabbefeld:

Hi,

finally I found out, the property value of ${plugins.jars} is
home/peter/NetBeansProjects/GFCore/target/classes

As Felix expects jar files only, this leads to an error. I'll have to 
filter for jar files only, but this should also be changed in the 
corresponding NetBeans project template.


Kind regards
Peter


Am 04.01.2018 um 10:52 schrieb Peter Nabbefeld:


Hello,

I'm currently using nightly build 201712290002. I'm following 
http://www.geoforge.org/development/osgi/tutorials/tuto_nb_2.php 
(with some modifications, e.g. updated version numbers).


After start, I get the following error message:
[java] org.osgi.framework.BundleException: Unable to resolve 
org.geoforge.GFAppli [4](R 4.0): missing requirement 
[org.geoforge.GFAppli [4](R 4.0)] osgi.wiring.package; 
(&(osgi.wiring.package=org.geoforge.nb.core)(version>=1.0.0)(!(version>=2.0.0))) 
Unresolved requirements: [[org.geoforge.GFAppli [4](R 4.0)] 
osgi.wiring.package; 
(&(osgi.wiring.package=org.geoforge.nb.core)(version>=1.0.0)(!(version>=2.0.0)))]


So I've changed the following line in the POM:



to:
value="file\:/home/peter/NetBeansProjects/GFCore/target/classes/ 
file\:/home/peter/NetBeansProjects/GFCore/target/GFCore-1.0-SNAPSHOT.jar 
file\:/home/peter/NetBeansProjects/GFAppli/target/GFAppli-1.0-SNAPSHOT.jar"/> 



However, this works only after removal of the target directory for 
the first time, second time I'm getting the same error message.


How can I fix this? Or does it have to be fixed in NetBeans?

Kind regards
Peter


-
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: [OSGi] Problem starting OSGi bundle with dependencies

2018-01-04 Thread Peter Nabbefeld

Hi,

finally I found out, the property value of ${plugins.jars} is
home/peter/NetBeansProjects/GFCore/target/classes

As Felix expects jar files only, this leads to an error. I'll have to 
filter for jar files only, but this should also be changed in the 
corresponding NetBeans project template.


Kind regards
Peter


Am 04.01.2018 um 10:52 schrieb Peter Nabbefeld:


Hello,

I'm currently using nightly build 201712290002. I'm following 
http://www.geoforge.org/development/osgi/tutorials/tuto_nb_2.php (with 
some modifications, e.g. updated version numbers).


After start, I get the following error message:
[java] org.osgi.framework.BundleException: Unable to resolve 
org.geoforge.GFAppli [4](R 4.0): missing requirement 
[org.geoforge.GFAppli [4](R 4.0)] osgi.wiring.package; 
(&(osgi.wiring.package=org.geoforge.nb.core)(version>=1.0.0)(!(version>=2.0.0))) 
Unresolved requirements: [[org.geoforge.GFAppli [4](R 4.0)] 
osgi.wiring.package; 
(&(osgi.wiring.package=org.geoforge.nb.core)(version>=1.0.0)(!(version>=2.0.0)))]


So I've changed the following line in the POM:



to:
value="file\:/home/peter/NetBeansProjects/GFCore/target/classes/ 
file\:/home/peter/NetBeansProjects/GFCore/target/GFCore-1.0-SNAPSHOT.jar 
file\:/home/peter/NetBeansProjects/GFAppli/target/GFAppli-1.0-SNAPSHOT.jar"/> 



However, this works only after removal of the target directory for the 
first time, second time I'm getting the same error message.


How can I fix this? Or does it have to be fixed in NetBeans?

Kind regards
Peter


-
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



[OSGi] Problem starting OSGi bundle with dependencies

2018-01-04 Thread Peter Nabbefeld


Hello,

I'm currently using nightly build 201712290002. I'm following 
http://www.geoforge.org/development/osgi/tutorials/tuto_nb_2.php (with 
some modifications, e.g. updated version numbers).


After start, I get the following error message:
[java] org.osgi.framework.BundleException: Unable to resolve 
org.geoforge.GFAppli [4](R 4.0): missing requirement 
[org.geoforge.GFAppli [4](R 4.0)] osgi.wiring.package; 
(&(osgi.wiring.package=org.geoforge.nb.core)(version>=1.0.0)(!(version>=2.0.0))) 
Unresolved requirements: [[org.geoforge.GFAppli [4](R 4.0)] 
osgi.wiring.package; 
(&(osgi.wiring.package=org.geoforge.nb.core)(version>=1.0.0)(!(version>=2.0.0)))]


So I've changed the following line in the POM:



to:
value="file\:/home/peter/NetBeansProjects/GFCore/target/classes/ 
file\:/home/peter/NetBeansProjects/GFCore/target/GFCore-1.0-SNAPSHOT.jar 
file\:/home/peter/NetBeansProjects/GFAppli/target/GFAppli-1.0-SNAPSHOT.jar"/>


However, this works only after removal of the target directory for the 
first time, second time I'm getting the same error message.


How can I fix this? Or does it have to be fixed in NetBeans?

Kind regards
Peter


-
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