Could not build v5.3.0-RC1

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Could not build v5.3.0-RC1

Thach Le-2

Hi all,

 

I build the cas v5.3.0-RC1 from git with gradle 4.4 unsuccessfully.

 

  1. Show version of gradle

PS D:\MyProjects\github.com\cas\git> gradle -v

 

------------------------------------------------------------

Gradle 4.4

------------------------------------------------------------

 

Build time:   2017-12-06 09:05:06 UTC

Revision:     cf7821a6f79f8e2a598df21780e3ff7ce8db2b82

 

Groovy:       2.4.12

Ant:          Apache Ant(TM) version 1.9.9 compiled on February 2 2017

JVM:          1.8.0_144 (Oracle Corporation 25.144-b01)

OS:           Windows 10 10.0 amd64

 

  1. Build cas

PS D:\MyProjects\github.com\cas\git> gradle build install --parallel -x test -x javadoc -x check --debug

 

FAILURE: Build completed with 3 failures.

 

1: Task failed with an exception.

-----------

* What went wrong:

Execution failed for task ':webapp:cas-server-webapp-tomcat:npmLint'.

> Process 'command 'D:\MyProjects\github.com\cas\git\webapp\cas-server-webapp-tomcat\.gradle\nodejs\node-v7.10.0-win-x64\npm.cmd'' 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.

==============================================================================

 

2: Task failed with an exception.

-----------

* What went wrong:

Execution failed for task ':webapp:cas-server-webapp:npmLint'.

> Process 'command 'D:\MyProjects\github.com\cas\git\webapp\cas-server-webapp\.gradle\nodejs\node-v7.10.0-win-x64\npm.cmd'' 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.

==============================================================================

 

3: Task failed with an exception.

-----------

* What went wrong:

Execution failed for task ':webapp:cas-server-webapp-jetty:npmLint'.

> Process 'command 'D:\MyProjects\github.com\cas\git\webapp\cas-server-webapp-jetty\.gradle\nodejs\node-v7.10.0-win-x64\npm.cmd'' 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

 

BUILD FAILED in 18m 58s

 

How can solve this issue?

 

Best regards,

Thach Le

 

--
You received this message because you are subscribed to the Google Groups "CAS Developer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
Visit this group at https://groups.google.com/a/apereo.org/group/cas-dev/.
Reply | Threaded
Open this post in threaded view
|

Re: Could not build v5.3.0-RC1

Misagh Moayyed-4
Are you planning to adopt or deploy CAS or contribute to CAS in this exercise? 

--Misagh


From: "Thach Le" <[hidden email]>
To: "CAS Developer <[hidden email]>" <[hidden email]>
Sent: Thursday, January 4, 2018 4:27:17 PM
Subject: [cas-dev] Could not build v5.3.0-RC1

Hi all,

 

I build the cas v5.3.0-RC1 from git with gradle 4.4 unsuccessfully.

 

  1. Show version of gradle

PS D:\MyProjects\github.com\cas\git> gradle -v

 

------------------------------------------------------------

Gradle 4.4

------------------------------------------------------------

 

Build time:   2017-12-06 09:05:06 UTC

Revision:     cf7821a6f79f8e2a598df21780e3ff7ce8db2b82

 

Groovy:       2.4.12

Ant:          Apache Ant(TM) version 1.9.9 compiled on February 2 2017

JVM:          1.8.0_144 (Oracle Corporation 25.144-b01)

OS:           Windows 10 10.0 amd64

 

  1. Build cas

PS D:\MyProjects\github.com\cas\git> gradle build install --parallel -x test -x javadoc -x check --debug

 

FAILURE: Build completed with 3 failures.

 

1: Task failed with an exception.

-----------

* What went wrong:

Execution failed for task ':webapp:cas-server-webapp-tomcat:npmLint'.

> Process 'command 'D:\MyProjects\github.com\cas\git\webapp\cas-server-webapp-tomcat\.gradle\nodejs\node-v7.10.0-win-x64\npm.cmd'' 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.

==============================================================================

 

2: Task failed with an exception.

-----------

* What went wrong:

Execution failed for task ':webapp:cas-server-webapp:npmLint'.

> Process 'command 'D:\MyProjects\github.com\cas\git\webapp\cas-server-webapp\.gradle\nodejs\node-v7.10.0-win-x64\npm.cmd'' 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.

==============================================================================

 

3: Task failed with an exception.

-----------

* What went wrong:

Execution failed for task ':webapp:cas-server-webapp-jetty:npmLint'.

> Process 'command 'D:\MyProjects\github.com\cas\git\webapp\cas-server-webapp-jetty\.gradle\nodejs\node-v7.10.0-win-x64\npm.cmd'' 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

 

BUILD FAILED in 18m 58s

 

How can solve this issue?

 

Best regards,

Thach Le

 

--
You received this message because you are subscribed to the Google Groups "CAS Developer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
Visit this group at https://groups.google.com/a/apereo.org/group/cas-dev/.

--
You received this message because you are subscribed to the Google Groups "CAS Developer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
Visit this group at https://groups.google.com/a/apereo.org/group/cas-dev/.
Reply | Threaded
Open this post in threaded view
|

Re: Could not build v5.3.0-RC1

Thach Le-2
Dear Misagh,

Yes. I want to build the CAS from source code to prepare some demo such as:
1) Configure to allow login from Facebook.
2) Try to develop a new feature: allow login by face detection using traking.js + opencv + python facenet.

Thanks for your support.

Best regards,

Thach Le

On Fri, Jan 5, 2018 at 11:44 PM, Misagh Moayyed <[hidden email]> wrote:
Are you planning to adopt or deploy CAS or contribute to CAS in this exercise? 

--Misagh


From: "Thach Le" <[hidden email]>
To: "CAS Developer <[hidden email]>" <[hidden email]>
Sent: Thursday, January 4, 2018 4:27:17 PM
Subject: [cas-dev] Could not build v5.3.0-RC1

Hi all,

 

I build the cas v5.3.0-RC1 from git with gradle 4.4 unsuccessfully.

 

  1. Show version of gradle

PS D:\MyProjects\github.com\cas\git> gradle -v

 

------------------------------------------------------------

Gradle 4.4

------------------------------------------------------------

 

Build time:   2017-12-06 09:05:06 UTC

Revision:     cf7821a6f79f8e2a598df21780e3ff7ce8db2b82

 

Groovy:       2.4.12

Ant:          Apache Ant(TM) version 1.9.9 compiled on February 2 2017

JVM:          1.8.0_144 (Oracle Corporation 25.144-b01)

OS:           Windows 10 10.0 amd64

 

  1. Build cas

PS D:\MyProjects\github.com\cas\git> gradle build install --parallel -x test -x javadoc -x check --debug

 

FAILURE: Build completed with 3 failures.

 

1: Task failed with an exception.

-----------

* What went wrong:

Execution failed for task ':webapp:cas-server-webapp-tomcat:npmLint'.

> Process 'command 'D:\MyProjects\github.com\cas\git\webapp\cas-server-webapp-tomcat\.gradle\nodejs\node-v7.10.0-win-x64\npm.cmd'' 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.

==============================================================================

 

2: Task failed with an exception.

-----------

* What went wrong:

Execution failed for task ':webapp:cas-server-webapp:npmLint'.

> Process 'command 'D:\MyProjects\github.com\cas\git\webapp\cas-server-webapp\.gradle\nodejs\node-v7.10.0-win-x64\npm.cmd'' 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.

==============================================================================

 

3: Task failed with an exception.

-----------

* What went wrong:

Execution failed for task ':webapp:cas-server-webapp-jetty:npmLint'.

> Process 'command 'D:\MyProjects\github.com\cas\git\webapp\cas-server-webapp-jetty\.gradle\nodejs\node-v7.10.0-win-x64\npm.cmd'' 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

 

BUILD FAILED in 18m 58s

 

How can solve this issue?

 

Best regards,

Thach Le

 

--
You received this message because you are subscribed to the Google Groups "CAS Developer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
Visit this group at https://groups.google.com/a/apereo.org/group/cas-dev/.

--
You received this message because you are subscribed to the Google Groups "CAS Developer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
Visit this group at https://groups.google.com/a/apereo.org/group/cas-dev/.

--
You received this message because you are subscribed to the Google Groups "CAS Developer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
Visit this group at https://groups.google.com/a/apereo.org/group/cas-dev/.
Reply | Threaded
Open this post in threaded view
|

Re: Could not build v5.3.0-RC1

Misagh Moayyed-4
Good for you. You are probably running into a windows-specific issue with npm; Remove all .gradle directories and the node_modules downloaded and try again. 

Also, pull from master rather than a tag. 

--Misagh


From: "Thach Le" <[hidden email]>
To: "Misagh Moayyed" <[hidden email]>
Cc: "CAS Developer <[hidden email]>" <[hidden email]>
Sent: Sunday, January 7, 2018 8:58:57 AM
Subject: Re: [cas-dev] Could not build v5.3.0-RC1
Dear Misagh,

Yes. I want to build the CAS from source code to prepare some demo such as:
1) Configure to allow login from Facebook.
2) Try to develop a new feature: allow login by face detection using traking.js + opencv + python facenet.

Thanks for your support.

Best regards,

Thach Le

On Fri, Jan 5, 2018 at 11:44 PM, Misagh Moayyed <[hidden email]> wrote:
Are you planning to adopt or deploy CAS or contribute to CAS in this exercise? 

--Misagh


From: "Thach Le" <[hidden email]>
To: "CAS Developer <[hidden email]>" <[hidden email]>
Sent: Thursday, January 4, 2018 4:27:17 PM
Subject: [cas-dev] Could not build v5.3.0-RC1

Hi all,

 

I build the cas v5.3.0-RC1 from git with gradle 4.4 unsuccessfully.

 

  1. Show version of gradle

PS D:\MyProjects\github.com\cas\git> gradle -v

 

------------------------------------------------------------

Gradle 4.4

------------------------------------------------------------

 

Build time:   2017-12-06 09:05:06 UTC

Revision:     cf7821a6f79f8e2a598df21780e3ff7ce8db2b82

 

Groovy:       2.4.12

Ant:          Apache Ant(TM) version 1.9.9 compiled on February 2 2017

JVM:          1.8.0_144 (Oracle Corporation 25.144-b01)

OS:           Windows 10 10.0 amd64

 

  1. Build cas

PS D:\MyProjects\github.com\cas\git> gradle build install --parallel -x test -x javadoc -x check --debug

 

FAILURE: Build completed with 3 failures.

 

1: Task failed with an exception.

-----------

* What went wrong:

Execution failed for task ':webapp:cas-server-webapp-tomcat:npmLint'.

> Process 'command 'D:\MyProjects\github.com\cas\git\webapp\cas-server-webapp-tomcat\.gradle\nodejs\node-v7.10.0-win-x64\npm.cmd'' 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.

==============================================================================

 

2: Task failed with an exception.

-----------

* What went wrong:

Execution failed for task ':webapp:cas-server-webapp:npmLint'.

> Process 'command 'D:\MyProjects\github.com\cas\git\webapp\cas-server-webapp\.gradle\nodejs\node-v7.10.0-win-x64\npm.cmd'' 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.

==============================================================================

 

3: Task failed with an exception.

-----------

* What went wrong:

Execution failed for task ':webapp:cas-server-webapp-jetty:npmLint'.

> Process 'command 'D:\MyProjects\github.com\cas\git\webapp\cas-server-webapp-jetty\.gradle\nodejs\node-v7.10.0-win-x64\npm.cmd'' 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

 

BUILD FAILED in 18m 58s

 

How can solve this issue?

 

Best regards,

Thach Le

 

--
You received this message because you are subscribed to the Google Groups "CAS Developer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
Visit this group at https://groups.google.com/a/apereo.org/group/cas-dev/.

--
You received this message because you are subscribed to the Google Groups "CAS Developer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
Visit this group at https://groups.google.com/a/apereo.org/group/cas-dev/.


 


This email has been scanned for spam and viruses by Proofpoint Essentials. Click here to report this email as spam.


--
You received this message because you are subscribed to the Google Groups "CAS Developer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
Visit this group at https://groups.google.com/a/apereo.org/group/cas-dev/.
Reply | Threaded
Open this post in threaded view
|

RE: Could not build v5.3.0-RC1

Thach Le-2

Dear Misagh,

 

Thank for your guideline. I have try to remove all .gradle directories, mode_modules and try build again. The problem is not solved.

 

Now, I’m try to build on Ubuntu 16.04.3 x64.

 

Step 1) Clone the git of cas by command: git clone https://github.com/apereo/cas.git

Step 2) Install JDK 8

 

Step 3) Install gradle by command: sudo apt install gradle

Step 4) Check version of JDK, gradle after installed them

thachln@ubuntu64:~$ java -version

java version "1.8.0_152"

Java(TM) SE Runtime Environment (build 1.8.0_152-b16)

Java HotSpot(TM) 64-Bit Server VM (build 25.152-b16, mixed mode)

 

thachln@ubuntu64:/opt$ gradle -v

 

------------------------------------------------------------

Gradle 4.4.1

------------------------------------------------------------

 

Build time:   2017-12-20 15:45:23 UTC

Revision:     10ed9dc355dc39f6307cc98fbd8cea314bdd381c

 

Groovy:       2.4.12

Ant:          Apache Ant(TM) version 1.9.9 compiled on February 2 2017

JVM:          1.8.0_152 (Oracle Corporation 25.152-b16)

OS:           Linux 4.10.0-28-generic amd64

 

Step 5) Build cas

gradle build install --parallel -x test -x javadoc -x check

 

I have tried to pull the latest version as below:

thachln@ubuntu17:~/Documents/Projects/cas/git/cas$ git pull

Already up-to-date.

 

The error is as below:

    stdout-stream@1.4.0

    │ └─ readable-stream@2.3.3

    │   ── isarray@1.0.0

    │   └── string_decoder@1.0.3

    └─ true-case-path@1.0.2

      └── glob@6.0.4

 

 

 

FAILURE: Build failed with an exception.

 

* What went wrong:

Execution failed for task ':webapp:cas-server-webapp:npm_install'.

> Process 'command '/home/thachln/cas/git/cas/webapp/cas-server-webapp/.gradle/nodejs/node-v7.10.0-linux-x64/bin/npm'' 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

 

BUILD FAILED in 33m 53s

2411 actionable tasks: 1459 executed, 952 up-to-date

 

Best regards,

 

Thach Le

From: [hidden email]
Sent: Tuesday, January 9, 2018 2:36 AM
To: [hidden email]
Subject: Re: [cas-dev] Could not build v5.3.0-RC1

 

Good for you. You are probably running into a windows-specific issue with npm; Remove all .gradle directories and the node_modules downloaded and try again. 

 

Also, pull from master rather than a tag. 

 

--Misagh

 

From: "Thach Le" <[hidden email]>
To: "Misagh Moayyed" <[hidden email]>
Cc: "CAS Developer <[hidden email]>" <[hidden email]>
Sent: Sunday, January 7, 2018 8:58:57 AM
Subject: Re: [cas-dev] Could not build v5.3.0-RC1

Dear Misagh,

Yes. I want to build the CAS from source code to prepare some demo such as:

1) Configure to allow login from Facebook.

2) Try to develop a new feature: allow login by face detection using traking.js + opencv + python facenet.

Thanks for your support.

Best regards,

Thach Le

 

On Fri, Jan 5, 2018 at 11:44 PM, Misagh Moayyed <[hidden email]> wrote:

Are you planning to adopt or deploy CAS or contribute to CAS in this exercise? 

 

--Misagh

 

From: "Thach Le" <[hidden email]>
To: "CAS Developer <[hidden email]>" <[hidden email]>
Sent: Thursday, January 4, 2018 4:27:17 PM
Subject: [cas-dev] Could not build v5.3.0-RC1

Hi all,

 

I build the cas v5.3.0-RC1 from git with gradle 4.4 unsuccessfully.

 

1.    Show version of gradle

PS D:\MyProjects\github.com\cas\git> gradle -v

 

------------------------------------------------------------

Gradle 4.4

------------------------------------------------------------

 

Build time:   2017-12-06 09:05:06 UTC

Revision:     cf7821a6f79f8e2a598df21780e3ff7ce8db2b82

 

Groovy:       2.4.12

Ant:          Apache Ant(TM) version 1.9.9 compiled on February 2 2017

JVM:          1.8.0_144 (Oracle Corporation 25.144-b01)

OS:           Windows 10 10.0 amd64

 

2.    Build cas

PS D:\MyProjects\github.com\cas\git> gradle build install --parallel -x test -x javadoc -x check --debug

 

FAILURE: Build completed with 3 failures.

 

1: Task failed with an exception.

-----------

* What went wrong:

Execution failed for task ':webapp:cas-server-webapp-tomcat:npmLint'.

> Process 'command 'D:\MyProjects\github.com\cas\git\webapp\cas-server-webapp-tomcat\.gradle\nodejs\node-v7.10.0-win-x64\npm.cmd'' 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.

==============================================================================

 

2: Task failed with an exception.

-----------

* What went wrong:

Execution failed for task ':webapp:cas-server-webapp:npmLint'.

> Process 'command 'D:\MyProjects\github.com\cas\git\webapp\cas-server-webapp\.gradle\nodejs\node-v7.10.0-win-x64\npm.cmd'' 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.

==============================================================================

 

3: Task failed with an exception.

-----------

* What went wrong:

Execution failed for task ':webapp:cas-server-webapp-jetty:npmLint'.

> Process 'command 'D:\MyProjects\github.com\cas\git\webapp\cas-server-webapp-jetty\.gradle\nodejs\node-v7.10.0-win-x64\npm.cmd'' 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

 

BUILD FAILED in 18m 58s

 

How can solve this issue?

 

Best regards,

Thach Le

 

--
You received this message because you are subscribed to the Google Groups "CAS Developer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
Visit this group at https://groups.google.com/a/apereo.org/group/cas-dev/.

--
You received this message because you are subscribed to the Google Groups "CAS Developer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
Visit this group at https://groups.google.com/a/apereo.org/group/cas-dev/.

 

 

 

This email has been scanned for spam and viruses by Proofpoint Essentials. Click here to report this email as spam.

 

--
You received this message because you are subscribed to the Google Groups "CAS Developer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
Visit this group at https://groups.google.com/a/apereo.org/group/cas-dev/.

 

--
You received this message because you are subscribed to the Google Groups "CAS Developer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
Visit this group at https://groups.google.com/a/apereo.org/group/cas-dev/.