Thanks Dmitriy! Tom On Fri, Jan 31, 2020 at 2:20 PM Dmitriy Kopylenko <[email protected]> wrote:
> This might be helpful: > https://apereo.github.io/2019/01/07/cas61-gettingstarted-overlay/ > > D. > On Jan 31, 2020, 14:12 -0500, Tom Healey <[email protected]>, wrote: > > Ray, > Again thanks for the quick response. > I COULD use 6.1.3. I switched to the 6.1 branch and was able to > successfully build the war. > THANKS!!!!! > > Could you point me to some resources on how to work with the CAS overlay? > I DOCs aren't as helpful to me as I need and this is my first time working > with the overlays. > > Thanks again. > Tom > > On Friday, January 31, 2020 at 12:46:54 PM UTC-5, rbon wrote: >> >> Tom, >> >> I have only recently started working with the docker build process, so >> not an expert. >> You should be able to see in the build log where gradle is looking for >> the packages (may need to turn of gradle output). You can then browse those >> locations to see what is there. >> >> If you are intending to pull a completed war into a docker, could you use >> 6.1.x version? >> Since it is officially released, the packages should all be there. It may >> be that some of 6.2.x has not been pushed. >> >> Ray >> >> On Fri, 2020-01-31 at 07:28 -0800, Tom Healey wrote: >> >> >> Ray, >> Thanks for the quick response. >> >> Some of that follows is a repeat but I am rewriting for clarity, I hope. >> Sorry. >> >> I am working from this project: >> https://github.com/apereo/cas-overlay-template/ >> <https://github.com/apereo/cas-overlay-template/blob/master/gradle.properties> >> as I am trying to build a docker image of the CAS war eventually. >> >> Running the ./docker-build.sh task successfully builds the war and the >> docker image but only after I changed the cas.version property to 6.2.0-RC2. >> >> Background: >> When I used what was container build in the gradle.preperties file in the >> repo ( 6.2.0-SNAPSHOT) it would fail. It wasn’t until I changed >> cas.version property to 6.2.0-RC2 that it worked because 6.2.0-SNAPSHOT >> doesn’t exist in the maven repo, I am assuming. >> >> Current problem: >> I am trying to modify this CAS overlay for my own needs and am trying to >> build the war without building the docker image to speed up development. It >> takes 10 mins to build the image on my machine because a fair bit of the >> time it downloads the gradle version specified in the build event though it >> exists on my machine already. >> When I run ./gradlew it fails with this error: >> could not resolve >> org.apereo.cas:cas-server-core-api-configuration-model:6.2.0-RC2. >> >> again it doesn’t fail when building under docker. >> >> >> >> Any thoughts? >> >> Tom >> >> On Wednesday, January 29, 2020 at 7:19:46 PM UTC-5, rbon wrote: >> >> Tom, >> >> I think if you are running the release candidates, check >> https://github.com/apereo/cas/blob/master/gradle.properties to see what >> master is set at. >> Try 6.2.0-SNAPSHOT >> >> Ray >> >> On Wed, 2020-01-29 at 13:35 -0800, Tom Healey wrote: >> >> Hi all, >> I am trying to modify the overlay from >> >> from the CAS overlay directory that i downloaded from gitbub. >> >> >> I have changed my gradle.properties >> to *cas.version=6.2.0-RC2* >> >> *(I copied it right from the posting. )* >> >> and I get: >> >> >> *Could not resolve >> org.apereo.cas:cas-server-core-api-configuration-model:6.2.0-RC2.* >> >> I am running ./gradlew from the command line. >> >> When I run it from the docker-build file it works but I can't use that >> all the time. I want to configure the CAS war to suit my needs and I think >> I need to do that with gradlew. >> I looked through the docker build to see if I could reverse engineer it >> to get the right things in place so it can find what it needs to run from >> the command line with ./gradlew only. >> >> Thanks, >> Tom >> >> On Thursday, January 2, 2020 at 2:59:28 PM UTC-5, Dmitriy Kopylenko >> wrote: >> >> You might want to run it with —info or —debug flag to see what might be >> failing, like so: >> >> ./gradlew run —info >> >> or build and run as two separate steps: >> >> ./gradlew clean build >> java -jar build/libs/cas.war >> >> D. >> >> >> From: Jérémie Pilette <[email protected]> >> Reply: Jérémie Pilette <[email protected]> >> Date: January 2, 2020 at 2:47:55 PM >> To: CAS Community <[email protected]> >> Cc: [email protected] <[email protected]> >> Subject: Re: [cas-user] 6.2.x Gradle Compilation >> >> Hi Dmitriy, >> thank you. >> Now I have another ailed : >> >> > Task :run FAILED >> >> FAILURE: Build failed with an exception. >> >> * Where: >> Script '/home/USER/bin/cas-overlay-template/gradle/tasks.gradle' line: 57 >> >> * What went wrong: >> Execution failed for task ':run'. >> > Process 'command '/usr/lib/jvm/java-11-openjdk-amd64/bin/java'' >> finished with non-zero exit value 1 >> >> * Try: >> Run with --stacktrace option to get the stack trace. Run with --info or >> --debug option to get more log output. Run with --scan to get full insights. >> >> * Get more help at https://help.gradle.org >> >> Deprecated Gradle features were used in this build, making it >> incompatible with Gradle 7.0. >> Use '--warning-mode all' to show the individual deprecation warnings. >> See >> https://docs.gradle.org/6.0.1/userguide/command_line_interface.html#sec:command_line_warnings >> >> Thank you, >> Jérémie >> >> >> Le jeudi 2 janvier 2020 14:24:48 UTC+1, Dmitriy Kopylenko a écrit : >> >> Hi there. >> >> Change version of CAS to 6.2 RC2 in gradle.properties like so: >> >> *cas.version=6.2.0-RC2* >> >> Best, >> D. >> >> >> From: Jérémie Pilette <[email protected]> >> Reply: [email protected] <[email protected]> >> Date: January 2, 2020 at 7:57:00 AM >> To: CAS Community <[email protected]> >> Subject: [cas-user] 6.2.x Gradle Compilation >> >> Hi everybody, >> I have a problem with my first compilation of cas-overlay-template (6.2.x) >> >> Here this is my messages : >> >> FAILURE: Build failed with an exception. >> A problem occurred evaluating root project 'cas'. >> > Could not resolve all artifacts for configuration 'classpath'. >> > Could not find >> org.apereo.cas:cas-server-core-api-configuration-model:6.2.0-SNAPSHOT. >> [...] >> Could not find >> org.apereo.cas:cas-server-core-configuration-metadata-repository:6.2.0-SNAPSHOT. >> Searched in the following locations: >> [...] >> >> >> Do you have an idea please ? >> >> Jérémie >> -- >> - 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/5f89af02-21ff-4d66-82ca-73474ffb4b52%40apereo.org >> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/5f89af02-21ff-4d66-82ca-73474ffb4b52%40apereo.org?utm_medium=email&utm_source=footer> >> . >> >> >> >> >> ------------------------------ >> >> This email has been scanned for spam and viruses by Proofpoint >> Essentials. Click here >> <https://us2.proofpointessentials.com/index01.php?mod_id=11&mod_option=logitem&mail_id=1577994474-hk1Nk1kKYSlm&r_address=dkopylenko%40unicon.net&report=1> >> to report this email as spam. >> >> = >> >> -- >> >> >> Ray Bon >> Programmer Analyst >> Development Services, University Systems >> 2507218831 | CLE 019 | [email protected] >> >> I respectfully acknowledge that my place of work is located within the >> ancestral, traditional and unceded territory of the Songhees, Esquimalt and >> WSÁNEĆ Nations. >> >> -- >> >> Ray Bon >> Programmer Analyst >> Development Services, University Systems >> 2507218831 | CLE 019 | [email protected] >> >> I respectfully acknowledge that my place of work is located within the >> ancestral, traditional and unceded territory of the Songhees, Esquimalt and >> WSÁNEĆ Nations. >> > -- > - 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/e47d9581-76c8-48ad-b242-827231098026%40apereo.org > <https://groups.google.com/a/apereo.org/d/msgid/cas-user/e47d9581-76c8-48ad-b242-827231098026%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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/a/apereo.org/d/msgid/cas-user/4e82b31f-2154-433e-8808-45f9ddf50ef4%40Spark > <https://groups.google.com/a/apereo.org/d/msgid/cas-user/4e82b31f-2154-433e-8808-45f9ddf50ef4%40Spark?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 [email protected]. To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAEz6wGMknu%2BGFb%3DaKRV3_%2B6WOLVOiz2Dn6h-ZXKV7TWoJM_WhQ%40mail.gmail.com.
