CharlesSkelton / studio

Studio for kdb+ / Rapid execution environment for q
Apache License 2.0
94 stars 61 forks source link

Build #19

Open heshriti opened 4 years ago

heshriti commented 4 years ago

Hi,

Sorry, am not a java person. How do you make/compile the project. Suppose, I wish to make small change to source code, and compile in command line linux/unix- What compile tools do you need, and what is the full command that will produce studio.jar.

thank you.

dzmipt commented 4 years ago

Hi,

The latest master is built with gradle. Gradle installation instruction could be taken from here: https://gradle.org/install/

The command to build from the root folder (from the folder with build.gradle): gradle build.

When it is done, you should have build/distributions/kdbStudio.tar with executable and libs. Extract the archive and execute kdbStudio. Alternatively you can execute from gradle:

gradle run

heshriti commented 4 years ago

Thanks. is it possible to create a studio.jar with all the classes in one file?

dzmipt commented 4 years ago

I tried to pack all classes from jars into a studio.jar, but it didn't work. I didn't look into this with details. On the another hand, I think it is strange to pack third party libraries into one big jar together.

heshriti commented 4 years ago

No problem. although, I don't know why this is strange. isn't it the standard way to run studio: java -jar studio.jar? A simple, convenient interface to one jar- rather than setting classpath etc.

Anyway, no worries.