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

Reply via email to