Vaadin production build is not running properly - spring-boot

My Vaadin (ver 23.1.2)-spring boot app builds and runs perfectly in development mode, but with the production build, it just hangs loading. Any Idea how to find the problem?

Related

Are Windows applications written in Kotlin possible to be debugged using a debugger tool?

I was able to make a Kotlin multiplatform application using IntelliJ IDE.
There are 4 platforms: Android, IOS, Windows, MacOS
While I'm able to run and debug application Android package, I can't find any way of running and debugging Windows application package.
I can only build and produce an executable file from the gradle build but for debugging purposes, I can't find a way of making a debugger work for IntelliJ.
Any suggestions?

Why won't Intellij recognize Gradle in spring boot starter project?

I was having some issues where I was unable to get a build on a separate springBoot project. I read an online forum that recommended updating to the latest so I bumped it and immediately Intellij stopped recognizing the build.gradle and it was no longer recognized as a build tool. I attempted opening the build.gradle files and invalidating the caches and restarting, but Intellij wouldn't recognize it.
I attempted cloning the gradle spring-boot starter project and I saw the same thing (https://github.com/spring-guides/gs-spring-boot.git). It did, however, work when I just open the complete subfolder as it's own project. Are there specific steps I should be taking to allow Intellij to mark subprojects and use gradle as my build tool?
Update: I was running MacOS High Sierra and there were issues with the latest versions of openJDK and Gradle running on the machine. I ended up having to do a factory reset and getting up to the latest OS to make it work.

Automatically building and deploying React Native app using Jenkins?

Packaging my little react native app for Android so that it runs e.g. with Expo on an online App testing service like Appetize or Runthatapp is easy. Up to now I relied on online services to do the building for me, but that is no sustainable solution, that's why I want to do it on my own now.
I understand that for compiling my react native app for iOS I have to somehow run Xcode (on a virtual box). I am able use Android Studio to build my APK files using the GUI, but how do I do that automatically?
I am looking for a way how to automatize that process using Jenkins (either under Ubuntu or under Windows). How would I approach that? My architectural idea looks as follows:
Step 1. Jenkins pulls source code and additional artwork (i.e. logos) from GIT
Step 2. Building and packaging.
2.1 Jenkins initiates the Android Studio and starts building the .apk-file, ideally via command line.
2.2 Jenkins initiates Xcode with some fancy long command line, and out comes
a nice .ipa file.
Step 3. Jenkins takes both files and archives them
Step 4. Deployment
4.1 Jenkins automatically deploys to Google Play Store using their API
4.2 Jenkins automatically deploys to Apple App Store using their API
4.3 Jenkins automatically deploys it to the Amazon App Store.
I am struggling with step 2 and 4, but the priority is the automatic building (step 2). Any help is appreciated, even links to tutorials. What I am after is an explanation on who to steer Android Studio and Xcode by command line.
Resources
How to run apk file online?
What is the (file) format of iOS/iPhone apps?
Deploy to Google Play Store via API
Automatic app deployment to Amazon store
https://stackoverflow.com/questions/57107024/is-there-any-official-way-or-api-to-get-app-reviews-for-ios-apps
Deploy/Publish Android app made with React Native
Unable to build APK file on Jenkins (react native)

How to run test using VS on iOS simulator(on mac)

Just started investigate the Xamarin Test Cloud.
I want to write a simple test using VS and run this test on iOS simulator, which is running on Mac machine.
I've connected to Xamarin Mac Agent. Agent run on the same Mac machine as the iOS simulator.
I've faced with exception "iOS tests are not supported on Windows" when i'm trying to use something like this:
app = ConfigureApp.iOS.StartApp();
I'm understand that I can't run iOS tests on Windows, but I want to run it on iOS simulator on Mac.
Could someone explain me how can I do this? Is it possible?
And a have another question. As a said I've just started with the xamarin and tests. I'm not shure that I undertand difference between Xamarin Test Cloud and Xamarin UI Test. Could someone explain that?
It isn't possible at this time to launch iOS tests on the simulator (running on your Mac) from Visual Studio - you'd have to start the tests from Xamarin Studio on the Mac itself to be able to run the tests in the simulator or on a device.
UITest is the Automated UI Acceptance Testing framework based on Calabash that allows programmers to write and execute tests in C# - more info can be found at this link.
Test Cloud is a service that allows you to run tests written with UITest (or Calabash) on over 2,000 devices that we host ourselves (so you can test against various different OS versions / types of hardware). - more info can be found at this link.

ClassNotFoundException Android Studio debugging

I installed Android Studio, imported a project and started debugging. All was ok until suddenly I started the debugger and got ClassNotFoundException for the launch of the main Activity. The strange thing is that if I run the project or I debug it with a virtual device all is fine. Only the device give this problem.
Do you have any suggestion?
Thanks
I ran into this. My app had been running fine and one day it just started running into these ClassNotFoundExceptions. My code hadn't changed at all.
As far as I can tell, it ended up being a bug in the build of Android Studio. I had recently updated to the latest release on the canary channel.
Switching back to an older release on the dev channel got things working again:
Go into Settings / IDE Settings / Update
Change to Dev Channel and Check Now.

Resources