Mohan KR wrote:
As part of general monthly update push, I updated to the current
m2eclipse dev build, 0.9.7.200811290848. But this is wreaking havoc
when editing POM files, and I’m having to manually recreate the POMS.
Initially I thought it was a freak occurrence, but this is
repeatable, I am trying to manually Edit the pom file (not via the
Form based, i.e in the pom.xml). When I ever I comment out a
dependency, it clobbers my <properties> element and then the eclipse
does not have it in its undo buffer L.
Mohan, first of all allow me to thank you for trying out not announced
dev build and also for a colorful problem description. I especially
admire parts about "clobbers <properties> element" and "wreaking havoc". :-)
Unfortunately such description does not help us much to investigate what
is happening in your environment, leaving too much to guess. Please be
little more systematic, e.g. provide step by step instructions what you
did and then describe in enough details what you see and what you
expected to see. Also please check Eclipse error log if there is any
error related to your issue. The following wiki page also providing some
additional tips about reporting issues
http://docs.codehaus.org/display/M2ECLIPSE/Reporting+Issues
Also, is there a way to disable the triggering of builds when editing
POM files? Right now, I can do it by disabling Dependency Management
but then if I have a lot of m2 projects in the workspace that depends
on it, it triggers a whole build!
You can disable "build automatically" in Eclipse, but pom changes are
still going to trigger updating dependencies for the project, basically
we don't know if pom changes would change dependencies or not, so we
have to refresh them on any change. I suppose we could change that and
if you are interested to be able to turn off automatic updates, please
submit an enhancement request into the project issue tracking system at
http://jira.codehaus.org/browse/MNGECLIPSE
On the other hand I wonder how long does it take in your workspace to
update dependencies? Do you have many snapshot dependencies in your project?
Anyways, I tried searching is there anyway I can get the October
21,2008 dev build from somewhere?
Unfortunately we don't maintain an archive for the dev builds, but you
should be able to use Eclipse update manager functionality to roll back
your environment to one of the previous configurations.
Also, in my recollection there wasn't any changes in the pom editor
between previous and this dev build.
regards,
Eugene
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email