| View previous topic :: View next topic |
| Author |
Message |
Bayless Kirtley Posted via mailing list.
|
Posted: Thu Aug 02, 2012 3:50 pm Post subject: Junit |
|
|
I just tried NB 7.2 for the first time. It shows all my projects having unresolved references to either junit or junit_4. I have never used junit and don’t want to now. How can I convince Netbeans that my projects really do not need or want any junit libraries?
Bayless |
|
| Back to top |
|
 |
bolsover
Joined: 24 Jun 2010 Posts: 185
|
Posted: Thu Aug 02, 2012 4:12 pm Post subject: |
|
|
I think you'll need to remove the library reference under Project Properties | Libraries | Compile and Run Tests.
Other option is to install the JUnit plugin... |
|
| Back to top |
|
 |
Glenn Holmer Posted via mailing list.
|
Posted: Thu Aug 02, 2012 5:25 pm Post subject: Junit |
|
|
On Thu, 2012-08-02 at 10:49 -0500, Bayless Kirtley wrote:
| Quote: | I just tried NB 7.2 for the first time. It shows all my projects
having unresolved references to either junit or junit_4. I have never
used junit and don’t want to now. How can I convince Netbeans that my
projects really do not need or want any junit libraries?
|
Right-click project, select Properties. Click Libraries, "Compile Tests"
tab and deselect JUnit.
--
Glenn Holmer
Weyco Group, Inc.
phone: 414-908-1809
fax: 414-908-1601 |
|
| Back to top |
|
 |
Bayless Kirtley Posted via mailing list.
|
Posted: Thu Aug 02, 2012 6:57 pm Post subject: Junit |
|
|
Thanks Glenn. I guess those were always there and 6.9 just ignored them?
Bayless
-----Original Message-----
From: Glenn Holmer
Sent: Thursday, August 02, 2012 12:25 PM
To: address-removed
Subject: [nbusers] Re: Junit
On Thu, 2012-08-02 at 10:49 -0500, Bayless Kirtley wrote:
| Quote: | I just tried NB 7.2 for the first time. It shows all my projects
having unresolved references to either junit or junit_4. I have never
used junit and don’t want to now. How can I convince Netbeans that my
projects really do not need or want any junit libraries?
|
Right-click project, select Properties. Click Libraries, "Compile Tests"
tab and deselect JUnit.
--
Glenn Holmer
Weyco Group, Inc.
phone: 414-908-1809
fax: 414-908-1601
-----
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2012.0.2197 / Virus Database: 2437/5172 - Release Date: 08/02/12 |
|
| Back to top |
|
 |
Glenn Holmer Posted via mailing list.
|
Posted: Thu Aug 02, 2012 7:16 pm Post subject: Junit |
|
|
On Thu, 2012-08-02 at 13:52 -0500, Bayless Kirtley wrote:
| Quote: | Thanks Glenn. I guess those were always there and 6.9 just ignored them?
|
I don't know, I've never paid much attention to them. As you probably
noticed, NetBeans has changed the way it handles JUnit because of the
licensing, so maybe that had something to do with it.
--
Glenn Holmer
Weyco Group, Inc.
phone: 414-908-1809
fax: 414-908-1601 |
|
| Back to top |
|
 |
areeda
Joined: 28 Aug 2008 Posts: 469 Location: Los Angeles
|
Posted: Thu Aug 02, 2012 9:03 pm Post subject: |
|
|
I actually [under]use Junit and had the same issue when I upgraded to 7.2.
By the time I finished googling for help and posting a question NB had downloaded and installed JUnit in the background (I think no indication) and the problem resolved itself.
Joe |
|
| Back to top |
|
 |
Bayless Kirtley Posted via mailing list.
|
Posted: Fri Aug 03, 2012 12:00 am Post subject: Junit |
|
|
Yep, before I got Glenn's answer I clicked to resolve the problems and
Netbeans installed Junit which did clear it. I have since removed the
references as I just don't use it. Still don't know where they came from.
Bayless
-----Original Message-----
From: areeda
Sent: Thursday, August 02, 2012 4:03 PM
To: address-removed
Subject: [nbusers] Junit
I actually [under]use Junit and had the same issue when I upgraded to 7.2.
By the time I finished googling for help and posting a question NB had
downloaded and installed JUnit in the background (I think no indication) and
the problem resolved itself.
Joe
-----
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2012.0.2197 / Virus Database: 2437/5173 - Release Date: 08/02/12 |
|
| Back to top |
|
 |
Bayless Kirtley Posted via mailing list.
|
Posted: Fri Aug 03, 2012 12:00 am Post subject: Junit |
|
|
Could be that Junit was included in 6.9 by default and I just never noticed
it.
-----Original Message-----
From: Glenn Holmer
Sent: Thursday, August 02, 2012 2:04 PM
To: address-removed
Subject: [nbusers] Re: Junit
On Thu, 2012-08-02 at 13:52 -0500, Bayless Kirtley wrote:
| Quote: | Thanks Glenn. I guess those were always there and 6.9 just ignored them?
|
I don't know, I've never paid much attention to them. As you probably
noticed, NetBeans has changed the way it handles JUnit because of the
licensing, so maybe that had something to do with it.
--
Glenn Holmer
Weyco Group, Inc.
phone: 414-908-1809
fax: 414-908-1601
-----
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2012.0.2197 / Virus Database: 2437/5173 - Release Date: 08/02/12 |
|
| Back to top |
|
 |
|