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/vse012070mrt/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/vse012070mrt/direct/01/___ Home: http://acegisecurity.org Acegisecurity-developer mailing list Acegisecurity-developer@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
Re: [Acegisecurity-developer] How to import acegi source to eclipse?
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/vse012070mrt/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/vse012070mrt/direct/01/___ Home: http://acegisecurity.org Acegisecurity-developer mailing list Acegisecurity-developer@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
Re: [Acegisecurity-developer] How to import acegi source to eclipse?
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/vse012070mrt/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/vse012070mrt/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/vse012070mrt/direct/01/___ Home: http://acegisecurity.org Acegisecurity-developer mailing list Acegisecurity-developer@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
Re: [Acegisecurity-developer] How to import acegi source to eclipse?
hi,olivier thank you for your kindly reply,as you said: "Eclipe cannot handle project containing another eclipse project.So you should not import parent project." but i wonder how can each modules knows their parent in eclipse?M2eclipse handle this or they just can know the parent by themselves? if there is no parent exist in eclipse. thank you again! Oliver.Lee 2008-05-25 发件人: olivier nouguier 发送时间: 2008-05-25 20:17:59 收件人: acegisecurity-developer@lists.sourceforge.net 抄送: 主题: Re: [Acegisecurity-developer] How to import acegi source to eclipse? 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/vse012070mrt/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/vse012070mrt/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/vse012070mrt/direct/01/___ Home: http://acegisecurity.org Acegisecurity-developer mailing list Acegisecurity-developer@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
Re: [Acegisecurity-developer] How to import acegi source to eclipse?
Please read the documentation on the maven eclipse plugin http://maven.apache.org/plugins/maven-eclipse-plugin/ which discusses its use with multi-module projects. On 25 May 2008, at 15:42, Oliver.Lee wrote: > hi,olivier > thank you for your kindly reply,as you said: > > "Eclipe cannot handle project containing another eclipse project.So > you should not import parent project." > > but i wonder how can each modules knows their parent in eclipse? > M2eclipse handle this or they just can know the parent by themselves? > > if there is no parent exist in eclipse. > > thank you again! > > > -- SpringSource http://www.springsource.com Registered in England and Wales: No. 5187766 Registered Office: A2 Yeoman Gate, Yeoman Way, Worthing, West Sussex. BN13 3QZ. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Home: http://acegisecurity.org Acegisecurity-developer mailing list Acegisecurity-developer@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer