My project is already imported into eclipse using "maven eclipse", and it's
working ok. As I do new development, I add dependencies to the project.xml
file and need to update my classpath.xml file (for ant builds) and my
.classpath file (for eclipse incremental builds). For the former, I run
"maven javagen:classpath", which works fine. To update my .classpath, I run
"maven eclipse:generate-classpath". This updates the .classpath file just
fine, but it also seems to nuke some sort of meta information about my
source folder that makes eclipse no longer see it as Java source code to be
compiled incrementally.

This seems like something everyone would have run into, so I wonder what I
am doing differently. Any ideas?

----- Original Message ----- 
From: "Heritier Arnaud" <[EMAIL PROTECTED]>
To: "Maven Users List" <[EMAIL PROTECTED]>
Sent: Wednesday, May 26, 2004 8:38 AM
Subject: RE : Maven eclipse plugin question re: source folder


Why do you call maven eclipse:generate-classpath ?

Call directly "maven eclipse"

It will generate the classpath, the project and the others files you need to
import your project in Eclipse.

Arnaud

> -----Message d'origine-----
> De : Loren Siebert [mailto:[EMAIL PROTECTED]
> Envoyé : mercredi 26 mai 2004 17:30
> À : [EMAIL PROTECTED]
> Objet : Maven eclipse plugin question re: source folder
>
>
> I'm trying out the maven eclipse plugin and am running into a
> little problem. I'm using eclipse2.1.3 and 1.7 of the plugin.
>
> When I run 'maven eclipse:generate-classpath', eclipse loses
> the notion of my source code folder being a "Source Folder"
> and it also loses the concept of "Package" folders inside.
> This makes Eclipse ignore these folders for purposes of
> incremental compilation, as it no longer associates them with
> Java code.
>
> I don't even see where eclipse stores this meta information
> about the source folder, so I'm not even sure it's a
> maven/eclipse plugin bug, but that maven goal is what makes
> it happen. I looked through the list of outstanding bugs and
> the list archive and didn't see anything related to what I'm seeing.
>
> Am I missing something obvious or should I file it as a bug?
>
>
>
> ---------------------------------------------------------------------
> 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]




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

Reply via email to