Re: mime4j warnings and doing an install

2012-03-28 Thread roy . james
Hi Norman,

Thanks for the reply, I'll give it a try!

Regards,
Roy

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



Re: mime4j warnings and doing an install

2012-03-27 Thread Norman Maurer
Hi there,

sorry for the delay. I'm quite busy atm...

See comments inline

2012/3/27  :
> Hello devs,
>
> So I've made good progress on my custom mailbox implementation (which 
> required creating our own version of domainlist and usersrepository and a few 
> other changes).
>
> A few questions to the devs here (after doing searches on google of course).
>
> I am a Maven and Spring newb so its been painful to figure a few things out 
> and it probably didn't help that the documentation on the website is not that 
> consistent as well as a few broken links here and there.  Just trying to 
> figure out how to go from the source code for beta 3 on the svn to making a 
> fully packaged binary?  I've tried "mvn package" and "mvn install", neither 
> seem to do anything in the target dir.  From the downloadable tar.gz of the 
> source code for beta 3 it looks like I can run "mvn install" and it seems to 
> create a few ready to use zips.  I am on Revision 1225232 so perhaps that 
> particular revision does not "mvn install" well or is it not ever expected to 
> create a ready to use zip of the binary?
>

The tar.gz will get bundled in the james-app project. You need to
checkout this and execute "mvn clean package" in there. Be sure to
adjust the pom.xml to include your mailbox implementation as runtime
dependency. This will make sure it gets pulled in the generated
tarballs.


> Another question I have is in regards to a lot of Mime4j warnings I'm getting 
> in my log files.  Even during the tests while doing a "mvn install" on the 
> above mentioned revision one of the tests (I believe its the pop3 tests) logs 
> a few warnings like this:
>
> Mar 26, 2012 5:33:58 PM org.apache.james.mime4j.parser.AbstractEntity warn
> WARNING: Unexpected end of headers detected. Higher level boundary detected 
> or EOF reached.
> Mar 26, 2012 5:33:58 PM org.apache.james.mime4j.parser.AbstractEntity warn
> WARNING: Invalid header encountered
>
> Are these safely ignorable?  If not, is there some kind of way to determine 
> what particular call is generating these warnings?

Yes this is ignorable.. It just tells you that it detected a
malformated header line..


>
> Thanks in advance, the James project in its scope and complexity and design 
> has been an awesome experience for me.
>
> Regards,
> Roy
>
>

Bye,
Norman

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



mime4j warnings and doing an install

2012-03-26 Thread roy . james
Hello devs,

So I've made good progress on my custom mailbox implementation (which required 
creating our own version of domainlist and usersrepository and a few other 
changes).

A few questions to the devs here (after doing searches on google of course).

I am a Maven and Spring newb so its been painful to figure a few things out and 
it probably didn't help that the documentation on the website is not that 
consistent as well as a few broken links here and there.  Just trying to figure 
out how to go from the source code for beta 3 on the svn to making a fully 
packaged binary?  I've tried "mvn package" and "mvn install", neither seem to 
do anything in the target dir.  From the downloadable tar.gz of the source code 
for beta 3 it looks like I can run "mvn install" and it seems to create a few 
ready to use zips.  I am on Revision 1225232 so perhaps that particular 
revision does not "mvn install" well or is it not ever expected to create a 
ready to use zip of the binary?

Another question I have is in regards to a lot of Mime4j warnings I'm getting 
in my log files.  Even during the tests while doing a "mvn install" on the 
above mentioned revision one of the tests (I believe its the pop3 tests) logs a 
few warnings like this:

Mar 26, 2012 5:33:58 PM org.apache.james.mime4j.parser.AbstractEntity warn
WARNING: Unexpected end of headers detected. Higher level boundary detected or 
EOF reached.
Mar 26, 2012 5:33:58 PM org.apache.james.mime4j.parser.AbstractEntity warn
WARNING: Invalid header encountered

Are these safely ignorable?  If not, is there some kind of way to determine 
what particular call is generating these warnings?

Thanks in advance, the James project in its scope and complexity and design has 
been an awesome experience for me.

Regards,
Roy


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