NetBeans Forums

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

Debugging Maven project using Tomcat and Test Resources

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



Joined: 04 Nov 2010
Posts: 2

PostPosted: Thu Nov 04, 2010 3:17 pm    Post subject: Debugging Maven project using Tomcat and Test Resources Reply with quote

Hi all,

Didn't find any suggestions about this issue... Can anybody share any thoughts?

Situation:

I have standard maven Java EE web project. It has:

1. src/main/resources/ (for deploy)
2. src/test/resources/ (for tests)

When I run debugging with Tomcat from Netbeans it uses "src/main/resources/", but I want to use test resources. How can I configure that?

For example if I run "mvn jetty:run" from console, I set parameter <useTestClasspath>true</useTestClasspath> in maven jetty plugin.

Any suggestions?
Back to top
Dimeg



Joined: 04 Nov 2010
Posts: 2

PostPosted: Wed Dec 15, 2010 9:33 am    Post subject: Reply with quote

No suggestions? Or I must write to some other freed? Smile
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