source level in sample apps

2018-04-02 Thread Glenn Holmer
When creating the Java sample projects "Anagram Game" or "GUI Form
Examples" under either JDK8 or JDK10, the source level is set to JDK6.
Shouldn't it default to the level of the JDK you're running under? Is it
a bug?

-- 
Glenn Holmer (Linux registered user #16682)
"After the vintage season came the aftermath -- and Cenbe."

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

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



Re: source level in sample apps

2018-04-02 Thread Niklas Matthies
This is part of the sample project's configuration.
See ${nb-install}/java/modules/org-netbeans-modules-java-examples.jar
-> org/netbeans/modules/java/examples/anagrams.zip
-> nbproject/project.properties:

javac.source=1.6
javac.target=1.6

"New project" just creates a copy of the sample project, including project 
configuration, and doesn't change anything.

I think it makes sense, when copying, to keep the source level that the sample 
project was originally created with, because otherwise a newer source level 
could result in compiler warnings or even errors. It might make sense to update 
the sample projects themselves to Java 1.8, though. 

Niklas


On Mon 2018-04-02 at 08:11h, Glenn Holmer wrote on netcat:
> When creating the Java sample projects "Anagram Game" or "GUI Form
> Examples" under either JDK8 or JDK10, the source level is set to JDK6.
> Shouldn't it default to the level of the JDK you're running under? Is it
> a bug?
> 
> -- 
> Glenn Holmer (Linux registered user #16682)
> "After the vintage season came the aftermath -- and Cenbe."
> 
> -
> To unsubscribe, e-mail: netcat-unsubscr...@netbeans.apache.org
> For additional commands, e-mail: netcat-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: netcat-unsubscr...@netbeans.apache.org
For additional commands, e-mail: netcat-h...@netbeans.apache.org

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



[unit] Test Specification for JUnit Testing

2018-04-02 Thread Rick Hegarty
Hi Mohammed, Javier and Mani,

I have finally completed the JUnit Test Specification, and it is ready for
you to use: 
*https://netbeans-vm.apache.org/synergy/client/app/#/specification/390/v/2
*

My apologies for the delay. It is big, and the current time estimate of 154
minutes to complete the testing is almost certainly too low. We can refine
the estimate as we test, but I didn't want that to delay the release of the
specification.

You will need to do four things before before testing JUnit, in this order:

   1. Download the latest release of NetBeans from
*https://builds.apache.org/job/incubator-netbeans-linux/
   * and unzip it.
   It works on all platforms. You can skip this step if you already have a
   fairly recent release (Build #379 or higher).
   2. Configure NetBeans. This is formally documented as the first test
   case in the JUnit Test Specification.
   3. Set up GlassFish as an application server. This is formally
   documented as the second test case in the JUnit Test Specification.
   4. Download and unzip the two projects (JUnitSampleProjectAnt and
   JUnitSampleProjectMaven) needed for the JUnit testing, and then open those
   two projects in NetBeans. Links to the projects are provided in the
   Description at the very start of the  JUnit Test Specification.

Once you have done all that just go through all of the test cases
sequentially, and let me know if you have questions.

Other points:

   - Please use JDK 8 or JDK 10 for testing as appropriate, as discussed in
   my earlier [unit] email.
   - I will be checking my email very regularly over the next couple of
   weeks so don't hesitate to contact me if you have questions, but be sure to
   copy everyone in the *[unit]* tribe (or just send it to NetCAT team).
   Either way, always prefix the email subject with *[unit]*.
   - We will be testing with JUnit 4.12, but I would like us to add some
   JUnit 5 tests to the specification if we have time, and you are all welcome
   to contribute documentation.
   - I also still need to complete TestNG Test Specification, but that is
   largely a matter of cutting and pasting from the JUnit Test Specification,
   so it should be ready soon.

Thanks to all of you for your help with this.

Rick


wrong URL in Synergy for Jira issues

2018-04-02 Thread Alied Pérez Martínez
Hi, I'm currently going trhough Maven tests[1] and wanted to follow a
reported issued in Jira
(NETBEANS-563
). The
created link repeats the project key: it point to
https://issues.apache.org/jira/browse/NETBEANS-NETBEANS-563 where it
should actually point to
https://issues.apache.org/jira/browse/NETBEANS-563 That seems to be a
problem with Synergy. Should I report it or the Synergy responsible can
fix it?

[1] http://netbeans-vm.apache.org/synergy/client/app/#/assignment/2147/v/1




0x5122EAC4.asc
Description: application/pgp-keys

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

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

Re: Netcat and nightly builds

2018-04-02 Thread Alied Pérez Martínez
grab the latest stable build from here:
https://builds.apache.org/job/incubator-netbeans-linux/

On 04/02/2018 09:16 PM, Ross Lamont wrote:
> Hi,
>
> I’m new to NetCAT, but as I understand it, previous NetCAT used to require 
> testers to get a new NightlyBuild every so often.  Is that meant to be 
> happening for NetCAT 9.0?  If so, where are the nightly builds?
>
> Cheers
> Ross
>
> -
> To unsubscribe, e-mail: netcat-unsubscr...@netbeans.apache.org
> For additional commands, e-mail: netcat-h...@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>



0x5122EAC4.asc
Description: application/pgp-keys

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

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

Netcat and nightly builds

2018-04-02 Thread Ross Lamont
Hi,

I’m new to NetCAT, but as I understand it, previous NetCAT used to require 
testers to get a new NightlyBuild every so often.  Is that meant to be 
happening for NetCAT 9.0?  If so, where are the nightly builds?

Cheers
Ross

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

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



Re: Apache Jenkins is down?

2018-04-02 Thread Rick Hegarty
Alied,

Well I just tried both of your links (http and https), and they both
worked, and immediately rendered a small chunk of JSON.

Then I tried both links again a minute later, and got nothing back except a
timeout error. So maybe there are intermittent issues on the Jenkins server?

Rick





On Mon, Apr 2, 2018 at 9:29 PM, Alied Pérez Martínez <
aliedperezmarti...@gmail.com> wrote:

> I'm unable to access http nor https:
> alied@development:~$ curl --verbose
> 'https://builds.apache.org/job/incubator-netbeans-linux/
> lastStableBuild/api/json?pretty=true=artifacts[fileName]'
> *   Trying 62.210.60.235...
> * TCP_NODELAY set
> * connect to 62.210.60.235 port 443 failed: Connection refused
> * Failed to connect to builds.apache.org port 443: Connection refused
> * Closing connection 0
> curl: (7) Failed to connect to builds.apache.org port 443: Connection
> refused
> alied@development:~$ curl --verbose
> 'http://builds.apache.org/job/incubator-netbeans-linux/
> lastStableBuild/api/json?pretty=true=artifacts[fileName]'
> *   Trying 62.210.60.235...
> * TCP_NODELAY set
> * connect to 62.210.60.235 port 80 failed: Connection refused
> * Failed to connect to builds.apache.org port 80: Connection refused
> * Closing connection 0
> curl: (7) Failed to connect to builds.apache.org port 80: Connection
> refused
>
> was I banned for my Jenkins API tests? I really hope not.
>
> On 04/02/2018 10:24 PM, Rick Hegarty wrote:
> > Hi Alied,
> >
> > The link is working fine for me, and I had downloaded Jenkins Build
> > #388 from there a couple of hours ago.
> >
> > Rick
> >
> > On Mon, Apr 2, 2018 at 9:15 PM, Alied Pérez Martínez
> > >
> > wrote:
> >
> >
> > I'm trying to access
> > https://builds.apache.org/job/incubator-netbeans-linux/
> >  but I'm
> > unable
> > to access it:
> >
> > I hope it's not related to some tests I was doing to automate nightly
> > download:
> >
> > alied@development:~$ curl
> > 'https://builds.apache.org/job/incubator-netbeans-linux/
> lastStableBuild/api/json?pretty=true=artifacts[fileName]
> >  lastStableBuild/api/json?pretty=true=artifacts[fileName]>'
> > curl: (7) Failed to connect to builds.apache.org
> >  port 443: Connection
> > refused
> >
> >
> >
> > 
> -
> > To unsubscribe, e-mail: netcat-unsubscr...@netbeans.apache.org
> > 
> > For additional commands, e-mail: netcat-h...@netbeans.apache.org
> > 
> >
> > For further information about the NetBeans mailing lists, visit:
> > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> > 
> >
> >
>
>


Apache Jenkins is down?

2018-04-02 Thread Alied Pérez Martínez

I'm trying to access
https://builds.apache.org/job/incubator-netbeans-linux/ but I'm unable
to access it:

I hope it's not related to some tests I was doing to automate nightly
download:

alied@development:~$ curl
'https://builds.apache.org/job/incubator-netbeans-linux/lastStableBuild/api/json?pretty=true=artifacts[fileName]'
curl: (7) Failed to connect to builds.apache.org port 443: Connection
refused



0x5122EAC4.asc
Description: application/pgp-keys

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

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

Re: Apache Jenkins is down?

2018-04-02 Thread Alied Pérez Martínez
I'm unable to access http nor https:
alied@development:~$ curl --verbose
'https://builds.apache.org/job/incubator-netbeans-linux/lastStableBuild/api/json?pretty=true=artifacts[fileName]'
*   Trying 62.210.60.235...
* TCP_NODELAY set
* connect to 62.210.60.235 port 443 failed: Connection refused
* Failed to connect to builds.apache.org port 443: Connection refused
* Closing connection 0
curl: (7) Failed to connect to builds.apache.org port 443: Connection
refused
alied@development:~$ curl --verbose
'http://builds.apache.org/job/incubator-netbeans-linux/lastStableBuild/api/json?pretty=true=artifacts[fileName]'
*   Trying 62.210.60.235...
* TCP_NODELAY set
* connect to 62.210.60.235 port 80 failed: Connection refused
* Failed to connect to builds.apache.org port 80: Connection refused
* Closing connection 0
curl: (7) Failed to connect to builds.apache.org port 80: Connection refused

was I banned for my Jenkins API tests? I really hope not.

On 04/02/2018 10:24 PM, Rick Hegarty wrote:
> Hi Alied,
>
> The link is working fine for me, and I had downloaded Jenkins Build
> #388 from there a couple of hours ago.
>
> Rick
>
> On Mon, Apr 2, 2018 at 9:15 PM, Alied Pérez Martínez
> >
> wrote:
>
>
> I'm trying to access
> https://builds.apache.org/job/incubator-netbeans-linux/
>  but I'm
> unable
> to access it:
>
> I hope it's not related to some tests I was doing to automate nightly
> download:
>
> alied@development:~$ curl
> 
> 'https://builds.apache.org/job/incubator-netbeans-linux/lastStableBuild/api/json?pretty=true=artifacts[fileName]
> 
> '
> curl: (7) Failed to connect to builds.apache.org
>  port 443: Connection
> refused
>
>
>
> -
> To unsubscribe, e-mail: netcat-unsubscr...@netbeans.apache.org
> 
> For additional commands, e-mail: netcat-h...@netbeans.apache.org
> 
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> 
>
>



0x5122EAC4.asc
Description: application/pgp-keys

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

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

should we label our NetCAT-reported issues with netcat90 or something like that?

2018-04-02 Thread Alied Pérez Martínez
Well, that which I wrote in the subject. In past events we (actually the
bug submission form did it) used to add a prefix like "[cat82]". I think
we could take advantage of Jira's labels for that. Also we can label the
issues reported while running Synergy tests and even (when integrated)
the exception reporter can have it's label as well. What do you think?



0x5122EAC4.asc
Description: application/pgp-keys

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

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

Re: Apache Jenkins is down?

2018-04-02 Thread Alied Pérez Martínez
Call me paranoid, but I have the suspicion that you won't be able to
access Jenkins for some time...

On 04/02/2018 10:39 PM, Rick Hegarty wrote:
> Alied,
>
> Well I just tried both of your links (http and https), and they both
> worked, and immediately rendered a small chunk of JSON.
>
> Then I tried both links again a minute later, and got nothing back
> except a timeout error. So maybe there are intermittent issues on the
> Jenkins server?
>
> Rick
>
>
>
>
>
> On Mon, Apr 2, 2018 at 9:29 PM, Alied Pérez Martínez
> >
> wrote:
>
> I'm unable to access http nor https:
> alied@development:~$ curl --verbose
> 
> 'https://builds.apache.org/job/incubator-netbeans-linux/lastStableBuild/api/json?pretty=true=artifacts[fileName]
> 
> '
> *   Trying 62.210.60.235...
> * TCP_NODELAY set
> * connect to 62.210.60.235 port 443 failed: Connection refused
> * Failed to connect to builds.apache.org
>  port 443: Connection refused
> * Closing connection 0
> curl: (7) Failed to connect to builds.apache.org
>  port 443: Connection
> refused
> alied@development:~$ curl --verbose
> 
> 'http://builds.apache.org/job/incubator-netbeans-linux/lastStableBuild/api/json?pretty=true=artifacts[fileName]
> 
> '
> *   Trying 62.210.60.235...
> * TCP_NODELAY set
> * connect to 62.210.60.235 port 80 failed: Connection refused
> * Failed to connect to builds.apache.org
>  port 80: Connection refused
> * Closing connection 0
> curl: (7) Failed to connect to builds.apache.org
>  port 80: Connection refused
>
> was I banned for my Jenkins API tests? I really hope not.
>
> On 04/02/2018 10:24 PM, Rick Hegarty wrote:
> > Hi Alied,
> >
> > The link is working fine for me, and I had downloaded Jenkins Build
> > #388 from there a couple of hours ago.
> >
> > Rick
> >
> > On Mon, Apr 2, 2018 at 9:15 PM, Alied Pérez Martínez
> >  
>  >>
> > wrote:
> >
> >
> >     I'm trying to access
> >     https://builds.apache.org/job/incubator-netbeans-linux/
> 
> >      > but I'm
> >     unable
> >     to access it:
> >
> >     I hope it's not related to some tests I was doing to
> automate nightly
> >     download:
> >
> >     alied@development:~$ curl
> >   
>  
> 'https://builds.apache.org/job/incubator-netbeans-linux/lastStableBuild/api/json?pretty=true=artifacts[fileName]
> 
> 
> >   
>  
>  
> >'
> >     curl: (7) Failed to connect to builds.apache.org
> 
> >      port 443: Connection
> >     refused
> >
> >
> >
> >   
>  -
> >     To unsubscribe, e-mail:
> netcat-unsubscr...@netbeans.apache.org
> 
> >      >
> >     For additional commands, e-mail: netcat-h...@netbeans.apache.org
> 
> >      >
> >
> >     For further information about the NetBeans mailing lists, visit:
> >   
>  https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> 
> >   
>   >
> >
> >
>
>



0x5122EAC4.asc
Description: application/pgp-keys

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

[maven] Finished Maven Support Test Specification for Linux

2018-04-02 Thread Alied Pérez Martínez
Hello fellow tribesmen:

Just finished the Maven Support Test Specification for Linux - Other
(i.e. Debian) and JDK 10. Filed five issues[1] with Jira. Tested with
JDK 10. I'm using the latest build at work with JDK 8.

[1]
https://issues.apache.org/jira/browse/NETBEANS-568?jql=key%20in%20(NETBEANS-568%2C%20NETBEANS-569%2C%20NETBEANS-570%2C%20NETBEANS-572%2C%20NETBEANS-573%2C%20NETBEANS-568)%20ORDER%20BY%20key%20ASC



0x5122EAC4.asc
Description: application/pgp-keys

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

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