Re: Building JAMES

2020-05-07 Thread Pablo Pita Leira
On 06.05.20 16:44, Raphaël Ouazana-Sustowski wrote: On my Linux box `mvn -DskipTests clean package` is working fine (I can even add -T1C to make it faster). I skip tests because there are very long (about 2h) and better reproducibe via Docker. On my Ubuntu Linux box, at the end I also have su

Re: Building JAMES

2020-05-06 Thread Raphaël Ouazana-Sustowski
Le 01/05/2020 à 07:39, David Leangen (Apache) a écrit : If you are not able to install Java 11 on your build machine, and prefer using Docker I recommend that you use the tested docker image for compilation. See: https://github.com/apache/james-project/#java-11 The build worked using Docker as

Re: Building JAMES

2020-05-06 Thread Raphaël Ouazana-Sustowski
Hello, Le 01/05/2020 à 00:02, David Leangen (Apache) a écrit : However…. I am still not yet able to import the projects into Eclipse, so first things first. Unfortunately we are aware of this issue. As far as I know Eclipse is not able to handle the version of Scala we are using for some of

Re: Building JAMES

2020-04-30 Thread David Leangen (Apache)
> If you are not able to install Java 11 on your build machine, and prefer > using Docker I recommend that you use the tested docker image for > compilation. See: https://github.com/apache/james-project/#java-11 The build worked using Docker as you recommended. FYI, for the fun of it, I also inst

Re: Building JAMES

2020-04-30 Thread David Leangen (Apache)
Thank you!! That worked, and I now understand what the documentation is trying to explain. Actually in hindsight it’s fairly obvious. On that note, since I am still pretty ignorant about most of James, I have the “advantage” of being able to see the project documentation as an outsider. I hope

Re: Building JAMES

2020-04-30 Thread Raphaël Ouazana-Sustowski
Hello, The last error message is strange, I cannot explain it. If you are not able to install Java 11 on your build machine, and prefer using Docker I recommend that you use the tested docker image for compilation. See: https://github.com/apache/james-project/#java-11 Regards, Raphaël. Le

Re: Building JAMES

2020-04-30 Thread David Leangen
I’m back to making another attempt at building. :-) I am not able to update my development machine to use java 11, so I am trying with docker like this: docker run -it --rm --name my-maven-project -v "$(pwd)":/usr/src/mymaven -w /usr/src/mymaven maven:3.6.3-openjdk-11 mvn clean install But I

Re: Building JAMES

2020-04-26 Thread David Leangen (Apache)
Thanks for the clarification. That will push me in the right direction. If I ever get it built someday, then I’ll try to remember to submit a PR to mention the version requirement somewhere in the docs. I’ll just concentrate on the pre-built for now version then. Cheers, =David On Apr 27, 2020

Re: Building JAMES

2020-04-26 Thread Matthieu Baechler
On Mon, 2020-04-27 at 15:32 +0900, David Leangen (Apache) wrote: > Thank you, Rene. > > Is that a hard requirement? If so, then I will have to wait until we > update to Java 11 (which is not scheduled at this time), so I’ll > likely have to abandon for now. > > Shouldn’t it be possible to compile

Re: Building JAMES

2020-04-26 Thread David Leangen (Apache)
Thank you, Rene. Is that a hard requirement? If so, then I will have to wait until we update to Java 11 (which is not scheduled at this time), so I’ll likely have to abandon for now. Shouldn’t it be possible to compile in Java 8, though? This page states that JRE8 is the requirement:   —> htt

Re: Building JAMES

2020-04-26 Thread Rene Cordier
Hi David, I think you are trying to compile the latest code from master branch right? A move has been made lately towards java 11 on it if I'm correct. Try to compile and run with Java11 instead? Regards, Rene. On 27/04/2020 06:06, David Leangen (Apache) wrote: Hi! This is the first error:

Re: Building JAMES

2020-04-26 Thread David Leangen (Apache)
Hi! This is the first error: [INFO] Apache James :: Server :: Common Utilities . FAILURE [  0.659 s] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project james-server-util: Fatal error compiling: invalid flag: --releas

Re: Building JAMES

2020-04-26 Thread Jerry Malcolm
Sadly I realized a while back that it does not build out of the box.  Through much trial and error, I finally got the build to complete.  However, even with that, for some reason I still get several errors.  Apparently they aren't fatal errors.  I have learned that if there is really something

Re: Building James 3.3.0 in Eclipse

2019-09-04 Thread Jerry Malcolm
Any help on this would be appreciated.  I'm dead in the water now on this. Thx. Jerry On 9/2/2019 10:40 PM, Jerry Malcolm wrote: Raphael, Thanks for the guidance.  I'm closer now.  But still not there. After a full day of trial and error on this, I settled on the following steps: 1) On a c

Re: Building James 3.3.0 in Eclipse

2019-09-02 Thread Jerry Malcolm
Raphael, Thanks for the guidance.  I'm closer now.  But still not there. After a full day of trial and error on this, I settled on the following steps: 1) On a clean eclipse workspace, File-->Import-->Git --- I selected "clone URI" and entered the James GIT clone URI: https://github.com/apac

Re: Building James 3.3.0 in Eclipse

2019-09-02 Thread Jerry Malcolm
On 9/2/2019 2:55 AM, Raphael OUAZANA wrote: Hi Jerry, Don't worry, Eclipse is still supported as a development environment and currently used by some developers (even if we have some issues in incoming 3.4 regarding compatibility between Eclipse and some Scala code). The usual workflow to

Re: Building James 3.3.0 in Eclipse

2019-08-31 Thread Jerry Malcolm
Thanks for the info, Garry.  But I'm still confused.  Are you saying that it is no longer possible to build from the source on Eclipse?  I realize the team may be pushing docker.  But there are still non-docker binaries that got built someway.  I just want to recreate those binaries with my cod

Re: Building James 3.3.0 in Eclipse

2019-08-31 Thread Garry Hurley
Jerry, I had to download the source, run configure and make on a Linux system. The problem is that the source is made to build onto a docker system on Windows. Those of us who choose not to run docker and run a real operating system often have issues. Those .git files are from the .git repositor

Re: Building James 3.3.0 in Eclipse

2019-08-31 Thread Jerry Malcolm
Something else I just found... the link to a tutorial at http://blog.bonnydoonmedia.com/post.cfm/walkthrough-tutorials-compiling-apache-james-v3-with-eclipse in the Eclipse build section is dead.  No DNS entry. On 8/31/2019 4:54 PM, Jerry Malcolm wrote: Correction... the build instructions pag

Re: Building James 3.3.0 in Eclipse

2019-08-31 Thread Jerry Malcolm
Correction... the build instructions page link should be: https://james.apache.org/server/3/dev-build.html On 8/31/2019 4:52 PM, Jerry Malcolm wrote: I'm trying to build the latest stable James 3.3.0 in Eclipse. -- The link to the 3.3.0 source zip on the downloads page is dead (https://www.a

Re: Building james

2015-08-29 Thread Rami Ojares
But now that I did rename index-template.xml to indexer.xml James started great! - Rami On 29.8.2015 17:26, Rami Ojares wrote: I did not change the conf files. This means that in my conf directory there is the unchanged file indexer-template.xml. So the value must be a default used by James.

Re: Building james

2015-08-29 Thread Rami Ojares
I did not change the conf files. This means that in my conf directory there is the unchanged file indexer-template.xml. So the value must be a default used by James. - Rami On 29.8.2015 14:12, Benoit Tellier wrote: Which value did you used for the indexer ( conf/indexer.xml ) ? --

Re: Building james

2015-08-29 Thread Benoit Tellier
Which value did you used for the indexer ( conf/indexer.xml ) ? Le 28/08/2015 16:18, Rami Ojares a écrit : Aah, I found it! It was under *_modules/james/app/target_* So I extracted /james-server-app-3.0.0-beta5-SNAPSHOT-app.tar.gz/ went under bin and ran ./james console This time the error was

Re: Building james

2015-08-28 Thread Mike lepore
Still a problem. I'm not using a build profile that I know of. I'm using Ubuntu Linux 14.04.1 for the host. java -version java version "1.7.0_80" Java(TM) SE Runtime Environment (build 1.7.0_80-b15) Java HotSpot(TM) 64-Bit Server VM (build 24.80-b11, mixed mode) mvn -version Apache Maven 3.2.

Re: Building james

2015-08-28 Thread Rami Ojares
Aah, I found it! It was under *_modules/james/app/target_* So I extracted /james-server-app-3.0.0-beta5-SNAPSHOT-app.tar.gz/ went under bin and ran ./james console This time the error was WARN 17:15:49,198 | org.apache.james.container.spring.context.JamesServerApplicationContext | Exception

Re: Building james

2015-08-28 Thread Rami Ojares
Maven is full of surprises! I ran the build again from the start using "mvn package -DskipTests -e" And this time everything passed. I reran again with clean "mvn clean package -DskipTests -e" And again everything passed! So far so good. But I still don't see app folder anywhere. Where is the pac

Re: Building james

2015-08-28 Thread Rami Ojares
I ran the build again but this time "mvn package -DskipTests -rf :apache-james-mpt-imapmailbox-cassandra -e -X" It still stops at phase apache-james-mpt-imapmailbox-cassandra but this time with a different error message. [ERROR] Failed to execute goal on project apache-james-mpt-imapmailbox-ca

Re: Building james

2015-08-28 Thread Rami Ojares
To my surprise when I ran "mvn package -DskipTests -rf :james-karaf-distribution -e" To get more info about the karaf related problem it passed that phase this time. But now the build ended when compiling Cassandra. [INFO] Apache James MPT Imap Mailbox - Cassandra .. FAILURE [ 5.728 s

Re: Building james

2015-08-28 Thread Rami Ojares
Ok, I am slowly getting there. If I run now "mvn package" I get an error running the HBase related tests [INFO] Apache James :: Mailbox :: HBase ... FAILURE [ 34.854 s] 15/08/28 15:56:39 ERROR hbase.MiniHBaseCluster: Error starting cluster java.lang.RuntimeException: Failed con

Re: Building james

2015-08-28 Thread Benoit Tellier
Sorry about this. Seems that while applying apache commits on our repositories ( and make James-parent follow Apache commits for sub modules) I just committed something that corrects the problem. I reproduced what you described. To compile James from here I run : cd james-parent git pu

Re: Building james

2015-08-28 Thread Rami Ojares
just use : git clone https://github.com/linagora/james-parent git submodule init git submodule update mvn clean install ... Step 1 went ok. Then I assumed that I should cd to james-parent folder. When I ran command "git submodule init" I got: Submodule 'james-project' (http

Re: Building james

2015-08-28 Thread Benoit Tellier
Hi Mike, No, you just need to run a maven command. Yesterday I compiled James using openjdk-7 and maven 3.3.3. I found a library version problem, undetected by the animal sniffer plugin, but I couldn't reproduce your bug. Once corrected, I was able to compile James with Java 7. I commited thi

Re: Building james

2015-08-27 Thread Rami Ojares
Here is another imap exception this time I used Thunderbird. Generated when trying to copy a single mail. jvm 1| DEBUG 21:26:38,307 | james.imapserver | ID=1046938897 Got : 12 jvm 1| DEBUG 21:26:38,307 | james.imapserver | ID=1046938897 Got : append jvm 1| DEBUG 21:26:38,316 | james

Re: Building james

2015-08-27 Thread Rami Ojares
Ok, now I got the prebuilt apache-james-3.0-beta4-app.tar.gz working. I already know some of the gotchas but will not focus on them now. Instead I am having a basic issue with the imap server. Namely I want to move email from my old imap server to james by dragging and dropping them using my em

Re: Building james

2015-08-27 Thread Mike lepore
thanks, yeah, not sure why I thought I had to change folders at that point. That helped me get farther, but still problems ... [INFO] [INFO] Reactor Summary: [INFO] [INFO] Apache James Project ..

Re: Building james

2015-08-27 Thread Matthieu Baechler
Hi Mike, It looks like you build only james-project. You should run mvn in the top-level directory instead to build the whole server. -- Matthieu Baechler On 27/08/2015 17:35, Mike lepore wrote: I guess there's something I didn't follow correctly. Where do the james jars and conf get instal

Re: Building james

2015-08-27 Thread Mike lepore
I guess there's something I didn't follow correctly. Where do the james jars and conf get installed to? I can't find them after executing the commands below. Admittedly, not a maven expert. mike@dev:$ mvn clean install [INFO] Scanning for projects... [INFO] [INFO] --

Re: Building james

2015-08-27 Thread Benoit Tellier
Le 27/08/2015 12:29, Rami Ojares a écrit : > You might find a james-server-app-3.0.0-beta4-SNAPSHOT-app.tar.gz file in the app/target directory ( if it is like beta 5 ). > You have all needed files contained in it. Unfortunately there is no app folder created by the build. Where can I find be

Re: Building james

2015-08-27 Thread Rami Ojares
> You might find a james-server-app-3.0.0-beta4-SNAPSHOT-app.tar.gz file in the app/target directory ( if it is like beta 5 ). > You have all needed files contained in it. Unfortunately there is no app folder created by the build. Where can I find beta 5 and why is it not announced on the websit

Re: Building james

2015-08-27 Thread Benoit Tellier
From the trunk, these compilation error are normal. Indeed, james is composed of several project, for instance mailbox for storing user mails, protocols, jsieve, and so on. We are working on these several project at the same time, and the versions *-SNAPSHOT available in macen central are not

Re: Building james

2015-08-27 Thread Benoit Tellier
Hi, You might find a james-server-app-3.0.0-beta4-SNAPSHOT-app.tar.gz file in the app/target directory ( if it is like beta 5 ). You have all needed files contained in it. Benoit Le 26/08/2015 18:14, Rami Ojares a écrit : Hi, I have been trying to build James using the instructions found a

Re: Building james

2015-08-26 Thread Rami Ojares
I also tried building from the trunk I used svn url http://svn.apache.org/repos/asf/james/current as instructed. Then I cd'd down to server folder (it was just my guess). There I ran: mvn package -DskipTests=true The build stopped at module Mailbox Adapter with errors [INFO] ---

Re: Building James in Eclipse

2012-12-27 Thread Eric Charles
On 27/12/2012 14:42, Martin Hewitt wrote: 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. Eclipse with auto-build may erase the classes built with mave

Re: Building James in Eclipse

2012-12-27 Thread Martin Hewitt
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 wrote: > On 27/12/2012 13:58, Marti

Re: Building James in Eclipse

2012-12-27 Thread Eric Charles
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

Re: Building James in Eclipse

2012-12-27 Thread Ioan Eugen Stan
Hello Martin, Thanks for pointing that out. I'm not an Eclipse user but I always thought Maven was a preferred way to import a project in Eclipse. Cheers, On Thu, Dec 27, 2012 at 2:58 PM, Martin Hewitt wrote: > Hi all, > > I've just been through the process of configuring Eclipse to build and r

Re: Building James, using wrapper

2007-08-11 Thread Herman Reintke
Stefano Bagnara bago.org> writes: > Herman Reintke ha scritto: > > LS, > > > > I am preparing a james 2.3.1 environment for upgrading from my 2.2.0 > > version. > > For this I am installing a fresh, not updated 2.3.1 environment. > > version. > > But when starting using : wrapper -s ..\conf\w

Re: Building James, using wrapper

2007-08-10 Thread Stefano Bagnara
Herman Reintke ha scritto: > LS, > > I am preparing a james 2.3.1 environment for upgrading from my 2.2.0 version. > For this I am installing a fresh, not updated 2.3.1 environment. > > I downloaded the binary version, and was able to startup, both directly in a > console and using the wrapper a

Re: Building James fails

2005-02-23 Thread Cuevas Tony
Yes, I dowloaded it from there: james-with-phoenix-2.2.1-RC1-src.zip Thanks for your help. /tc --- Serge Knystautas <[EMAIL PROTECTED]> wrote: > Cuevas Tony wrote: > > Thanks for the prompt reply. I am trying to build > the > > latest snapshot and those files already exist in > the > > li

Re: Building James fails

2005-02-23 Thread Serge Knystautas
Cuevas Tony wrote: Thanks for the prompt reply. I am trying to build the latest snapshot and those files already exist in the lib directory. There appears to be either namespace clash or another error is trying ot instantiate a class with a private constructor. I wish the setup would not be so time

Re: Building James fails

2005-02-23 Thread Cuevas Tony
Thanks for the prompt reply. I am trying to build the latest snapshot and those files already exist in the lib directory. There appears to be either namespace clash or another error is trying ot instantiate a class with a private constructor. I wish the setup would not be so time consuming so I can

Re: Building James fails

2005-02-23 Thread Serge Knystautas
Cuevas Tony wrote: I've been at this for a bit. When dowloading james and runing build.bat it immediately fails. At one point I made the necessary changes to compile but that's probably not what most people want. I've followed the straightforward instructions on building james. Below are the compil

RE: Building James in Eclipse

2005-01-12 Thread Steve Short
Don't include the 'proposals' directory in the source path. There are some Eclipse notes here but I don't know how up to date they are: http://wiki.apache.org/james/EclipseNotes Steve -Original Message- From: Gabor Kincses [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 12, 2005

RE: Building James 2.2.0

2004-11-11 Thread Ricardo Cortes
I found a work around - simply copied the mail-1.3.1.jar to the $JAVA_HOME/jre/lib/ext folder and ran the build.sh script again...Voila! -Original Message- From: Ricardo Cortes [mailto:[EMAIL PROTECTED] Sent: Thursday, November 11, 2004 2:53 PM To: James Users List Subject: Building James