Tom,

There is David Curry's build log, 
https://dacurry-tns.github.io/deploying-apereo-cas/introduction_overview.html.
And this on the overlay, 
https://apereo.github.io/2018/11/16/cas60-gettingstarted-overlay/

Ray

On Fri, 2020-01-31 at 11:12 -0800, Tom Healey 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 <jerem...@gmail.com>
Reply: Jérémie Pilette <jerem...@gmail.com>
Date: January 2, 2020 at 2:47:55 PM
To: CAS Community <cas...@apereo.org>
Cc: dkopy...@unicon.net <dkop...@unicon.net>
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 <jerem...@gmail.com>
Reply: cas-...@apereo.org <cas...@apereo.org>
Date: January 2, 2020 at 7:57:00 AM
To: CAS Community <cas...@apereo.org>
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 cas-...@apereo.org.
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 | rb...@uvic.ca

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 | rb...@uvic.ca<javascript:>

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 | r...@uvic.ca<mailto:r...@uvic.ca>

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

Reply via email to