Name |
Ceylon Swarm Platform Module |
---|---|
Category |
Command-line plugins
Modules which have command-line plugins available. You can install them with |
Backends | JVM |
Maven coordinates | |
Compatible Ceylon release |
JVM: 1.2.x, 1.3.x (latest) |
Published | Aug 21, 2017 |
Stats |
Downloads (JVM): 429 Source downloads: 329 |
Description |
Ceylon CLI plugin for WildFly Swarm. UsageInstall the plugin from the command-line: $ ceylon plugin install ceylon.swarm/1.3.3 Write your application for WildFly Swarm by importing the Java EE API module in your Ceylon module.ceylon: native("jvm") module my.module "1" { import maven:"javax:javaee-api" "7.0"; } Then write your application, and run the swarm plugin from the command line: ceylon swarm --provided-module javax:javaee-api my.module/1 |
Dependencies |
java.base/8 JDK
|
Usage |
import ceylon.swarm "1.3.3"; $ ceylon plugin install ceylon.swarm/1.3.3 <property name="ceylon.home" value="…"/> <property name="ceylon.ant.lib" value="${ceylon.home}/lib/ceylon-ant.jar"/> <path id="ant-tasks"> <pathelement path="${ceylon.ant.lib}"/> </path> <typedef resource="com/redhat/ceylon/ant/antlib.xml" classpathref="ant-tasks"/> <target name="run"> <ceylon-plugin mode=install module="ceylon.swarm/1.3.3"/> </target> |
Module links |
Members Imported By Browse Download .car No .js archive Download source archive Download scripts archive Scripts Download module documentation View API documentation |