Find versions of SAP Hybris's dependencies - sap-commerce-cloud

I'm working with Hybris 1810. I want to know the version of Spring, JUnit, Mockito. Where can I find them?
Thanks

Most of the libraries are in the core extension: hybris/bin/platform/ext/core/lib.
You can also use find command to find them:
find <hyrbis-dir> -name "spring*.jar"
find <hyrbis-dir> -name "junit*.jar"
find <hyrbis-dir> -name "mockito*.jar"

Related

Electron — Can't get custom icon to appear

I'm having an issue setting the icon for my Electron app in two different ways:
Non-Packaged (Running the app via terminal)
My main.js does specify an 'icon' value, pointing to the icon file, but it does not apply.
Packaged (with electron-packager)
My package.json file specifies the 'icon' key, pointing to the icon file, and I have the .icns (Mac) file in the build directory. I used electron-packager to build the app, but the icon is not applied, the default electron icon is used instead.
Not sure what I'm doing wrong here, everything appears correct.
If you mean the icon on the dock, on MAC can should use:
const app = electron.app;
const image = electron.nativeImage.createFromPath(
app.getAppPath() + "/public/YOUR_APP_IMAGE_NAME"
);
app.dock.setIcon(image);
There is a good tutorial here:
https://www.christianengvall.se/electron-app-icons/
Follow the steps but make sure you don't skip anything.
This is also a relevant issue on GitHub:
https://github.com/electron-userland/electron-builder/issues/289
More links here:
https://discuss.atom.io/t/changing-electron-app-icon-and-information/18631
If you come across this issue on Mac OS, it may be the icon cache that is messing things up. It was the case for me. I used the following command to clear it :
sudo rm -rfv /Library/Caches/com.apple.iconservices.store; sudo find /private/var/folders/ \( -name com.apple.dock.iconcache -or -name com.apple.iconservices \) -exec rm -rfv {} \; ; sleep 3;sudo touch /Applications/* ; killall Dock; killall Finder
Then I built the app again and this time it I had the icon I specified with electron-packager.
You can add this script to package.json and it works perfectly fine. Mostly its because of the path issues.
"package-mac": "electron-packager . --overwrite --platform=darwin --arch=x64 --icon=assets/icons/mac/icon.icns --prune=true --out=release-builds",

Error in running a binary file on ubuntu terminal

AM trying to run a binary file on ubuntu terminal but getting following error
cant find trained object detector file "object_detector.svm."
Well, obviously this file is missing or the program you are running can not locate it. What I will do:
First check if the file really exists:
find . -name 'object_detector.svm'
or you can try to locate at any other folder. On the extreme search everything as root:
find / -name 'object_detector.svm'
Also, if you have the source code and not only the binaries, then you can try to locate where this file is calling from. Maybe it's a misconfiguration and you can fix it editing the congig files (if there are any). Try
grep -R 'object_detector.svm'
If you are lucky enough maybe you spot it.
More data from your side needed for further help.

how to find the position of a library by name on a remote computer

I am a newbie to the linux system. I am using a remote computer to do computing for my research. When it turns to compile my fortran code, I find that I do not know how to find the position of a library on the computer. For this instance I need to access to MKL and fftw, but I am using a pgi version of mpif90 compiler. In my impression this can be done by some command like "find -name ..." But I do not remember the details. Anyone can help? Thanks in advance.
find / -name <fileName>
will find from root path, you can change / to whatever directory you are trying to find from.
In your case, if you want to find if a lib is installed in your system:
locate <libName>
whereis could do it too.i.e:
whereis fftw

Usual methods to get rid of all caps menu on Visual Studio Express 2012 have failed. Please advise

I've been trying to get rid of the all caps menu in VS express for desktop but to no avail. I've tried the usual registry hack by putting this into powershell
Set-ItemProperty -Path HKCU:\Software\Microsoft\VisualStudio\11.0\General -Name SuppressUppercaseConversion -Type DWord -Value 1
But there is no General folder contained in the 11.0 folder, so that option fails.
I've also tried to install an extension that allows you to turn off all caps
http://visualstudiogallery.msdn.microsoft.com/a83505c6-77b3-44a6-b53b-73d77cba84c8
but that just fails to install with the error VSIXInstaller.NoApplicableSKUsException:...
So. As small a problem as this is, it is really annoying me that I can't do anything about it. Any help would be appreciated.
According to this, the key would be HKCU:\Software\Microsoft\WDExpress\11.0\General.

cygwin & cygcheck

I want to know about cygcheck utility of cygwin. How can I use it to extract all the class hierarchy and dependencies with the help of cygwin?
Thanks !
P.S: Any tutorial that you can point out that shows how to use it for dependencies
http://www.cygwin.com/cygwin-ug-net/using-utils.html
I found this document usefull some time ago

Resources