NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

EJB Module Project: Debug a Unit Test, but also load jndi.properties in classpath

 
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users
View previous topic :: View next topic  
Author Message
djabba74



Joined: 26 Nov 2010
Posts: 4

PostPosted: Fri Nov 26, 2010 4:35 pm    Post subject: EJB Module Project: Debug a Unit Test, but also load jndi.properties in classpath Reply with quote

Hi,

Debug File (Ctrl+Shift+F5) does not load the jndi.properties visible in the "Run Test"-classpath. Project type is "EJB Module".

Running the JUnit test by selecting Test Project (Alt+F6) does load the jndi.properties file, but does not respect the break points I set in the JUnit test and in the class under test.

How do I get both, the jndi.properties and break points?
The menu entry Debug Test File (Ctrl+Shift+F6) is disabled. Is this expected behaviour?

Regards,
Leo
Edit: I'm using Netbeans 6.7.1
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo