capsule-desktop

Turns capsules into native applications

License

License

Categories

Categories

Capsule Build Tools Distribution
GroupId

GroupId

co.paralleluniverse
ArtifactId

ArtifactId

capsule-desktop
Last Version

Last Version

0.1.0
Release Date

Release Date

Type

Type

jar
Description

Description

capsule-desktop
Turns capsules into native applications
Source Code Management

Source Code Management

https://github.com/puniverse/capsule-desktop

Download capsule-desktop

How to add to project

<!-- https://jarcasting.com/artifacts/co.paralleluniverse/capsule-desktop/ -->
<dependency>
    <groupId>co.paralleluniverse</groupId>
    <artifactId>capsule-desktop</artifactId>
    <version>0.1.0</version>
</dependency>
// https://jarcasting.com/artifacts/co.paralleluniverse/capsule-desktop/
implementation 'co.paralleluniverse:capsule-desktop:0.1.0'
// https://jarcasting.com/artifacts/co.paralleluniverse/capsule-desktop/
implementation ("co.paralleluniverse:capsule-desktop:0.1.0")
'co.paralleluniverse:capsule-desktop:jar:0.1.0'
<dependency org="co.paralleluniverse" name="capsule-desktop" rev="0.1.0">
  <artifact name="capsule-desktop" type="jar" />
</dependency>
@Grapes(
@Grab(group='co.paralleluniverse', module='capsule-desktop', version='0.1.0')
)
libraryDependencies += "co.paralleluniverse" % "capsule-desktop" % "0.1.0"
[co.paralleluniverse/capsule-desktop "0.1.0"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

Capsule Desktop

This application will build Mac OS X, Linux and/or Windows native executables for a capsule.

Usage

capsule-desktop is itself distributed as a capsule. Run it with the -? option to print the usage information:

Option                                  Description          
------                                  -----------          
-?, -h, --help                          Show help            
-c, --capsule <A single capsule                              
  pathname to build native binaries                          
  for>                                                       
-l, --loglevel <Log level (default =                         
  INFO)>                                                     
-m, --macosx                            Build Mac OS X binary
-o, --output <The base output pathname                       
  of built binaries (default = the                           
  capsule pathname)>                                         
-u, --unix                              Build Unix binary    
-w, --windows                           Build Windows binary 

capsule-desktop can be run both against plain (e.g. "fat") capsules and Maven-based ones.

An example Java Swing application is available that can conveniently be used to try out capsule-desktop.

The following section explains additional application-specific manifest entries that capsule-desktop can use.

Additional Capsule manifest entries

  • GUI: whether the GUIMavenCapsule caplet should be used instead of MavenCapsule. The former will launch a basic Swing-based window displaying dependencies retrieval progress. In addition, when this option is active, Capsule won't wait for the application JVM process to complete before exiting.
  • Icon: the icon to be used for the desktop application.
  • Single-Instance: if true will enforce a single-instance run policy for the native application built by capsule-desktop. It currently only works on Mac OS X and Windows.
  • Implementation-Vendor, Native-Description, Copyright and Internal-Name: if any of these native metadata entries is present then the other ones must be present as well. Native metadata is currently only supported on Windows

License

Copyright (c) 2014-2015, Parallel Universe Software Co. and Contributors. All rights reserved.

This program and the accompanying materials are licensed under the terms
of the Eclipse Public License v1.0 as published by the Eclipse Foundation.

    http://www.eclipse.org/legal/epl-v10.html
co.paralleluniverse

Parallel Universe

Versions

Version
0.1.0