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 The information in this communication is intended solely for the individual or entity to whom it is addressed. It may contain confidential or legally privileged information. If you are not the intended recipient, any disclosure, copying, distribution or reliance on the contents of this information is strictly prohibited, and may be unlawful. If you have received this communication in error, please notify us immediately by responding to the sender of this email, and then delete it from your system. Taylor University is not liable for the inaccurate or improper transmission of the information contained in this communication or for any delay in its receipt. -- - 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/3a4e50a652a44997b67f5dd09032997d%40taylor.edu.
