RE: Maven : Automate the import of generated eclipse project to the eclipse ?

2007-04-16 Thread Marouane Amraoui
Ok thx.
So i explain my purpose :

1. in my workspace eclipse I don't have any project (no project in my 
workspace).
2. I launche from .bat file as external tools on my current workspace :
   call mvn archetype:create -DgroupId=%1 -DartifactId=%2
   call mvn eclipse:eclipse.
3. when the project is generated in my workspace elcipse
4. I do refresh (without selecting any project, because I don't have any 
project in my eclipse view)
5. the project generated don't appeare on eclipse view.
6. so I must go File--> import. !!! :(


So I think there is no way to do that from maven, I think I must khnow the 
eclipse api in order to do this.




-Message d'origine-
De : Davis Ford [mailto:[EMAIL PROTECTED] 
Envoyé : lundi 16 avril 2007 20:01
À : Maven Users List
Objet : Re: Maven : Automate the import of generated eclipse project to the 
eclipse ?

marouane - try the following:

mvn eclipse:clean eclipse:eclipse

then right-click the project in eclipse and choose refresh (or F5).  running
the mvn commands re-generates the .classpath, .project, and .settings files
in the project dir, but eclipse does not scan for changes, so you have to
force a refresh each time in the IDE.


On 4/16/07, Marouane Amraoui <[EMAIL PROTECTED]> wrote:
>
> Thx for reply.
>
> I generate project in the current workspace but it does'not refresh
> himself.
>
> -Message d'origine-
> De: Phill Moran [mailto:[EMAIL PROTECTED]
> Envoyé: lundi 16 avril 2007 19:09
> À: 'Maven Users List'
> Objet: RE: Maven : Automate the import of generated eclipse project to the
> eclipse ?
>
> You could execute the eclipse:eclipse using external tools but I think
> (not
> sure) you would have to do this in your current workspace to have it
> refresh
>
> -Original Message-
> From: Marouane Amraoui [mailto:[EMAIL PROTECTED]
> Sent: April 16, 2007 3:03 PM
> To: Maven Users List
> Subject: Maven : Automate the import of generated eclipse project to the
> eclipse
> ?
>
>
>
> I generate my structure of eclipse project from maven.
>
>
>
> I make a  .bat file for that purpose. And I used it as an external tools
> in
> eclipse.
>
>
>
> When I execute this bat it generate me in  the workspace of eclipse my
> multiproject structure . after that I must to go to the  File --> Import
> in
> order to make there visible
>
> In the eclipse. So my question there is something that can help me to
> automate
> this step too. ie : I execute my external tools , it generate me my
> structure
> project and  appear immediately
>
> In the eclipse, don't need to import them manually  :-) ???
>
>
>
> Maven can give me this features or I need to explore eclipse api ?
>
>
>
> Thx
>
>
>
> ---
>
> Merouane AMRAOUI
> Consultant Expert
> Division Développement
> Email.: [EMAIL PROTECTED]
>
> Gsm  .: 065 19 60 99
> Tél. | Tel.: 022 98 70 70Téléc | Fax: 022 98 70 70 OMNIDATA , 74 Bv
> AbdelMoumen
>
>
>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Zeno Consulting, Inc.
http://www.zenoconsulting.biz
248.894.4922 phone
313.884.2977 fax

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Maven : Automate the import of generated eclipse project to the eclipse ?

2007-04-16 Thread Davis Ford

marouane - try the following:

mvn eclipse:clean eclipse:eclipse

then right-click the project in eclipse and choose refresh (or F5).  running
the mvn commands re-generates the .classpath, .project, and .settings files
in the project dir, but eclipse does not scan for changes, so you have to
force a refresh each time in the IDE.


On 4/16/07, Marouane Amraoui <[EMAIL PROTECTED]> wrote:


Thx for reply.

I generate project in the current workspace but it does'not refresh
himself.

-Message d'origine-
De: Phill Moran [mailto:[EMAIL PROTECTED]
Envoyé: lundi 16 avril 2007 19:09
À: 'Maven Users List'
Objet: RE: Maven : Automate the import of generated eclipse project to the
eclipse ?

You could execute the eclipse:eclipse using external tools but I think
(not
sure) you would have to do this in your current workspace to have it
refresh

-Original Message-
From: Marouane Amraoui [mailto:[EMAIL PROTECTED]
Sent: April 16, 2007 3:03 PM
To: Maven Users List
Subject: Maven : Automate the import of generated eclipse project to the
eclipse
?



I generate my structure of eclipse project from maven.



I make a  .bat file for that purpose. And I used it as an external tools
in
eclipse.



When I execute this bat it generate me in  the workspace of eclipse my
multiproject structure . after that I must to go to the  File --> Import
in
order to make there visible

In the eclipse. So my question there is something that can help me to
automate
this step too. ie : I execute my external tools , it generate me my
structure
project and  appear immediately

In the eclipse, don't need to import them manually  :-) ???



Maven can give me this features or I need to explore eclipse api ?



Thx



---

Merouane AMRAOUI
Consultant Expert
Division Développement
Email.: [EMAIL PROTECTED]

Gsm  .: 065 19 60 99
Tél. | Tel.: 022 98 70 70Téléc | Fax: 022 98 70 70 OMNIDATA , 74 Bv
AbdelMoumen





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
Zeno Consulting, Inc.
http://www.zenoconsulting.biz
248.894.4922 phone
313.884.2977 fax


RE: Maven : Automate the import of generated eclipse project to the eclipse ?

2007-04-16 Thread Marouane Amraoui
Thx for reply.

I generate project in the current workspace but it does'not refresh himself. 

-Message d'origine-
De : Phill Moran [mailto:[EMAIL PROTECTED] 
Envoyé : lundi 16 avril 2007 19:09
À : 'Maven Users List'
Objet : RE: Maven : Automate the import of generated eclipse project to the 
eclipse ?

You could execute the eclipse:eclipse using external tools but I think (not
sure) you would have to do this in your current workspace to have it refresh

-Original Message-
From: Marouane Amraoui [mailto:[EMAIL PROTECTED] 
Sent: April 16, 2007 3:03 PM
To: Maven Users List
Subject: Maven : Automate the import of generated eclipse project to the eclipse
?

 

I generate my structure of eclipse project from maven.

 

I make a  .bat file for that purpose. And I used it as an external tools in
eclipse. 

 

When I execute this bat it generate me in  the workspace of eclipse my
multiproject structure . after that I must to go to the  File --> Import in
order to make there visible

In the eclipse. So my question there is something that can help me to automate
this step too. ie : I execute my external tools , it generate me my structure
project and  appear immediately 

In the eclipse, don't need to import them manually  :-) ???

 

Maven can give me this features or I need to explore eclipse api ? 

 

Thx 

 

---

Merouane AMRAOUI
Consultant Expert
Division Développement
Email.: [EMAIL PROTECTED]

Gsm  .: 065 19 60 99   
Tél. | Tel.: 022 98 70 70Téléc | Fax: 022 98 70 70 OMNIDATA , 74 Bv AbdelMoumen

 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Maven : Automate the import of generated eclipse project to the eclipse ?

2007-04-16 Thread Phill Moran
You could execute the eclipse:eclipse using external tools but I think (not
sure) you would have to do this in your current workspace to have it refresh

-Original Message-
From: Marouane Amraoui [mailto:[EMAIL PROTECTED] 
Sent: April 16, 2007 3:03 PM
To: Maven Users List
Subject: Maven : Automate the import of generated eclipse project to the eclipse
?

 

I generate my structure of eclipse project from maven.

 

I make a  .bat file for that purpose. And I used it as an external tools in
eclipse. 

 

When I execute this bat it generate me in  the workspace of eclipse my
multiproject structure . after that I must to go to the  File --> Import in
order to make there visible

In the eclipse. So my question there is something that can help me to automate
this step too. ie : I execute my external tools , it generate me my structure
project and  appear immediately 

In the eclipse, don't need to import them manually  :-) ???

 

Maven can give me this features or I need to explore eclipse api ? 

 

Thx 

 

---

Merouane AMRAOUI
Consultant Expert
Division Développement
Email.: [EMAIL PROTECTED]

Gsm  .: 065 19 60 99   
Tél. | Tel.: 022 98 70 70Téléc | Fax: 022 98 70 70 OMNIDATA , 74 Bv AbdelMoumen

 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Maven : Automate the import of generated eclipse project to the eclipse ?

2007-04-16 Thread Marouane Amraoui
 

I generate my structure of eclipse project from maven.

 

I make a  .bat file for that purpose. And I used it as an external tools in 
eclipse. 

 

When I execute this bat it generate me in  the workspace of eclipse my 
multiproject structure . after that I must to go to the  File --> Import in 
order to make there visible

In the eclipse. So my question there is something that can help me to automate 
this step too. ie : I execute my external tools , it generate me my structure 
project and  appear immediately 

In the eclipse, don't need to import them manually  :-) ???

 

Maven can give me this features or I need to explore eclipse api ? 

 

Thx 

 

---

Merouane AMRAOUI
Consultant Expert
Division Développement
Email.: [EMAIL PROTECTED]

Gsm  .: 065 19 60 99   
Tél. | Tel.: 022 98 70 70Téléc | Fax: 022 98 70 70
OMNIDATA , 74 Bv AbdelMoumen