How to run an Act framework application without using intelliJ IDEA - actframework

I just started with Act Framework but I do not want to use intelliJ IDEA. How do I run my app on windows and on linux using CLI?

Start Act in development mode using
mvn clean compile exec:exec
and in the production mode with
mvn clean package
cd target/dist
unzip *
./start
I got this from a link in the gitter channel for Act

Related

Why is this bundleReleaseJsAndAssets failing when hermes is enabled on build.gradle?

I just cloned this repository and there is this error.
When I try to run ./gradlew installRelease or npx react-native run-android --variant=release, I get this error because of Hermes. Yes I enabled Hermes on my build.gradle. It works without hermes.
> Task :app:bundleReleaseJsAndAssets
warning: the transform cache was reset.
Loading dependency graph, done.
...
info Done writing sourcemap output
info Done writing bundle output
info Copying 13 asset files
info Done copying assets
> Task :app:bundleReleaseJsAndAssets FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:bundleReleaseJsAndAssets'.
> A problem occurred starting process 'command '../../node_modules/hermes-engine/osx-bin/hermes''
I am using macos.
I ran yarn add hermes-engine to make sure this node module exists. I have found many github issues but they are mostly talking about windows.
Just check if you are using windows and if your PC is just a year older, then u have to uninstall visual c++ 2019 redistributable, install visual c++ 2015 redistributable.
if u have linux, then no extra need.
I think this issue is happening because you might have done build 2-3 times.
So my advice is just do cd android & gradlew clean & gradlew assembleRelease.
Can u check your react native version? Hermes only works for react-native >= 0.60.4. Also some modules like react-native-firebase (if you are using in your project), are still not compatible with Hermes.Also if you are building app bundles instead apk, then make sure that react-native version should be 0.62 or more.

How to setup Continuous Delivery of a Polymer application on Azure?

I admit I'm surely not expert on administrative things, but I have an ASP.NET Core 2 Web API that I correctly setup in Azure for continuous integration (it's almost automatic!) and it works perfectly.
Now I would like to do the same for a polymer client application, that I could already create as a project in VSTS (connection from Visual Studio Code working perfectly).
When I go to setup the continuous deployment, I'm stuck. I understand I have to do it manually, and I see a lot of templates, in VSTS, but I also understand that I would have to run a 'polymer build' command, and I don't know to setup the Polymer CLI in this environment...
Can anyone help at least a little bit?
You can install Polymer CLI through NPM task: Command: custom; Command and arguments: install -g polymer-cli.

Build Java JDK for LibGDX packing

I want to build my own java JDK so I can package my LibGDX game through launch4j or packr. This page suggests to use these prebuilt jdks, but that project has been discontinued. That page redirects to another github where I can get prebuilt jdks for Windows 64bit, however I need more builds for Mac and Linux (at least mac, because that's what I'm on).
I know there are other places to obtain built jdks for packing java applets and LibGDX games, but I rather just skip that hassle and build my own binaries with the jdk I'm using on my own computer.
If there are better ways to easily package my LibGDX game, I would love to know.
tl;dr: I want to build my own binary jdks so I can use packr or launch4j to package my LibGDX game for distribution across multiple platforms.
Building OpenJDK 8 yourself is not that hard. It's a bit tricky, but manageable once you figure out the important things.
First, you need to find the right version/tag of OpenJDK 8 to build. The current latest release appears to be u112-b16. You should clone the main 8-update repository and the subrepositories (corba jaxp jaxws langtools jdk hotspot nashorn):
hg clone https://hg.openjdk.java.net/jdk8u/jdk8u -u jdk8u112-b16 -r jdk8u112-b16
cd jdk8u
for repo in corba jaxp jaxws langtools jdk hotspot nashorn; do
hg clone https://hg.openjdk.java.net/jdk8u/jdk8u/$repo -u jdk8u112-b16 -r jdk8u112-b16
done
Then, take a look at the README-builds.html file that covers things like how to get all the dependencies you need for your platforms.
Once you have all the dependencies and everything you need to build, building itself looks like this:
cd jdk8u
mkdir build
cd build
bash ../configure \
--with-milestone="fcs" \
--with-update-version=112 \
--with-build-number=b16 \
# your other configure flags go here
make all
Once the build completes, the JDK is available under jdk8u/build/images/j2sdk-image/ and the JRE is available under jdk8u/build/images/j2re-image.
The AdoptOpenJDK folks have some fairly extensive docs that you might find useful: https://adoptopenjdk.gitbooks.io/adoptopenjdk-getting-started-kit/content/en/binaries/build_openjdk_8.html
If you run into issues, feel free to drop by #openjdk on irc.oft.net.

Using travis-ci.org with a pure as3 project

Does anyone know if it is possible to use travis-ci.org for a pure-as3 project (using FlexUnit) ?
Thanks.
This GitHub Travis-CI ActionScript Demo project is a great starting place to get up and running with UnitTesting a Flash project with Travis-CI.
Much like in FlashBuilder the UnitTest suites and libraries are utilizing Flex; however, your project can be 'pure-as3' project. The demo utilizes OSX Travis worker. The Flash Player will be downloaded from the Adobe website at runtime. All build dependencies (flex sdk, flex unit) will be resolved by Maven with flex-mojos
Many of the Flex-Mojos resources are drying up; however, if you are utilizing the Apache-FlexSDK's you'll want to look here for the latest version.
We do not have built in support for ActionScript, but if it's possible to run on Ubuntu, then it should be possible to test on Travis.
You can install any dependencies as part of the build process with apt-get:
before_install:
- sudo apt-get -qq update
- sudo apt-get -qq install some-package another-package
Looking at the FlexUnit docs, it looks like you need a frame buffer available. You may have some luck using xvfb. We have some docs on that, although aimed towards browsers, it may work for you too.

Jenkins, xcodebuild -> JUnit-Tests with Appium?

i am using Jenkins CI to build my iOS-Project. For this task, I use a sh-script to build the binaries directly from a git-repo by running xcodebuild and thats working pretty well.
Currently I run JUnit-tests with appium from eclipse to test my app, but I would like to integrate them into Jenkins as well. I found some tutorials to integrate JUnit-tests into jenkins by using ant-scripts, but I dont use ant to build my project.
how can I integrate my JUnit-tests into jenkins, without a ant-script? Or should I use a ant-script?
thank you.
I switched now to Gradle Build Automation which is much easier to handle and can be integrated into Jenkins as well by using Jenkins Gradle Plugin. xCode-Projects can automatically be build from Gradle by using Gradle xcode plugin and its easy to integrate JUnit or NGTests into a Gradle Scripts. In java test classes I am able to use selenium driver against appium server who's remote controlling iOS-Simulator.