{"id":22334475,"url":"https://github.com/adambien/wad","last_synced_at":"2025-07-29T21:31:09.859Z","repository":{"id":46046271,"uuid":"161065927","full_name":"AdamBien/wad","owner":"AdamBien","description":"Watch and Deploy - deploying ThinWARs without IDE plugins","archived":false,"fork":false,"pushed_at":"2022-01-06T20:47:35.000Z","size":107,"stargazers_count":112,"open_issues_count":13,"forks_count":24,"subscribers_count":16,"default_branch":"master","last_synced_at":"2023-11-07T19:39:38.409Z","etag":null,"topics":["deployment","jakartaee","java","javaee","jboss","jetty","microprofile","openliberty","payara","speed","thinwars","tomcat","tomee","utility","wad","watch","wildfly"],"latest_commit_sha":null,"homepage":"http://wad.sh","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AdamBien.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}},"created_at":"2018-12-09T17:52:21.000Z","updated_at":"2023-06-07T07:18:56.000Z","dependencies_parsed_at":"2022-09-09T00:52:20.374Z","dependency_job_id":null,"html_url":"https://github.com/AdamBien/wad","commit_stats":null,"previous_names":[],"tags_count":11,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AdamBien%2Fwad","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AdamBien%2Fwad/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AdamBien%2Fwad/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AdamBien%2Fwad/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AdamBien","download_url":"https://codeload.github.com/AdamBien/wad/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228046869,"owners_count":17861109,"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":["deployment","jakartaee","java","javaee","jboss","jetty","microprofile","openliberty","payara","speed","thinwars","tomcat","tomee","utility","wad","watch","wildfly"],"created_at":"2024-12-04T05:08:02.364Z","updated_at":"2024-12-04T05:08:02.937Z","avatar_url":"https://github.com/AdamBien.png","language":"Java","readme":"# watch and deploy (WAD)\n\nWAD watches changes in `src\\main\\java` folder, builds the project using the `pom.xml` and deploys the ThinWAR into the configured folder.\n\n## installation\n\nDownload the executable and self-contained [wad.jar](https://github.com/AdamBien/wad/releases/latest)\n\n## usage\n\nLaunch WAD from within your ThinWAR-project created with [javaee8-essentials-archetype](http://www.adam-bien.com/roller/abien/entry/java_ee_8_essentials_archetype).\n\n`[THIN_WAR]/java -jar wad.jar [DEPLOYMENT_DIR ANOTHER_DIR]`\n\ne.g.\n\n`[THIN_WAR]/java -jar wad.jar /openliberty/wlp/usr/servers/defaultServer/dropins/ dist`\n\nwad can be also configured in `~/.wadrc`. Each deployment folder in an new line:\n\n```bash\n/Users/duke/payara/glassfish/domains/domain1/autodeploy \n/Users/duke/openliberty/usr/servers/defaultServer/dropins\n/Users/duke/tomee/webapps\n/Users/duke/wildfly/standalone/deployments\n```\n\nOn each source change WAD will:\n\n1. Use the current directory as the service name\n2. Build the project using the `pom.xml` found in the directory\n3. Copy the `./target/[name].war` into the path used as parameter\n\nYou only have to write code and save it frequently like this:\n\n[![ WAD](https://i.ytimg.com/vi/_c8ZkSSpdWI/mqdefault.jpg)](https://www.youtube.com/embed/_c8ZkSSpdWI?rel=0)\n\n## common deployment directories\n\n[WildFly](http://wildfly.org)\nwildfly-[VERSION].Final/standalone/deployments\n\n[OpenLiberty](https://openliberty.io)\nopenliberty-[VERSION]/usr/servers/defaultServer/dropins\n\n[Payara](https://www.payara.fish)\npayara/glassfish/domains/domain1/autodeploy\n\n[TomEE](http://tomee.apache.org)\ntomee-[version]/webapps\n\n## deploy'em all\n\nWAD also supports simultaneous deployment to multiple servers\n\n`[THIN_WAR]/java -jar wad.jar /openliberty/wlp/usr/servers/defaultServer/dropins/ wildfly/standalone/deployments payara/glassfish/domains/domain1/autodeploy tomee/webapps`\n\n## run from anywhere\n\nA a shell script:\n\n```shell\n#!/bin/bash\nBASEDIR=$(dirname $0)\njava -jar ${BASEDIR}/wad.jar \"$@\"%\n```\n\nwill install WAD \"globally\". Now you can launch WAD from any directory you like e.g.\n\n`wad.sh /openliberty/wlp/usr/servers/defaultServer/dropins/`\n\n## articles\n\n[\"Improved Java / Jakarta EE Productivity with wad.sh\"](https://rieckpil.de/review-improved-java-jakarta-ee-productivity-with-adam-biens-wad-watch-and-deploy/) by [@rieckpil](https://twitter.com/rieckpil)\n\nAny questions left? See you at [airhacks.tv](http://airhacks.tv).\n\n\n\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadambien%2Fwad","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadambien%2Fwad","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadambien%2Fwad/lists"}