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

Update doc to point out how to run a WAR as a JAR #1

Open
ChristerF opened this issue Nov 18, 2013 · 0 comments
Open

Update doc to point out how to run a WAR as a JAR #1

ChristerF opened this issue Nov 18, 2013 · 0 comments

Comments

@ChristerF
Copy link
Contributor

From Ryan Kennedy: One thing that I haven't had a chance to point out in a pull request for the docs…the README mentions to either "Add instructions to also build a WAR" or "Change packaging of your Dropwizard service". You should be able to change the packaging to WAR and still invoke the WAR file like you would a JAR file as long as you update the build process to inject the missing Main-Class entry in the manifest (so you could java -jar application.war server application.yml) since the main class is still present in the WAR file and a WAR is just a JAR with a different suffix.

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

1 participant