Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build #19

Open
heshriti opened this issue May 8, 2020 · 4 comments
Open

Build #19

heshriti opened this issue May 8, 2020 · 4 comments

Comments

@heshriti
Copy link

heshriti commented May 8, 2020

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
Copy link
Contributor

dzmipt commented May 8, 2020

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
Copy link
Author

heshriti commented May 8, 2020

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

@dzmipt
Copy link
Contributor

dzmipt commented May 9, 2020

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
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants