I recorded a video last night but the audio quality is terrible so I am 
re-doing it with a better mic today. Meanwhile, if all you want is to build the 
source, you can accomplish that without too much fuss. You will need some tools 
installed on your system if you don’t have them already - Maven and Subversion.

maven.apache.org
subversion.apache.org

If you don’t have those tools installed, get them installed. Next, go to a 
command prompt, create a folder for James and check out the source code for 
James at the trunk:

mkdir james
cd james
svn checkout http://svn.apache.org/viewvc/james/server/trunk/

This will create a folder called trunk inside of the james folder and populate 
it with the James source code.

Next, check your MAVEN_OPTS, which are probably not set:

echo $MAVEN_OPTS

If you see nothing, check this article to set your MAVEN_OPTS for your 
platform. 512M/128M are good settings for James.

https://cwiki.apache.org/confluence/display/MAVEN/OutOfMemoryError

Verify your settings.

echo $MAVEN_OPTS

You should see something like:

-Xmx512m -XX:MaxPermSize=128m

Next, run the build.

mvn clean package -DskipTests=true

On my new MacBookPro it takes roughly a minute to do the build. If I leave off 
the -DskipTests=true directive, it takes my machine roughly 5 1/2 minutes to 
run the tests and do the build. 

You will see a lot of console output. At the end of a successful build you 
should see something like this:

[INFO] Reactor Summary:
[INFO] 
[INFO] Apache James :: Server ............................. SUCCESS [  5.710 s]
[INFO] Apache James :: Server :: Data  :: API ............. SUCCESS [  2.922 s]
[INFO] Apache James :: Server :: Lifecycle API ............ SUCCESS [  0.574 s]
[INFO] Apache James :: Server :: Filesystem API ........... SUCCESS [  0.731 s]
[INFO] Apache James :: Server :: Mailetcontainer API ...... SUCCESS [  0.357 s]
[INFO] Apache James :: Server :: Common Utilities ......... SUCCESS [  1.212 s]
[INFO] Apache James :: Server :: Protocols Library ........ SUCCESS [  1.154 s]
[INFO] Apache James :: Server :: Core ..................... SUCCESS [  0.832 s]
[INFO] Apache James :: Server :: Container Spring ......... SUCCESS [  3.189 s]
[INFO] Apache James :: Server :: Client ................... SUCCESS [  1.096 s]
[INFO] Apache James :: Server :: DNS Service :: API ....... SUCCESS [  0.191 s]
[INFO] Apache James :: Server :: DNS Service :: Library ... SUCCESS [  0.498 s]
[INFO] Apache James :: Server :: Mail Queue :: API ........ SUCCESS [  0.373 s]
[INFO] Apache James :: Server :: Mailetcontainer Camel .... SUCCESS [  1.939 s]
[INFO] Apache James :: Server :: Mailbox Adapter .......... SUCCESS [  0.515 s]
[INFO] Apache James :: Server :: DNS Service :: Implementation SUCCESS [  0.499 
s]
[INFO] Apache James :: Server :: Data :: Library .......... SUCCESS [  0.732 s]
[INFO] Apache James :: Server :: Data :: LDAP Implementation SUCCESS [  0.311 s]
[INFO] Apache James :: Server :: SMTP ..................... SUCCESS [  1.905 s]
[INFO] Apache James :: Server :: IMAP ..................... SUCCESS [  0.724 s]
[INFO] Apache James :: Server :: LMTP ..................... SUCCESS [  0.818 s]
[INFO] Apache James :: Server :: POP3 ..................... SUCCESS [  0.756 s]
[INFO] Apache James :: Server :: FetchMail ................ SUCCESS [  0.500 s]
[INFO] Apache James :: Server :: Mail Queue :: File ....... SUCCESS [  0.344 s]
[INFO] Apache James :: Server :: Mail Queue :: JMS ........ SUCCESS [  1.249 s]
[INFO] Apache James :: Server :: Mail Queue :: ActiveMQ ... SUCCESS [  0.741 s]
[INFO] Apache James :: Server :: Mailets .................. SUCCESS [  1.483 s]
[INFO] Apache James :: Server :: Data :: File Persistence . SUCCESS [  0.554 s]
[INFO] Apache James :: Server :: Data :: JPA Persistence .. SUCCESS [  1.619 s]
[INFO] Apache James :: Server :: Data :: JDBC Persistence . SUCCESS [  0.730 s]
[INFO] Apache James :: Server :: Data :: HBase Persistence  SUCCESS [  7.145 s]
[INFO] Apache James :: Server :: Data :: JCR Persistence .. SUCCESS [  1.216 s]
[INFO] Apache James :: Server :: App ...................... SUCCESS [ 10.561 s]
[INFO] Apache James :: Karaf :: Features .................. SUCCESS [  0.225 s]
[INFO] Apache James :: Karaf :: James Server .............. SUCCESS [ 10.479 s]
[INFO] Apache James :: Karaf :: Integration tests ......... SUCCESS [  6.002 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:12 min
[INFO] Finished at: 2014-10-18T09:05:37-07:00
[INFO] Final Memory: 111M/433M

Next, go into the folder and check the build files:

cd app/target

List the folder contents and you should see:

appassembler
archive-tmp
classes
generated-sources
generated-test-sources
james-server-app-3.0.0-beta5-SNAPSHOT
james-server-app-3.0.0-beta5-SNAPSHOT-app.tar.gz
james-server-app-3.0.0-beta5-SNAPSHOT-app.zip
james-server-app-3.0.0-beta5-SNAPSHOT-sources.jar
james-server-app-3.0.0-beta5-SNAPSHOT-test-sources.jar
james-server-app-3.0.0-beta5-SNAPSHOT-tests.jar
james-server-app-3.0.0-beta5-SNAPSHOT.jar
james-server-app-3.0.0-beta5-SNAPSHOT.war
maven-archiver
maven-shared-archive-resources
maven-status
supplemental-models.xml
test-classes

The archive files .tar.gz and .zip contain the binary build in the form you are 
used to seeing with beta4. The war file contains what should be a build for 
Tomcat/Jetty, etc. I haven’t tried to deploy the war yet, but I am possibly 
interested in running it that way. 

Building with Eclipse is a little more complicated, but it also uses the Maven 
build system in the Eclipse IDE for Java Developers build. Download the Luna 
build of Eclipse to get it to work. You can see the rest in the video.

Robert




On Oct 17, 2014, at 9:09 PM, anavg...@gmail.com wrote:

> Thanks Robert,
> 
> Please share your experience and video.
> 
> Thanks and Regards,
> Ajay.
> 
> Sent from my Windows Phone
> 
> -----Original Message-----
> From: "Robert Munn" <robert.d.m...@gmail.com>
> Sent: ‎10/‎18/‎2014 8:57 AM
> To: "James Users List" <server-user@james.apache.org>
> Subject: Re: apache-james project status?
> 
> I should have said “Not a troll”. :-)
> 
> I have just completed a build of the latest beta5 from trunk and I am going 
> to make a Youtube video to demonstrate how to do it.
> 
> Robert
> 
> 
> On Oct 17, 2014, at 2:54 PM, Robert Munn <robert.d.m...@gmail.com> wrote:
> 
>> I don’t know about the level of support from the official maintainers. I had 
>> some trouble getting my implementation running, but since I got it 
>> configured the way I wanted it I have had no trouble with it. Maybe that’s 
>> why the list isn’t very active - once you have it running, there isn’t much 
>> to do.
>> 
>> At any rate, I am going to put up a bunch of material about James and share 
>> it with everyone else. Not that I am an expert in the source code or 
>> anything of the sort, but I will share my experiences with the product and 
>> examples of how to implement the software and basic features.  
>> 
>> Also, I have a stable build of beta 5, which is much improved over beta 4. 
>> If you would like a copy, feel free to email me off list. I will make it 
>> available online soon.
>> 
>> If you would like to make sure I am a troll, you can see some of my work 
>> here:
>> 
>> https://github.com/robertdmunn
>> 
>> Robert
>> 
>> 
>> On Oct 17, 2014, at 10:06 AM, Lee Chalupa <lchal...@seelink.org> wrote:
>> 
>>> Do you hear your voice's echo?  I had a similar experience with James a
>>> couple of months ago. It took weeks to
>>> try to get on their mailing list.  There are a couple of people that
>>> appear to be trying to answer inquiries but they are clearly
>>> overwhelmed. As for trying to find a James 3 version to use? The site
>>> says to use Beta 4. It did not work.  I could not find any info on the
>>> James web site about this problem.   I found the patch at the
>>> stackoverflow site. I thought I would try Beta 5, but this too I wasn't
>>> able to find nor was I able to determine what the release contained.  My
>>> related posts went unanswered. 
>>> No way was I going to risk trying to rely on this level of support.
>>> 
>>> I no longer use James.
>>> 
>>> I was willing to get involved and help support James but I found no help
>>> in trying to even get a foothold in the application.
>>> 
>>> I hope your mileage will vary greatly from my experience. My intent is
>>> not to flame this project. I'm Just telling you what I remember about my
>>> experiences.
>>> 
>>> Sorry I don't have better news to share with you.
>>> 
>>> Lee
>>> 
>>> 
>>> On 10/17/2014 10:43 AM, anavg...@gmail.com wrote:
>>>> Hi,
>>>> 
>>>> Can any one please share status update? Or where to get status updates?
>>>> 
>>>> Sent from my Windows Phone
>>>> 
>>>> -----Original Message-----
>>>> From: "Mike lepore" <michael.lepore.w...@gmail.com>
>>>> Sent: ‎10/‎16/‎2014 10:30 PM
>>>> To: "server-user@james.apache.org" <server-user@james.apache.org>
>>>> Subject: apache-james project status?
>>>> 
>>>> is the apache-james project still going?  I've used james2.3 for many
>>>> years and just recently considered switching to james3 because of some
>>>> issues with verizon.net with SSL authentication with Remote Deliveries.
>>>> However, it looks like there hasn't been a new release since Beta5
>>>> nightly update in 2012.  What is the state of the project?  It's not even 
>>>> clear
>>>> how to get the latest source code and try to build it.  I see some maven
>>>> repositories, but it isn't clear whether that's the latest source code
>>>> or not.
>>>> 
>>>> 
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org
>>>> For additional commands, e-mail: server-user-h...@james.apache.org
>>>> 
>>>> 
>>> 
>>> 
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org
>>> For additional commands, e-mail: server-user-h...@james.apache.org
>>> 
>> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org
> For additional commands, e-mail: server-user-h...@james.apache.org
> 

Reply via email to