Re: Netbeans 11.3 Tutorial JUnit Testing fails

2020-05-15 Thread Geertjan Wielenga
OK, I think I've reproduced the problem.

Can you change the content of your test source file to the following and
let us know if that works.

package org.me.mylib;

import org.junit.After;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;
import static org.junit.Assert.*;

public class LibClassTest {

public LibClassTest() {
}

@BeforeClass
public static void setUpClass() {
}

@AfterClass
public static void tearDownClass() {
}

@Before
public void setUp() {
}

@After
public void tearDown() {
}

@Test
public void testAcrostic() {
System.err.println("Running testAcrostic...");
String result = LibClass.acrostic(new String[]{"fnord", "polly",
"tropism"});
assertEquals("Correct value", "foo", result);
}

}



Thanks,

Gj

On Sat, May 16, 2020 at 8:09 AM Geertjan Wielenga 
wrote:

> In which part of the tutorial specifically are you encountering the
> problem, i.e., what is the name of the section where the problem occurs?
>
> Gj
>
> On Sat, May 16, 2020 at 7:49 AM HRH  wrote:
>
>> Developing General Java Applications
>> 
>>
>> Developing General Java Applications
>>
>> Apache NetBeans
>>
>> Developing General Java Applications - Apache NetBeans
>> 
>>
>>
>>
>> On Saturday, May 16, 2020, 10:19:25 AM GMT+4:30, HRH 
>> wrote:
>>
>>
>> Here is the link to the tutorial. Everything works up to the JUnit test
>> section.
>>
>> Thanks
>> On Saturday, May 16, 2020, 10:17:15 AM GMT+4:30, Geertjan Wielenga <
>> geert...@apache.org> wrote:
>>
>>
>> Can you point to the tutorial you're referring to, so that I can try to
>> reproduce the problem?
>>
>> Gj
>>
>> On Fri, May 15, 2020 at 6:18 AM HRH  wrote:
>>
>> Hi, I am following the tutorial step by step but LibClassTesting.java
>> (generated JUnit test class by the IDE) fails. Here is the trace:
>>
>> Testsuite: org.me.mylib.LibClassTest
>> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.133 sec
>>
>> Testcase: initializationError(org.me.mylib.LibClassTest):Caused an
>> ERROR
>> No runnable methods
>> java.lang.Exception: No runnable methods
>> at
>> java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native
>> Method)
>> at
>> java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
>> at
>> java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
>> at
>> java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500)
>> at
>> java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:481)
>>
>> Thanks
>>
>>


Re: Not able to find Sudoku Game by Peter Kriens ?

2020-05-15 Thread Geertjan Wielenga
Instead do this tutorial instead:
https://netbeans.apache.org/tutorials/nbm-selection-1.html

Better still, get the book: https://leanpub.com/nbp4beginners

Gj

On Sat, May 16, 2020 at 8:07 AM Geertjan Wielenga 
wrote:

> Just skip that tutorial, you don't need it to learn the NetBeans Platform
> and we should simply remove it.
>
> Gj
>
> On Sat, May 16, 2020 at 7:48 AM Varuna Seneviratna <
> varunasenevira...@gmail.com> wrote:
>
>>
>>   The story is, I tried to learn the NetBeans Platform form the book by
>> Paul and Gail Andrson. From a link given in that book, I was driven to this
>> NetBeans Quickstart tutorial. For doing the tutorial, I tried to get the
>> Help of the NetBeans community since the particular game could not be found
>> was needed to complete the tutorial.
>> "The focus of the tutorial is a "hello world" scenario based on the Sudoku
>> Game by Peter Kriens ". You
>> import the OSGi bundles constituting the Sudoku Game, together with the
>> related required Equinox bundles. "
>> since many
>> -- Forwarded message -
>> From: Varuna Seneviratna 
>> Date: Sat, 16 May 2020 at 11:03
>> Subject: Re: Not able to find Sudoku Game by Peter Kriens ?
>> To: Geertjan Wielenga 
>> Cc: 
>>
>>
>> I need the game because of this "Put the two Sudoku JARs into the
>> folder, where the JARs above are found:"  is included in the tutorial.
>>
>> On Sat, 16 May 2020 at 09:56, Geertjan Wielenga 
>> wrote:
>>
>>>
>>> Why do you need that game? Just so that you can do the tutorial? Or some
>>> other reason?
>>>
>>> Gj
>>>
>>> On Sat, 16 May 2020 at 02:14, Varuna Seneviratna <
>>> varunasenevira...@gmail.com> wrote:
>>>
 The link at
 https://github.com/apache/netbeans-website-cleanup/blob/master/src/content/platform/tutorials/80/nbm-osgi-quickstart.html
 to the Peter Kriens sudoku game is
 http://www.aqute.biz/Code/Download#sudoku. This link takes you to a
 page that says You got a Broken link, Don’t Panic and offers three
 options. One is  OSGi Tutorials and Presentations, which directs you
 to https://enroute.osgi.org/ . At enroute.osgi , I am still not found
 the Sudoku game by Peter Kriens.

 Thanks, for your help!

 --Varuna

 On Fri, 15 May 2020 at 19:01, Joel Craig 
 wrote:

> Try here
> https://github.com/apache/netbeans-website-cleanup/blob/master/src/content/platform/tutorials/80/nbm-osgi-quickstart.html
>
> On Thu, May 14, 2020 at 11:04 PM Varuna Seneviratna <
> varunasenevira...@gmail.com> wrote:
>
>> Hi,
>>Not able to find Sudoku Game by Peter Kriens by the link given at 
>> NetBeans
>> Platform Quick Start Using OSGi , Can
>> you help, please.
>>
>>
>>
>> Varuna
>>
>


Re: Netbeans 11.3 Tutorial JUnit Testing fails

2020-05-15 Thread Geertjan Wielenga
In which part of the tutorial specifically are you encountering the
problem, i.e., what is the name of the section where the problem occurs?

Gj

On Sat, May 16, 2020 at 7:49 AM HRH  wrote:

> Developing General Java Applications
> 
>
> Developing General Java Applications
>
> Apache NetBeans
>
> Developing General Java Applications - Apache NetBeans
> 
>
>
>
> On Saturday, May 16, 2020, 10:19:25 AM GMT+4:30, HRH 
> wrote:
>
>
> Here is the link to the tutorial. Everything works up to the JUnit test
> section.
>
> Thanks
> On Saturday, May 16, 2020, 10:17:15 AM GMT+4:30, Geertjan Wielenga <
> geert...@apache.org> wrote:
>
>
> Can you point to the tutorial you're referring to, so that I can try to
> reproduce the problem?
>
> Gj
>
> On Fri, May 15, 2020 at 6:18 AM HRH  wrote:
>
> Hi, I am following the tutorial step by step but LibClassTesting.java
> (generated JUnit test class by the IDE) fails. Here is the trace:
>
> Testsuite: org.me.mylib.LibClassTest
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.133 sec
>
> Testcase: initializationError(org.me.mylib.LibClassTest):Caused an
> ERROR
> No runnable methods
> java.lang.Exception: No runnable methods
> at
> java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> Method)
> at
> java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
> at
> java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> at
> java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500)
> at
> java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:481)
>
> Thanks
>
>


Re: Not able to find Sudoku Game by Peter Kriens ?

2020-05-15 Thread Geertjan Wielenga
Just skip that tutorial, you don't need it to learn the NetBeans Platform
and we should simply remove it.

Gj

On Sat, May 16, 2020 at 7:48 AM Varuna Seneviratna <
varunasenevira...@gmail.com> wrote:

>
>   The story is, I tried to learn the NetBeans Platform form the book by
> Paul and Gail Andrson. From a link given in that book, I was driven to this
> NetBeans Quickstart tutorial. For doing the tutorial, I tried to get the
> Help of the NetBeans community since the particular game could not be found
> was needed to complete the tutorial.
> "The focus of the tutorial is a "hello world" scenario based on the Sudoku
> Game by Peter Kriens ". You
> import the OSGi bundles constituting the Sudoku Game, together with the
> related required Equinox bundles. "
> since many
> -- Forwarded message -
> From: Varuna Seneviratna 
> Date: Sat, 16 May 2020 at 11:03
> Subject: Re: Not able to find Sudoku Game by Peter Kriens ?
> To: Geertjan Wielenga 
> Cc: 
>
>
> I need the game because of this "Put the two Sudoku JARs into the folder,
> where the JARs above are found:"  is included in the tutorial.
>
> On Sat, 16 May 2020 at 09:56, Geertjan Wielenga 
> wrote:
>
>>
>> Why do you need that game? Just so that you can do the tutorial? Or some
>> other reason?
>>
>> Gj
>>
>> On Sat, 16 May 2020 at 02:14, Varuna Seneviratna <
>> varunasenevira...@gmail.com> wrote:
>>
>>> The link at
>>> https://github.com/apache/netbeans-website-cleanup/blob/master/src/content/platform/tutorials/80/nbm-osgi-quickstart.html
>>> to the Peter Kriens sudoku game is
>>> http://www.aqute.biz/Code/Download#sudoku. This link takes you to a
>>> page that says You got a Broken link, Don’t Panic and offers three
>>> options. One is  OSGi Tutorials and Presentations, which directs you to
>>> https://enroute.osgi.org/ . At enroute.osgi , I am still not found the
>>> Sudoku game by Peter Kriens.
>>>
>>> Thanks, for your help!
>>>
>>> --Varuna
>>>
>>> On Fri, 15 May 2020 at 19:01, Joel Craig  wrote:
>>>
 Try here
 https://github.com/apache/netbeans-website-cleanup/blob/master/src/content/platform/tutorials/80/nbm-osgi-quickstart.html

 On Thu, May 14, 2020 at 11:04 PM Varuna Seneviratna <
 varunasenevira...@gmail.com> wrote:

> Hi,
>Not able to find Sudoku Game by Peter Kriens by the link given at 
> NetBeans
> Platform Quick Start Using OSGi , Can
> you help, please.
>
>
>
> Varuna
>



Re: Netbeans 11.3 Tutorial JUnit Testing fails

2020-05-15 Thread HRH
 Developing General Java Applications

| 
| 
|  | 
Developing General Java Applications

Apache NetBeans

Developing General Java Applications - Apache NetBeans
 |

 |

 |




On Saturday, May 16, 2020, 10:19:25 AM GMT+4:30, HRH  
wrote:  
 
  Here is the link to the tutorial. Everything works up to the JUnit test 
section.
Thanks
On Saturday, May 16, 2020, 10:17:15 AM GMT+4:30, Geertjan Wielenga 
 wrote:  
 
 Can you point to the tutorial you're referring to, so that I can try to 
reproduce the problem?
Gj
On Fri, May 15, 2020 at 6:18 AM HRH  wrote:

Hi, I am following the tutorial step by step but LibClassTesting.java 
(generated JUnit test class by the IDE) fails. Here is the trace:
Testsuite: org.me.mylib.LibClassTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.133 sec

Testcase: initializationError(org.me.mylib.LibClassTest):    Caused an ERROR
No runnable methods
java.lang.Exception: No runnable methods
    at 
java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native
 Method)
    at 
java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
    at 
java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at 
java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500)
    at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:481)

Thanks  


Re: Netbeans 11.3 Tutorial JUnit Testing fails

2020-05-15 Thread HRH
 Here is the link to the tutorial. Everything works up to the JUnit test 
section.
Thanks
On Saturday, May 16, 2020, 10:17:15 AM GMT+4:30, Geertjan Wielenga 
 wrote:  
 
 Can you point to the tutorial you're referring to, so that I can try to 
reproduce the problem?
Gj
On Fri, May 15, 2020 at 6:18 AM HRH  wrote:

Hi, I am following the tutorial step by step but LibClassTesting.java 
(generated JUnit test class by the IDE) fails. Here is the trace:
Testsuite: org.me.mylib.LibClassTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.133 sec

Testcase: initializationError(org.me.mylib.LibClassTest):    Caused an ERROR
No runnable methods
java.lang.Exception: No runnable methods
    at 
java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native
 Method)
    at 
java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
    at 
java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at 
java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500)
    at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:481)

Thanks  
  

Fwd: Not able to find Sudoku Game by Peter Kriens ?

2020-05-15 Thread Varuna Seneviratna
  The story is, I tried to learn the NetBeans Platform form the book by
Paul and Gail Andrson. From a link given in that book, I was driven to this
NetBeans Quickstart tutorial. For doing the tutorial, I tried to get the
Help of the NetBeans community since the particular game could not be found
was needed to complete the tutorial.
"The focus of the tutorial is a "hello world" scenario based on the Sudoku
Game by Peter Kriens ". You
import the OSGi bundles constituting the Sudoku Game, together with the
related required Equinox bundles. "
since many
-- Forwarded message -
From: Varuna Seneviratna 
Date: Sat, 16 May 2020 at 11:03
Subject: Re: Not able to find Sudoku Game by Peter Kriens ?
To: Geertjan Wielenga 
Cc: 


I need the game because of this "Put the two Sudoku JARs into the folder,
where the JARs above are found:"  is included in the tutorial.

On Sat, 16 May 2020 at 09:56, Geertjan Wielenga  wrote:

>
> Why do you need that game? Just so that you can do the tutorial? Or some
> other reason?
>
> Gj
>
> On Sat, 16 May 2020 at 02:14, Varuna Seneviratna <
> varunasenevira...@gmail.com> wrote:
>
>> The link at
>> https://github.com/apache/netbeans-website-cleanup/blob/master/src/content/platform/tutorials/80/nbm-osgi-quickstart.html
>> to the Peter Kriens sudoku game is
>> http://www.aqute.biz/Code/Download#sudoku. This link takes you to a page
>> that says You got a Broken link, Don’t Panic and offers three options.
>> One is  OSGi Tutorials and Presentations, which directs you to
>> https://enroute.osgi.org/ . At enroute.osgi , I am still not found the
>> Sudoku game by Peter Kriens.
>>
>> Thanks, for your help!
>>
>> --Varuna
>>
>> On Fri, 15 May 2020 at 19:01, Joel Craig  wrote:
>>
>>> Try here
>>> https://github.com/apache/netbeans-website-cleanup/blob/master/src/content/platform/tutorials/80/nbm-osgi-quickstart.html
>>>
>>> On Thu, May 14, 2020 at 11:04 PM Varuna Seneviratna <
>>> varunasenevira...@gmail.com> wrote:
>>>
 Hi,
Not able to find Sudoku Game by Peter Kriens by the link given at 
 NetBeans
 Platform Quick Start Using OSGi , Can
 you help, please.



 Varuna

>>>


Re: Netbeans 11.3 Tutorial JUnit Testing fails

2020-05-15 Thread Geertjan Wielenga
Can you point to the tutorial you're referring to, so that I can try to
reproduce the problem?

Gj

On Fri, May 15, 2020 at 6:18 AM HRH  wrote:

> Hi, I am following the tutorial step by step but LibClassTesting.java
> (generated JUnit test class by the IDE) fails. Here is the trace:
>
> Testsuite: org.me.mylib.LibClassTest
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.133 sec
>
> Testcase: initializationError(org.me.mylib.LibClassTest):Caused an
> ERROR
> No runnable methods
> java.lang.Exception: No runnable methods
> at
> java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> Method)
> at
> java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
> at
> java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> at
> java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500)
> at
> java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:481)
>
> Thanks
>


Re: Compiler option

2020-05-15 Thread HRH
 Sorry, I will...

On Saturday, May 16, 2020, 10:14:05 AM GMT+4:30, Geertjan Wielenga 
 wrote:  
 
 Can you, when you ask a question here and then later figure it out, come back 
here and just say that, so that we don't spend time answering questions that 
already have been answered?
Gj
On Sat, May 16, 2020 at 7:40 AM Geertjan Wielenga  wrote:

We're going to stick to one topic per thread, and so I am not responding here 
to your JUnit question.
Gj
On Sat, May 16, 2020 at 7:40 AM Geertjan Wielenga  wrote:

The above instructions I provided work either for Ant or Maven.
Best to take a step back and consider why to not use Maven, it's the more 
standard way of working with Java nowadays, or Gradle.
Gj
On Sat, May 16, 2020 at 7:28 AM HRH  wrote:

 Geertjan, I am using Ant, per tutorial instructions.Thanks

On Saturday, May 16, 2020, 9:56:34 AM GMT+4:30, Geertjan Wielenga 
 wrote:  
 
 What kind of project are you using? Ant, Maven, or Gradle?
Gj
On Wed, May 13, 2020 at 2:42 PM HRH  wrote:

Hi,I am new to Netbeans. I have configured Netbeans 11.3 with JDK 14. I would 
like to compile my project in the IDE environment with a compiler option to 
show code details in exceptions " -XX:+ShowCodeDetailsInExceptionMessages". In 
the "Project properties"->Build->Compile, I do not see how I can add this 
option. There is a "Additional Compile Option" field under "Run Compile in 
External VM" but I that's not for IDE compilation (out of curiosity tried it 
and received an invalid flag error"
Thanks for any help.

  


  

Re: Compiler option

2020-05-15 Thread HRH
 OK, I am looking forward to any answers on Junit question in its own 
thread.Thanks

On Saturday, May 16, 2020, 10:11:04 AM GMT+4:30, Geertjan Wielenga 
 wrote:  
 
 We're going to stick to one topic per thread, and so I am not responding here 
to your JUnit question.
Gj
On Sat, May 16, 2020 at 7:40 AM Geertjan Wielenga  wrote:

The above instructions I provided work either for Ant or Maven.
Best to take a step back and consider why to not use Maven, it's the more 
standard way of working with Java nowadays, or Gradle.
Gj
On Sat, May 16, 2020 at 7:28 AM HRH  wrote:

 Geertjan, I am using Ant, per tutorial instructions.Thanks

On Saturday, May 16, 2020, 9:56:34 AM GMT+4:30, Geertjan Wielenga 
 wrote:  
 
 What kind of project are you using? Ant, Maven, or Gradle?
Gj
On Wed, May 13, 2020 at 2:42 PM HRH  wrote:

Hi,I am new to Netbeans. I have configured Netbeans 11.3 with JDK 14. I would 
like to compile my project in the IDE environment with a compiler option to 
show code details in exceptions " -XX:+ShowCodeDetailsInExceptionMessages". In 
the "Project properties"->Build->Compile, I do not see how I can add this 
option. There is a "Additional Compile Option" field under "Run Compile in 
External VM" but I that's not for IDE compilation (out of curiosity tried it 
and received an invalid flag error"
Thanks for any help.

  

  

Re: Compiler option

2020-05-15 Thread Geertjan Wielenga
Can you, when you ask a question here and then later figure it out, come
back here and just say that, so that we don't spend time answering
questions that already have been answered?

Gj

On Sat, May 16, 2020 at 7:40 AM Geertjan Wielenga 
wrote:

> We're going to stick to one topic per thread, and so I am not responding
> here to your JUnit question.
>
> Gj
>
> On Sat, May 16, 2020 at 7:40 AM Geertjan Wielenga 
> wrote:
>
>> The above instructions I provided work either for Ant or Maven.
>>
>> Best to take a step back and consider why to not use Maven, it's the more
>> standard way of working with Java nowadays, or Gradle.
>>
>> Gj
>>
>> On Sat, May 16, 2020 at 7:28 AM HRH  wrote:
>>
>>> Geertjan, I am using Ant, per tutorial instructions.
>>> Thanks
>>>
>>> On Saturday, May 16, 2020, 9:56:34 AM GMT+4:30, Geertjan Wielenga <
>>> geert...@apache.org> wrote:
>>>
>>>
>>> What kind of project are you using? Ant, Maven, or Gradle?
>>>
>>> Gj
>>>
>>> On Wed, May 13, 2020 at 2:42 PM HRH  wrote:
>>>
>>> Hi,
>>> I am new to Netbeans. I have configured Netbeans 11.3 with JDK 14. I
>>> would like to compile my project in the IDE environment with a compiler
>>> option to show code details in exceptions "
>>> -XX:+ShowCodeDetailsInExceptionMessages". In the "Project
>>> properties"->Build->Compile, I do not see how I can add this option. There
>>> is a "Additional Compile Option" field under "Run Compile in External VM"
>>> but I that's not for IDE compilation (out of curiosity tried it and
>>> received an invalid flag error"
>>>
>>> Thanks for any help.
>>>
>>>


Re: Not able to find Sudoku Game by Peter Kriens ?

2020-05-15 Thread Geertjan Wielenga
So you need the game specifically for the tutorial. What is the reason that
you're doing that specific tutorial, what is it that you're trying to
achieve?

If you are not able to reach out to Peter Kriens for the game, it probably
means that the game is no longer available.

Gj

On Sat, May 16, 2020 at 7:34 AM Varuna Seneviratna <
varunasenevira...@gmail.com> wrote:

> I need the game because of this "Put the two Sudoku JARs into the folder,
> where the JARs above are found:"  is included in the tutorial.
>
> On Sat, 16 May 2020 at 09:56, Geertjan Wielenga 
> wrote:
>
>>
>> Why do you need that game? Just so that you can do the tutorial? Or some
>> other reason?
>>
>> Gj
>>
>> On Sat, 16 May 2020 at 02:14, Varuna Seneviratna <
>> varunasenevira...@gmail.com> wrote:
>>
>>> The link at
>>> https://github.com/apache/netbeans-website-cleanup/blob/master/src/content/platform/tutorials/80/nbm-osgi-quickstart.html
>>> to the Peter Kriens sudoku game is
>>> http://www.aqute.biz/Code/Download#sudoku. This link takes you to a
>>> page that says You got a Broken link, Don’t Panic and offers three
>>> options. One is  OSGi Tutorials and Presentations, which directs you to
>>> https://enroute.osgi.org/ . At enroute.osgi , I am still not found the
>>> Sudoku game by Peter Kriens.
>>>
>>> Thanks, for your help!
>>>
>>> --Varuna
>>>
>>> On Fri, 15 May 2020 at 19:01, Joel Craig  wrote:
>>>
 Try here
 https://github.com/apache/netbeans-website-cleanup/blob/master/src/content/platform/tutorials/80/nbm-osgi-quickstart.html

 On Thu, May 14, 2020 at 11:04 PM Varuna Seneviratna <
 varunasenevira...@gmail.com> wrote:

> Hi,
>Not able to find Sudoku Game by Peter Kriens by the link given at 
> NetBeans
> Platform Quick Start Using OSGi , Can
> you help, please.
>
>
>
> Varuna
>



Re: Compiler option

2020-05-15 Thread Geertjan Wielenga
We're going to stick to one topic per thread, and so I am not responding
here to your JUnit question.

Gj

On Sat, May 16, 2020 at 7:40 AM Geertjan Wielenga 
wrote:

> The above instructions I provided work either for Ant or Maven.
>
> Best to take a step back and consider why to not use Maven, it's the more
> standard way of working with Java nowadays, or Gradle.
>
> Gj
>
> On Sat, May 16, 2020 at 7:28 AM HRH  wrote:
>
>> Geertjan, I am using Ant, per tutorial instructions.
>> Thanks
>>
>> On Saturday, May 16, 2020, 9:56:34 AM GMT+4:30, Geertjan Wielenga <
>> geert...@apache.org> wrote:
>>
>>
>> What kind of project are you using? Ant, Maven, or Gradle?
>>
>> Gj
>>
>> On Wed, May 13, 2020 at 2:42 PM HRH  wrote:
>>
>> Hi,
>> I am new to Netbeans. I have configured Netbeans 11.3 with JDK 14. I
>> would like to compile my project in the IDE environment with a compiler
>> option to show code details in exceptions "
>> -XX:+ShowCodeDetailsInExceptionMessages". In the "Project
>> properties"->Build->Compile, I do not see how I can add this option. There
>> is a "Additional Compile Option" field under "Run Compile in External VM"
>> but I that's not for IDE compilation (out of curiosity tried it and
>> received an invalid flag error"
>>
>> Thanks for any help.
>>
>>


Re: Compiler option

2020-05-15 Thread Geertjan Wielenga
The above instructions I provided work either for Ant or Maven.

Best to take a step back and consider why to not use Maven, it's the more
standard way of working with Java nowadays, or Gradle.

Gj

On Sat, May 16, 2020 at 7:28 AM HRH  wrote:

> Geertjan, I am using Ant, per tutorial instructions.
> Thanks
>
> On Saturday, May 16, 2020, 9:56:34 AM GMT+4:30, Geertjan Wielenga <
> geert...@apache.org> wrote:
>
>
> What kind of project are you using? Ant, Maven, or Gradle?
>
> Gj
>
> On Wed, May 13, 2020 at 2:42 PM HRH  wrote:
>
> Hi,
> I am new to Netbeans. I have configured Netbeans 11.3 with JDK 14. I would
> like to compile my project in the IDE environment with a compiler option to
> show code details in exceptions "
> -XX:+ShowCodeDetailsInExceptionMessages". In the "Project
> properties"->Build->Compile, I do not see how I can add this option. There
> is a "Additional Compile Option" field under "Run Compile in External VM"
> but I that's not for IDE compilation (out of curiosity tried it and
> received an invalid flag error"
>
> Thanks for any help.
>
>


Re: Compiler option

2020-05-15 Thread HRH
 Geertjan, the compile option is an old post. I have already figured it out 
after I posted it.
 I am asking about JUnit Test failure that I posted to the mailing list 
yesterday (as you suggested) but the only thing I received from you was 
invitation to Slack Workspace (which I did).
Thanks

On Saturday, May 16, 2020, 9:59:01 AM GMT+4:30, Geertjan Wielenga 
 wrote:  
 
 Maven, when I simply put this:
-XX:+ShowCodeDetailsInExceptionMessages

...into the Project Properties under Run | VM Options, it provides the 
additional info I expect without a problem.
Gj
On Sat, May 16, 2020 at 7:26 AM Geertjan Wielenga  wrote:

What kind of project are you using? Ant, Maven, or Gradle?
Gj
On Wed, May 13, 2020 at 2:42 PM HRH  wrote:

Hi,I am new to Netbeans. I have configured Netbeans 11.3 with JDK 14. I would 
like to compile my project in the IDE environment with a compiler option to 
show code details in exceptions " -XX:+ShowCodeDetailsInExceptionMessages". In 
the "Project properties"->Build->Compile, I do not see how I can add this 
option. There is a "Additional Compile Option" field under "Run Compile in 
External VM" but I that's not for IDE compilation (out of curiosity tried it 
and received an invalid flag error"
Thanks for any help.


  

Re: Not able to find Sudoku Game by Peter Kriens ?

2020-05-15 Thread Varuna Seneviratna
I need the game because of this "Put the two Sudoku JARs into the folder,
where the JARs above are found:"  is included in the tutorial.

On Sat, 16 May 2020 at 09:56, Geertjan Wielenga  wrote:

>
> Why do you need that game? Just so that you can do the tutorial? Or some
> other reason?
>
> Gj
>
> On Sat, 16 May 2020 at 02:14, Varuna Seneviratna <
> varunasenevira...@gmail.com> wrote:
>
>> The link at
>> https://github.com/apache/netbeans-website-cleanup/blob/master/src/content/platform/tutorials/80/nbm-osgi-quickstart.html
>> to the Peter Kriens sudoku game is
>> http://www.aqute.biz/Code/Download#sudoku. This link takes you to a page
>> that says You got a Broken link, Don’t Panic and offers three options.
>> One is  OSGi Tutorials and Presentations, which directs you to
>> https://enroute.osgi.org/ . At enroute.osgi , I am still not found the
>> Sudoku game by Peter Kriens.
>>
>> Thanks, for your help!
>>
>> --Varuna
>>
>> On Fri, 15 May 2020 at 19:01, Joel Craig  wrote:
>>
>>> Try here
>>> https://github.com/apache/netbeans-website-cleanup/blob/master/src/content/platform/tutorials/80/nbm-osgi-quickstart.html
>>>
>>> On Thu, May 14, 2020 at 11:04 PM Varuna Seneviratna <
>>> varunasenevira...@gmail.com> wrote:
>>>
 Hi,
Not able to find Sudoku Game by Peter Kriens by the link given at 
 NetBeans
 Platform Quick Start Using OSGi , Can
 you help, please.



 Varuna

>>>


Re: Compiler option

2020-05-15 Thread HRH
 Geertjan, I am using Ant, per tutorial instructions.Thanks

On Saturday, May 16, 2020, 9:56:34 AM GMT+4:30, Geertjan Wielenga 
 wrote:  
 
 What kind of project are you using? Ant, Maven, or Gradle?
Gj
On Wed, May 13, 2020 at 2:42 PM HRH  wrote:

Hi,I am new to Netbeans. I have configured Netbeans 11.3 with JDK 14. I would 
like to compile my project in the IDE environment with a compiler option to 
show code details in exceptions " -XX:+ShowCodeDetailsInExceptionMessages". In 
the "Project properties"->Build->Compile, I do not see how I can add this 
option. There is a "Additional Compile Option" field under "Run Compile in 
External VM" but I that's not for IDE compilation (out of curiosity tried it 
and received an invalid flag error"
Thanks for any help.

  

Re: Compiler option

2020-05-15 Thread Geertjan Wielenga
Maven, when I simply put this:

-XX:+ShowCodeDetailsInExceptionMessages

...into the Project Properties under Run | VM Options, it provides the
additional info I expect without a problem.

Gj

On Sat, May 16, 2020 at 7:26 AM Geertjan Wielenga 
wrote:

> What kind of project are you using? Ant, Maven, or Gradle?
>
> Gj
>
> On Wed, May 13, 2020 at 2:42 PM HRH  wrote:
>
>> Hi,
>> I am new to Netbeans. I have configured Netbeans 11.3 with JDK 14. I
>> would like to compile my project in the IDE environment with a compiler
>> option to show code details in exceptions "
>> -XX:+ShowCodeDetailsInExceptionMessages". In the "Project
>> properties"->Build->Compile, I do not see how I can add this option. There
>> is a "Additional Compile Option" field under "Run Compile in External VM"
>> but I that's not for IDE compilation (out of curiosity tried it and
>> received an invalid flag error"
>>
>> Thanks for any help.
>>
>


Re: Compiler option

2020-05-15 Thread Geertjan Wielenga
What kind of project are you using? Ant, Maven, or Gradle?

Gj

On Wed, May 13, 2020 at 2:42 PM HRH  wrote:

> Hi,
> I am new to Netbeans. I have configured Netbeans 11.3 with JDK 14. I would
> like to compile my project in the IDE environment with a compiler option to
> show code details in exceptions "
> -XX:+ShowCodeDetailsInExceptionMessages". In the "Project
> properties"->Build->Compile, I do not see how I can add this option. There
> is a "Additional Compile Option" field under "Run Compile in External VM"
> but I that's not for IDE compilation (out of curiosity tried it and
> received an invalid flag error"
>
> Thanks for any help.
>


Netbeans 11.3

2020-05-15 Thread HRH
Hi,Are there any Netbeans 11.3 savvy, to tell me why a fresh install fails to 
do JUnit test of the tutorial example. I have already posted the full context 
twice.Thanks


Re: Not able to find Sudoku Game by Peter Kriens ?

2020-05-15 Thread Geertjan Wielenga
Why do you need that game? Just so that you can do the tutorial? Or some
other reason?

Gj

On Sat, 16 May 2020 at 02:14, Varuna Seneviratna <
varunasenevira...@gmail.com> wrote:

> The link at
> https://github.com/apache/netbeans-website-cleanup/blob/master/src/content/platform/tutorials/80/nbm-osgi-quickstart.html
> to the Peter Kriens sudoku game is
> http://www.aqute.biz/Code/Download#sudoku. This link takes you to a page
> that says You got a Broken link, Don’t Panic and offers three options.
> One is  OSGi Tutorials and Presentations, which directs you to
> https://enroute.osgi.org/ . At enroute.osgi , I am still not found the
> Sudoku game by Peter Kriens.
>
> Thanks, for your help!
>
> --Varuna
>
> On Fri, 15 May 2020 at 19:01, Joel Craig  wrote:
>
>> Try here
>> https://github.com/apache/netbeans-website-cleanup/blob/master/src/content/platform/tutorials/80/nbm-osgi-quickstart.html
>>
>> On Thu, May 14, 2020 at 11:04 PM Varuna Seneviratna <
>> varunasenevira...@gmail.com> wrote:
>>
>>> Hi,
>>>Not able to find Sudoku Game by Peter Kriens by the link given at 
>>> NetBeans
>>> Platform Quick Start Using OSGi , Can
>>> you help, please.
>>>
>>>
>>>
>>> Varuna
>>>
>>


Re: Not able to find Sudoku Game by Peter Kriens ?

2020-05-15 Thread Varuna Seneviratna
The link at
https://github.com/apache/netbeans-website-cleanup/blob/master/src/content/platform/tutorials/80/nbm-osgi-quickstart.html
to the Peter Kriens sudoku game is http://www.aqute.biz/Code/Download#sudoku.
This link takes you to a page that says You got a Broken link, Don’t Panic
and offers three options. One is  OSGi Tutorials and Presentations, which
directs you to https://enroute.osgi.org/ . At enroute.osgi , I am still not
found the Sudoku game by Peter Kriens.

Thanks, for your help!

--Varuna

On Fri, 15 May 2020 at 19:01, Joel Craig  wrote:

> Try here
> https://github.com/apache/netbeans-website-cleanup/blob/master/src/content/platform/tutorials/80/nbm-osgi-quickstart.html
>
> On Thu, May 14, 2020 at 11:04 PM Varuna Seneviratna <
> varunasenevira...@gmail.com> wrote:
>
>> Hi,
>>Not able to find Sudoku Game by Peter Kriens by the link given at NetBeans
>> Platform Quick Start Using OSGi , Can you
>> help, please.
>>
>>
>>
>> Varuna
>>
>


Re: Not able to find Sudoku Game by Peter Kriens ?

2020-05-15 Thread Neil C Smith
On Fri, 15 May 2020, 21:42 Peter Steele,  wrote:

> Users participate in the Apache community by helping other users on
> mailing lists and user support forums.
>
Which part of that sentence suggests users' help in fixing up support
documentation would not be very appreciated?!

Best wishes,

Neil

>


Re: Not able to find Sudoku Game by Peter Kriens ?

2020-05-15 Thread Peter Steele
Alan

I meant open source, typo on my part. I understand the difference between
the old and new setup.

Geertjan

See here

https://www.apache.org/foundation/how-it-works.html

Specifically look at the roles section, the user and developer role are
posted below. This is what I meant when I was talking about the differences
between users and developers.

USER¶ 

A *user* is someone that uses our software. They contribute to the Apache
projects by providing feedback to developers in the form of bug reports and
feature suggestions. Users participate in the Apache community by helping
other users on mailing lists and user support forums.
DEVELOPER 

A *developer* is a user who contributes to a project in the form of code or
documentation. They take extra steps to participate in a project, are
active on the developer mailing list, participate in discussions, provide
patches, documentation, suggestions, and criticism. Developers are also
known as *contributors*



On Fri, 15 May 2020, 19:14 Alan,  wrote:

> I think the confusion here might be between Oracle Netbeans, which
> presumably had the support of salaried contributors and Apache Netbeans,
> which is supported by the people who use it. It's no longer an "outsource"
> project.
> On 2020-05-15 14:09, Geertjan Wielenga wrote:
>
>
> I disagree. :-)
>
> In a community project, there are no users. Everyone is a contributor —
> there are many very small and simple ways to contribute requiring little
> time or knowledge.
>
> When you use technology, you either contribute money, for commercial
> projects, or you contribute time, for free projects. It’s never the case
> that you contribute nothing at all.
>
> Gj
>
> On Fri, 15 May 2020 at 19:57, Peter Steele  wrote:
>
>> Geertjan
>>
>> I personally have no interest in whether the page is up-to-date or not. I
>> was just pointing out the fact the links are out of date.
>>
>> Typically in an outsource project there are maintainers of that project
>> who actively develop / improve the product  and users of that projects who
>> don't usually develop but raise issues and highlight things to the
>> maintainers. This mailing list is the users mailing list so expect a lot
>> questions to the maintainers here. I see your default answer to a lot of
>> questions about changes in the user list is basically "where is your pull
>> request" but you are giving this to the wrong audience.
>>
>>
>> On Fri, 15 May 2020, 14:46 Geertjan Wielenga, 
>> wrote:
>>
>>>
>>> Your pull request is welcome, bottom of each page there’s a link
>>> directly to the GitHub of each page on netbeans.apache.org
>>>
>>> Gj
>>>
>>> On Fri, 15 May 2020 at 15:39, Peter Steele  wrote:
>>>
 Quite a few of those links don't work, maybe worth removing the or
 updating them.

 On Fri, 15 May 2020, 14:35 Geertjan Wielenga, 
 wrote:

> Do you think you can look up Peter Kriens on LinkedIn and just ask him
> yourself?
>
> Gj
>
> On Fri, 15 May 2020 at 15:31, Joel Craig 
> wrote:
>
>> Try here
>> https://github.com/apache/netbeans-website-cleanup/blob/master/src/content/platform/tutorials/80/nbm-osgi-quickstart.html
>>
>> On Thu, May 14, 2020 at 11:04 PM Varuna Seneviratna <
>> varunasenevira...@gmail.com> wrote:
>>
>>> Hi,
>>>Not able to find Sudoku Game by Peter Kriens by the link given at
>>>  NetBeans Platform Quick Start Using OSGi
>>> , Can you help, please.
>>>
>>>
>>>
>>> Varuna
>>>
>>


Re: Not able to find Sudoku Game by Peter Kriens ?

2020-05-15 Thread Alan
I think the confusion here might be between Oracle Netbeans, which 
presumably had the support of salaried contributors and Apache Netbeans, 
which is supported by the people who use it. It's no longer an 
"outsource" project.


On 2020-05-15 14:09, Geertjan Wielenga wrote:


I disagree. :-)

In a community project, there are no users. Everyone is a contributor 
— there are many very small and simple ways to contribute requiring 
little time or knowledge.


When you use technology, you either contribute money, for commercial 
projects, or you contribute time, for free projects. It’s never the 
case that you contribute nothing at all.


Gj

On Fri, 15 May 2020 at 19:57, Peter Steele > wrote:


Geertjan

I personally have no interest in whether the page is up-to-date or
not. I was just pointing out the fact the links are out of date.

Typically in an outsource project there are maintainers of that
project who actively develop / improve the product  and users of
that projects who don't usually develop but raise issues and
highlight things to the maintainers. This mailing list is the
users mailing list so expect a lot questions to the maintainers
here. I see your default answer to a lot of questions about
changes in the user list is basically "where is your pull request"
but you are giving this to the wrong audience.


On Fri, 15 May 2020, 14:46 Geertjan Wielenga, mailto:geert...@apache.org>> wrote:


Your pull request is welcome, bottom of each page there’s a
link directly to the GitHub of each page on
netbeans.apache.org 

Gj

On Fri, 15 May 2020 at 15:39, Peter Steele
mailto:steeleh...@gmail.com>> wrote:

Quite a few of those links don't work, maybe worth
removing the or updating them.

On Fri, 15 May 2020, 14:35 Geertjan Wielenga,
mailto:geert...@apache.org>> wrote:

Do you think you can look up Peter Kriens on LinkedIn
and just ask him yourself?

Gj

On Fri, 15 May 2020 at 15:31, Joel Craig
mailto:jcr...@wavelinkinc.com>> wrote:

Try here

https://github.com/apache/netbeans-website-cleanup/blob/master/src/content/platform/tutorials/80/nbm-osgi-quickstart.html

On Thu, May 14, 2020 at 11:04 PM Varuna
Seneviratna mailto:varunasenevira...@gmail.com>> wrote:

Hi,
Not able to find Sudoku Game by Peter Kriens
by the link given atNetBeans Platform Quick
Start Using OSGi
, Can you help,
please.



Varuna



Re: Not able to find Sudoku Game by Peter Kriens ?

2020-05-15 Thread Geertjan Wielenga
I disagree. :-)

In a community project, there are no users. Everyone is a contributor —
there are many very small and simple ways to contribute requiring little
time or knowledge.

When you use technology, you either contribute money, for commercial
projects, or you contribute time, for free projects. It’s never the case
that you contribute nothing at all.

Gj

On Fri, 15 May 2020 at 19:57, Peter Steele  wrote:

> Geertjan
>
> I personally have no interest in whether the page is up-to-date or not. I
> was just pointing out the fact the links are out of date.
>
> Typically in an outsource project there are maintainers of that project
> who actively develop / improve the product  and users of that projects who
> don't usually develop but raise issues and highlight things to the
> maintainers. This mailing list is the users mailing list so expect a lot
> questions to the maintainers here. I see your default answer to a lot of
> questions about changes in the user list is basically "where is your pull
> request" but you are giving this to the wrong audience.
>
>
> On Fri, 15 May 2020, 14:46 Geertjan Wielenga,  wrote:
>
>>
>> Your pull request is welcome, bottom of each page there’s a link directly
>> to the GitHub of each page on netbeans.apache.org
>>
>> Gj
>>
>> On Fri, 15 May 2020 at 15:39, Peter Steele  wrote:
>>
>>> Quite a few of those links don't work, maybe worth removing the or
>>> updating them.
>>>
>>> On Fri, 15 May 2020, 14:35 Geertjan Wielenga, 
>>> wrote:
>>>
 Do you think you can look up Peter Kriens on LinkedIn and just ask him
 yourself?

 Gj

 On Fri, 15 May 2020 at 15:31, Joel Craig 
 wrote:

> Try here
> https://github.com/apache/netbeans-website-cleanup/blob/master/src/content/platform/tutorials/80/nbm-osgi-quickstart.html
>
> On Thu, May 14, 2020 at 11:04 PM Varuna Seneviratna <
> varunasenevira...@gmail.com> wrote:
>
>> Hi,
>>Not able to find Sudoku Game by Peter Kriens by the link given at 
>> NetBeans
>> Platform Quick Start Using OSGi , Can
>> you help, please.
>>
>>
>>
>> Varuna
>>
>


Re: Not able to find Sudoku Game by Peter Kriens ?

2020-05-15 Thread Peter Steele
Geertjan

I personally have no interest in whether the page is up-to-date or not. I
was just pointing out the fact the links are out of date.

Typically in an outsource project there are maintainers of that project who
actively develop / improve the product  and users of that projects who
don't usually develop but raise issues and highlight things to the
maintainers. This mailing list is the users mailing list so expect a lot
questions to the maintainers here. I see your default answer to a lot of
questions about changes in the user list is basically "where is your pull
request" but you are giving this to the wrong audience.


On Fri, 15 May 2020, 14:46 Geertjan Wielenga,  wrote:

>
> Your pull request is welcome, bottom of each page there’s a link directly
> to the GitHub of each page on netbeans.apache.org
>
> Gj
>
> On Fri, 15 May 2020 at 15:39, Peter Steele  wrote:
>
>> Quite a few of those links don't work, maybe worth removing the or
>> updating them.
>>
>> On Fri, 15 May 2020, 14:35 Geertjan Wielenga, 
>> wrote:
>>
>>> Do you think you can look up Peter Kriens on LinkedIn and just ask him
>>> yourself?
>>>
>>> Gj
>>>
>>> On Fri, 15 May 2020 at 15:31, Joel Craig  wrote:
>>>
 Try here
 https://github.com/apache/netbeans-website-cleanup/blob/master/src/content/platform/tutorials/80/nbm-osgi-quickstart.html

 On Thu, May 14, 2020 at 11:04 PM Varuna Seneviratna <
 varunasenevira...@gmail.com> wrote:

> Hi,
>Not able to find Sudoku Game by Peter Kriens by the link given at 
> NetBeans
> Platform Quick Start Using OSGi , Can
> you help, please.
>
>
>
> Varuna
>



Re: Not able to find Sudoku Game by Peter Kriens ?

2020-05-15 Thread Varuna Seneviratna
Geertjan, I found him on Twitter @pkriens . I have tweeted at you
informing info. I DMed to Peter Kriens asking the for Sudoku game

On Fri, 15 May 2020 at 22:39, Varuna Seneviratna <
varunasenevira...@gmail.com> wrote:

> Thanks, Geertjan, I will try to look up Peter Kriens on Linkedin and ask
> him.
>
> --Varuna
>
> On Fri, 15 May 2020 at 19:05, Geertjan Wielenga 
> wrote:
>
>> Do you think you can look up Peter Kriens on LinkedIn and just ask him
>> yourself?
>>
>> Gj
>>
>> On Fri, 15 May 2020 at 15:31, Joel Craig  wrote:
>>
>>> Try here
>>> https://github.com/apache/netbeans-website-cleanup/blob/master/src/content/platform/tutorials/80/nbm-osgi-quickstart.html
>>>
>>> On Thu, May 14, 2020 at 11:04 PM Varuna Seneviratna <
>>> varunasenevira...@gmail.com> wrote:
>>>
 Hi,
Not able to find Sudoku Game by Peter Kriens by the link given at 
 NetBeans
 Platform Quick Start Using OSGi , Can
 you help, please.



 Varuna

>>>


The JUnit test fails

2020-05-15 Thread HRH

I just installed Netbeans 11.3, on windows 10 running JDK 14. I tried to follow 
the simple 10 minutes learning tutorial provided at 
https://netbeans.apache.org/kb/docs/java/javase-intro.html just to get my feet 
wet. Everything worked fine until I reached the section under "Creating JUnits 
Tests". The IDE does a good job in generating the code for the JUnit test 
class, however, the test fails with Could not find or load main class error. 
Here is the stack trace from the output window:
compile-test:
Created dir: C:\Users\\Documents\NetBeansProjects\MyLib\build\test\results
Testsuite: org.me.mylib.LibClassTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.152 sec

Testcase: initializationError(org.me.mylib.LibClassTest):   Caused an ERROR
No runnable methods
java.lang.Exception: No runnable methods
at 
java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native
 Method)
at 
java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at 
java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at 
java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:481)


Test org.me.mylib.LibClassTest FAILED

The exception seems to take place during the test initialization, internal to 
the JUnit fram

I have all the libs (mentioned in the tutorial) added to the project and they 
appear in the classpath.

Any insights will be helpful
Thanks



Re: Not able to find Sudoku Game by Peter Kriens ?

2020-05-15 Thread Geertjan Wielenga
Your pull request is welcome, bottom of each page there’s a link directly
to the GitHub of each page on netbeans.apache.org

Gj

On Fri, 15 May 2020 at 15:39, Peter Steele  wrote:

> Quite a few of those links don't work, maybe worth removing the or
> updating them.
>
> On Fri, 15 May 2020, 14:35 Geertjan Wielenga,  wrote:
>
>> Do you think you can look up Peter Kriens on LinkedIn and just ask him
>> yourself?
>>
>> Gj
>>
>> On Fri, 15 May 2020 at 15:31, Joel Craig  wrote:
>>
>>> Try here
>>> https://github.com/apache/netbeans-website-cleanup/blob/master/src/content/platform/tutorials/80/nbm-osgi-quickstart.html
>>>
>>> On Thu, May 14, 2020 at 11:04 PM Varuna Seneviratna <
>>> varunasenevira...@gmail.com> wrote:
>>>
 Hi,
Not able to find Sudoku Game by Peter Kriens by the link given at 
 NetBeans
 Platform Quick Start Using OSGi , Can
 you help, please.



 Varuna

>>>


Re: Where are the answers

2020-05-15 Thread Geertjan Wielenga
Start a new thread, please, with a subject line relevant to your question.

Write to the mailing lists, not to me.

Gj

On Fri, 15 May 2020 at 15:40, HRH  wrote:

> Oh, thank you. Here is my question:
>
> I just installed Netbeans 11.3, on windows 10 running JDK 14. I tried to
> follow the simple 10 minutes learning tutorial provided at Developing
> General Java Applications
>  just to get
> my feet wet. Everything worked fine until I reached the section under
> "Creating JUnits Tests". The IDE does a good job in generating the code for
> the JUnit test class, however, the test fails with Could not find or load
> main class error. Here is the stack trace from the output window:
>
> Developing General Java Applications
>
> Apache NetBeans
>
> Developing General Java Applications - Apache NetBeans
> 
>
> compile-test:
> Created dir: C:\Users\\Documents\NetBeansProjects\MyLib\build\test\results
> Testsuite: org.me.mylib.LibClassTest
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.152 sec
>
> Testcase: initializationError(org.me.mylib.LibClassTest):   Caused an ERROR
> No runnable methods
> java.lang.Exception: No runnable methods
> at 
> java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native
>  Method)
> at 
> java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
> at 
> java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> at 
> java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500)
> at 
> java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:481)
>
>
> Test org.me.mylib.LibClassTest FAILED
>
> The exception seems to take place during the test initializ
>
> I have added all the libraries (jar files) mentioned in the tutorial and
> they appear in the classpath.
>
> Any insights will be great.
> Thanks
>
>
>
> On Friday, May 15, 2020, 6:03:28 PM GMT+4:30, Geertjan Wielenga <
> geert...@apache.org> wrote:
>
>
>
> What questions do you have?
>
> Gj
>
> On Fri, 15 May 2020 at 15:25, HRH  wrote:
>
> Hi,
> I have joined this mailing list in the past few days. Thus far, all I see
> are daily new questions posted without any responses from the community. I
> am wondering why I am not receiving or seeing the responses to these
> questions? Is the community support active?
>
> Thanks for any insights.
>
>


Re: Not able to find Sudoku Game by Peter Kriens ?

2020-05-15 Thread Peter Steele
Quite a few of those links don't work, maybe worth removing the or updating
them.

On Fri, 15 May 2020, 14:35 Geertjan Wielenga,  wrote:

> Do you think you can look up Peter Kriens on LinkedIn and just ask him
> yourself?
>
> Gj
>
> On Fri, 15 May 2020 at 15:31, Joel Craig  wrote:
>
>> Try here
>> https://github.com/apache/netbeans-website-cleanup/blob/master/src/content/platform/tutorials/80/nbm-osgi-quickstart.html
>>
>> On Thu, May 14, 2020 at 11:04 PM Varuna Seneviratna <
>> varunasenevira...@gmail.com> wrote:
>>
>>> Hi,
>>>Not able to find Sudoku Game by Peter Kriens by the link given at 
>>> NetBeans
>>> Platform Quick Start Using OSGi , Can
>>> you help, please.
>>>
>>>
>>>
>>> Varuna
>>>
>>


Re: Geertjan Wielenga has invited you to join a Slack workspace

2020-05-15 Thread zeugme
Thank you, it work fine !

On Fri, 15 May 2020 at 15:31, Slack  wrote:

> Join NetBeans on Slack
>
> Geertjan Wielenga (geertjan.​wielenga@googlemail.​com) has invited you to
> join the Slack workspace *NetBeans*. Join now to start collaborating!
> Join Now
> 
>
> 
> Workspace name: NetBeans
> *NetBeans*
> Workspace URL: netbeans.slack.com
>   Made by Slack Technologies, Inc 
> 500 Howard Street | San Francisco, CA 94105 | United States
>   Our Blog Policies 
>


Re: Not able to find Sudoku Game by Peter Kriens ?

2020-05-15 Thread Geertjan Wielenga
Do you think you can look up Peter Kriens on LinkedIn and just ask him
yourself?

Gj

On Fri, 15 May 2020 at 15:31, Joel Craig  wrote:

> Try here
> https://github.com/apache/netbeans-website-cleanup/blob/master/src/content/platform/tutorials/80/nbm-osgi-quickstart.html
>
> On Thu, May 14, 2020 at 11:04 PM Varuna Seneviratna <
> varunasenevira...@gmail.com> wrote:
>
>> Hi,
>>Not able to find Sudoku Game by Peter Kriens by the link given at NetBeans
>> Platform Quick Start Using OSGi , Can you
>> help, please.
>>
>>
>>
>> Varuna
>>
>


Re: Where are the answers

2020-05-15 Thread Neil C Smith
On Fri, 15 May 2020 at 14:25, HRH  wrote:
> I have joined this mailing list in the past few days. Thus far, all I see are 
> daily new questions posted without any responses from the community. I am 
> wondering why I am not receiving or seeing the responses to these questions? 
> Is the community support active?

Generally, yes.  But note that this list (probably incorrectly)
defaults to reply to sender rather than list, so some replies don't
get seen.

Best wishes,

Neil

-
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: Where are the answers

2020-05-15 Thread Geertjan Wielenga
What questions do you have?

Gj

On Fri, 15 May 2020 at 15:25, HRH  wrote:

> Hi,
> I have joined this mailing list in the past few days. Thus far, all I see
> are daily new questions posted without any responses from the community. I
> am wondering why I am not receiving or seeing the responses to these
> questions? Is the community support active?
>
> Thanks for any insights.
>


Re: Netbeans Slack channel

2020-05-15 Thread Geertjan Wielenga
Sent an invitation to zeugme...@gmail.com, hope it works.

Maybe this too:

https://join.slack.com/t/netbeans/shared_invite/zt-4r8fbxqr-2Tkot4veW5c5nILJvKO5Pg

Gj

On Fri, 15 May 2020 at 15:23, zeugme  wrote:

> Hi Peter,
>
> Probably more a Slack global "feature" on invitation link that had expired.
> Once an invitation is sent, it is not link to a user.
>
> Anyone on both Slack and this list here?
> Could it be possible to send a fresh invitation link, please?
>
> On Fri, 15 May 2020 at 11:08, Peter Steele  wrote:
>
>> Probably because the person who created the original invite is not on
>> slack anymore.
>>
>> That is one thing discord is much better at
>>
>
>> On Fri, 15 May 2020, 09:48 zeugme,  wrote:
>>
>>> Hi,
>>>
>>> I'd like to join Slack chan mentioned here, but the link is deprecated.
>>> https://netbeans.apache.org/community/mailing-lists.html
>>> This doc page use this link that, in turn, lead to a deprecated link:
>>> https://tinyurl.com/netbeans-slack-signup
>>> The full deprecated link underneath is here:
>>>
>>> https://netbeans.slack.com/join/shared_invite/enQtMzcyNzM5MjYwMDUxLTg1YmVkMWUxYzlhMTE3NzRiMTM4N2E0Yjc5MDdkYzZkM2Q5ZjI5ZTE5NmE3MTZmNTJlYjBmMGFhOTQwNTM2YmQ
>>>
>>>
>>> Any idea ?
>>>
>>> Thanks !
>>>
>>


Re: Not able to find Sudoku Game by Peter Kriens ?

2020-05-15 Thread Joel Craig
Try here
https://github.com/apache/netbeans-website-cleanup/blob/master/src/content/platform/tutorials/80/nbm-osgi-quickstart.html

On Thu, May 14, 2020 at 11:04 PM Varuna Seneviratna <
varunasenevira...@gmail.com> wrote:

> Hi,
>Not able to find Sudoku Game by Peter Kriens by the link given at NetBeans
> Platform Quick Start Using OSGi , Can you
> help, please.
>
>
>
> Varuna
>


Where are the answers

2020-05-15 Thread HRH
Hi,I have joined this mailing list in the past few days. Thus far, all I see 
are daily new questions posted without any responses from the community. I am 
wondering why I am not receiving or seeing the responses to these questions? Is 
the community support active?
Thanks for any insights.


Re: Netbeans Slack channel

2020-05-15 Thread zeugme
Hi Peter,

Probably more a Slack global "feature" on invitation link that had expired.
Once an invitation is sent, it is not link to a user.

Anyone on both Slack and this list here?
Could it be possible to send a fresh invitation link, please?

On Fri, 15 May 2020 at 11:08, Peter Steele  wrote:

> Probably because the person who created the original invite is not on
> slack anymore.
>
> That is one thing discord is much better at
>
> On Fri, 15 May 2020, 09:48 zeugme,  wrote:
>
>> Hi,
>>
>> I'd like to join Slack chan mentioned here, but the link is deprecated.
>> https://netbeans.apache.org/community/mailing-lists.html
>> This doc page use this link that, in turn, lead to a deprecated link:
>> https://tinyurl.com/netbeans-slack-signup
>> The full deprecated link underneath is here:
>>
>> https://netbeans.slack.com/join/shared_invite/enQtMzcyNzM5MjYwMDUxLTg1YmVkMWUxYzlhMTE3NzRiMTM4N2E0Yjc5MDdkYzZkM2Q5ZjI5ZTE5NmE3MTZmNTJlYjBmMGFhOTQwNTM2YmQ
>>
>>
>> Any idea ?
>>
>> Thanks !
>>
>


Several web root (web pages folder) on a webapp project

2020-05-15 Thread zeugme
Hi,

I'm facing a project organisation issue that have impact on app design.
I have a web app with its javascript in the web pages folder.
This app also need another project, a javascript lib I'm coding too.

I don't want to package the js lib each time I deploy / run the webapp.
I'd like to setup the javascript project to contribute to the "web root",
but the web pages folder settings is only for one folder.

For Java source code, there are several ways, for example, having multiple
source folders.
I can't see something for multiple folders that would contribute to the
global web root of a web app.

The workaround I found is to distribute this javascript lib directly from a
Tomcat  define in the server.xml file. It point to my Netbeans
project.
It works but it sound like hardcoded in Tomcat plus it has many drawbacks
that would be too long to detailed here. Very quickly, it is used elsewhere
too with different version of it.

For those who know IntelliJ it is possible to define artifact tree
including several folders contributing to the web root.
I'm not working with IntelliJ anymore, I switched to Netbeans.
I was not able to have such a setup with Eclipse.

Any ideas or advises on how to configure Netbeans project to do so?
I'm new to Netbeans, so consider obvious solution I may not though about.

Regards,
Z.


Netbeans Slack channel

2020-05-15 Thread zeugme
Hi,

I'd like to join Slack chan mentioned here, but the link is deprecated.
https://netbeans.apache.org/community/mailing-lists.html
This doc page use this link that, in turn, lead to a deprecated link:
https://tinyurl.com/netbeans-slack-signup
The full deprecated link underneath is here:
https://netbeans.slack.com/join/shared_invite/enQtMzcyNzM5MjYwMDUxLTg1YmVkMWUxYzlhMTE3NzRiMTM4N2E0Yjc5MDdkYzZkM2Q5ZjI5ZTE5NmE3MTZmNTJlYjBmMGFhOTQwNTM2YmQ


Any idea ?

Thanks !