From: Julien Lepiller <julien@lepiller.eu>
To: help-guix@gnu.org,
"Björn Höfling" <bjoern.hoefling@bjoernhoefling.de>,
"Raghav Gururajan" <rg@raghavgururajan.name>
Subject: Re: IntelliJ IDEA - Community Edition
Date: Sun, 09 May 2021 23:36:58 -0400 [thread overview]
Message-ID: <E7156427-CB79-405B-B3F6-238DEAA7B56E@lepiller.eu> (raw)
In-Reply-To: <20210509212700.0bba40de@alma-ubu>
It looks like the ant script is simply calling gradle, which comes bundled most of the time, in the form of a gradlew script. Gradle is not yet packaged in guix, and there is no gradle-build-system yet, so it's going to be a very difficult journey. If you are motivated, I can provide help and guidance.
Note that Kotlin doesn't depend on Scala, but gradle does. Kotlin is written in Kotlin, and building it in a bootstrapped way remains an open problem.
I have a few pointers for Scala, Kotlin and Gradle if you're interested.
Le 9 mai 2021 15:27:00 GMT-04:00, "Björn Höfling" <bjoern.hoefling@bjoernhoefling.de> a écrit :
>On Sun, 9 May 2021 15:00:32 -0400
>Raghav Gururajan <rg@raghavgururajan.name> wrote:
>
>> Hello Guix,
>>
>> I am trying to package IDEA, which is an IDE for JVM.
>>
>> This is the first time I am dealing with java and ant-build-system.
>>
>> I was able to do some tinkering to get the build phase started, but
>> it fails at the beginning with the following error:
>> "Exception in thread "main" java.lang.RuntimeException: Could not
>> create parent directory for lock file
>>
>/.gradle/wrapper/dists/gradle-5.5-all/66q2j3qadt42ygj9lkubqor18/gradle-5.5-all.zip.lck".
>>
>> I have attached the diff file with this email.
>>
>> Thoughts?
>
>Not sure exactly what's the problem here. If you like to get more
>infos, you can also try to build it with ant options -verbose or
>-debug. Either in the Guix build or from the command line in a Guix
>Container.
>
>In any ways, IntelliJ will be hard to impossible to get it into Guix
>proper, because it will download many dependencies as binaries. You
>will first need to find out how to build them from source. It will use
>Kotlin, and Kotlin at some point will use Scala. Scala needs a
>Scala-compiler...
>
>Björn
prev parent reply other threads:[~2021-05-10 3:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-09 19:00 IntelliJ IDEA - Community Edition Raghav Gururajan
2021-05-09 19:27 ` Björn Höfling
2021-05-10 3:36 ` Julien Lepiller [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E7156427-CB79-405B-B3F6-238DEAA7B56E@lepiller.eu \
--to=julien@lepiller.eu \
--cc=bjoern.hoefling@bjoernhoefling.de \
--cc=help-guix@gnu.org \
--cc=rg@raghavgururajan.name \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).