• Modules
    • By category
    • By name
    • Most popular
    • Most downloaded
    • Repository
  • Register
  • Log in
  • Help
    • Start using Ceylon Herd
    • Publish your first module
    • Module publishing guidelines
    • All about Ceylon
    • Keyboard Shortcuts

    • s Focus search module bar
      ? Open this information panel
      j Move selection down
      k Move selection up
      enter Open current selection
Module info
Name
FroMage / ceylon.swarm / 1.3.3
Ceylon Swarm Platform Module
Category Command-line plugins

Modules which have command-line plugins available. You can install them with ceylon plugin install name/version.

Backends JVM
Maven coordinates
Compatible Ceylon release JVM: 1.2.x, 1.3.x (latest)
Published Aug 21, 2017
Stats Downloads (JVM): 359
Source downloads: 254
Description

Ceylon CLI plugin for WildFly Swarm.

Usage

Install 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
ceylon.language/1.3.3
com.redhat.ceylon.compiler.java/1.3.3 shared
com.redhat.ceylon.tools/1.3.3 shared
java.base/8 JDK
Usage
  • Import
  • Install scripts from command-line
  • Install scripts from Ant
 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

Ceylon Herd v1.24 Copyright 2012-2021 Red Hat. About