This project is a multi-module Maven project that was generated from a Maven archetype.
Important
|
Before running or building this project, you may need to set the |
This project can be run from the command line using maven directly, or using the run.[sh|bat]
wrapper script.
This project can be built from the command line using maven directly, or using the build.[sh|bat]
wrapper script.
The following build targets will be run on your local machine.
- jar
-
Builds a portable executable Jar that runs on any platform supporting JavaSE (e.g. Mac, Windows, Linux, etc..). Default target
Example
Building an executable jar./build.sh jar
Since "jar" is the default target, the above is equivalent to running:
./build.sh
- ios_source
-
Generates an Xcode project for an iOS app that can be opened and built in Xcode. Requires that you have a Mac with Xcode installed. Project will be created in the
ios/generated-sources
directory.Example
Generating an Xcode project./build.sh ios_source
- android_source
-
Generates an adroid gradle project for an Android app that can be opened and built in Android Studio. *Requires that you have Android developer tools and gradle installed.
ANDROID_HOME
environment variable should point to android sdk. EitherGRADLE_HOME
environment variable should point to gradle home, or gradle should be in your PATH. Project will be created in theandroid/generated-sources
directory.Example
Generating a gradle android projectANDROID_HOME=/path/to/android-sdk ./build.sh android_source
The following targets will intiate a build on the Codename One build server.
- ios
-
Build for iOS using the Codename One build server.
- ios-release
-
Build an iOS app for submission to Apple app store.
- android
-
Build apk/aab for Android using the Codename One build server.
- mac_desktop
-
Build a Mac desktop app.
Mac desktop builds Require a Pro account
- windows_desktop
-
Build a Windows desktop app.
Windows desktop builds require a Pro account
- windows_device
-
Build a Windows (UWP) app.
- javascript
-
Build a web app (compiled to javascript using TeaVM).
Javascript builds require an Enterprise Account