cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aadamc...@apache.org
Subject [1/3] cayenne git commit: re change tracker bug
Date Wed, 20 Apr 2016 08:32:09 GMT
Repository: cayenne
Updated Branches:
  refs/heads/master 60bb7614d -> 1223c5423


re change tracker bug


Project: http://git-wip-us.apache.org/repos/asf/cayenne/repo
Commit: http://git-wip-us.apache.org/repos/asf/cayenne/commit/f1dff680
Tree: http://git-wip-us.apache.org/repos/asf/cayenne/tree/f1dff680
Diff: http://git-wip-us.apache.org/repos/asf/cayenne/diff/f1dff680

Branch: refs/heads/master
Commit: f1dff680220998109ce897ead73ba01d3184b2b9
Parents: 5043d7b
Author: olga <ollybondareva@gmail.com>
Authored: Thu Apr 14 17:46:15 2016 +0300
Committer: olga <ollybondareva@gmail.com>
Committed: Fri Apr 15 18:11:21 2016 +0300

----------------------------------------------------------------------
 .../org/apache/cayenne/modeler/ProjectFileChangeTracker.java   | 6 ++++++
 1 file changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cayenne/blob/f1dff680/modeler/cayenne-modeler/src/main/java/org/apache/cayenne/modeler/ProjectFileChangeTracker.java
----------------------------------------------------------------------
diff --git a/modeler/cayenne-modeler/src/main/java/org/apache/cayenne/modeler/ProjectFileChangeTracker.java
b/modeler/cayenne-modeler/src/main/java/org/apache/cayenne/modeler/ProjectFileChangeTracker.java
index bbb8e74..20bb12b 100644
--- a/modeler/cayenne-modeler/src/main/java/org/apache/cayenne/modeler/ProjectFileChangeTracker.java
+++ b/modeler/cayenne-modeler/src/main/java/org/apache/cayenne/modeler/ProjectFileChangeTracker.java
@@ -84,6 +84,12 @@ public class ProjectFileChangeTracker extends Thread {
             while (it.hasNext()) {
                 DataMap dm = it.next();
                 addFile(dm.getConfigurationSource().getURL().getPath());
+
+                if (dm.getReverseEngineering() != null) {
+                    if (dm.getReverseEngineering().getConfigurationSource() != null) {
+                        addFile(dm.getReverseEngineering().getConfigurationSource().getURL().getPath());
+                    }
+                }
             }
 
         }


Mime
View raw message