You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Eugene Kuleshov (JIRA)" <ji...@codehaus.org> on 2006/01/06 16:54:31 UTC
[jira] Commented: (MNGECLIPSE-27) Problems editing pom.xml by hand
[ http://jira.codehaus.org/browse/MNGECLIPSE-27?page=comments#action_55094 ]
Eugene Kuleshov commented on MNGECLIPSE-27:
-------------------------------------------
Can you please clarify if Maven2Builder.build() is being called on every save or there are some other events that kick it?
> Problems editing pom.xml by hand
> --------------------------------
>
> Key: MNGECLIPSE-27
> URL: http://jira.codehaus.org/browse/MNGECLIPSE-27
> Project: Maven 2.x Plug-in for Eclipse
> Type: Bug
> Environment: WIN2K, Eclipse3.1, m2eclipse 0.0.3 (rev8 2006-01-03), maven-embedder-2.0.1-dep.jar
> Reporter: Roland Klein
> Assignee: Eugene Kuleshov
>
>
> If you edit pom.xml by hand, then several calls to Maven2Builder.build() take place. And in this method the call to Maven2Plugin.getDefault().resolveClasspathEntries() after the first time return an empty entries array.
> - i inserted in Maven2Plugin:360 a call to resetMavenEmbedder(); This is not the preserving resources and maybe there is better way to tell MavenEmbedder to reset, because the call resetMavenEmbedder() results in instatiating a new MavenEmbedder ;-(
> - now everytime a call to Maven2Builder.build() suceeds and the entries array is filled up correctly,
> but in the eclipse package explorer the libs are shown directly under the project and not under the
> ClasspathContainer and no description of the Container is shown. The build suceeds too and all
> dependencies are resolved correctly. If i close the project and the second instance of eclipse and
> then reopen both, everything works fine classpathEntries are shown under ClasspathContainer and so on. Any ideas?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org