Hi Eric, I spotted that line but, as I hadn't changed any classes, assumed it wasn't required.
I'm using Maven end-to-end, but still needed the VM argument to get James to load properly. Martin Sent from my iPhone On 27 Dec 2012, at 13:06, Eric Charles <[email protected]> wrote: > On 27/12/2012 13:58, Martin Hewitt wrote: >> Hi all, >> >> I've just been through the process of configuring Eclipse to build and run >> James, following the instructions here: >> http://james.apache.org/server/3/dev-build.html > > Nice :) > >> The only addition I needed to get it working was to download open-jpa from >> http://openjpa.apache.org/downloads.html and add >> in -javaagent:/path/to/extracted/binary/openjpa-2.1.0.jar to my Eclipse Run >> Configuration in the VM arguments field. >> >> Not sure if this is unique to my configuration or not, but it might be >> worth adding it into the dev-build page above, if this is the "right way" >> to do it! > > I think it is covered in the doc: "..or add the following option to the VM > argument of your run configuration > '-javaagent:my_home_folder/.m2/repository/org/apache/openjpa/openjpa/2.0.1/openjpa-2.0.1.jar' > " > > It assumes the presence of openjpa jar in the local maven repository, but > downloading and unzipping it is perfectly fine. > > Thank for pointing this, I'm sure it will be useful to other. > > Eric > >> Martin > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
