Files changed unnotified in Eclipse using maven multimodules projects (reactor)

Bug #412600 reported by Hoani CROSS
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar Plugin for Eclipse
Fix Released
Medium
Unassigned

Bug Description

Hi,

I'm using bzr-eclipse for managing an andromda project. I modify my UML model files using my modeling tool, save and export to EMF UML2 (v1.X) XMI as suggested in the andromda tutorial. Looking in a console for bzr status or bzr xmlstatus shows that the files has been changed. In Eclipse, no modification on files are reported, even after refreshing the directory, the project or after restarting eclipse (commit says no file to commit, log report an old log message, status shows... nothing).

I reported the problem on bzr-eclipse 1.1 or 1.1.x (unstable)

I'm using bzr 1.13.1 and xmloutput 0.8.5

Revision history for this message
Hoani CROSS (hoani.cross) wrote :

Here is the files xmlstatus log from console :

<?xml version="1.0" encoding="UTF-8"?>
<status workingtree_root="/home/hcross/projects/oph/devel/oph-root/oph-root-pom/">
 <modified>
  <file fid="uml_standard_profile-20090727013918-oyb29vbvsw5akxr6-46">oph-core/oph-core-mda/mda/src/main/uml/UML_Standard_Profile.MagicDraw_Profile.DSL_Customization.profile.uml2</file>
  <file fid="uml_standard_profile-20090727013918-oyb29vbvsw5akxr6-47">oph-core/oph-core-mda/mda/src/main/uml/UML_Standard_Profile.MagicDraw_Profile.profile.uml2</file>
  <file fid="uml_standard_profile-20090727013918-oyb29vbvsw5akxr6-48">oph-core/oph-core-mda/mda/src/main/uml/UML_Standard_Profile.UML_Standard_Profile.profile.uml2</file>
  <file fid="uml_standard_profile-20090727013918-oyb29vbvsw5akxr6-49">oph-core/oph-core-mda/mda/src/main/uml/UML_Standard_Profile.Validation_Profile.profile.uml2</file>
  <file fid="ophmda.uml2-20090727013918-oyb29vbvsw5akxr6-33">oph-core/oph-core-mda/mda/src/main/uml/oph-mda.uml2</file>
  <file fid="ophmda.xml-20090727013918-oyb29vbvsw5akxr6-34">oph-core/oph-core-mda/mda/src/main/uml/oph-mda.xml</file>
  <file fid="ophmda.xml.bak-20090727013918-oyb29vbvsw5akxr6-36">oph-core/oph-core-mda/mda/src/main/uml/oph-mda.xml.bak</file>
  <file fid="org.andromda.profile-20090727013918-oyb29vbvsw5akxr6-37">oph-core/oph-core-mda/mda/src/main/uml/org.andromda.profile.common.profile.uml2</file>
  <file fid="org.andromda.profile-20090727013918-oyb29vbvsw5akxr6-38">oph-core/oph-core-mda/mda/src/main/uml/org.andromda.profile.messaging.profile.uml2</file>
  <file fid="org.andromda.profile-20090727013918-oyb29vbvsw5akxr6-39">oph-core/oph-core-mda/mda/src/main/uml/org.andromda.profile.meta.profile.uml2</file>
  <file fid="org.andromda.profile-20090727013918-oyb29vbvsw5akxr6-40">oph-core/oph-core-mda/mda/src/main/uml/org.andromda.profile.persistence.profile.uml2</file>
  <file fid="org.andromda.profile-20090727013918-oyb29vbvsw5akxr6-41">oph-core/oph-core-mda/mda/src/main/uml/org.andromda.profile.presentation.profile.uml2</file>
  <file fid="org.andromda.profile-20090727013918-oyb29vbvsw5akxr6-42">oph-core/oph-core-mda/mda/src/main/uml/org.andromda.profile.process.profile.uml2</file>
  <file fid="org.andromda.profile-20090727013918-oyb29vbvsw5akxr6-43">oph-core/oph-core-mda/mda/src/main/uml/org.andromda.profile.service.profile.uml2</file>
  <file fid="org.andromda.profile-20090727013918-oyb29vbvsw5akxr6-44">oph-core/oph-core-mda/mda/src/main/uml/org.andromda.profile.webservice.profile.uml2</file>
  <file fid="org.andromda.profile-20090727013918-oyb29vbvsw5akxr6-45">oph-core/oph-core-mda/mda/src/main/uml/org.andromda.profile.xml.profile.uml2</file>
 </modified>
</status>

Revision history for this message
Hoani CROSS (hoani.cross) wrote :

Last valuable information : my project use maven reactor and is organized as a hierarchy of projects. I import those projects in Eclipse through the function "Import maven projects...". When sharing each projects, I set the project root as the root maven project (done automatically) which is /home/hcross/projects/oph/devel/oph-root/oph-root-pom/ as shown in the previous comment. The problem seem to be related that the bzr root for the current project is NOT the eclipse current root project (here the project root project is /home/hcross/projects/oph/devel/oph-root/oph-root-pom/oph-core/oph-core-mda/mda/).

Showing status for those projects shows NOTHING while showing status for oph-root-pom project properly notify the changes.

tags: added: bzr bzr-eclipse maven multimodules reactor
summary: - Files changed unnotified in Eclipse
+ Files changed unnotified in Eclipse using maven multimodules projects
+ (reactor)
Revision history for this message
Hoani CROSS (hoani.cross) wrote :

I tried to use the project root for bzr-eclipse (after reconnecting bazaar to the project) as the real root for eclipse (/home/hcross/projects/oph/devel/oph-root/oph-root-pom/oph-core/oph-core-mda/mda/) and it DOES NOT solve the problem.

xaav (xaav)
Changed in bzr-eclipse:
status: New → Triaged
Changed in bzr-eclipse:
milestone: none → 1.2.1
Revision history for this message
Piotr Piastucki (piastucki) wrote :

I hope the issue has already been fixed by the changes in refresh handling and improvements in status caching. Please re-test.

Changed in bzr-eclipse:
importance: Undecided → Medium
Revision history for this message
Piotr Piastucki (piastucki) wrote :

Marking as "Fix Committed", please reopen is the issue is still reproducible.

Changed in bzr-eclipse:
status: Triaged → Fix Committed
Changed in bzr-eclipse:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.