CAS 6.3.x build question: Executable .war file

69 views
Skip to first unread message

Brandon Hume

unread,
Apr 14, 2021, 10:27:42 AM4/14/21
to CAS Community

The documentation at https://apereo.github.io/cas/6.3.x/installation/Configuring-Servlet-Container.html says that CAS can be built as a "fully executable web application", meaning it'll embed a launch script into the war and then you can straight-up just ./cas.war to launch the server.

This is advantageous in our environment for a number of reasons, but I can't find any evidence in the gradlew tasks to build it this way, nor the build.gradle script, and the default .war produced certainly doesn't have this ability.  Is the documentation wrong?

King, Robert

unread,
Apr 14, 2021, 10:44:56 AM4/14/21
to cas-...@apereo.org

If you are using the cas-overlay-template repository to build your cas.war, in the file gradle.properties set the following property:

 

executable=true

 

This should produce the executable version you are looking for.

--
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
---
You received this message because you are subscribed to the Google Groups "CAS Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cas-user+u...@apereo.org.
To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/18b1a97b-6a8e-40a9-8f73-26f07e943ea1n%40apereo.org.

Reply all
Reply to author
Forward
0 new messages