The release of Smallworld 5.0 (SWV) is a game changer for Smallworld and the community. This introduces a whole new realm. GE has combined the power & flexibility of Magik with the wide spread talent pool & existing functionality of Java. However this is a dramatic change to how things are done with Smallworld including, but not limited to, builds, 3rd Party deliveries, Java Interfaces, and more!
Please include your thoughts, experiences, and tricks here for the community to quickly come up to speed with SWV!
The install is done thru a JAR file delivered in the ISO file. You run it by double clicking the JAR file or using "java -jar <product>_installer.jar"
Help for 5.0 is only available online with user/password… Kind of good in that it may be kept up to date.. Very bad that you need internet connectivity to access help… Hopefully they will offer a download or something…
The link to 5.0 help is: https://smallworld.gedigitalenergy.com/docs/en/swDocs5.htm
Class Documentaion that was in the form of CHM files in pre 5 release are no longer available. There is a Enhancement request (CBG00160330) that may re-introduce the documentation somewhere. You can see the class notes (the ## comments before the exemplar definition in Magik files) using the class browser in Emacs. With the *cb* buffer active, you can position your cursor on the class of interest. You will need to open the Family Tree (CB->Family Tree or f3-f), confirm in mini-buffer. This shows the ancestry and hierarchy of the class. The class documentation is at the bottom.
We have run into an issue with Smallworld 5/Java on a windows 7 virtual machine. When starting Smallworld, the application manager is all distorted and unusable. We have tracked it down to a java issue, but still have no solution. A way to test for correct colors is to open the about Java screen. You can do this from the Smallworld JRE:
sw510\core\jre\x64\bin\javacpl.exe -tab about
A solution to this was to up the VM capabilities to 32 bit color. You will need to select 32bit color when connecting thru remote desktop.
This link provides additional information for Smallworld 5 Upgrades
BOLOs are upgrade tidbits that may cause problems in SWV that wasn't seen in previous versions
This link provides information for Smallworld 5 Configurations.
This link provides additional information for Smallworld 5 builds
There is a new concept of Database Contexts(? please correct if different terminology) that save the exemplar and join information that used to be save in the open images.
<NEED TO ADD MORE HERE, ANYONE?>
The Eclipsed based MDT is the recommended IDE by GE.
But you can still use Emacs.
There is no more profiling tools delivered in SW5 (xprf in 4.x). A suggested profiling tool is Java VisualVM.
3rd Party Deliverables
From what I understand 3rd Party Vendors will be delivering JAR files now… <HOW DO WE CREATE JARS?> <WHAT ABOUT RESOURCES?>
Reciprocal Calls Magik from/to Java
There is now a way to call Magik code directly from Java, and I believe Java code directly from Magik. Gone is the requirement of ACPs for Magik-Java functionality! <NEED EXAMPLES OF THIS HERE>
One thing I know of is the fact magik methods can support camel case by using '|' The following is an example, though not 100% positive on the arguments…
_method an_exemplar.|camelCaseMethod|(_gather args)
Viewing JavaDoc JAR Files
Firefox supports opening JavaDoc JAR files with the need to decompress them.. Use the following example in a BAT file next to your javadoc.jar. Don't forget the '!/' at the end!
"C:\Program Files (x86)\Mozilla Firefox\firefox.exe" jar:file:///%~dp0sanselan-0.97-incubator-javadoc.jar!/index.html