We are trying to enable the Minficiation/Concatenation feature in MobileFirst 6.3 via the command line for use in our build servers. However, we cannot find the correct options to select to get it do that task.
We have been able to successfully perform this task using the IDE, but this is not a viable option with the build server. We are using identical build-settings.xml files between the Eclipse IDE build and the CLI build.
I have heard that there is a method for accomplishing this through editing the ANT script of the CLI. Does anyone know where this is located in the CLI, and how I would go about doing this?
The optimization feature that enables minification and/or concatenation in Hybrid applications is not available in the MobileFirst 6.3 CLI tool - only in MobileFirst Studio.
This is, however, possible using the MobileFirst CLI tool in v7.0. You can find the user documentation for this feature here: http://www-01.ibm.com/support/knowledgecenter/SSHS8R_7.0.0/com.ibm.worklight.dev.doc/dev/c_optimize_app_cli.html
Related
I'm trying to build a CI pipeline for a Kotlin project developed on Android Studio. Using Azure DevOps pipelines.
I'm having an issue finding a Kotlin plugin or Tasks for the pipeline as we can see in the picture.
Anyone have an idea about how can we implement this type of pipeline? I didn't find anything on the internet and Microsoft have no documentation.
If I understand correctly the answer you are looking for is the Gradle task. Here is a blog from someone using gradle and in azure devops with their Kotlin code. But I am sure there are more details around how to set up gradle task for kotlin build.
The issue was not with Kotlin or Java. The issue was with the SDK being used on the Hosting Agent.
The solution was the following steps:
Upload a SDK to Azure Blob Storage
Use the Use Java Task in order to install the specified SDK
Run the Android Pipeline with Sonarqube tasks, build was successfully run and SonarQube Code Review was successfully executed.
We are using MobileFirst 7.1.0.0-MFPF-IF201703150904 version. We have built a hybrid mobile application for iPhone and Android. In the backend, we have all Java Adapters.
Recently we have decided to extend the scope and add MobileWeb and DesktopBrowser Application. To achieve that I have created the new environment in eclipse studio and tried to test the new environments. I found this error "errorMsg":"Unsupported environment"
I found this article where the same issue is discussed. The article states a workaround would be to use JavaScript adapters.
My question is how can we create these environments now, we only have Java adapters in the backend. Do we need to replicate all the adapters in JavaScript? Is there any other way to achieve this?
I am trying to launch Apache Apex cli but not able to do so.
the document says just type apex on command prompt but that says No command 'apex' found
Are there some pre steps which i need to perform before start using it?
I have all prerequisites available like, Hadoop, JDK 7, Git and Maven.
apex cli is an interface provided to users to interact (launch, monitor, manage ec.) with the Apache Apex Applications. You can find short information about how to build and use it at : Apex Core git repository
Detailed information can be found here: Documentation
Did you build apex-core? If not please run mvn clean install in apex-core directory
I'm working on a hybrid application so when I try to install worklight in eclipse Juno I followed two methods: the 1st one is searching in the eclipse market and that doesn't work and the 2nd is clicking Help, choose install new software, click on add, enter worklight as a name and the following URL for location: http://public.dhe.ibm.com/ibmdl/export/pub/software/mobile-solutions/worklight/wdeupdate/, here the problem was that this link doesn't work.
The current MobileFirst Studio release on the Eclipse Marketplace is of v8.0. If you are looking for previous releases of IBM MobileFirst, [you can find additional downloads in the developer center](https://mobilefirstplatform.ibmcloud.com/downloads/.
In v8.0 the MobileFirst plug-in for Eclipse exposes CLI commands into the Eclipse interface, such as: register application, preview application, open console and a few more (see the tutorial for more information.
v8.0 requires Eclipse Mars.
Note: In v8.0 you create standard Cordova applications using the Cordova CLI, and you add the MobileFirst SDK (a set of Cordova plug-ins) also using the Cordova CLI. You only use Eclipse if you prefer to use Eclipse is your development environment (to write Java/Script code for adapters).
Also required is the THyM plug-in (available from the Eclipse Marketplace) if you'll choose to use Eclipse to develop your Cordova applications.
Currently I am using Eclipse. Can I use another IDE or a customized configuration for Eclipse to build for my project faster? I want to increase my production time.
Worklight 6.2 and above provide a command line interface which you can use instead of Eclipse.
With some development effort you could also take the CLI and hook it to other IDEs that provide pluggability options.
You can read more about the CLI, here:
For Worklight 6.2: Command Line Interface for IBM Worklight Developers
For MobilFirst 6.3 and above: Using CLI to create, build, and manage MobileFirst project artifacts