Hi Eugene,

I do have automatic builds enabled in my Workbench, I did mention it in
my email :)
Since maven multiple modules structure is created under single Eclipse
project, there is only one classpath container per project.
I did create simplified project sample and attached it to JIRA.


JIRA for this case http://jira.codehaus.org/browse/MNGECLIPSE-452  


Regards,
Irene

-----Original Message-----
From: Eugene Kuleshov [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, December 12, 2007 5:32 PM
To: [email protected]
Subject: Re: [m2eclipse-user] Multiple Modules support with Maven
Integration Plugin

Levina, Irene wrote:
> Since second scenario considered to be valid scenario with Tycho
plugin.
>   
  Irene, just to clarify, Tycho is set of Maven plugin for building OSGi

and RCP applications.
  The Eclipse plugin is called m2eclipse or Maven Integration for
Eclipse.
> I trying to use second scenario with Tycho and seeing some odd
behavior:
>
> Updating module pom dependency is not updating Maven Build Container
> classpath. My Auto-Build is set on in Eclipse Workspace and Enable
> Multiple Modules set as well. I tried two ways: 
>      (1)changing pom file editor by adding manually new dependency
>      (2)Using 'Add Dependency' action on model pom selection.
>
> It only will update module pom if I will do clean and full build on
> project.
>   
  First of all, do you have automatic builds enabled in your Workbench?

  I somehow lost, which project you are changing pom.xml in and which 
container is expecting to be updated. It would be easier to understand 
and track it down if you would create JIRA issue and attach a test 
project out there. Maybe you are hitting some corner case, because it 
does work on my own test projects.

> It looks to me as an issue, but on other hand I looked into builder
code
> and can see that it calls 
>      buildpathManager.updateClasspathContainer(...)
> only for CLEAN_BUILD or FULL_BUILD types.
>
> Why is this? 
>   
  The others cases are handled trough resource change listener that 
plugin register in the workbench.

  regards,
  Eugene



---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to