Slepetc / jappstart

Automatically exported from code.google.com/p/jappstart
0 stars 0 forks source link

debug jappstart in eclipse #8

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
May you provide tips on how to :-
1. debug jappstart in eclipse
2. jappstart unit test with junit/mockito

Original issue reported on code.google.com by chunhaic...@gmail.com on 12 Jan 2011 at 8:10

GoogleCodeExporter commented 8 years ago
Debugging is pretty simple:

1) Run mvn clean compile -P local to create a new local build (or same via 
m2eclipse plugin)
2) Run mvn gae:run -P local to run locally (or same via m2eclipse plugin)
3) Create a new Eclipse debug configuration for jappstart as the project using 
localhost and port 8000.

Step 3 is basically the standard way to debug Java web apps in Eclipse. This 
will allow you to set breakpoints and step through code as desired.

In regards to unit tests, if someone is interested in contributing a series of 
unit tests I'd be open to that.

Original comment by tlees...@gmail.com on 12 Jan 2011 at 8:29

GoogleCodeExporter commented 8 years ago

Original comment by tlees...@gmail.com on 12 Jan 2011 at 4:30

GoogleCodeExporter commented 8 years ago

Original comment by tlees...@gmail.com on 13 Jan 2011 at 9:31