Yan,

There is this 
https://apereo.github.io/cas/developer/Contributor-Guidelines.html#how-do-i-do-this
 and this https://apereo.github.io/cas/development/developer/Build-Process.html 
for developing cas.

There is a step for getting submodules; Was that missed?

Ray

On Tue, 2023-07-18 at 12:21 -0700, Yan Zhou wrote:
Notice: This message was sent from outside the University of Victoria email 
system. Please be cautious with links and sensitive information.

HI Ray,

Overlay did work, thx a lot!   Still,  I should be able to run CAS as any CAS 
developer would,  not sure why i run into this

this is what I did on my Windows, overlay works fine with additional command 
line arguments, so I attempted the same on CAS project,

C:\apereocas66x\cas-server\webapp\cas-server-webapp-tomcat>"../../gradlew" 
build bootRun --parallel --offline --configure-on-demand --build-cache 
--stacktrace 
--args=--spring.profiles.active=standalone,--cas.standalone.configuration-directory=C:\apereocas66x\config
Configuration on demand is an incubating feature.

> Task :api:cas-server-core-api-configuration-model:compileJava
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: 
C:\apereocas66x\cas-server\api\cas-server-core-api-configuration-model\src\main\java\org\apereo\cas\configuration\metadata\ConfigurationMetadataGenerator.java
 uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

> Task :support:cas-server-support-thymeleaf:compileJava FAILED
<==========---> 82% EXECUTING [1m 46s]
> :api:cas-server-core-api-configuration-model:generateConfigurationMetadata


In my IntelliJ IDE, it reports this error,  I am sure the CAS project itself 
has no problem, but I cannot figure out why it is missing Thymeleaf layout 
dialect jar, and where is this supposed to be specified?

:support:cas-server-support-openid-webflow:test: Could not find 
nz.net.ultraq.thymeleaf:thymeleaf-layout-dialect:3.1.0 .
Required by:
    project :support:cas-server-support-openid-webflow > project 
:support:cas-server-support-thymeleaf

Possible solution:
 - Declare repository providing the artifact, see the documentation at 
https://docs.gradle.org/current/userguide/declaring_repositories.html


Thanks,
Yan
On Tuesday, July 18, 2023 at 12:29:49 PM UTC-4 Ray Bon wrote:
Yan,

It looks like you are using cas instead of cas-overlay-template. The main 
project is for developers. This is for deployers 
https://github.com/apereo/cas-overlay-template

Ray

On Mon, 2023-07-17 at 12:15 -0700, Yan Zhou wrote:
Notice: This message was sent from outside the University of Victoria email 
system. Please be cautious with links and sensitive information.

HI

i followed doc to this step, but not sure why it failed. I am on Windows and 
using CAS 6.6.9. it built fine, but when running in embedded tomcat, run into 
error.

not sure what it tries to do in /etc/cas/templates, I am on Windows, so I am 
hoping to find where it is specified and change it to Windows path.

thanks in advance!

Yan

C:\apereocas66x\cas-server\webapp\cas-server-webapp-tomcat>"../../gradlew" 
build bootRun --parallel --offline --configure-on-demand --build-cache 
--stacktrace
Configuration on demand is an incubating feature.
<-------------> 0% CONFIGURING [1m 24s]
> Task :webapp:cas-server-webapp-tomcat:processBootRunResources FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task 
':webapp:cas-server-webapp-tomcat:processBootRunResources'.
> Cannot fingerprint input file property 'rootSpec$1': Could not stat file 
> \\etc\cas\templates


-- 
- 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 cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/3588bca6c41fb3c7793060b751fb9ad0a0875f03.camel%40uvic.ca.

Reply via email to