cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco AMP Remote debugging

pankajnegi
Champ in-the-making
Champ in-the-making
Hello Friends,

I have developed some of the basic amp for alfresco share,

But for advanced development I want to debug it on runtime.
How is it possible to debug the java code.


Please let me know.



thanks
Pankaj
5 REPLIES 5

jpotts
World-Class Innovator
World-Class Innovator
This is not an Alfresco-specific question. See this FAQ on the Apache Tomcat site for help setting up remote debugging on Tomcat and Eclipse.

Jeff

pankajnegi
Champ in-the-making
Champ in-the-making
Thanks Jeff,
I know Tomcat needs to configure to support remote debugging
but to run AMP its need to be install with share or alfresco explorer using mmt command.

my query is, how can we deploy(install) and debug amp module from eclipse.

please let me know.

Thanks

mitpatoliya
Star Collaborator
Star Collaborator

jpotts
World-Class Innovator
World-Class Innovator
pankajnegi,

The easiest way to install an AMP from Eclipse is to incorporate it into your Ant build file. That has the added advantage of being runnable from the command line as well as from within Eclipse.

For one example of how to call the MMT from Ant, take a look at:
http://code.google.com/p/alfresco-fivestar-ratings/source/browse/trunk/metaversant-fivestar-repo/bui...

Jeff

pankajnegi
Champ in-the-making
Champ in-the-making
Thanks Jpotts,

thanks for replying,
I have done all the setting on tomcat end and i can debug alfresco code

Now lets go to Alfresco SDK , there is a project CostomLogin which has a java class CustomLoginBean.java

which I want to debug at run time.

I am unable to call the java code on debug.

Please let me know the same for  login customization SDK code


Thanks to all