1 / 12

How to use Eclipse to write and debug Groovy scripts on a live web application

How to use Eclipse to write and debug Groovy scripts on a live web application. Giampiero Granatella giampiero.granatella@manydesigns.com. Our Framework: Portofino. free and open source http://www.manydesigns.com/en/portofino/ create of a web application starting from existing databases

felton
Download Presentation

How to use Eclipse to write and debug Groovy scripts on a live web application

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. How to use Eclipse to write and debug Groovy scripts on a live web application Giampiero Granatella giampiero.granatella@manydesigns.com

  2. Our Framework: Portofino free and open sourcehttp://www.manydesigns.com/en/portofino/ create of a web application starting from existing databases generate powerful, multi-level CRUD pages, and has CMS features (menu, wysiwyg html editor, portlet) page customization using Groovy, which allows on-the-fly changes and much more... Let’s have a look

  3. Video 1

  4. Portofino benefits Fast development Scripting in Groovy All your modification are immediately visible and usable You can do anything with your browser and a text editor But with Eclipse IDE... Syntax Highlight Auto completion, Import management Refactoring Debugging

  5. OUR IDEA...Let’s create a project that points to the web application under Tomcat. Therefore we can make the most of Eclipse IDEand keep Groovy’s flexibilityto make changes on the live system without redeploy.

  6. Create the Project

  7. Set source folders and Context

  8. Define a user library for Portofino

  9. Install Groovy plug-in

  10. Video 2

  11. Configure Remote Debugging export JPDA_ADDRESS=5005export JPDA_TRANSPORT=dt_socketbin/catalina.sh jpda start Run Tomcat in debug mode

  12. Write your Groovy scriptand Debug it !

More Related