Fork me on GitHub
#ring
<
2022-06-20
>
James Amberger18:06:33

Hi, I’m using deps.edn. I managed to use tonsky’s uberdeps to generate an executable uberjar, next step is how to generate a WAR for use in weblogic/tomcat. All instructions look lein-based but I was hoping not to involve lein.

seancorfield18:06:46

Are you specifically tied to creating and deploying a WAR to an existing web application server? Most folks build a self-contained JAR and deploy that in production.

seancorfield18:06:28

We build uberjars that include the standard Ring Jetty adapter and use that in production.

seancorfield18:06:46

We were really glad to get away from Tomcat and WAR deployment...

seancorfield18:06:32

I'm not aware of any WAR-building tools that work with deps.edn I'm afraid...

James Amberger18:06:47

Tell me about it. I am at a public agency and the whole place is Oracle and Microsoft. They use lines and lines of Spring Boot just to route to the api and serve the JS for a front-end app.

James Amberger18:06:25

Believe me, I’d rather do the devops etc myself

seancorfield19:06:09

Oh, yikes... you have my sympathy...

seancorfield19:06:53

I looked at https://github.com/clojure/tools.deps.alpha/wiki/Tools and it links to https://github.com/EwenG/badigeon which seems to build WAR files so maybe you could try that?

James Amberger19:06:36

Looks promising @U04V70XH6, thanks!