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

As a developer, I'd like to have a gradle task to build the jar #101

Merged

Conversation

kghmanuel
Copy link

gradle bootJar to create the jar file
gradle runLocal to run a local copy without creating the jar file

`gradle bootJar` to create the jar file
`gradle runLocal` to run a local copy without creating the jar file
@sashamitrovich sashamitrovich added the enhancement New feature or request label Mar 16, 2020
@sashamitrovich sashamitrovich added this to the 1.0 milestone Mar 16, 2020
Copy link
Contributor

@sashamitrovich sashamitrovich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@sashamitrovich
Copy link
Contributor

Can you also document that, please?

@kghmanuel
Copy link
Author

With this change, creating the jar file only requires one to issue: gradle bootJar.

For development purposes one would need 2 active command prompts:
1 will run quasar dev in project root or gradle runQuasarDev on java-middle-tier
1 will run gradle runLocal on java-middle-tier.

bulk of these changes focus on converting buildPackageUiJar into gradle tasks.

@sashamitrovich
Copy link
Contributor

Please merge, thanks.

@sashamitrovich
Copy link
Contributor

Was testing and it's still failing for me on mac.

@sashamitrovich
Copy link
Contributor

Tried locally on mac and it works.
I have a question, though: how to supply command line parameters like --deployBackend=true?

@sashamitrovich
Copy link
Contributor

Great work. I think it's ready to merge.

@sashamitrovich
Copy link
Contributor

@kghmanuel , would you like to merge it or should I?

@sashamitrovich sashamitrovich merged commit 5989311 into marklogic-community:master Mar 19, 2020
@sashamitrovich sashamitrovich changed the title configure gradle tasks to make things simpler. As a developer, I'd like to have a gradle task to build the jar Apr 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants