Hello all,

Trying to extract template views using getResource and I keep getting the 
following:

> Task :getResource FAILED

FAILURE: Build failed with an exception.

* Where:
Script '/opt/workspace/6.4-new/cas-overlay-template/gradle/tasks.gradle' 
line: 341

* What went wrong:
Execution failed for task ':getResource'.
> Could not get unknown property 'Files' for task ':getResource' of type 
org.gradle.api.DefaultTask.

I have tried:

./gradlew getResource -PresourceName=messages
./gradlew getResource -PresourceName=messages.properties
./gradlew getResource -PresourceName=footer
./gradlew getResource -PresourceName=footer.html
and many other resources...

The offending line in gradle/tasks.gradle is:

Files.copy(Paths.get(resourceFile), Paths.get(toResourceFile), 
StandardCopyOption.REPLACE_EXISTING)

Any ideas why?

Thank you!
Bill

-- 
- 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/53082d10-0e5f-4d9d-9890-b7288d7907e9n%40apereo.org.

Reply via email to