Branch: refs/heads/master
Home:
https://github.com/Teiid-Designer/teiid-designer
Commit: 0067e5f086fa97ed7fcbeb5f5b0b5f8c252e14af
https://github.com/Teiid-Designer/teiid-designer/commit/0067e5f086fa97ed7...
Author: Paul Richardson <p.g.richardson(a)redhat.com>
Date: 2013-10-25 (Fri, 25 Oct 2013)
Changed paths:
M plugins/org.teiid.designer.modeshape/pom.xml
Log Message:
-----------
TEIIDDES-1896: upgrades modeshape plugin to 3.6
* Upgrades the modeshape bits to 3.6.Final
Commit: 0f631c41297f70be439062c95a1be2628773686f
https://github.com/Teiid-Designer/teiid-designer/commit/0f631c41297f70be4...
Author: Paul Richardson <p.g.richardson(a)redhat.com>
Date: 2013-10-25 (Fri, 25 Oct 2013)
Changed paths:
M
plugins/org.teiid.designer.core/src/org/teiid/designer/core/workspace/WorkspaceResourceFinderUtil.java
Log Message:
-----------
Fixes regression from 301b01b
* FileNameResourceCollectorVisitor
* Refactoring commit 301b01b changed the filter.accept logic and return
statement values. As such, the visitor failed to recurse any further
into projects and folders.
Commit: c1db86988c0eab9f12c7890bae09d62e91840c4a
https://github.com/Teiid-Designer/teiid-designer/commit/c1db86988c0eab9f1...
Author: Paul Richardson <p.g.richardson(a)redhat.com>
Date: 2013-10-25 (Fri, 25 Oct 2013)
Changed paths:
M
plugins/org.teiid.designer.core/src/org/teiid/designer/core/refactor/RelatedResourceFinder.java
M
plugins/org.teiid.designer.ui/src/org/teiid/designer/ui/refactor/AbstractResourcesRefactoring.java
M
plugins/org.teiid.designer.ui/src/org/teiid/designer/ui/refactor/RefactorResourcesUtils.java
M
plugins/org.teiid.designer.ui/src/org/teiid/designer/ui/refactor/rename/RenameResourceRefactoring.java
M plugins/org.teiid.designer.vdb/src/org/teiid/designer/vdb/VdbUtil.java
M plugins/org.teiid.designer.vdb/src/org/teiid/designer/vdb/i18n.properties
M
plugins/org.teiid.designer.vdb/src/org/teiid/designer/vdb/refactor/VdbResourceChange.java
Log Message:
-----------
Fixes errors in synchronising vdbs during a rename refactoring
* RelatedResourceFinder
* findDependentResources fails to include members of a resource that is a
container. The members of a project or folder are by definition dependent
on their parent container for their existence hence should be included.
* RefactorResourceUtils
* calculateTextChanges should not add an edit to the returning text change
object if the source change is in fact identical to the target change.
* VdbUtil
* Incorrectly assumes that all model resources to find in a project have
the xmi extension, which is not the case for xsd files.
* RenameResourceRefactoring
* Since changing calculateTextChanges above, addTextChange would not return
false if renaming a project or folder. Thus, its important to still
calculate related vdb resources since the renaming of either a project or
folder would affect the resources' paths contained in a vdb.
* The indexing of a vdb change originally adds a rubbish old/new resource
path, which thankfully were not being used. However, now they are being
used and more importantly are now correct.
* Corrects the name of the rename job.
* AbstractResourcesRefactoring
* VdbResourceChange
* Avoid holding the vdbfile as a field in the resource change. This is
necessary as the file becomes invalid if a parent, such as the project
or parent folder, are renamed.
* Since a vdb cannot be created more than once in the same folder, the
parent folder name and vdb name can be considered a unique key.
* When processing the vdb resource change, find the vdb according to its
project, parent folder and vdb name.
* The project and parent folder names are correct UNLESS one of then is
being renamed. In which case we use the replacements set to find the
new values.
Compare:
https://github.com/Teiid-Designer/teiid-designer/compare/a418fd488f3b...c...