ceylon-ide-intellij icon indicating copy to clipboard operation
ceylon-ide-intellij copied to clipboard

export module

Open Aguinore opened this issue 9 years ago • 2 comments

Hi!

In Eclipse based Ceylon IDE there is very useful feature "Export module" which I cannot find in IntelliJ. It is very uncomfortable to manually compile and copy module to local repo for further using.

Aguinore avatar Sep 20 '16 06:09 Aguinore

@Aguinore I agree this is a useful feature, but in the meantime, I just want to check that you know about the ceylon copy command:

NAME

        'ceylon copy' - Copies modules from one Ceylon module repository to another


SYNOPSIS

        ceylon copy [--all] [--cacherep=<url>] [--cwd=<dir>] [--docs] [--include-language] [--js] [--jvm] [--maven-overrides=<file>] [--no-
                    default-repositories] [--offline] [--out=<url>] [--overrides=<file>] [--pass=<secret>] [--rep=<url>...] [--scripts] [--src]
                    [--sysrep=<url>] [--timeout=<seconds>] [--user=<name>] [--verbose[=<flags>]] [--with-dependencies] [--] <module...>


DESCRIPTION

        Copies a module or a set of modules from one repository to another. If set for recursive copying it will also copy all the module's
        dependencies and their dependencies until the entire module tree has been copied. NB: This tool will only copy between Ceylon
        repositories.

gavinking avatar Sep 21 '16 11:09 gavinking

Here's another workaround, which doesn't exactly do the same thing as requested. It merely changes IntelliJ's module output directory to the local repo:

File > Project Structure > Facets > Repositories > Ouput Repository > ~/.ceylon/repo

lukedegruchy avatar Sep 23 '16 11:09 lukedegruchy