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

Add a "spring war" command #925

Closed
bmancini42 opened this issue May 21, 2014 · 1 comment
Closed

Add a "spring war" command #925

bmancini42 opened this issue May 21, 2014 · 1 comment
Assignees
Milestone

Comments

@bmancini42
Copy link

@bmancini42 bmancini42 commented May 21, 2014

I am coming to springboot after using Grails for a couple years. It seemed like a good way to replicate the really great CLI that Grails provides. One thing that seems to be missing, though, is "grails war"; if you're not familiar, this simply builds a WAR out of your grails project, the same way that "grails run-app" or "spring run" kicks off a Tomcat container for your project.

I may be missing something here, not from a strong Java / Spring background, but it would greatly increase the usefulness of springboot, for me at least, to provide a "spring war" that would wrap up whatever would go into the Tomcat container with "spring run" into a war file.

(in case you're about to suggest it, I have seen http://spring.io/guides/gs/convert-jar-to-war/ and it of course accomplishes this in a roundabout way, but I'm really looking for something simpler)

@dsyer
Copy link
Member

@dsyer dsyer commented May 21, 2014

We have "spring jar ..." for packaging. I don't always want to encourage people to use WAR files, but I guess if you want to implement the WarCommand it might be straightforward enough to crib from JarCommand and change the file structure. Pull requests welcome.

@markfisher markfisher modified the milestone: 1.1.4 Jul 3, 2014
@philwebb philwebb removed this from the 1.1.4 milestone Jul 3, 2014
d10xa added a commit to d10xa/spring-boot that referenced this issue Oct 14, 2015
d10xa added a commit to d10xa/spring-boot that referenced this issue Oct 14, 2015
philwebb added a commit to philwebb/spring-boot that referenced this issue Oct 14, 2015
@philwebb philwebb closed this in 9a63e57 Oct 15, 2015
philwebb added a commit that referenced this issue Oct 15, 2015
* gh-4168:
  Add `spring war` command
@snicoll snicoll added this to the 1.3.0.RC1 milestone Oct 15, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
6 participants
You can’t perform that action at this time.