You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by Emmanuel Lecharny <el...@gmail.com> on 2008/02/10 18:11:34 UTC

[maven] pb building daemon from a fresh check out

Hi,

if you checkout the full apacheds from bigbang, and tries to build the 
project using mvn eclipse:eclipse, it does not work. (you also have to 
doom your maven repo)

Daemon subproject needs to be mvn clean installed before, for some 
reason I ignore.

Any idea ?

-- 
--
cordialement, regards,
Emmanuel Lécharny
www.iktek.com
directory.apache.org



Re: [maven] pb building daemon from a fresh check out

Posted by Emmanuel Lecharny <el...@gmail.com>.
David Jencks wrote:
>
> On Feb 10, 2008, at 9:11 AM, Emmanuel Lecharny wrote:
>
>> Hi,
>>
>> if you checkout the full apacheds from bigbang, and tries to build 
>> the project using mvn eclipse:eclipse, it does not work. (you also 
>> have to doom your maven repo)
>>
>> Daemon subproject needs to be mvn clean installed before, for some 
>> reason I ignore.
>>
>> Any idea ?
>
> I think it's pretty frequent that you need to build a project before 
> running an IDE import goal like idea:idea or eclipse:eclipse.  One 
> reason this is sort of plausible is that often there is generated 
> source and it is often hard to  get an IDE to recognize a generated 
> source directory that doesnt exist yet.
I thought that Maven was following a so called 'cycle of life' when 
running. It makes sense to build and install first before doing 
eclipse:eclipse. In ant, you just add dependencies to target in order to 
guarantee this.

This is very surprising that we have to do it manually.

-- 
--
cordialement, regards,
Emmanuel Lécharny
www.iktek.com
directory.apache.org



Re: [maven] pb building daemon from a fresh check out

Posted by David Jencks <da...@yahoo.com>.
On Feb 10, 2008, at 9:11 AM, Emmanuel Lecharny wrote:

> Hi,
>
> if you checkout the full apacheds from bigbang, and tries to build  
> the project using mvn eclipse:eclipse, it does not work. (you also  
> have to doom your maven repo)
>
> Daemon subproject needs to be mvn clean installed before, for some  
> reason I ignore.
>
> Any idea ?

I think it's pretty frequent that you need to build a project before  
running an IDE import goal like idea:idea or eclipse:eclipse.  One  
reason this is sort of plausible is that often there is generated  
source and it is often hard to  get an IDE to recognize a generated  
source directory that doesnt exist yet.

thanks
david jencks

>
> -- 
> --
> cordialement, regards,
> Emmanuel Lécharny
> www.iktek.com
> directory.apache.org
>
>