To view this discussion on the web visit https://groups.google.com/d/msgid/ceylon-users/CAP7PoCcE7BmAUA0nxQid4mmM6ZiTKK3yVOb0ejHMtg60wOb17A%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "ceylon-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ceylon-users...@googlegroups.com.
To post to this group, send email to ceylon...@googlegroups.com.
Visit this group at http://groups.google.com/group/ceylon-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/ceylon-users/etPan.5638eb88.3dc240fb.3407%40Juliens-MacBook-Pro-2.local.
--
You received this message because you are subscribed to the Google Groups "ceylon-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ceylon-users...@googlegroups.com.
To post to this group, send email to ceylon...@googlegroups.com.
Visit this group at http://groups.google.com/group/ceylon-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/ceylon-users/2364d5b5-cfed-4aa5-a3e5-d5e321d0784e%40googlegroups.com.
Renato,
If you’re interested, I have a working but unfinished gradle plugin here:
It would be great to have others help hack away at it!
I’ve found that requirements for a Ceylon plugin are a bit different that those of Java and other JVM languages, since Ceylon has built in dependency management. So the approach I’ve taken is to consider *module repositories* sort of like class paths, because that is the finest grained level of control available outside of the compiler. Tasks such as “compileCeylon” and "ceylonDoc” can explicitly specify repositories. But they *also* inherit repositories from tasks they depend on. So, if “ceylonDoc” depends on “compileCeylon”, it *automatically* gets all of the compile tasks’s repositories, plus the compile task’s *output* repository.
I think this is a good approach (it’s worked well so far). But the plugin does need some more work.
John
On Nov 3, 2015, at 1:56 PM, Renato Athaydes <ren...@athaydes.com> wrote:
Hi Julien,
Do you mind if I take some of your code and make a Gradle plugin?
Renato
Em sexta-feira, 30 de outubro de 2015 22:30:48 UTC+1, Julien Viet escreveu:Hi,
for Vert.x needs I started a maven-ceylon-plugin that other may find useful for integrating Ceylon in Maven toolchain : https://github.com/vietj/ceylon-maven-plugin
it is snapshot at the moment but it is deployed in Sonatype snapshot repository for consuming. (so you need to add this repository or build it yourself).
--
You received this message because you are subscribed to the Google Groups "ceylon-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ceylon-users...@googlegroups.com.
To post to this group, send email to ceylo...@googlegroups.com.
To post to this group, send email to ceylon...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ceylon-users/94b2b60c-12d2-4c52-87d5-ab177a8c999a%40googlegroups.com.
Another thought: dependency management is pretty difficult to do right, I am not sure Ceylon should invest time to try to do this when tools like Gradle already did all the hard work and support conflict resolution, multiple repo formats and probably solved many other issues along the way (and will continue to improve quickly) related to that... Even Maven still gets it wrong (random dependency resolution being a common source of "works only on my machine" (unless you're really careful with your poms)... so I think that while it's really convenient to have the Ceylon compiler download Ceylon dependencies without any work on my part, for complex projects you'll need a build tool anyway (not only for Java dependency resolution, also for a myriad of issues that build tools solve, but let's not go there).
--
You received this message because you are subscribed to the Google Groups "ceylon-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ceylon-users...@googlegroups.com.
To post to this group, send email to ceylon...@googlegroups.com.
Visit this group at http://groups.google.com/group/ceylon-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/ceylon-users/df085a2a-5c68-4442-a64c-5d67da575d66%40googlegroups.com.
On 3 Nov 2015 at 21:35:06, Renato Athaydes (ren...@athaydes.com) wrote:
Another thought: dependency management is pretty difficult to do right, I am not sure Ceylon should invest time to try to do this when tools like Gradle already did all the hard work and support conflict resolution, multiple repo formats and probably solved many other issues along the way (and will continue to improve quickly) related to that... Even Maven still gets it wrong (random dependency resolution being a common source of "works only on my machine" (unless you're really careful with your poms)... so I think that while it's really convenient to have the Ceylon compiler download Ceylon dependencies without any work on my part, for complex projects you'll need a build tool anyway (not only for Java dependency resolution, also for a myriad of issues that build tools solve, but let's not go there).
--
You received this message because you are subscribed to the Google Groups "ceylon-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ceylon-users...@googlegroups.com.
To post to this group, send email to ceylon...@googlegroups.com.
Visit this group at http://groups.google.com/group/ceylon-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/ceylon-users/df085a2a-5c68-4442-a64c-5d67da575d66%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "ceylon-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ceylon-users...@googlegroups.com.
To post to this group, send email to ceylon...@googlegroups.com.
Visit this group at http://groups.google.com/group/ceylon-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/ceylon-users/4763bada-0788-4d00-b35c-14b3f531f49c%40googlegroups.com.
Le 4 nov. 2015 19:30, "Renato Athaydes" <ren...@athaydes.com> a écrit :
>
> Ok, thanks for the pointers... I will try both options and see what works... but looks to me that the overrides.xml file is primary candidate for auto-generation by Gradle! Does the IDE recognizes it (adding modules declared in the overrides.xml file to the Eclipse build path)?
Yes, it's fully integrated and taken in account inside the IDE. And I use it heavily to tweak the OSGI dependencies in the Ceylon IDE itself (since it's now both a Plugin project and a real Ceylon project)
> To view this discussion on the web visit https://groups.google.com/d/msgid/ceylon-users/fce69c9a-2fa2-405b-93b9-4eabe96d55a0%40googlegroups.com.
native("jvm")
module com.athaydes.maven "1.0.0" {
import java.base "8";
import "org.apache.logging.log4j:log4j-api" "2.4.1";
import "org.apache.logging.log4j:log4j-core" "2.4.1";
}
import org.apache.logging.log4j {
Logger,
LogManager
}
import java.lang {
Thread
}
Logger logger = LogManager.getLogger(`class String`);
"Run the module `com.athaydes.maven`."
shared void run() {
logger.info("Hello Maven!");
Thread.sleep(1000);
}
--
You received this message because you are subscribed to the Google Groups "ceylon-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ceylon-users...@googlegroups.com.
To post to this group, send email to ceylon...@googlegroups.com.
Visit this group at http://groups.google.com/group/ceylon-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/ceylon-users/5036374f-d372-4244-8e2a-e3eb57946760%40googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "ceylon-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ceylon-users/zQvP4MOoh-0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ceylon-users...@googlegroups.com.
To post to this group, send email to ceylon...@googlegroups.com.
Visit this group at http://groups.google.com/group/ceylon-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/ceylon-users/43E0BFC4-6BAF-4383-92DB-4A71B6FE2B71%40vasileff.com.
--
You received this message because you are subscribed to a topic in the Google Groups "ceylon-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ceylon-users/zQvP4MOoh-0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ceylon-users...@googlegroups.com.
To post to this group, send email to ceylon...@googlegroups.com.
Visit this group at http://groups.google.com/group/ceylon-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/ceylon-users/43E0BFC4-6BAF-4383-92DB-4A71B6FE2B71%40vasileff.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ceylon-users/CAPy%2BqKK97kE3gnXwDVWGp%2BqP-M3UVXPSXEOS%2B7Qe91w8yfynbQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ceylon-users/CAOJRyvoG_akJDMRN-4tnj_FFZHX8k2AXOHnydzXBfuxtrvbaAg%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ceylon-users/CAPy%2BqKKZ0mL6kWYB64L38BQU5dwOkqgBFQYouJgR0o9M%2BHTx9A%40mail.gmail.com.
On 30 Oct 2015 at 22:30:45, Julien Viet (jul...@julienviet.com) wrote:
At the moment it is driven by the vertx-lang-ceylon needs. I started to write on vertx-lang-ceylon API documentation => the “doc” mojo was done last night for this purpose, etc...
Adding new goals is not hard : for example here is all it takes for the “doc” mojo https://github.com/vietj/ceylon-maven-plugin/blob/master/src/main/java/com/redhat/ceylon/maven/CeylonDocMojo.java
- Does it support compile-js?
not yet, jgleoj23 wants to contribute this support : https://github.com/vietj/ceylon-maven-plugin/issues/3
- Does it support publishing to remote repos?
not it does not, but I will need that at some point when I’ll deploy all these modules.
- Does it support "ceylon war"?
no it does not
- Does it support "ceylon copy"?
no it does not
there should be also a “test” goal if possible that integrates ceylon.test with proper reporting in JUnit format, so the ceylon tests can be integrated with Jenkins, etc...
To view this discussion on the web visit https://groups.google.com/d/msgid/ceylon-users/CAP7PoCdVTu-LQb6DTg%2B7V_bP5o9rAA8QVc12WLQszbCzVX1m-Q%40mail.gmail.com.
Visit this group at https://groups.google.com/group/ceylon-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/ceylon-users/8f62438c-fce3-43c4-bf26-d6636e2ac7f5%40googlegroups.com.