Can't compile SDK: cannot find module artifact 'com.redhat.....1.3.3-SNAPSHOT

30 views
Skip to first unread message

Luke deGruchy

unread,
May 23, 2017, 7:57:58 PM5/23/17
to ceylon-users
Does anybody have an idea why I'm getting the following error when trying to compile the SDK, or, better yet, have an idea how to resolve the below?

I verified that I have the 1.3.2 command-line distribution installed (after previously having only 1.3.1, I had to brew uninstall and reinstall).   I tried by adding the compiled distribution to my $PATH as well as leaving it out.

I freshly cloned both ceylon and ceylon-sdk within the last couple of hours.   The dist/dist/repo seems to contain the modules below.

I read the build documentation for both ceylon and ceylon-sdk.  Still, with my luck I probably missed something obvious.

{root dir of ceylon}
$ ant clean dist

{root dir of ceylon-sdk}
$ ant clean publish

Buildfile: {github_root}/ceylon-sdk/build.xml

clean:
   [delete] Deleting directory {github_root}/ceylon-sdk/modules

ceylondefs:

compile-jvm:
[ceylon-compile] {github_root}/ceylon-sdk/source/ceylon/http/server/module.ceylon:51: error: cannot find module artifact 'com.redhat.ceylon.module-resolver-1.3.3-SNAPSHOT(.car|.jar)'
[ceylon-compile]     shared import "com.redhat.ceylon.module-resolver" "1.3.3-SNAPSHOT";
[ceylon-compile]     ^
[ceylon-compile]       - dependency tree: 'ceylon.http.server/1.3.3-SNAPSHOT' -> 'com.redhat.ceylon.module-resolver/1.3.3-SNAPSHOT'
[ceylon-compile] {github_root}/ceylon-sdk/source/ceylon/test/module.ceylon:232: error: cannot find module artifact 'ceylon.runtime-1.3.3-SNAPSHOT(.car|.jar)'
[ceylon-compile]     native("jvm") import ceylon.runtime "1.3.3-SNAPSHOT";
[ceylon-compile]     ^
[ceylon-compile]       - dependency tree: 'ceylon.test/1.3.3-SNAPSHOT' -> 'ceylon.runtime/1.3.3-SNAPSHOT'
[ceylon-compile] {github_root}/ceylon-sdk/source/com/redhat/ceylon/war/module.ceylon:9: error: cannot find module artifact 'com.redhat.ceylon.common-1.3.3-SNAPSHOT(.car|.jar)'
[ceylon-compile]     import com.redhat.ceylon.common "1.3.3-SNAPSHOT";
[ceylon-compile]     ^
[ceylon-compile]       - dependency tree: 'com.redhat.ceylon.war/1.3.3-SNAPSHOT' -> 'com.redhat.ceylon.common/1.3.3-SNAPSHOT'
[ceylon-compile] {github_root}/ceylon-sdk/source/com/redhat/ceylon/war/module.ceylon:10: error: cannot find module artifact 'com.redhat.ceylon.module-loader-1.3.3-SNAPSHOT(.car|.jar)'
[ceylon-compile]     import "com.redhat.ceylon.module-loader" "1.3.3-SNAPSHOT";
[ceylon-compile]     ^
[ceylon-compile]       - dependency tree: 'com.redhat.ceylon.war/1.3.3-SNAPSHOT' -> 'com.redhat.ceylon.module-loader/1.3.3-SNAPSHOT'
[ceylon-compile] ceylon compile: There were 4 errors

Stephane Epardaud

unread,
May 24, 2017, 4:51:52 AM5/24/17
to ceylon...@googlegroups.com
For ceylon-sdk, you need `ant -Dceylon.home=../ceylon/dist/dist clean publish` assuming `./ceylon/dist/dist` is the path to your ceylon compiled distribution. Alternately if you want to keep the 1.3.2 release and not git master, you can work on the SDK's 1.3.2 branch.

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to ceylon...@googlegroups.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/d48190c7-dc2b-483a-a01b-b7a401e3b9a3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Stéphane Épardaud

Luke deGruchy

unread,
May 24, 2017, 12:40:11 PM5/24/17
to ceylon-users
Thank you!  Seems to work irrespective of which version the ceylon command is mapped to.
To unsubscribe from this group and stop receiving emails from it, send an email to ceylon-users...@googlegroups.com.



--
Stéphane Épardaud
Reply all
Reply to author
Forward
0 new messages