That did it, that's the fix, thank you so much!!!

On Monday, May 30, 2022 at 11:41:07 AM UTC-7 Trevor Fong wrote:

> Hi Joe,
> I ran into the same problem myself.  
> The problem was that "cas.version" was set to nothing in gradle.properties 
> (ie "cas.version=").
> To get it to compile I had to do the following (on MacOS/bash):
>
> setjdk 11
> getcas --directory cas-management-overlay-6.5.4 --type 
> cas-management-overlay --casVersion 6.5.4
> cd directory cas-management-overlay-6.5.4
> sed -i .orig 's/^cas\.version=.*/cas\.version=6\.5\.4/g' gradle.properties
> ./gradlew clean build
>
> ---
> BTW, here's a handy function if you have to run multiple JDK's:
> function setjdk() {
>   if [ $# -ne 0 ]; then
>    removeFromPath '/System/Library/Frameworks/JavaVM.framework/Home/bin'
>    if [ -n "${JAVA_HOME+x}" ]; then
>     removeFromPath $JAVA_HOME
>    fi
>    export JAVA_HOME=`/usr/libexec/java_home -v $@`
>    export PATH=$JAVA_HOME/bin:$PATH
>   fi
>  }
>
> Thanks,
> Trev
>
> On Fri, 27 May 2022 at 21:30, Joe Gullo <surfr...@surfrock66.com> wrote:
>
>> i will try that, but getcas is one of the recommended ways to build the 
>> overlay.  We're successfully using it for the other projects.  You can see 
>> the doc on it here, it works well for the configserver and the regular cas 
>> overlay template:
>>
>>
>> https://apereo.github.io/cas/6.5.x/installation/WAR-Overlay-Initializr.html
>>
>> On Friday, May 27, 2022 at 1:53:06 PM UTC-7 Ray Bon wrote:
>>
>>> Joe,
>>>
>>> git clone https://github.com/apereo/cas-management-overlay.git
>>> cd cas-management-overlay/
>>> git fetch origin 6.5
>>> git checkout 6.5
>>> ./gradlew clean build
>>>
>>> What is getcas?
>>>
>>> Perhaps what you were attempting was building the main project. That is 
>>> for developers, deployers use the overlays.
>>>
>>> Ray
>>>
>>> On Fri, 2022-05-27 at 09:02 -0700, Joe Gullo wrote:
>>>
>>> Notice: This message was sent from outside the University of Victoria 
>>> email system. Please be cautious with links and sensitive information. 
>>>
>>>
>>> I've been trying to build CAS Management Overlay, but I'm finding the 
>>> documentation a bit difficult to follow.  My understanding is it should 
>>> produce a standalone war, correct?I have a deployment procedure that 
>>> follows this: 
>>>
>>> cd /opt/cas
>>> rm -Rf /opt/cas/cas-management.orgname
>>> getcas --directory cas-management.orgname --casVersion 6.5.3 --type 
>>> cas-management-overlay
>>> cd -orgname
>>> cd /opt/cas/cas-management.orgname/
>>> chown -R casadmin:casadmin /opt/cas/cas-management.orgname
>>> sudo -u casadmin ./gradlew clean build
>>>
>>> This fails with the following:
>>>
>>> * What went wrong:
>>> Execution failed for task ':compileJava'.
>>> > Could not resolve all files for configuration ':compileClasspath'.
>>>    > Could not find org.apereo.cas:cas-server-support-bom:.
>>>      Required by:
>>>          project :
>>>
>>> I've seen some other people building this and looking at their 
>>> procedures, it leads me to believe I need to download the actual 
>>> cas-overlay to the same directory before attempting to build, or is 
>>> something just wrong with the build environment?  I haven't seen much about 
>>> building it in the documentation.
>>>
>>> -- 
>>>
>>> Ray Bon
>>> Programmer Analyst
>>> Development Services, University Systems
>>> 2507218831 <(250)%20721-8831> | CLE 019 | rb...@uvic.ca
>>>
>>> I acknowledge and respect the lək̓ʷəŋən peoples on whose traditional 
>>> territory the university stands, and the Songhees, Esquimalt and WSÁNEĆ 
>>> peoples whose historical relationships with the land continue to this day.
>>>
>> -- 
>>
> - 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+u...@apereo.org.
>>
> To view this discussion on the web visit 
>> https://groups.google.com/a/apereo.org/d/msgid/cas-user/7c5b85d2-12f9-4ecc-af35-7904f8893960n%40apereo.org
>>  
>> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/7c5b85d2-12f9-4ecc-af35-7904f8893960n%40apereo.org?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
- 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/c014f5eb-edb4-4aba-b338-52f683a79cb3n%40apereo.org.

Reply via email to