I am attempting to upgrade from CAS 5.x to CAS 6.1 and am new to using gradle for my overlays (have used maven in the past). I am able to build, configure, and run CAS in my test environment, and am now interested in customizing my messages.properties, templates, etc. Instructions provided in https://apereo.github.io/2019/01/07/cas61-gettingstarted-overlay/ instruct me to use the following to pull the resources I wish to modify into src/main/resources via the ./gradlew wrapper using the ‘getResource’ procedure. For the messages.properties resource, I am instructed to do the following:
./gradlew getResource -PresourceName=messages.properties
However, when I run this, I receive the following:
---- BEGIN OUTPUT ----
$ ./gradlew getResource -PresourceName=messages.properties
> Task :getResource
No resources could be found matching messages.properties
Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/5.6.3/userguide/command_line_interface.html#sec:command_line_warnings
BUILD SUCCESSFUL in 2s
5 actionable tasks: 1 executed, 4 up-to-date
$
---- END OUTPUT ----
Since “No resources could be found matching messages.properties”, nothing was pulled into src/main/resources .
Are there some other gradlew procedures I need to run first (I tried ./gradlew explodeWar to no avail)?
Carl R. Daudt
Enterprise Applications Systems Analyst, Information Technology
Taylor University
if you want suffix to work as well in your current download project, you can add those logic yourself as well.
cheers!
Andy