Use older versions of libraries on Dymola 2022 - modelica

I'd like to use some new features of Dymola 2022, but the commercial library I use runs on Modelica Standard Library 3.2.3(MSL), so I have to replace the Design Library, Optimization Library, etc. with the older version. In the document of Dymola 2022, it gives information about using an older version of MSL, but not the other libraries. My question is:
Is it compatible between Dymola 2022 and the older version of all these libraries?

I have not tried in Dymola 2022, but in Dymola 2021x it was possible to still use MSL 3.2.3 by doing these steps:
Copy the 3.2.3 version of MSL and other libraries from either the .zip installer or from an older Dymola installation to "C:\Program Files\Dymola 2021x\Modelica\Library" or 2022 instead of 2021x.
Change the setting in Dymola as shown below.
If this does not work, please contact your Dymola reseller, they can probably help to get MSL3 running also in Dymola 2022.
As discussed in the comments, parts of TPL are encrypted, so unfortunately you cannot run the conversion script yourself. The next release of TPL is expected in January 2022 and will be based on MSL4 (all Modelon commercial libraries will be based on MSL4 only). If it is urgent to update to MSL4 you can request an alpha version based on MSL4 today, but Modelon is only giving limited support for intermediate versions. Official releases see extended testing. If you are interested, please contact support#modelon.com

Alternatively, you can update your commercial libraries to MSL 4.0.0 and save the converted libraries to a new location. Dymola usually suggests the conversion when you load the libraries.

Related

Installing older version of AnyLogic or downgrading AnyLogic

The newest AnyLogic version is not supported by my current AnyLogic license. The license only supports up to 8.3.3. However, I do wish to install AnyLogic on another computer and activate it with my license. However, surprisingly I could not find downloads of earlier AnyLogic versions. Does anyone know if and where I can find these earlier versions, and whether I perhaps can downgrade a newer AnyLogic version?
https://www.anylogic.com/files/anylogic-professional-8.3.3.exe
For any version, just put the version you want and you will likely be able to download it
if using mac:
https://www.anylogic.com/files/anylogic-professional-8.3.3.dmg
In addition to Felipe's answer, you can always ask
support#anylogic.com
if you need very old versions. I believe that AL7.x is not available online anymore but they happily send the installers if you need them.

Evaluation Copy of InstallShield and Version Control

My employer currently has access to a singular InstallShield 2016 Professional key. They're looking at upgrading to 2018 Premier and getting a second license, but want me to test out 2018 Premier by working with our actual installer. All of our installer files are checked into version control with the rest of our project.
According to Flexera's documentation, an evaluation copy of InstallShield implements a time limit for running setups produced by it. Makes sense - they don't want you creating your installer in the 21 day limit and then never buying the product.
If I'm careful not to implement anything specific to 2018 or Premier, will checking in anything I create and having it re-built on the machine with the full license avoid triggering this restriction? There are concerns that using the evaluation copy of 2018 Premier in an actual working environment will ruin what's already checked into version control and implement a five-day limit for our installer.
Note: We do plan on using the evaluation copy only as an evaluation. The trial period will be to determine how much more efficient it is to have two devs working on the installer, as well as to figure out if upgrading to Premier is worth the cost. We may or may not end up purchasing a second license at the end of the trial.
The expiration is built based on either the project requesting it, or the use of an evaluation copy of InstallShield for the build. So merely opening and saving the project with an evaluation copy will not mark a project as an evaluation. Nor will making and saving changes.
However, opening and saving a project in a newer version of InstallShield will upgrade the project, rendering it unusable (and thus unbuildable) in the older version of InstallShield. The Professional and Premier editions of the same version are generally compatible, but opening a project in the Professional edition may disable various features that were enabled in the Premier edition, even if you don't attempt to alter them.
Source control should make it easy to undo any project changes that interfere with your builds.

check if dll is an implementation of pkcs11 version 2.20

I want to check that a dll is an implementation of pkcs11 version 2.20 or other version. So I find what are difference between pkcs11 version 2.20 and others (specialy version 2.30). Could you give me some suggest?
Thanks in advance!
As per this link
Version 2.30 This is the draft of the v2.30 version of the standard. The RSA PKCS#11 development process did not move this beyond
draft despite the 30 day public final draft review ending 28-Oct-2009.
Many vendors have adopted various portions of the draft version.
This version is the basis of the v2.40 OASIS standard version.
Version 2.20 Published 28 June 2004 this is the most widely used version of the PKCS#11 standard. Most supporting vendors have versions
with various vendor-specific extensions based on v2.20.
And regarding the version, you can use the CK_VERSION to find out the PKCS#11 Implementation version, more [here].

Java 8 support in GWT

This seems like a very basic question, but I searched high and low and have found almost no mention of it anywhere. So, I'll ask it here here.
What is the current plan for supporting Java 8's new language constructs in GWT?
In addition, what subset of the proposed Java 8 libraries are slated for client-side emulation? The Stream API? The new Date/Time API?
And finally, where are the discussions relating this important topic taking place? I'm sure there are many of us who would like to participate in, and potentially contribute to, the effort.
The Java 8 betas have been around for a while now, and there are numerous articles discussing the proposed APIs. It is supposed to be related later this year, so it seems past time to at least be discussing how and when the much-desired language features will make their way into GWT.
My apologies if this question is answered somewhere else, or if I missed some important piece of information related to it. This would be a great place to have a link to such information, even if it has been answered. Thanks!
EDIT GWT 2.8.0 was released on Oct 20, 2016 with support for Java 8 language constructs (lambdas, method references) and emulation of some Java 8 APIs (streams mostly)
EDIT as of Apr 2014, GWT 2.6 supports Java 7, and work is underway to support Java 8 in GWT 2.7, to be released by the summer 2014. GWT 2.7 is likely to only support Java 8 language constructs though, and not emulate any new API (streams, javax.time, etc.)
The plan is to first support Java 7: https://github.com/gwtproject/gwt/labels/java7
This involves updating JDT, and this is being worked on (or alternatively, switch to something else entirely; JetBrains proposed using their parser which already supports Java 8, but GWT also needs a compiler and I don't know what they provide exactly). The next steps are to map new language constructs to JavaScript (strings-in-switch come to mind, as they could directly map to JavaScript without the hashCode-based desugaring that a Java compiler would be doing).
As long as GWT uses JDT for its Java parsing/munging/compiling, Java 8 can only be supported when JDT will support it (at an acceptable level, which is not yet the case AFAICT).
Time to update the answer.
UPDATE (May 13, 2020)
GWT 2.9.0 finally here. Release notes
Able to compile projects with jsinterop-base 1.0.0, elemental2 1.0.0, and jsinterop-annotations 2.0.0. With the exception of #JsAsync and #JsEnum, this brings GWT2 to be compatible across these tools with J2CL.
Added support for Java language levels 9, 10, and 11.
Officially, support is dropped for running the GWT compiler or server-side tooling on Java 7. The GWT distribution is still compiled to run on Java 7 for this release, but no guarantees are made about whether or not this will work. Future versions will compile bytecode for Java 8+. The release was tested and found to work cross platform when run with Java 8, 11, and 14.
UPDATE (October 2017)
GWT 2.8.2 available here. Release notes.
UPDATE (June 2017)
Official GWT 2.8.1 download location.
Release Notes for 2.8.1
UPDATE (October 2016)
GWT 2.8.0 is finally here!
The GWT team has released the 2.8.0 tag on Github. The official GWT website has not been updated yet, but a pull request for the changes on GWT's website is ready and in review process. So very very soon the compiled version will be available for download!
Available for download
UPDATE (September 2016)
Meanwhile, team GWT has tagged GWT 2.8.0 RC3 on GitHub mirror.
The GWT team (Daniel Kurka) has released the GWT 2.8.0 (RC2) version here.
The release notes are available for 2.8.0 (RC2):
Bug fixes
Fix incorrect unusable-by-js warning.
Fix an issue around DevMode server (jetty) restart.
Fix an issue in super dev mode with changing compiler options not triggering full recompiles.
Added missing command line parameters to DevMode entry point
Fixed a performance regression in String.
The release notes from RC1 are available on official website. Here are the most important changes regarding Java 8 support in the upcoming GWT 2.8.0:
Highlights
Partial support for Java 8 standard library APIs (see below for full list).
Fix memory leak with Java 8 compilation.
Source level set to Java 8.
Static and default methods in interfaces aren’t visible to generators. If you want to take advantage of those Java-8isms, you’re encouraged to switch to an annotation processor. This could break existing build if an interface is changed to turn a non-default method into a default method.
JDK 8 emulation support
Emulate java.io.UncheckedIOException.
Emulate Optional and its int, long, double variants.
Emulate Objects.requireNonNull() with message Supplier.
Fix Math.min/max(float/double) emulation behavior.
Emulate Character.isBmpCodePoint().
Emulate CharSequence.chars().
Emulate java.lang.SecurityException.
Emulate Java 8 API of
java.util.Arrays,
java.util.ArrayDeque,
java.math.BigInteger,
java.util.BitSet,
java.util.Comparator,
java.util.function,
java.util.Iterator,
java.lang.Iterable,
java.util.IntSummaryStatistics/LongSummaryStatistics/DoubleSummaryStatistics
java.util.Collection/Lists/Queues,
java.util.Map,
java.util.logging.Logger,
java.util.PrimitiveIterator,
java.util.Spliterator,
java.util.stream,
java.util.StringJoiner
The GWT 2.8.0 RC2 still has some issues, which the GWT team is expected to fix soon. The final release should be coming out soon ("as soon as it is ready").

Which is latest Business Desktop Deployment version?

I used Business Desktop Deployment (BDD) to build my project. Scripts are written in python. The BDD I am having doesn't support Visual Studio 2008.
Please tell me what is the latest version of BDD which supports VS2008
where I can get more info about Business Desktop Deployment?
BDD is a mini-methodology related to acceptance testing and TDD (it does stuff higher up, but this is probably what you're doing).
From your question, it looks like you've been writing BDD scenarios or unit examples in Python. Visual Studio isn't a great tool for writing Python in. If you want to carry on in Python, try Vim, or you might be able to get a Python plugin for Eclipse or IntelliJ.
If you want to use Visual Studio to program, use C# or F#. There are a couple of great BDD frameworks - SpecFlow or TickSpec - which can help you.
More information, including a list of tools, is available on the Wikipedia page on BDD.
Otherwise, please clarify your problem. It doesn't make huge sense in its current form!
Edit: Well, I learn something new every day. BDD also stands for "Business Desktop Deployment", and is a Microsoft product. Here's a page with an update suggesting you should use Microsoft Development Toolkit. Hope that points you in the right direction. I imagine the tool we've been using, click-once, does something similar.
You should probably know that few people seem to recognise BDD as meaning anything other than Behaviour Driven Development in software these days. I've heard Binary Decision Diagram as well; not often though. Good luck in your search.
There's an article here that might help you with Business Desktop Deployment (BDD) versions. It's dated March 2009 and says:
Microsoft Deployment Toolkit 2008 Update 1 replaces all prior versions of MDT and BDD. It provides additional support for new OS versions and deployment scenarios and is the upgrade path for users of earlier versions.
The article points to the MDT 2010 download page.