New version of DukeScript for iOS and Android!

We’re proud to announce the latest version of DukeScript support for iOS and Android. We’ve already submitted the new NetBeans plugin for publication. This will make it really easy to get started. It’s currently being reviewed, and we hope it will be available before the end of February. In the meantime if you would like to start using them please try out our new Maven Archetypes.

The first Archetype creates a basic application:

$ mvn archetype:generate \
	-DarchetypeGroupId=com.dukescript.archetype \
	-DarchetypeArtifactId=knockout4j-archetype \
	-DarchetypeVersion=0.33

The second archetype creates a CRUD application that shows how you can do client-server communication and reuse Model code on both ends:

$ mvn archetype:generate \
	-DarchetypeGroupId=com.dukescript.archetype \
	-DarchetypeArtifactId=crud4j-archetype \
	-DarchetypeVersion=0.33

Update: Since January 2017 there is also 3rd visual archetype showing integration of various visual libraries (like line charts):

$ mvn archetype:generate \
	-DarchetypeGroupId=com.dukescript.archetype \
	-DarchetypeArtifactId=visual-archetype \
	-DarchetypeVersion=0.33

The archetype can generate subprojects for each of the supported platforms. Currently we support iOS, Desktop (via JavaFX), Android, NetBeans plugin, and Browser (via bck2brwsr). The JavaFX-based project will always be generated, as this is integrated with the NetBeans visual debugger and the other debugging functions. The other subprojects are only generated on demand using these properties:

Create Android project:

-Dandroidpath=client-android

Create iOS project with Intel’s Multi OS Engine:

 -Dmoepath=client-moe

Run in browser (without any Java plugin installed):

 -Dwebpath=client-web

Create iOS project with RoboVM:

 -Diospath=client-ios 

Create NetBeans Module:

 -Dnetbeanspath=client-netbeans

Have fun playing with the new archetypes and let us know if you find any problems!

The source code of the new version of the Maven Archetypes is available on GitHub. Feel free to fork it and improve it: maven-archetypes.