• Post Reply Bookmark Topic Watch Topic
  • New Topic

Maven, Eclipse and an Application Server in debug  RSS feed

 
Antonio Fornie
Ranch Hand
Posts: 117
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all!

I wasn't sure if I should place this post in the IDEs forum or in this one. Hope I did it right.

I'm developing a project for Glassfish, with Eclipse (Glassfish Bundle Tools for Eclipse) and Maven2. My problem is Eclipse makes me decide if it's a Glassfish project or a Maven2 project, but I want it to be both.

Now mine is a Maven2 project so I can't debug it, even if I start the Glassfish in debug mode from Eclipse, Eclipse doesn't know that this concrete project must be synchronized with Glassfish... what do I do?

Neither can I use Eclipse tasks for Glassfish (like creating JEE6 components), but my main problem is I can't debug.

Thank you very much!

antonio
 
Tim Holloway
Bartender
Posts: 18777
74
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Eclipse supports the concept of faceted projects, and with luck maybe you can get your project defined as having both a Glassfish facet and a Maven facet. Certainly there have to be other people who use Maven to build for Glassfish, considering how popular both of them are.

Unfortunately, Eclipse's ability to add/maintain facets is still pretty crude for the most part, so it may be a bit of a struggle.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!