Fortifyclient command to create version - fortify

I have Fortify SCA on my machine and i am trying to create a version in a project using command line.
Can anyone tell me fortifyclient command to create version in a project.

The API of SSC version 3.60 does not support project creation. You can only do it with GUI.

Related

Create a Jetpack Compose Project with the latest stable release LTS

when I create a Jetpack Compose project on Android Studio it is created with compose_version = '1.1.0-beta01' which of course limits the features I can use.
I can't find a GUI way to create the project in a later LTS stable release, and changing the already existing project gives me tons of errors. Maybe I could create the project through the command line, but don't want to as JetBrains project creation scripts are great.
Thanks.

mdtool creates IPA file when using release but not when using debug configuration

I want to create an IPA file for both the release and debug for my app created in xamarin. I created the release IPA file with the following command in Bamboo:
-v build -t:Build "-c:Release|iPhone" CustomerApp.sln
This can be replicated on the terminal too by doing this:
/path-to-/mdtool -v build -t:Build "-c:Release|iPhone" CustomerApp.sln
But when I try to use the "-c:Debug|iPhone" this will not create the ipa file, when trying to use the terminal or Bamboo. I then tried different configurations like "-c:Release|iPhoneSimulator", "-c:Debug|iPhoneSimulator", "-c:Ad Hoc|iPhone" and "-c:Debug|iPhoneSimulator" but all of these will not create the IPA file. Why is this?
I know that the path to mdtool and the solution are fine because it works for the Release IPA but is it to do with the configuration in either Xamarin or Xcode?
If you are on the same Mac as the one you are running Xamarin Studio, it should mimic the provisioning profile setup you have in the IDE. If the build in Xamarin Studio builds with that combination with no drop down change on the main project, I would expect the mdtool to work. Note that now in Visual Studio 2017 for Mac it will be vstool under the /Applications/Visual Studio.app folder.
My build line looks like this:
/Applications/Visual\ Studio.app/Contents/MacOS/vstool --verbose build --f --target:Build --configuration:"Debug|iPhone" --buildfile:my.sln > $BuildResults
Update January 2019, I have found very little guidance on the web about what exactly vstool can do and how to use it. I believe it to be the Microsoft version of the mdtool, which is part of the Monodevelop project at Github (mono/monodevelop). The mdtool source code is under monodevelop/main/src/tools folder. It appears to be a runner for a variety of tools available in the Monodevelop / Visual Studio installation. Running
/Applications/Visual\ Studio.app/Contents/MacOS/vstool -q
will list out the available tools. There is also a man page as part of the Monodevelop build process, at monodevelop/main/man which provides a bit more enlightenment. I was shown how to use the specific command by someone who was very familiar with the project.

SalesForce: How to automate managed package installation in Continuous Integration

I have successfully set up continuous integration process using TeamCity for non-SalesForce projects, but need help with automating SalesFoce manage packages installation.
To migrate metadata from source to target org, I used ant migration tool, but how to do in case of managed packages?
Questions:
How will TeamCity know that the new package has been created? I may watch the changes in source code tool, but not in the cloud where the created package is stored.
How to get the latest version of the package from the cloud? I need to compare the versions of the packages: the installed one and the new one
How to install the package?
Please help.
I checked SF documentation and found that SF API provides ability to install, upgrade and uninstall Managed Packages. Also it provides ability to run some Apex code after these actions. I think, you need to move in this way. Here is related documentation.

ios plugin template (Smartface)

Where do you add the CLI command to create an iOS plugin template in ios.
I checked on the Developing iOS Plugin Guide however it doesn't specifically say where the command should be run in.
You should install CLI tool and run CLI command in this tool.
That guide will help you to install tool : https://www.smartface.io/developer/guides/project/clitool/

How to build the Java wrapper for OpenCV 3.0?

I am using OpenCV 3.0 in my Java application through the opencv-300.jar and opencv_java300.dll. They come with the standard installation. But some extra modules are not in the standard installation. So I build an OpenCV 3.0 with the opencv-contrib repo.
But the build generates about 40 binaries. How can I generate something like opencv-300.jar and opencv_java300.dll for Java adoption? Do I need to turn to SWIG or something?
We can build OpenCV + extra modules with VS2013.
Extra modules can be downloaded from: https://github.com/Itseez/opencv_contrib/releases
Run "cmake-gui.exe" in VS2013 command prompt.
Click the "Configure" button.
Select VS2013 as the generation templaet.
Modify the config entries as necessary.
Click "Generate" to generate the VS2013 project files.
Open the generated project files and build.
Ref:
(*) http://answers.opencv.org/question/66571/how-to-build-the-java-wrapper-for-opencv-30/
http://answers.opencv.org/question/66630/javalangunsatisfiedlinkerror-when-using-binaries-built-from-source/
https://stackoverflow.com/questions/31508130/keypoints-was-cleared-after-descriptoerextractor

Resources