Skip navigation
3756 Views 2 Replies Latest reply: Apr 1, 2009 6:25 AM by elendrim RSS
aperritano Bronze 1 posts since
Mar 5, 2009
Currently Being Moderated

Mar 5, 2009 2:58 AM

effective plugin debugging with maven

Hi,

 

I have been developing a plugin with eclipse,  maven and the maven-open-fire project for while now and it has been quite argious to compile and cp it to the plugins directory of openfire. So i went through the tutorial on how to get to debug plugins in openfire. http://www.igniterealtime.org/community/docs/DOC-1020. got openfire to debug in my eclipse workspace.

 

the tutorial doesnot mention how to develop a plugin in a seperate eclipse project and get that into debug mode. i need to have my plugin in a seperate project as it is checked into svn and shared with another developer.

 

so the question is how do i continue to develop with maven as a seperate eclipse project and have the ability to debug it? a series of setups on setting this would help.

 

takk

Tony

  • LG KeyContributor 6,132 posts since
    Dec 13, 2005
    Currently Being Moderated
    Mar 14, 2009 12:06 AM (in response to aperritano)
    Re: effective plugin debugging with maven

    Hi Tony,

     

    even the oficial "Openfire Plugin Developer Guide" reads "Plugins live in the plugins directory of openfireHome". So I develop plugins there and use a sync script to copy my plugins into another folder which I commit to my SVN server. So it's a little bit more work to copy (unless you use a cron job to copy the sources every 5 minutes) the files.

     

    LG

    • elendrim Bronze 1 posts since
      Apr 1, 2009
      Currently Being Moderated
      Apr 1, 2009 6:25 AM (in response to LG)
      Re: effective plugin debugging with maven

      Hello,

       

      Actually I have the same probleme.

      I need to run an ant script to copy source file from a plugin project to the plugin project of the openfire poject in eclipse.

      But in this case I can't debug my plugin in eclipse. So it's not the good way to do. Is it a solution to debug plugin in eclipse ?

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points