Discussion:
[ceylon-dev] Need Basics of building the std library
Michael Chermside
2016-03-28 02:54:22 UTC
Permalink
I encountered a bug in the standard library, and tried to fix it.
Unfortunately, I couldn't figure out how to build. (I submitted a pull
request with the changes ANYWAY, and hopefully it works, but there may be a
next time.)

I checked out the code for ceylon-sdk. Then I installed ant and tried
executing "ant" in the top level directory. This resulted in the following
errors:

[taskdef] Could not load definitions from resource
net/sf/antcontrib/antcontrib.properties. It could not be found.
[taskdef] Could not load definitions from resource taskdef.properties.
It could not be found.
[taskdef] Could not load definitions from resource
aQute/bnd/ant/taskdef.properties. It could not be found.
I expect this is something quite straightforward, and all I really need to
do is to follow the build instructions. But I don't know where to FIND the
build instructions. the README.md file sends me to
https://github.com/ceylon/ceylon-dist#ceylon-distribution which then says
that it is deprecated.

Can anyone direct me to instructions on building the standard library?

-- Michael Chermside
--
You received this message because you are subscribed to the Google Groups "ceylon-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ceylon-dev+***@googlegroups.com.
To post to this group, send email to ceylon-***@googlegroups.com.
Visit this group at https://groups.google.com/group/ceylon-dev.
To view this discussion on the web visit https://groups.google.com/d/msgid/ceylon-dev/334f9a56-0369-4861-b061-bea38604404f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
'Lucas Werkmeister' via ceylon-dev
2016-03-28 08:19:53 UTC
Permalink
You need to have the Ceylon distribution built in the same directory.
That is, you should have the repositories
https://github.com/ceylon/ceylon and
https://github.com/ceylon/ceylon-sdk cloned next to each other, so that
the ceylon-sdk build can refer to ../ceylon/...
Post by Michael Chermside
I encountered a bug in the standard library, and tried to fix it.
Unfortunately, I couldn't figure out how to build. (I submitted a pull
request with the changes ANYWAY, and hopefully it works, but there may
be a next time.)
I checked out the code for ceylon-sdk. Then I installed ant and tried
executing "ant" in the top level directory. This resulted in the
[taskdef] Could not load definitions from resource
net/sf/antcontrib/antcontrib.properties. It could not be found.
[taskdef] Could not load definitions from resource
taskdef.properties. It could not be found.
[taskdef] Could not load definitions from resource
aQute/bnd/ant/taskdef.properties. It could not be found.
I expect this is something quite straightforward, and all I really
need to do is to follow the build instructions. But I don't know where
to FIND the build instructions. the README.md file sends me to
https://github.com/ceylon/ceylon-dist#ceylon-distribution which then
says that it is deprecated.
Can anyone direct me to instructions on building the standard library?
-- Michael Chermside
--
You received this message because you are subscribed to the Google
Groups "ceylon-dev" group.
To unsubscribe from this group and stop receiving emails from it, send
Visit this group at https://groups.google.com/group/ceylon-dev.
To view this discussion on the web visit
https://groups.google.com/d/msgid/ceylon-dev/334f9a56-0369-4861-b061-bea38604404f%40googlegroups.com
<https://groups.google.com/d/msgid/ceylon-dev/334f9a56-0369-4861-b061-bea38604404f%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "ceylon-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ceylon-dev+***@googlegroups.com.
To post to this group, send email to ceylon-***@googlegroups.com.
Visit this group at https://groups.google.com/group/ceylon-dev.
To view this discussion on the web visit https://groups.google.com/d/msgid/ceylon-dev/56F8E929.70505%40googlemail.com.
For more options, visit https://groups.google.com/d/optout.
Tako Schotanus
2016-03-28 08:37:12 UTC
Permalink
Hi Michael,

the README in the SDK was indeed still pointing to the old instructions,
I've fixed that. If you update the SDK you'll see the correct URL.

Btw, often it's not actually necessary to have the very latest version of
Ceylon installed to compile the SDK.
You'd still have to clone the ceylon-sdk repository but instead of going
through all the trouble of compiling the Ceylon distribution you just check
out the SDK version you are currently using. So assuming you're running
Ceylon version 1.2.2 you'd do `git checkout 1.2.2`.
You'd then follow the build instructions as normal (`ant clean publish`)

HTH


-Tako
Post by Michael Chermside
I encountered a bug in the standard library, and tried to fix it.
Unfortunately, I couldn't figure out how to build. (I submitted a pull
request with the changes ANYWAY, and hopefully it works, but there may be a
next time.)
I checked out the code for ceylon-sdk. Then I installed ant and tried
executing "ant" in the top level directory. This resulted in the following
[taskdef] Could not load definitions from resource
net/sf/antcontrib/antcontrib.properties. It could not be found.
[taskdef] Could not load definitions from resource taskdef.properties.
It could not be found.
[taskdef] Could not load definitions from resource
aQute/bnd/ant/taskdef.properties. It could not be found.
I expect this is something quite straightforward, and all I really need to
do is to follow the build instructions. But I don't know where to FIND the
build instructions. the README.md file sends me to
https://github.com/ceylon/ceylon-dist#ceylon-distribution which then says
that it is deprecated.
Can anyone direct me to instructions on building the standard library?
-- Michael Chermside
--
You received this message because you are subscribed to the Google Groups
"ceylon-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an
Visit this group at https://groups.google.com/group/ceylon-dev.
To view this discussion on the web visit
https://groups.google.com/d/msgid/ceylon-dev/334f9a56-0369-4861-b061-bea38604404f%40googlegroups.com
<https://groups.google.com/d/msgid/ceylon-dev/334f9a56-0369-4861-b061-bea38604404f%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "ceylon-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ceylon-dev+***@googlegroups.com.
To post to this group, send email to ceylon-***@googlegroups.com.
Visit this group at https://groups.google.com/group/ceylon-dev.
To view this discussion on the web visit https://groups.google.com/d/msgid/ceylon-dev/CAOJRyvqgYGmJu3Jjkx1ptyeRa99DeEPi%3DEc9y_qXYnbTXZkW3w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Continue reading on narkive:
Loading...