Questions tagged [mobilefirst-cli]

The IBM MobileFirst Platform Foundation (formerly IBM Worklight Foundation) command-line interface (CLI) tool allows to easily create and manage both native and hybrid apps.

IBM MobileFirst Platform Foundation (formerly IBM Worklight Foundation) provides command-line tools as an alternative to the integrated development environment (IDE) of MobileFirst Studio.

To help developers get a better tools experience, IBM MobileFirst Platform Foundation provides a command-line interface (CLI) tool to easily create and manage both native and hybrid apps. The CLI enables developers to use their preferred text editors or alternative IDEs to create mobile applications.

143 questions
1
vote
1 answer

404 error deploying production mobilefirst 7.1 environment with ant-cli

I'm trying to deploy with an ant script which works fine with my local developer server, buy when I'm moving to production this is the error that I'm getting: deploy-environments: [echo] **************Deploying all environments************* …
user2449016
  • 169
  • 1
  • 13
1
vote
1 answer

How to deploy MobileFirst CLI application to an android device?

I am using MobileFirst CLI 7.1. I want to deploy my MobileFirst CLI application to an android device. How can I do that? In studio i use to get a projected generated when I right click > Build and depoly for all environments. Also I want to know…
1
vote
2 answers

Access Denied popup when logging in with MFP auth framework

I have been seeing this error when trying to login to my app. It is using the mfp auth framework any explanation of what this is would be very helpfull I see this in the simulator, I don't see this on the device, but wl.connect() always fails in the…
Derek Hannah
  • 537
  • 7
  • 23
1
vote
2 answers

How do I debug MFP JAX-RS adapters when using the CLI?

I am using the MobileFirst CLI to start/stop a development server and push code to it. How do I connect a remote debugger (e.g. IntelliJ) to this server and debug a JAX-RS adapter with it? Since the CLI does not seem to offer a way of starting the…
1
vote
2 answers

Worklight CLI not starting in mac Giving Error

Installed Mobile first CLI 7.0.0.0 When I try to open mfp cli it is giving the following error broken cli but I guess any fixes available in IBM Fix central I tried to search but not able to find a fix for this module.js:340 throw err; …
1
vote
1 answer

MFP CLI 7.1 and El Capitan

So i upgraded to El Capitan, this version of OSX no longer ships with jdk 1.6.0 in the in the /System/Library/Java/JavaVirtualMachines folder, and installs new java versions in /Library/java/JavaVirtualMachines I get this error when I try to mfp…
Derek Hannah
  • 537
  • 7
  • 23
1
vote
1 answer

Why can't I add a suitable server profile with the MobileFirst Command Line tools?

I'm trying to use the MobileFirst Command Line Interface (7.1) to deploy to a remote MobileFirst 7.1 server. This server is hosted at http://1.2.3.4:9080/, and the console and admin services are available at the default URLs…
Andrew Ferrier
  • 16,664
  • 13
  • 47
  • 76
1
vote
2 answers

Error: Cannot create a MobileFirst project within another project

I am trying to create a project with mfp create (version 7.1) and i get the following error: Error: Could not create MobileFirst Project. Error: Cannot create a MobileFirst project within another project. I have an older version of Worklight on the…
Siva
  • 122
  • 6
1
vote
1 answer

MobileFirst authenticationConfig.xml 7.1 migration error on Security Access Manager sample project - how to resolve?

I'm working with IBM MobileFirst 7.1, and trying to get integration for ISAM working. So far I've been working with the sample application provided here, but I'm having issues with it when working with 7.1 MobileFirst client-side tools. If I…
Andrew Ferrier
  • 16,664
  • 13
  • 47
  • 76
1
vote
2 answers

My IBM MobileFirst Platform 7.1 CLI-based server has some issues; how can I easily recreate it?

I'm working with an IBM MobileFirst Platform 7.1 server supported by the Command-Line interface; however, my server isn't starting and stopping correctly. How can I recreate it easily from scratch in one command?
Andrew Ferrier
  • 16,664
  • 13
  • 47
  • 76
1
vote
2 answers

MFP-Cli (MobileFirst Platform 7.1) on MacOS El Capitan

I just updated my MacOS to El Capitan and I tried to install the newest MFP-Cli, version 7.1, on it but no success. When I double click on install_mac.app the password screen shows up, but after that it closes without message. I also tried to run…
JairRillo
  • 21
  • 3
1
vote
1 answer

How is the "jdkName" determined for the Android .iml file by `mfp build`

My AndroidManifest.xml has: But when I run mfp build the .iml file generated shows: Which isn't…
1
vote
1 answer

What files will get deployed and where can I find the files in worklight console?

We are developing a mobile app using IBM MobileFirst platform. We compile the code using the command line tool with the command 'mfp build' and deploy it using 'mfp deploy', and we are able to preview the application from the URL mentioned below:…
Sathish Kumar
  • 2,150
  • 10
  • 29
  • 51
1
vote
2 answers

Recommended way to force MobileFirst-CLI to use Java 6?

I'm on OS X and have been using Java 1.8 from Oracle. In order to install mfp I did have to install the old Java 6 from Apple, but it also seems certain mfp commands, mfp build at least, fail unless I change my JAVA_HOME environment variable to…
N2O
  • 183
  • 7
1
vote
3 answers

IBM MobileFirst Platform with Xamarin start server issue

So i'm trying a integration on Xamarin with MobileFirst Platform and i am following this steps: http://www.ibm.com/developerworks/library/mo-develop-a-xamarin-forms-app-for-ibm-mobilefirst/index.html I already added the IBM MobileFirst SDK to my…
1 2
3
9 10