-
Notifications
You must be signed in to change notification settings - Fork 171
Liferay environment: how to get current senna version? #214
Comments
hey @caneta , In the javascript console try to access senna via:
|
Ok, I know that, but I want to get senna version.
Otherwise tell me where to look inside the portal to get that string. |
Hey @caneta, I don't think we have a runtime way to get it right now... the closest way is the It is semver-like, but we're always updating to the correct version and shrinkwrapping, so the one seen there should be the one in your portal installation. |
Hi @jbalsas, my problem is that I have a Liferay 7 CE GA3 without sources.
Probably this is not the correct place to look for...Have I to download sources of GA3 in order to get that information? ---- Edit ---- In the GA3 sources I get the same package.json as reported above. |
Mmm... in GA3 that info might be in the In any case, we can try to do something similar to what we did in |
Yes, @jbalsas you're right: in sources of GA3, inside modules/apps/foundation/frontend-js/frontend-js-spa-web/build.gradle, we have A feature like the one for the AMD loader would be great! In my opinion such a feature is fundamental for every frontend tool, not only for the AMD loader or senna.js but it could be very helpful for Lexicon and metal.js as well, for example. This because I'm always struggling on different Liferay instances, CE and DXP, wondering wich tool I'm working with: knowing it in a simple manner like the one implemented for the Loader will be a great improvement to my daily work. For example, uderstanding that a bug is due to an older version of a tool could lead me to patch the portal with the latest version until the next fixpack/CE release which includes it. Thank you |
On Liferay 7.1, you can use |
Hello everyone!
I have a simple question: having a Liferay 7 environment up and run, is there a way to get the version of senna used by the portal?
Maybe with some function call in the JavaScript console of the browser, or looking inside the OSGi module that contains the library?
Thank you
The text was updated successfully, but these errors were encountered: