[teiid-designer-dev] [Teiid-Designer/teiid-designer] 48d289: TEIIDDES-2120: Stop relocating xsd files

Paul Richardson p.g.richardson at redhat.com
Thu Jun 12 08:16:37 EDT 2014


  Branch: refs/heads/TEIIDDES-2120
  Home:   https://github.com/Teiid-Designer/teiid-designer
  Commit: 48d2893aafd442f6bb0cd6ddb0526fe08b121d21
      https://github.com/Teiid-Designer/teiid-designer/commit/48d2893aafd442f6bb0cd6ddb0526fe08b121d21
  Author: Paul Richardson <p.g.richardson at redhat.com>
  Date:   2014-06-11 (Wed, 11 Jun 2014)

  Changed paths:
    M plugins/org.teiid.core.designer/src/org/teiid/core/designer/util/FileUtil.java
    A plugins/org.teiid.core.designer/src/org/teiid/core/designer/util/mime.types
    M plugins/org.teiid.designer.core/src/org/teiid/designer/core/util/VdbHelper.java
    M plugins/org.teiid.designer.ui/src/org/teiid/designer/ui/properties/extension/ChooseVdbFileFromWorkspaceDialog.java
    A plugins/org.teiid.designer.vdb.ui/icons/full/ctool16/add-schema.png
    A plugins/org.teiid.designer.vdb.ui/icons/full/ctool16/remove-schema.png
    M plugins/org.teiid.designer.vdb.ui/src/org/teiid/designer/vdb/ui/Messages.java
    M plugins/org.teiid.designer.vdb.ui/src/org/teiid/designer/vdb/ui/VdbUiConstants.java
    M plugins/org.teiid.designer.vdb.ui/src/org/teiid/designer/vdb/ui/build/VdbMigrateXsdFilesMarkerResolution.java
    M plugins/org.teiid.designer.vdb.ui/src/org/teiid/designer/vdb/ui/editor/VdbEditor.java
    M plugins/org.teiid.designer.vdb.ui/src/org/teiid/designer/vdb/ui/editor/panels/ModelDetailsPanel.java
    M plugins/org.teiid.designer.vdb.ui/src/org/teiid/designer/vdb/ui/i18n.properties
    M plugins/org.teiid.designer.vdb.ui/src/org/teiid/designer/vdb/ui/messages.properties
    M plugins/org.teiid.designer.vdb/src/org/teiid/designer/vdb/Vdb.java
    M plugins/org.teiid.designer.vdb/src/org/teiid/designer/vdb/VdbEntry.java
    M plugins/org.teiid.designer.vdb/src/org/teiid/designer/vdb/VdbFileEntry.java
    A plugins/org.teiid.designer.vdb/src/org/teiid/designer/vdb/VdbIndexedEntry.java
    M plugins/org.teiid.designer.vdb/src/org/teiid/designer/vdb/VdbModelEntry.java
    A plugins/org.teiid.designer.vdb/src/org/teiid/designer/vdb/VdbSchemaEntry.java
    M plugins/org.teiid.designer.vdb/src/org/teiid/designer/vdb/manifest/EntryElement.java
    M plugins/org.teiid.designer.vdb/src/org/teiid/designer/vdb/manifest/ModelElement.java
    M plugins/org.teiid.designer.vdb/src/org/teiid/designer/vdb/manifest/ProblemElement.java
    A tests/org.teiid.designer.core.test.framework/src/org/teiid/designer/core/workspace/MockFileBuilder.java

  Log Message:
  -----------
  TEIIDDES-2120: Stop relocating xsd files

* FileUtil
* mime.types
 * Function for guessing the file type of a file

* VdbMigrateXsdFilesMarkerResolution
 * No need to migrate xsd files anymore. Just need to open the vdb and
   resave it in order to fix a vdb

* VdbEditor
 * Adds a tab panel for displaying schema files since they are now
   separate from both the models and other files

* Vdb
 * Splits the entries into 3 sets, file, udf jar and schema
 * Automatically detect whether xsds are contained in the model entries of
   the vdb manifest or entries and deal with them separately.
 * This essentially fixes a vdb if it is the 'old' type
 * No longer need migrate method since the xsd files are not actually
   being relocated.

* VdbEntry
 * If the file has no contents and a null stream is produced then return
   -1 for the checksum rather than allowing a NPE

* VdbIndexedEntry
 * Abstract parent class for both VdbModelEntry and VdbSchemaEntry that
   is concerned with managing the indexes of these types of entry

* VdbSchemaEntry
 * Own class explicitly for schemas delineating from both model and file
   entries.




More information about the teiid-designer-dev mailing list