question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Ceylon war includes lots of modules

See original GitHub issue
atlantis stephane 18:08 ceylon $ ./dist/dist/bin/ceylon war com.example.helloworld
WAR archive for com.example.helloworld/1.0.0 created at /home/stephane/src/java-eclipse/ceylon/com.example.helloworld-1.0.0.war
atlantis stephane 21:02 ceylon $ du -sm /home/stephane/src/java-eclipse/ceylon/com.example.helloworld-1.0.0.war
10  /home/stephane/src/java-eclipse/ceylon/com.example.helloworld-1.0.0.war
atlantis stephane 21:02 ceylon $ unzip -l /home/stephane/src/java-eclipse/ceylon/com.example.helloworld-1.0.0.war
Archive:  /home/stephane/src/java-eclipse/ceylon/com.example.helloworld-1.0.0.war
  Length      Date    Time    Name
---------  ---------- -----   ----
     5504  2016-04-04 21:02   WEB-INF/lib/com.example.helloworld-1.0.0.jar
  3730955  2016-04-04 21:02   WEB-INF/lib/com.redhat.ceylon.compiler.java-1.2.3.jar
   443724  2016-04-04 21:02   WEB-INF/lib/org.antlr.antlr-2.7.7.jar
   307709  2016-04-04 21:02   WEB-INF/lib/com.redhat.ceylon.cli-1.2.3.jar
   342293  2016-04-04 21:02   WEB-INF/lib/com.redhat.ceylon.module-resolver-1.2.3.jar
   230124  2016-04-04 21:02   WEB-INF/lib/com.redhat.ceylon.langtools.classfile-1.2.3.jar
  1674865  2016-04-04 21:02   WEB-INF/lib/ceylon.language-1.2.3.jar
   338293  2016-04-04 21:02   WEB-INF/lib/org.jboss.logmanager-2.0.3.Final.jar
    53428  2016-04-04 21:02   WEB-INF/lib/net.minidev.json-smart-1.1.1.jar
    72860  2016-04-04 21:02   WEB-INF/lib/com.github.rjeschke.txtmark-0.13.jar
   491165  2016-04-04 21:02   WEB-INF/lib/com.redhat.ceylon.model-1.2.3.jar
   150647  2016-04-04 21:02   WEB-INF/lib/org.antlr.stringtemplate-3.2.1.jar
   366839  2016-04-04 21:02   WEB-INF/lib/org.jboss.modules-1.4.4.Final.jar
  1156858  2016-04-04 21:02   WEB-INF/lib/com.redhat.ceylon.typechecker-1.2.3.jar
   166333  2016-04-04 21:02   WEB-INF/lib/org.antlr.runtime-3.4.jar
    38402  2016-04-04 21:02   WEB-INF/lib/ceylon.bootstrap-1.2.3.jar
    45285  2016-04-04 21:02   WEB-INF/lib/com.redhat.ceylon.tool.provider-1.2.3.jar
   361125  2016-04-04 21:02   WEB-INF/lib/com.redhat.ceylon.compiler.js-1.2.3.jar
    95806  2016-04-04 21:02   WEB-INF/lib/javax.servlet-3.1.0.jar
    99276  2016-04-04 21:02   WEB-INF/lib/com.redhat.ceylon.common-1.2.3.jar
   107599  2016-04-04 21:02   WEB-INF/lib/ceylon.runtime-1.2.3.jar
     4701  2016-04-04 21:02   WEB-INF/lib/com.redhat.ceylon.module-resolver-javascript-1.2.3.jar
     6343  2016-04-04 21:02   WEB-INF/lib/com.redhat.ceylon.war-1.2.3.jar
      807  2016-04-04 21:02   META-INF/libs.txt
       87  2016-04-04 21:02   META-INF/module.properties
      142  2016-04-04 21:02   WEB-INF/web.xml
---------                     -------
 10291170                     26 files

I’m sure we can run a war without the js backend, for example…

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
FroMagecommented, Apr 5, 2016

Done, war is down from 10m to 2.6m. I “just” have to test it now…

0reactions
FroMagecommented, Apr 5, 2016

OK, tested on WildFly and calling this done.

Read more comments on GitHub >

github_iconTop Results From Across the Web

nascent support for generating Ceylon war files - Google Groups
I've pushed my initial work on generating Ceylon war files to branches of ceylon-compiler[1] and ceylon-sdk[2], and am looking for feedback
Read more >
ceylon war
Excludes modules from the WAR file by treating them as provided. Can be a module name or a file containing module names. Can...
Read more >
Ceylon on Android by Gavin King - YouTube
Ceylon is a new programming language with a unique and uncommonly elegant static type system, a powerful module architecture, a flexible but ...
Read more >
ceylon/dev - Gitter
/home/nostroumov/ceylon-sdk/source/com/redhat/ceylon/war/module.ceylon:12: error: ... the syntax of import statements to include support for namespaces.
Read more >
Main API fails to load a dependency that's missing pom.xml · Issue ...
(The precipitating factor in that issue of erroneously including optional ... with the war tool, the runtime may not be aware of all...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found