Re: [onap-discuss] compile about aai-spark-fe

2017-10-31 Thread Arul Nambi
Hi,
Sparky FE is a react application. And I think you are using maven commands to 
build the application.
I would not recommend running just the FE, but if you need it for development 
purposes, you can run the react UI(FE) as is without the BE for which you will 
need NPM and node installed on your machine. Please refer to the readme in the 
repo and let me know if you still have questions.
Regards
Arul


From: onap-discuss-boun...@lists.onap.org 
[mailto:onap-discuss-boun...@lists.onap.org] On Behalf Of aijianwen
Sent: Tuesday, October 31, 2017 9:10 AM
To: onap-discuss@lists.onap.org
Subject: [onap-discuss] compile about aai-spark-fe

Hi, team
   I compile the module: aai-spark-fe. Then it is not stable.
I compile it in Oct. 24:
[INFO] Installing 
/directory/var/jenkins/workspace/aai-spark-fe-1.1.0/target/sparky-fe-1.0.0-SNAPSHOT.war
 to 
/directory/repository/org/onap/aai/sparky-fe/sparky-fe/1.0.0-SNAPSHOT/sparky-fe-1.0.0-SNAPSHOT.war
[INFO] Installing /directory/var/jenkins/workspace/aai-spark-fe-1.1.0/pom.xml 
to 
/directory/repository/org/onap/aai/sparky-fe/sparky-fe/1.0.0-SNAPSHOT/sparky-fe-1.0.0-SNAPSHOT.pom
[INFO] 
[INFO] BUILD SUCCESS
[INFO] 
[INFO] Total time: 06:05 min
[INFO] Finished at: 2017-10-25T11:50:54+08:00
[INFO] Final Memory: 22M/1126M
[INFO] 

Oct. 31, I downloaded the new code, then it can't be compiled:

[INFO] 

[INFO] Building aai-sparky-fe 1.0.0-SNAPSHOT

[INFO] 

[INFO]

[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ sparky-fe ---

[INFO]

[INFO] --- frontend-maven-plugin:1.4:install-node-and-npm (install node and 
npm) @ sparky-fe ---

[INFO] Installing node version v6.2.2

[INFO] Unpacking 
/directory/repository/com/github/eirslett/node/6.2.2/node-6.2.2-linux-x64.tar.gz
 into /directory/var/jenkins/workspace/aai-spark-fe-compile-1.1.0/node/tmp

[INFO] Copying node binary from 
/directory/var/jenkins/workspace/aai-spark-fe-compile-1.1.0/node/tmp/node-v6.2.2-linux-x64/bin/node
 to /directory/var/jenkins/workspace/aai-spark-fe-compile-1.1.0/node/node

[INFO] Installed node locally.

[INFO] Installing npm version 3.10.3

[INFO] Unpacking 
/directory/repository/com/github/eirslett/npm/3.10.3/npm-3.10.3.tar.gz into 
/directory/var/jenkins/workspace/aai-spark-fe-compile-1.1.0/node/node_modules

[INFO] 

[INFO] BUILD FAILURE

[INFO] 

[INFO] Total time: 2.480 s

[INFO] Finished at: 2017-10-31T11:28:00+08:00

[INFO] Final Memory: 31M/1963M

[INFO] 

[ERROR] Failed to execute goal 
com.github.eirslett:frontend-maven-plugin:1.4:install-node-and-npm (install 
node and npm) on project sparky-fe: Could not extract the npm archive: Could 
not extract archive: 
'/directory/repository/com/github/eirslett/npm/3.10.3/npm-3.10.3.tar.gz': Error 
detected parsing the header: Invalid byte 37 at offset 7 in 't__(se{NUL}%' 
len=8 -> [Help 1]

How to solve it?
This message and the information contained herein is proprietary and 
confidential and subject to the Amdocs policy statement,

you may review at https://www.amdocs.com/about/email-disclaimer 
<https://www.amdocs.com/about/email-disclaimer>
___
onap-discuss mailing list
onap-discuss@lists.onap.org
https://lists.onap.org/mailman/listinfo/onap-discuss


[onap-discuss] compile about aai-spark-fe

2017-10-30 Thread aijianwen
Hi, team
   I compile the module: aai-spark-fe. Then it is not stable.
I compile it in Oct. 24:
[INFO] Installing 
/directory/var/jenkins/workspace/aai-spark-fe-1.1.0/target/sparky-fe-1.0.0-SNAPSHOT.war
 to 
/directory/repository/org/onap/aai/sparky-fe/sparky-fe/1.0.0-SNAPSHOT/sparky-fe-1.0.0-SNAPSHOT.war
[INFO] Installing /directory/var/jenkins/workspace/aai-spark-fe-1.1.0/pom.xml 
to 
/directory/repository/org/onap/aai/sparky-fe/sparky-fe/1.0.0-SNAPSHOT/sparky-fe-1.0.0-SNAPSHOT.pom
[INFO] 
[INFO] BUILD SUCCESS
[INFO] 
[INFO] Total time: 06:05 min
[INFO] Finished at: 2017-10-25T11:50:54+08:00
[INFO] Final Memory: 22M/1126M
[INFO] 

Oct. 31, I downloaded the new code, then it can't be compiled:

[INFO] 

[INFO] Building aai-sparky-fe 1.0.0-SNAPSHOT

[INFO] 

[INFO]

[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ sparky-fe ---

[INFO]

[INFO] --- frontend-maven-plugin:1.4:install-node-and-npm (install node and 
npm) @ sparky-fe ---

[INFO] Installing node version v6.2.2

[INFO] Unpacking 
/directory/repository/com/github/eirslett/node/6.2.2/node-6.2.2-linux-x64.tar.gz
 into /directory/var/jenkins/workspace/aai-spark-fe-compile-1.1.0/node/tmp

[INFO] Copying node binary from 
/directory/var/jenkins/workspace/aai-spark-fe-compile-1.1.0/node/tmp/node-v6.2.2-linux-x64/bin/node
 to /directory/var/jenkins/workspace/aai-spark-fe-compile-1.1.0/node/node

[INFO] Installed node locally.

[INFO] Installing npm version 3.10.3

[INFO] Unpacking 
/directory/repository/com/github/eirslett/npm/3.10.3/npm-3.10.3.tar.gz into 
/directory/var/jenkins/workspace/aai-spark-fe-compile-1.1.0/node/node_modules

[INFO] 

[INFO] BUILD FAILURE

[INFO] 

[INFO] Total time: 2.480 s

[INFO] Finished at: 2017-10-31T11:28:00+08:00

[INFO] Final Memory: 31M/1963M

[INFO] 

[ERROR] Failed to execute goal 
com.github.eirslett:frontend-maven-plugin:1.4:install-node-and-npm (install 
node and npm) on project sparky-fe: Could not extract the npm archive: Could 
not extract archive: 
'/directory/repository/com/github/eirslett/npm/3.10.3/npm-3.10.3.tar.gz': Error 
detected parsing the header: Invalid byte 37 at offset 7 in 't__(se{NUL}%' 
len=8 -> [Help 1]

How to solve it?
___
onap-discuss mailing list
onap-discuss@lists.onap.org
https://lists.onap.org/mailman/listinfo/onap-discuss