Web project failed to deploy to Bluemix Cloud Foundry Server - ibm-cloud-tools

Neither by drag-and-drop nor by Add-and-Remove does a dyanamic web project deploy to Bluemix cloud foundry server. Eclipse detected an error and generated online report. Copy of the same is attached.Eclipse has recommended it be discussed here since it is not eclipse but IBM tool. Any help?
online eclipse error report
tutorial being followed

The tutorial link is coming from the Eclipse CFT open source project. When you are working with the Bluemix, it is strongly recommended to use the IBM Eclipse Tools for Bluemix (ETB) instead. ETB is built on top of the CFT project so it supports all functions provided by CFT but it also has the Bluemix specific server type that you can use. It is tailored for Bluemix with extra functions like package server support and EAR publishing support.
You can follow this installation instruction.
And here is the product documentation for your reference.

Related

How to automate the process of creating app package (for "side installation") of my Xamarin UWP application in Azure devops

I have a Xamarin.Forms application which targets iOS, Android and UWP. I have built an Azure pipeline that generates my .ipa and .apk files which can be used to install on devices that support its debugging. However for UWP I am trying to generate a build that will allow side installation (not for the app store), but not sure how to do this.
In visual studio there is the option to "create app package" (see screenshot below) which generates a bunch of files including an install.ps1 script. And running this script installs the application on my machine. I would like to automate this process in my Azure Devops pipeline but not sure how to. Any help would be appreciated.
Figured out how to do this.
I used the following MSBuild Arguments in my Build solution Task:
/p:AppxBundlePlatforms="x86|x64|ARM"
/p:AppxPackageDir="$(System.DefaultWorkingDirectory)\AppxPackages\\"
/p:AppxBundle=Always
/p:UapAppxPackageBuildMode=SideloadOnly
/p:AppxPackageSigningEnabled=true
/p:PackageCertificateThumbprint="$(UWPThumbPrint)"
/p:PackageCertificateKeyFile="$(UWPCertificate.secureFilePath)"
/p:PackageCertificatePassword="$(UWPCertificatePassword)"
$(System.DefaultWorkingDirectory) may be replaced with $(Build.ArtifactStagingDirectory) if you are using an Azure machine. See this link for information on Build Arguments.
I am then able to archive the contents of $(System.DefaultWorkingDirectory)/AppxPackages with an Archive task.

Packaging a Qt/win32 application to post on microsoft store

I have a medium sized C/C++ Qt application that uses some win32 API functions. I compiled for release and created a directory that contains all the needed DLLs and resources files needed. I tested it on other machines and it works fine.
Now my question is.. how to package such application so that I can put it on microsoft store? Note that it is not a UWP app and it uses some functions from win32.
You can use the Professional edition of Advanced Installer (it has Visual Studio integration) and create an MSIX package ready for the Windows Store.
Here is an article that takes you through the MS Store publishing steps
Also, an article that explains how to build and MSIX package using Advanced Installer's VS extension
Disclaimer. I work on the team building Advanced Installer.

Deploying ASP.NET Core App to Google App Engine using Mac Visual Studio?

I am running Visual Studio for Mac and I am truing to deploy my ASP.NET Core App to my Google App Engine project. I followed the steps described in this official guide but I got stuck in the "Install Cloud Tools for Visual Studio" step as there's no extension for Visual Studio Mac version.
I also came across the Cloud SDK for Mac and now I am confused which way to go. What's the relationship between these two guides and what's the right way of deploying a VS ASP project to App Engine on a Mac?
EDIT
app.yaml file contains:
runtime: aspnetcore
env: flex
Steps to deploy to Google App Engine:
Create a new ASP .Net project in Visual Studio
Build your project.
Install Google Cloud SDK: https://cloud.google.com/sdk/.
You’ll have to configure gcloud for your Google Cloud Platform project.
See: https://cloud.google.com/sdk/docs/quickstart-macos.
Run the following commands via terminal while in the same directory as your VS solution file:
gcloud app create
dotnet restore
dotnet publish -c Debug
Create an app.yaml file as follows and place it in the “publish” directory.
The contents of the app.yaml file are:
runtime: aspnetcore
env: flex
The path to the publish directory will be as follows: ".../my_vs_project/bin/Debug/netcoreapp2.0/publish"
Run the following command via terminal while in the same directory as app.yaml file:
gcloud app deploy
Well, the SDK is a lower level tool to use and hence more cumbersome. Basically what "Cloud Tools for Visual Studio" does is hiding the complexities of using SDK. Since there is no GCP extention for VS Mac looks like that's the only choice that you have so you need to do SDK commands like " gcloud app create" and "gcloud app deploy" to deploy your project to GCP. I hope this is helpful.
Note: the comment on another answer indicates that the confusion comes from also looking at the Google App Engine .NET Flexible Environment Documentation.
In general GAE is higher level cloud offering which can take care of some of the maintenance activities a plain, general-purpose VM infra like GCE would require (for example scalability), so you can focus more on your app itself instead.
But the choice of using GAE or GCE is really yours - it depends on how you want to build and use your app. And maybe on how well these are supported/integrated with your tools of choice (VS in your case).

Integrate Cordova-Sqlite 2 plugin into an existing IBM MobileFirst application

I am trying to integrate the cordova-plugin-sqlite-2 plugin into my IBM MobileFirst application to be able to manipulate native databases from JavaScript.
I always encounter the same message "transaction wait for open operation". I think that I was not able to install the plugin correctly.
I've seen many tutorials that explain how to install plugins into an existing Cordova project but it's not the same structure.
So, my question is: What are steps to integrate this plugin to an existing MobileFirst application in which I already have an android environment?
MobileFirst Hybrid applications do not support 3rd party Cordova plug-ins.
Your options are:
Using MobileFirst 7.1, create a Cordova app using the MobileFirst CLI, where your chances are higher for a successfull plug-in integration: https://www.raymondcamden.com/2015/08/18/developing-hybrid-mobile-apps-with-ibm-mobilefirst-7-1/
If using Hybrid is a must, you may attempt the following workaround for plug-in integration: https://mobilefirstplatform.ibmcloud.com/blog/2015/08/03/integrating-3rd-party-cordova-plug-ins/
Migrating Hybrid apps to Cordova apps: http://www.ibm.com/support/knowledgecenter/SSHS8R_7.1.0/com.ibm.worklight.dev.doc/dev/t_migrating_cordova_project.html

Issues in deploying .car file in wso2 esb

I am creating the >car file using Developer studio and deploying using Wso2 Carbon server4.0.
When i am deploying always getting the older versions. Some times the server not properly deploying the car. And also how to build the project to get the latest changes.
Please suggest me a better procedure creating and deploying the car file.
I am using Wso2 esb 4.7.0 version,
Developer studio 3.2 version.
Refer to the following documentation.
http://docs.wso2.org/display/DVS310/Deploying+and+Debugging

Resources