-
Notifications
You must be signed in to change notification settings - Fork 20
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
Documentation Request: Document how to build and run the tool #520
Comments
Another search hit said you're supposed to run the .class file... no luck with that either:
|
Another search hit said you run javac on the .java file... but that's hitting some missing dependencies.
|
Another search hit said you can run "mvn package" to generate a .jar file, and then run java on that... but after running "mvn package" I have no clue which .jar file actually contains the CLI app, among:
|
Hello @andrew-otiv, You can try the following commands to build and run the project: # Build the project
mvn clean install
# Run the application with help option
java -jar schema2proto-lib/target/schema2proto-lib-1.88-SNAPSHOT.jar --help These commands will help you build the project and run it with the |
Thanks!
Andrew
…On Thu, Sep 21, 2023 at 9:42 AM Tanguy ***@***.***> wrote:
Hello @andrew-otiv <https://github.com/andrew-otiv>,
You can try the following commands to build and run the project:
# Build the project
mvn clean install
# Run the application with help option
java -jar schema2proto-lib/target/schema2proto-lib-1.88-SNAPSHOT.jar --help
These commands will help you build the project and run it with the --help
option to get usage information.
—
Reply to this email directly, view it on GitHub
<#520 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BAG5HZMJWYJ2WLYMP4AM4ZDX3PVWDANCNFSM6AAAAAA4UNHRXY>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
This is probably obvious for java devs, but I'm not familiar with java tooling and just want to try running your command line tool.
After building with "mvn compile", there is still no "Schema2Proto" binary as referenced in the README.
I did try googling how to run code using maven, but all the options looked gross, i.e. studying source code to find the base class, checking if it has a main function, adding a couple extra flags to maven, yada yada. I can't imagine you are putting up with that during development; there has to be a simple way I just don't know about.
The text was updated successfully, but these errors were encountered: