{"id":19243495,"url":"https://github.com/bootique/bootique-tool","last_synced_at":"2025-04-21T09:33:12.637Z","repository":{"id":44744665,"uuid":"205377243","full_name":"bootique/bootique-tool","owner":"bootique","description":null,"archived":false,"fork":false,"pushed_at":"2024-04-18T09:40:14.000Z","size":521,"stargazers_count":1,"open_issues_count":1,"forks_count":5,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-01T12:11:10.533Z","etag":null,"topics":["bootique","cli"],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bootique.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-08-30T12:24:03.000Z","updated_at":"2021-12-30T11:17:12.000Z","dependencies_parsed_at":"2024-04-17T13:33:14.344Z","dependency_job_id":"a9179deb-f726-44cb-92c3-0e27060f8282","html_url":"https://github.com/bootique/bootique-tool","commit_stats":null,"previous_names":[],"tags_count":20,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bootique%2Fbootique-tool","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bootique%2Fbootique-tool/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bootique%2Fbootique-tool/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bootique%2Fbootique-tool/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bootique","download_url":"https://codeload.github.com/bootique/bootique-tool/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250032356,"owners_count":21363824,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bootique","cli"],"created_at":"2024-11-09T17:18:14.224Z","updated_at":"2025-04-21T09:33:07.600Z","avatar_url":"https://github.com/bootique.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!--\n  Licensed to ObjectStyle LLC under one\n  or more contributor license agreements.  See the NOTICE file\n  distributed with this work for additional information\n  regarding copyright ownership.  The ObjectStyle LLC licenses\n  this file to you under the Apache License, Version 2.0 (the\n  \"License\"); you may not use this file except in compliance\n  with the License.  You may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\n  Unless required by applicable law or agreed to in writing,\n  software distributed under the License is distributed on an\n  \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n  KIND, either express or implied.  See the License for the\n  specific language governing permissions and limitations\n  under the License.\n  --\u003e\n\n[![verify](https://github.com/bootique/bootique-tool/actions/workflows/verify.yml/badge.svg)](https://github.com/bootique/bootique-tool/actions/workflows/verify.yml)\n\n# `bq` : Bootique CLI tool\n\n`bq` is an interactive tool to create and manage Bootique projects.\n\n## Documentation\n\nhttps://bootique.io/docs/2.x/bootique-tool-docs/\n\n## How to Build\n\n\n### MacOS / Linux\n\nFollow documentation link above for instructions on how to get a platform-specific `bq` binary. To build `bq` from\nsource, do the following:\n\n* [Download](https://github.com/graalvm/graalvm-ce-builds/releases) and unpack GraalVM 8. (As of this writing builds\ndon't yet work with GraalVM 11)\n* If you are on MacOS, make sure GraalVM is allowed to run:\n```\n xattr -d com.apple.quarantine /path/to/graalvm-ce-java8-X.X.X/\n```\n\n* Checkout and build the repo:\n```\ngit clone git@github.com:bootique/bootique-tool.git\ncd bootique-tool\nexport JAVA_HOME=\u003cGraalVM Home\u003e\nmvn package -Pnative-image\n```\nThe binary is created at `bootique-tool/target/bq`\n  \n### Windows build\n\nWindows build is a little trickier than other platforms. \nMainly this is because `native-image` support is not perfect on Windows so there is a hope that this will improve over time.\n\nThere are different actions required for different versions of GraalVM.\n\n#### Java 8\nFor Java 8 you need to install Windows SDK 7.1, the easiest way to do this is via `Chocolotey`:\n\n```bash\nchoco install windows-sdk-7.1 kb2519277\n``` \nFrom the cmd prompt, activate the sdk-7.1 environment:\n\n```bash\ncall \"C:\\Program Files\\Microsoft SDKs\\Windows\\v7.1\\Bin\\SetEnv.cmd\"\n```\n\nNow you can start build as usual (note, that you should use same cmd prompt as for command above).\n\n```bash\nmvn package -Pnative-image -DskipTests\n```\n\n#### Java 11\n  \nFor Java 11 versions of GraalVM you should use newer dev tools:\n\n```bash\nchoco install visualstudio2017-workload-vctools\n``` \n\nAnd then call:\n```bash\ncall \"C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\VC\\Auxiliary\\Build\\vcvars64.bat\"\n```\n\nBuild is the same:\n```bash\nmvn package -Pnative-image -DskipTests\n```\n\nOther problems with GraalVM on Windows:\n\n* there could be a problem installing GraalVM not on a \"C:\" drive;\n* staring from version 20.0.0 you should use `gu install native-image` to install `native-image` binary as it no longer bundled by default;\n* for GraalVM 20.0.0 and earlier for Java 11 you may need to compile `native-image` into a binary executable (this should be done\n  from the command prompt with initialized dev tools environment, as with `bq` tool build):\n    ```bash\n    cd %GRAALVM_HOME%\\bin\n    native-image.cmd -jar ..\\lib\\graalvm\\svm-driver.jar\n    ``` \n  \n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbootique%2Fbootique-tool","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbootique%2Fbootique-tool","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbootique%2Fbootique-tool/lists"}