james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Charles <eric.char...@u-mangate.com>
Subject Re: more maven
Date Wed, 02 Jun 2010 19:01:26 GMT
Hi Tim,
Just to complete my input (and probably not related to your question), I 
launch the Main james class from eclipse and works with /conf and /var a 
directory above eclipse ./
I only use 'mvn package' when I need to deploy on a real production 
server, and not during development phase.
Tks,
Eric

On 06/02/2010 08:51 AM, Tim-Christian Mundt wrote:
> Hi Eric,
>
> I'm already using it exactly the way you describe. It works perfectly
> for development and browsing the code. All dependencies are resolved
> correctly (eclipse is amazing!!). However, this does not apply for the
> build command. Even if I invoke the build in eclipse, it will fail. It
> only works if I build the whole IMAP component, but this takes much
> longer, that's why I'm asking if there's another possibility.
>
> Thanks
> Tim
>
> Am Mittwoch, den 02.06.2010, 05:36 +0200 schrieb Eric Charles:
>    
>> Hi Tim,
>>
>> I you do 'mvn install' on your dependency, your project should take this
>> into account the 'last' dependency in place of the snapshot.
>> But I'm not sure of this for james because I don't work as such (should
>> test it).
>>
>> I use m2eclipse plugin for eclipse and take a little time to configure
>> as such:
>> - I enable 'enable dependency management'
>> - I enable 'workspace resolution'
>> - I close/open all projects
>>
>> All projects dependency known as source projects in eclipse now really
>> use the projects in eclipse rather than the dependencies in your local
>> repository.
>>
>> Once configured, you have a pratical environment to develop: any
>> modification in your projects are directly taken into account in the
>> others without any 'mvn install' or jar copy.
>>
>> Tks,
>>
>> Eric
>>
>> On 06/01/2010 11:43 PM, Tim-Christian Mundt wrote:
>>      
>>> Hi guys,
>>>
>>> for maven stuff I could as well ask google, but this seems kinda james
>>> specific: how can I build a part of imap (e.g. jpa) with what I have in
>>> my working copy as dependency? It will use the downloaded artifacts
>>> instead which are in some cases not compatible (I changed several
>>> parts). Do I need to do a full build (which is kinda intelligent and
>>> does not rebuild everything, I know)?
>>>
>>> Thanks
>>> Tim
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
>>> For additional commands, e-mail: server-dev-help@james.apache.org
>>>
>>>
>>>        
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
>> For additional commands, e-mail: server-dev-help@james.apache.org
>>
>>      
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
> For additional commands, e-mail: server-dev-help@james.apache.org
>
>    


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


Mime
View raw message