Thanks for response and help !

I have many questions andsuggestions :
First (of all), i thinks it's better to explain in the readme.md that 
copyCasConfiguration only copy /cas-overlay-template-version/etc/cas/config 
into /etc/cas/config to avoid bad interpretation.
Secondly why copyCasConfiguration doesn't copy entire folder 
/cas-overlay-template-version/etc/cas/ into /etc/cas including thekeystore 
with eventually backup five old configuration ?

Best regards,
  Anthony

Le mercredi 6 novembre 2019 08:57:24 UTC+1, Andy Ng a écrit :
>
> Hi,
>
> Taking a look at the tasks.gradle script: 
> https://github.com/apereo/cas-overlay-template/blob/6.1/gradle/tasks.gradle#L29
>  
> <https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Fapereo%2Fcas-overlay-template%2Fblob%2F6.1%2Fgradle%2Ftasks.gradle%23L29&sa=D&sntz=1&usg=AFQjCNHQtbR28y8jqsq8xMfDKWIIThqHrQ>
>
>
> you can see the working mechaism of *copyCasConfiguration*:
>
> ...
>
> task copyCasConfiguration(type: Copy, group: "build", description: 
> "Copy the CAS configuration from this project to /etc/cas/config") {
>     from "etc/cas/config"
>     into new File('/etc/cas/config').absolutePath
>     doFirst {
>         new File('/etc/cas/config').mkdirs()
>     }
> }
> ...
>
> Seems to me the main problem is that, copyCasConfiguration command *does 
> not copy /etc/cas/services*, it just copy */etc/cas/config* as show in 
> the above code.
>
> You will need to find other ways to copy the services... Or you can add 
> your copy task as well so it can copy services for you :)
>
> Cheers!
> - Andy
>
>
>

-- 
- 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/55ccde90-2040-4572-b206-70e6050673d9%40apereo.org.

Reply via email to