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
0
votes
1 answer

native-app-builder ANT task does not update worklight.plist file (MFP v7.0)

Product: MobileFirst Platform v7.0 We are using the native-app-builder ANT task to build an MFP native iOS app. Though this task has the 'worklightserverhost' attribute, after running it, the worklight.plist file is not updated. We are expecting the…
rolivieri
  • 100
  • 1
  • 7
0
votes
2 answers

MFP 7.0 Java Adapter Build Error

I'm using MFP 7.0 Java based adapters and when I try to build, both through the CLI and Eclipse, I get the following error: Error: BUILD…
0
votes
1 answer

why does `mfp start` exit with code 1 when the server was started successfully?

I'm finding that when mfp start is run that it returns 1 when it starts the server and 0 when the server was already running. This breaks the exit status convention of a successful command completing with a code of 0 (and some tooling at assumes…
N2O
  • 183
  • 7
0
votes
1 answer

Cannot deploy MFP v6.3 adapters and apps with MFP CLI v7.0

Context: We developed an app using MFP v6.3. Using MFP CLI v6.3, we can restart, build and deploy all assets (WAR, adapters, and apps) without any problems. Problem: Using MFP CLI v7.0 to deploy the MFP v6.3 adapters and apps is not working. Below,…
rolivieri
  • 100
  • 1
  • 7
0
votes
1 answer

MFP CLI v7.0 cannot build-deploy project initially created with MFP Studio v7.0

Problem Context: We initially created a MFP project (native API for iOS) using MFP Studio plugin v7.0 for Eclipse. We have this project under source control (Git on DevOps). Problem: After pulling down the MFP project code from Git (fresh pull), if…
0
votes
2 answers

MobileFirst 7.0 CLI - Unable to Start Server

I'm running into issues trying to preview the mobilefirst app. I was able to run and preview the app earlier but not sure what changed. mfp start -dd mobilefirst-cli verb cli…
Justin Poehnelt
  • 2,992
  • 1
  • 19
  • 23
0
votes
1 answer

Error accessing server using MobileFirst CLI

I'm on a mac pro. Have Yosemite (10.10.3) installed and also have the MobileFirst 6.3 CLI installed in an attempt to automate our mobile projects. We have this working on a mac mini but this doesn't seem to work with the same setup on the mac pro…
0
votes
2 answers

mobile first platform server wont start

I built a MFP project with the MFP CLI I ran mfp stop to stop my server now when i run mfp start, mfp run, mfp restart, the server wont start here are my cli logs macsupports-MacBook-Pro-2:yoMAUI hannade$ mfp stop objc[84655]: Class JavaLaunchHelper…
Derek Hannah
  • 537
  • 7
  • 23
0
votes
1 answer

Building project.war file Via ant missed the files in java->server folder

I am creating project.war file using ant and worklight-ant-builder.jar file in the MFP. While my project is build using mfp or via eclipse in the bin the .war file and classes folder have all the things including content in my server->java…
Kawinesh S K
  • 3,148
  • 1
  • 16
  • 29
0
votes
2 answers

How to Build for Remote Server using MobileFirst CLI

I am building a bat file which automatically adds android environment to my worklight project and produce me with the apk file and worklight .war and .wlapp files to my destined location. I have completed and everything works fine. i am using mfp…
Kawinesh S K
  • 3,148
  • 1
  • 16
  • 29
0
votes
1 answer

How to Create Native Android Application using CMD line from Native Folder of MobileFirst

Things i have done via MobileFirst CLI Create a sampleProject. Added Android Environment. Build and deployed the MobileFirst Project. Now i have the Android-->Native (Folder) Now how i use this Folder to create my native android App. i want to…
Kawinesh S K
  • 3,148
  • 1
  • 16
  • 29
0
votes
1 answer

mobile first platform cli: mfp build... does not create a war file

My setup MobileFrist Platform foundation 6.3.0.00-20141127-1357 WebSphere Application Server 8.5.5.0 (1.0.3.20130510-0831) on Java HotSpot(TM) 64-Bit Server VM, version 1.7.0_75-b13 (en_US) hosted on softlayer Installed using this knowledge center…
Anthony K
  • 31
  • 1
  • 1
  • 11
0
votes
1 answer

Upgrade Mobilefirst CLI 6.3.0 to 7.0

Are there any known issues in upgrading mobilefirst 6.3 CLI to mobilefirst 7.0 CLI ? Auto-upgrade fails with the following error in ubuntu 14.0.x, where it was previously working just fine with 6.3.0. Error when running mfp build…
Futur
  • 8,444
  • 5
  • 28
  • 34
0
votes
2 answers

New project has error building for Android

I've made a few projects already with MFP, but this morning I created a brand new one: mfp create feb21 cd feb21 mfp add hybrid mfp add environment (selected iphone + android) mfp start On start, it ran, but then failed in the iPhone area: BUILD…
Raymond Camden
  • 10,661
  • 3
  • 34
  • 68
0
votes
1 answer

IBM Mobilefirst: Installation in redhat linux without admin access

We have to do a mobilefirst cli(version 6.3.0.00.20150106-1724) build and deploy in our staging environment in a redhat linux machine(details of the env below), however there is no admin access for our team to execute the commands now due to…
Futur
  • 8,444
  • 5
  • 28
  • 34
1 2 3
9
10