Hi Simon,
You should use maven to build. The easiest way is to use Eclipse or
NetBeans to import maven project directly and choose projects you want
to debug in your IDE.
It is easy to build these projects by maven.

Vincent

On Thu, Mar 14, 2019 at 8:19 AM Simon Levesque <suriv...@gmail.com> wrote:
>
> Hi all,
>
> I spend a lots of days trying to set up an environment to run James in an
> IDE to be able to debug and fix things, but I didn't succeed.
>
>    1. Import James in Eclipse
>       1. Eclipse is complaining that there are Maven features that are not
>       supported
>       2. Some projects do not compile (I guess because of previous point)
>    2. Import in Intellij
>       1. No complains
>       2. When trying to start, build errors due to missing imports
>    3. Start a fresh Java application, depend on the James libraries
>       1. I made it start like the main James spring application you have
>       2. It is starting, the database gets the tables
>       3. Then, OpenJPA is trying to get a javax transaction manager via
>       JNDI and complains that JNDI is not initialized
>          1. Even in Spring, there is no javax transaction manager
>          2. If I try to configure JNDI to use any of the 2 implementations
>          I found in the classpath (ActiveMQ and Camel), both are fine, but
>          complainings they don't know about the "java" namespace
>          3. In James code, I cannot find anywhere you actually configure
>          JNDI by searching "jndi" (case insensitive)
>
> So, besides using Notepad and compiling from command line, is there any way
> to import that project in a recent Java IDE?
>
> thanks

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org

Reply via email to