Zinc is a stand-alone launcher for SBT incremental compiler (and Nailgun server). It was created, primarily, to be used in command line tools
Questions tagged [zinc]
14 questions
6
votes
2 answers
Gradle Scala Plugin - how to specify zincClasspath
I am trying to use the Scala plugin with Gradle to build my project on an Ubuntu VM. This is what my build.gradle file looks like:
apply plugin: 'scala'
repositories {
mavenCentral()
}
dependencies {
compile…

JamesWillett
- 980
- 2
- 8
- 20
3
votes
2 answers
Preserve results of sbt incremental compilation when moving project directory
Consider the scenario: I have a simple scala project managed by sbt, in a directory called foo.
cd foo
sbt compile
It now takes a few seconds and the project compiles correctly.
Now, thanks to sbt incremental compilation, if I run
sbt compile
it…

Gabriele Petronella
- 106,943
- 21
- 217
- 235
3
votes
1 answer
How to build and run zinc (scala incremental compiler) on ubuntu
I have downloaded zinc and run
sbt universal:packageZipTarball
per the (sparse ..) README.md
Afterwards we see a "zinc" binary here:
$ find . -name zinc -executable -type f
./src/universal/bin/zinc
So trying to run this:
src/universal/bin/zinc…

WestCoastProjects
- 58,982
- 91
- 316
- 560
2
votes
1 answer
Can't set zinc version to 2.12
I have a Gradle Scala project where I'm trying to set up zinc 2.12. However, when I attempt to run the project using the command ./gradlew run, I encounter a NoClassDefFoundError related to scala/jdk/javaapi/CollectionConverters or The version of…

KugisMugis
- 143
- 1
- 4
2
votes
0 answers
Stackoverflow error when compiling scala with gradle 7.6
I have a scala project that is using Scala 2.12.17. I currently am not able to update the Scala version for various reasons. I am compiling it with Gradle. I want to update Gradle from version 6.8.3 to 7.6, however when doing so I get a…

Jewels
- 966
- 11
- 28
2
votes
1 answer
Gradle + Scala Plugin + Zinc 1.3.5 leaks Protobuf 3.7 to the compiler classpath
While debugging compilation errors of the generated Protobuf code after upgrading a Scala project to Gradle 6 & Zinc 1.3.5 I found that the compiler classpath contains two versions of the protobuf jar - the one I need (3.9.x) and 3.7. The latter is…

bobah
- 18,364
- 2
- 37
- 70
2
votes
1 answer
Gatling: Random Feeder POST request: not found: value email (Gatling 3.0.0)
**Randomized Load Testing with Gatling **
I want to test my built API for higher load, and therefore, I have to generate huge amount of random emails (I know there is currently no email-checking on the server, so I just create random strings).
The…

themysteriousM
- 51
- 5
2
votes
1 answer
How best to utilise incremental compilation in sbt
I want to gain an understanding of how incrementational compilation can be done on sbt. Having done a bit of research I have found that Zinc is one way of achieving this. sample zinc implementation.
Would love to hear any pointers that people would…

Steve
- 4,388
- 3
- 17
- 25
2
votes
3 answers
Failed to execute goal net.alchim31.maven:scala-maven-plugin:3.2.2
While compiling the Maven project the following error occured:
[INFO] --- scala-maven-plugin:3.2.2:compile (scala-compile-first) @ spark-streaming-flume-sink_2.10 ---
[WARNING] Zinc server is not available at port 3030 - reverting to normal…

Klue
- 1,317
- 5
- 22
- 43
1
vote
1 answer
How do I build a mixed java/scala project which uses java annotation code generation?
I am creating a mixed scala + java project where the java code uses java annotations for java code generation.
The java code generation is a requirement of the library I am using (truffle)
I have created both an sbt and mill project with separate…

Thomas Rynne
- 397
- 2
- 10
1
vote
2 answers
Why does building Spark RC release fail with "Could not initialize class sun.util.calendar.ZoneInfoFile"?
I am trying to build Spark 2.2.0-rc2 release using mvn but unable to do so.
$ uname -a
Linux knoldus-Vostro-15-3568 4.4.0-46-generic #67-Ubuntu SMP Thu Oct 20 15:05:12 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
$ java -version
openjdk version…

himanshuIIITian
- 5,985
- 6
- 50
- 70
1
vote
2 answers
C++ can't identify command in DLL
I am trying to make this DLL functionable but can't get it to work even from a ready code.
I create a simple DLL from visual studio in c++ (win32 project)
and I have this 2 files that I use.
headerZincSDK.h
// headerZincSDK.h
#pragma once
#include…

Nocs
- 71
- 10
0
votes
1 answer
Convert one agent to multiple agents in anylogic software
How can I convert one agent to multiple(more than 2) new agents in AnyLogic software?
For example, consider a process of Zinc Smelting. In the roasting stage, the concentrate is converted into zinc calcine, sulfur dioxide, and other residue.
Using…

sajjad mazaheri
- 11
- 1
0
votes
0 answers
Downloading of dataset/tranches from ZINC 15
I'm trying to download a tranch of ZINC 15 (https://zinc15.docking.org/substances/subsets/DB/) in .csv format, but I get a different number of molecules every time. Total number of molecules are 9738408 but I'm unable to download all these…

Fatima
- 5
- 3