Issue Details (XML | Word | Printable)

Key: NBANDROID-43
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Unassigned
Reporter: Petr_Jiricka
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
nbandroid

JUnit libraries not found after creating a project

Created: 22/Jul/09 11:54 AM   Updated: 27/Jul/09 05:31 AM   Resolved: 27/Jul/09 05:31 AM
Component/s: project
Affects Version/s: None
Fix Version/s: None

Time Tracking:
Not Specified

Environment:

Tested against NetBeans 6.8 Dev version


Tags:


 Description  « Hide

1. Start the IDE with a fresh userdir (I did this by building from sources in NetBeans and running the suite from NB)
2. Create an Android project

The project shows unresolved references: JUnit libraries. This is because the Java kit is not activated, and the library manager is not populated. The workaround is to create a Java SE project - this enables the Java development features. The fix could be e.g. to have a dependency of the Android suite on java.kit.



radim added a comment - 22/Jul/09 08:24 PM

Hmm, works for me. Can it be related to use of ergonomics (that I turned off)?


Petr_Jiricka added a comment - 23/Jul/09 08:09 AM

Yes, this is definitely related to ergonomics.


radim added a comment - 27/Jul/09 05:31 AM

Changeset: 149bf8fdcd23
Author: radim
Date: 2009-07-26 22:30
Message: add dependency on Java kit to make sure the whole stack is there (including JUnit library definition and so on)
Issue #NBANDROID-43 - JUnit libraries not found after creating a project