Because the space I have available from my internet provider is only 50Mb and because we started experiencing problems when installing due to (I guess) a firewall issue, I needed to look for an alternative for the diagram editor’s Eclipse update site. Bintray offers a lot more space, so that from now on I can publish each new version while retaining the previous ones (the actual update site however only contains the latest version).
Apart from installing through HTTPS instead of HTTP, you shouldn’t notice too many differences when installing the product for the first time via the Eclipse Marketplace Client, nothing has changed in that respect (I hope you don’t have too much trouble because of HTTPS, you might need to talk to your firewall guys or download the archive with your browser).
If you already have installed the diagram editor and you would like to continue to receive updates, you should change the update site in the Eclipse preferences. Look for the update site definition and change the URL from http://users.skynet.be/luc_h/dmlj to https://dl.bintray.com/kozzeluc/dmlj/latest :
If you make this modification and run ‘Help/Check for Updates’, you can update to the new version 3.1.0. The only new feature is the ‘Copy to Clipboard‘ menu item, which lets you copy your entire diagram to your clipboard, allowing you to paste it in the graphics program of your choice (Paint, …). I think this can be of help when cutting up your diagram into several pages (because printing large diagrams is still problematic in the diagram editor).
For now, version 3.0.2 will stay for some time at the old update site URL, but I won’t put any new version there. So you really should change your update site definition.
The installation manual has been updated. You can now download the update site archive from Bintray and stash it on your local file system; this wasn’t possible in the past.
The changes in the new version are :
Bug fix: import from syntax can fail when deriving prefix/suffix.
When similar records were defined, where the name of 1 record was equal to the first characters of another, an internal error occurred.
- Bug fix: Conflicting handlers for org.eclipse.gef.zoom_in/out errors in the log.
This was an issue that has been there for a couple of years in the case where more than diagram is opened, but should be solved now (not that it did any harm).
- Stop virtually locking connection part endpoints.
For connection parts without a source and/or target endpoint, a kind of ‘virtual endpoint’ was set when creating the owner and member records and this endpoint location (an offset to the record figure) never changed. By doing so, it was possible to layout a connection part and get a different layout when closing and reopening the diagram.
- Add Font Size Adjustment feature.
In the Preferences, you can now correct the font size in case you have specified a percentage other than 100 for the text size in their operating system.
Note that all dialogs are made resizable to make it possible for the user to use all controls.
This has only been tested on Windows 7 and 10.
- Go for a POM-less Tycho build and implement the recommended folder structure that is widely used in Eclipse projects.
See this blog article. We’re staying with Maven and thus are not (yet) moving to Gradle as the build tool. The project folder structure has changed dramatically.
- Include the DSL plug-in in the build.
This is the interesting part of the new version. You’ll see that a DSL tab is added in the Properties view for the schema, areas, records and sets. In that tab you can get an impression of what the DSL is all about; think of it as a much shorter way of defining an IDMS schema and its diagram configuration. See my previous blog post. More work on the DSL will follow…
From now on, besides Java code, the Eclipse/DB Schema Diagram Editor contains code that is written in Groovy. This needed some tweaking in the build of course 🙂
The long awaited support for VSAM artifacts is now made available in version 2.0.0. The diagram editor’s data model was modified to support the extra data for records and sets, hence the major version upgrade.
Along the development of the VSAM support feature, a lot of work was put in learning the Groovy programming language (as a result of reading some fine Groovy related books during the last year or so), for writing easier to write and better to maintain test cases (using, eventually, the Spock Test Framework). I even developed a DSL (Domain Specific Language) to make creating test contexts easier as well. Although care has been taken to thoroughly test everything, it is still quite possible that not everything will work for you; if you find yourself in that situation, do NOT hesitate to send me a mail and I will try to fix your problem asap.
So, what else is new in this release ?
- When an error occurs on a schema import, you should now get a more decent error reporting dialog and no longer a tiny empty one. Finding the problem on an import wasn’t always easy until now, so I hope this fix makes life easier.
- In contrast to the CA IDMS documentation, which, for sorted sets, specifies that “No element that redefines another element or is subordinate to an element that redefines another element can be used in the sort control element”, such elements are now allowed in a set’s sort key (this was a problem for one diagram editor user, so apparently this constraint isn’t enforced by the CA IDMS schema compiler and that is the reason I removed this check).
- New tabs in the Properties view :
- VSAM CALC : control the vsam-calc-location-mode-specification clause for VSAM CALC records.
- VSAM Type : control the VSAM TYPE clause for VSAM and VSAM CALC records.
- Index : control the indexed-set-mode-specification clause for indexed sets.
I would have liked to add a tab for records and sets, showing the DSL, but I didn’t manage to build the project with Maven because of the Groovy classes involved. I looked at Gradle and the (don’t laugh) wuff plug-in, and they seem promising, but I guess it would take several weeks to get this under control. So that is something to look out for in the future 🙂
A new version of Eclipse has just been released; it’s called Mars and refers to version 4.5.
You can download it here.
I have installed the diagram editor through the Eclipse Marketplace client and took it for a (very short) spin in Mars. That didn’t cause any problems, so that is (again) good news.
The legacy Ecore Diagram Editor is now definitely gone, so the model diagram will be replaced by a newer version in the future (a .aird file will replace the .ecorediag file in the model plug-in).