Hi Jeff
Import TomEE source code into IntelliJ. Run TomEE with jpda enabled. Here
are the steps:

   - Add breakpoint in source code (TomEE is launched via
   *org.apache.tomee.catalina.ServerListener* in tomee-catalina, put a
   breakpoint at* lifecycleEvent(final LifecycleEvent event)*)
   - export *JPDA_SUSPEND=y* or *set JPDA_SUSPEND=y* (Linux and Windows)
   - Go to *TomEE/bin* folder
   - *./catalina.sh jpda run*
   - IntelliJ click *Run/Attach to Local Process*... and select the
   suspended TomEE port. (In default, it will suspend in port 8000. Attach to
   8000 in Intellij)

Hope it help
Happy hacking!
Gurkan

On Sat, Dec 29, 2018 at 6:45 PM Jeff Mitchell <[email protected]>
wrote:

> Thank you, Gurkan!
>
> I’ve forked the repo, cloned to my local machine, and built the server.
> I’m using IntelliJ and would like to start the server and start stepping
> through the code. Are there any instructions for how to do this?
>
> Thanks,
> Jeff
>
> > On Dec 29, 2018, at 2:13 AM, Gurkan Erdogdu <[email protected]> wrote:
> >
> > Hi Jeff
> > Welcome! You can start to look at
> > http://tomee.apache.org/community/index.html
> > To familiar with the TomEE source code, I think your first step is to get
> > the source code and try to produce your own release. Check
> > http://tomee.apache.org/community/sources.html
> > Regards.
> > Gurkan
> >
> > On Sat, Dec 29, 2018 at 4:42 AM Jeff Mitchell <[email protected]>
> > wrote:
> >
> >> Hi folks,
> >>
> >> My name is Jeff Mitchell and I’ve worked as a Java developer for a good
> >> part of my career. I’m currently working on a Java EE 7 project and I
> love
> >> the technology. I’d REALLY like to get better at what I do and to learn
> >> from people who are smarter and more experienced than me so I've come to
> >> you guys. The Tomitribe blog posts encouraged me to get involved.
> >>
> >> So… what can I do to help the project?
> >>
> >> Thanks,
> >> Jeff
>
>

Reply via email to