7.0.0-SNAPSHOT - cas-initializr - Questions on resulting overlay

44 views
Skip to first unread message

G Lalonde

unread,
Nov 18, 2022, 9:10:32 AM11/18/22
to CAS Community
I've started trying out version 7.0.0-SNAPSHOT in the past few days.  My previous "production" build was done with version 6.5.2 - hence I've just got introduced to the cas-initializr build approach.

I've made different builds with varying list of dependencies but the latest one is below:

curl http://web1dev.redacted.org:8011/starter.tgz -d "dependencies=core,webapp,oidc,ldap,jsonsvc&casVersion=7.0.0-SNAPSHOT" | tar  -xzvf -

I have two questions:

1) I'm unclear on the impact of including the "core" and "webapp" dependencies i.e. to I need to the specify them?  Without them the resulting war is much smaller and still seems to work after deploying a tomcat server?

2) In reviewing the gradle.properties file generated by cas-initializ, how to I get it to generate the line "appServer=" instead of "appServer=-tomcat"
 
Many thanks.

Misagh

unread,
Nov 18, 2022, 11:02:03 AM11/18/22
to cas-...@apereo.org
> I have two questions:
>
> 1) I'm unclear on the impact of including the "core" and "webapp" dependencies i.e. to I need to the specify them?

No. They are implicitly included.

> 2) In reviewing the gradle.properties file generated by cas-initializ, how to I get it to generate the line "appServer=" instead of "appServer=-tomcat"

You cannot. Not possible.

G Lalonde

unread,
Nov 18, 2022, 1:32:56 PM11/18/22
to CAS Community, Misagh Moayyed
Thank you Misagh. 
Reply all
Reply to author
Forward
0 new messages