You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by Kirill Kosinov <ki...@gmail.com> on 2008/06/24 13:46:30 UTC
spring-deployment
Good Day.
I tried to build JAMES using svn trunk sources, howto's and maven. After
building i tried to run JAMES using "ant run" command from
spring-integration, but there was an error:
java.lang.ClassNotFoundException:
org.apache.james.mailboxmanager.mailstore.MyAvalonMailStore
I didn't find this class in trunk. If there is another way to build and
run project from svn?
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org
Re: spring-deployment
Posted by Stefano Bagnara <ap...@bago.org>.
Kirill Kosinov ha scritto:
> Good Day.
>
> I tried to build JAMES using svn trunk sources, howto's and maven. After
> building i tried to run JAMES using "ant run" command from
> spring-integration, but there was an error:
>
> java.lang.ClassNotFoundException:
> org.apache.james.mailboxmanager.mailstore.MyAvalonMailStore
>
> I didn't find this class in trunk. If there is another way to build and
> run project from svn?
The documentation is a bit out of sync. I never used the spring
integration but I'd give a go to this steps:
1) use only trunk (ignore spring-integration branch).
2) "ant" from trunk root.
3) cd phoenix-deployment
4) "ant run"
Let us know of any issue you find during this process.
Stefano
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org
Re: spring-deployment
Posted by Bernd Fondermann <be...@googlemail.com>.
On Tue, Jun 24, 2008 at 7:08 PM, Stefano Bagnara <ap...@bago.org> wrote:
> Bernd Fondermann ha scritto:
>>
>> On Tue, Jun 24, 2008 at 1:46 PM, Kirill Kosinov
>> <ki...@gmail.com> wrote:
>>>
>>> Good Day.
>>>
>>> I tried to build JAMES using svn trunk sources, howto's and maven. After
>>> building i tried to run JAMES using "ant run" command from
>>> spring-integration, but there was an error:
>>>
>>> java.lang.ClassNotFoundException:
>>> org.apache.james.mailboxmanager.mailstore.MyAvalonMailStore
>>>
>>> I didn't find this class in trunk. If there is another way to build and
>>> run
>>> project from svn?
>>
>> Just to carify:
>>
>> The spring-deployment is build together with all the other stuff when
>> invoking ant for TRUNK folder.
>> You find the distribution files after successful build in
>> dist/james-server-3.0-SNAPSHOT/downloads/bin
>>
>> After you have run this build once and make changes within the
>> spring-deployment module, you could build it separately (by invoking
>> ant within spring-deployment folder), to save time.
>> But it is always safe to re-build on TRUNK level, too.
>
> Bernd, can you check that I correctly updated the HOW-TO.txt in trunk:
> http://svn.apache.org/repos/asf/james/server/trunk/spring-deployment/HOW-TO.txt
Looks good.
Great, many thanks, Stefano!
Bernd
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org
Re: spring-deployment
Posted by Kirill Kosinov <ki...@gmail.com>.
Stefano Bagnara wrote:
> Kirill, can you confirm that the instructions in the updated HOW-TO, are
> correct once you give this a go?
>
Instruction is correct, the point was that i used maven to build JAMES
and forgot to change configs in spring-integration.
Another one, run.but in my Vista couldn't start JAMES, maybe it was to
long paths in this file (for runtime-3.3-R2.jar i changed to relative),
spring couldn't create a factory.
In gentoo all was ok. Thank you.
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org
Re: spring-deployment
Posted by Stefano Bagnara <ap...@bago.org>.
Bernd Fondermann ha scritto:
> On Tue, Jun 24, 2008 at 1:46 PM, Kirill Kosinov
> <ki...@gmail.com> wrote:
>> Good Day.
>>
>> I tried to build JAMES using svn trunk sources, howto's and maven. After
>> building i tried to run JAMES using "ant run" command from
>> spring-integration, but there was an error:
>>
>> java.lang.ClassNotFoundException:
>> org.apache.james.mailboxmanager.mailstore.MyAvalonMailStore
>>
>> I didn't find this class in trunk. If there is another way to build and run
>> project from svn?
>
> Just to carify:
>
> The spring-deployment is build together with all the other stuff when
> invoking ant for TRUNK folder.
> You find the distribution files after successful build in
> dist/james-server-3.0-SNAPSHOT/downloads/bin
>
> After you have run this build once and make changes within the
> spring-deployment module, you could build it separately (by invoking
> ant within spring-deployment folder), to save time.
> But it is always safe to re-build on TRUNK level, too.
Bernd, can you check that I correctly updated the HOW-TO.txt in trunk:
http://svn.apache.org/repos/asf/james/server/trunk/spring-deployment/HOW-TO.txt
Kirill, can you confirm that the instructions in the updated HOW-TO, are
correct once you give this a go?
Thank you,
Stefano
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org
Re: spring-deployment
Posted by Bernd Fondermann <be...@googlemail.com>.
On Tue, Jun 24, 2008 at 1:46 PM, Kirill Kosinov
<ki...@gmail.com> wrote:
> Good Day.
>
> I tried to build JAMES using svn trunk sources, howto's and maven. After
> building i tried to run JAMES using "ant run" command from
> spring-integration, but there was an error:
>
> java.lang.ClassNotFoundException:
> org.apache.james.mailboxmanager.mailstore.MyAvalonMailStore
>
> I didn't find this class in trunk. If there is another way to build and run
> project from svn?
Just to carify:
The spring-deployment is build together with all the other stuff when
invoking ant for TRUNK folder.
You find the distribution files after successful build in
dist/james-server-3.0-SNAPSHOT/downloads/bin
After you have run this build once and make changes within the
spring-deployment module, you could build it separately (by invoking
ant within spring-deployment folder), to save time.
But it is always safe to re-build on TRUNK level, too.
Bernd
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org
Re: spring-deployment
Posted by Robert Burrell Donkin <ro...@gmail.com>.
On Tue, Jun 24, 2008 at 12:46 PM, Kirill Kosinov
<ki...@gmail.com> wrote:
> Good Day.
>
> I tried to build JAMES using svn trunk sources, howto's and maven. After
> building i tried to run JAMES using "ant run" command from
> spring-integration, but there was an error:
>
> java.lang.ClassNotFoundException:
> org.apache.james.mailboxmanager.mailstore.MyAvalonMailStore
>
> I didn't find this class in trunk. If there is another way to build and run
> project from svn?
the spring deployment is a module rather than a separate project. you
need to checkout trunk and then do one build at the top level (just
type ant). then you'll be able to build the module independently.
- robert
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org