Eclipe cannot handle project containing another eclipse project.
So you should not import parent project.
Running :
mvn eclipse:clean eclipse:m2eclipse if your are using m2clipse plug in
OR
mvn eclipse:clean eclipse:eclipse if your are not using m2clipse plug in.

Will build all needed eclipse metadata (.project, .classpath) in all the
acegi modules.
Then simply import "existing project into workspace".


2008/5/24 Oliver.Lee <[EMAIL PROTECTED]>:

>  i am sorry for this question should be posted to maven mailinglist.
> i think if i import the parent project,all the sub modules will lose their
> project nature, recognize by eclipse as the ordinary file of the parent
> project. how to handle this?
>
>  ------------------------------
>  Oliver.Lee
> 2008-05-24
>  ------------------------------
>  *发件人:* olivier nouguier
> *发送时间:* 2008-05-24 19:42:42
> *收件人:* acegisecurity-developer@lists.sourceforge.net
> *抄送:*
> *主题:* Re: [Acegisecurity-developer] How to import acegi source to eclipse?
>
> Hi,
>  It's rather a maven question :)
>  In general you have to:
>
>  mvn eclipse:clean eclipse:eclipse
>
>  eclipse:clean is needed to overwrite existing file ...
>
>  in root module.
>  But running in each module should also work.
>
>
> On Sat, May 24, 2008 at 4:57 AM, Oliver.Lee <[EMAIL PROTECTED]>
> wrote:
>
>>  hi,all good day
>>
>> i have checked out the code from svn, due to i am new to maven,
>>
>> i wonder how can i generate the project file properly,
>>
>> so that i can import the all acegi modules as one eclipse project?
>>
>> for example, run mvn eclipse:eclipse on root directory or on each
>> submodules?
>>
>> thanks for any help!
>>
>>
>>  ------------------------------
>>  Oliver.Lee
>> 2008-05-24
>>
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by: Microsoft
>> Defy all challenges. Microsoft(R) Visual Studio 2008.
>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>> _______________________________________________
>> Home: http://acegisecurity.org
>> Acegisecurity-developer mailing list
>> Acegisecurity-developer@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
>>
>>
>
>
> --
> "Quand le dernier arbre sera abattu, la dernière rivière asséchée, le
> dernier poisson péché, l'homme va s'apercevoir que l'argent n'est pas
> comestible"
> - proverbe indien Cri
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Home: http://acegisecurity.org
> Acegisecurity-developer mailing list
> Acegisecurity-developer@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
>
>


-- 
"Quand le dernier arbre sera abattu, la dernière rivière asséchée, le
dernier poisson péché, l'homme va s'apercevoir que l'argent n'est pas
comestible"
- proverbe indien Cri
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Home: http://acegisecurity.org
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer

Reply via email to