Niklas,
Please verify that those projects that picking changes have workspace
dependency resolution enabled. Otherwise dependencies are resolved from
the Maven local repository and you would have to run Maven install
command after every change. You can also see if projects are resolved
from workspace in the "Maven Dependencies" container (jar vs. project
entry). So, if you see jars there even if workspace dependency
resolution is enabled, please check that referenced dependency version
matches with the version of the project in workspace and then run Maven
/ Update Dependencies action.
Another reason when changes may not be seen is if you have Project /
Build automatically turned off.
Hope that helps.
regards,
Eugene
Pettersson, Niklas wrote:
We are experiencing problems with Eclipse and M2eclipse not picking up
changes to code in dependent modules. Our project is a large Maven
based project which constist of seven modules declared as snapshots.
We use Eclipse 3.4.1 with M2Eclipse 0.9.6.
When I change code in one of the modules, like changing method
names, making new classes etc, and then to try to use it in another
the changed code is not presented by Eclipse content assist. It seems
like Eclipse is not aware of that the code has been changed.
I have tried all commands that is available in m2eclipse
(like "Update dependencies", "Update snapshots" etc.) but I can't get
Eclipse to pick up the changes. Cleaning the project does not fix the
problem, only if I restart Eclipse the changed code is present.
What is wrong?? Have I set up my project in the wrong way? Does
anybody else have this problem?
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email