Closed egonw closed 8 months ago
Hi, your error "cannot find symbol" suggests an outdated Java version. What version are you using? The toList() functionality of java.util.stream.Stream was added with Java 16.
What version are you using?
I think I was compiling with Java17, but will explore. Wrong Java version was my first guess.
Update: okay, now it compiles. Sorry for the noise.
@joXemMx, just a quick update, I compiles now. But it turns out that leaves me with half finished things. For example, the sirius_cli
ZIP gives me a matching executable but it just seems the java
executable. With the GUI I even got less far. I guess this is the clue that suggests it does not know what to build or can build:
> Configure project :
----> Parsing following platform descriptor: Linux-x86-64
----> Following platform detected: LINUX_x86_64
----> LibDir: null
----> includeJreFX: false | null
----> launch4jJDKPath: null
----> excludeCbcNative: null
----> excludeJFX: false | null
reading build properties file...
I have been trying to find detailed "building from source" instructions, but have not been able to find that. Where could I find such documenation?
I do not think there currently are intructions for this.
Anyways, I believe what you are searching for can be done with the distImage
gradle tasks.
For example, the GUI can be built using ./gradlew sirius-frontend:sirius_dist:sirius_gui_dist:distImage
and a standalone CLI with ./gradlew sirius-frontend:sirius_dist:sirius_cli_single_os:distImage
.
I just made a fresh checkout and had trouble finding the right method to compile from source, so perhaps that is the reason it fails, but it seems to have to do more with a Java/Groovy version conflict?
Help welcome!
(I'm trying to write a patch to update to CDK 2.9)