You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Sanjay Patel (JIRA)" <ji...@apache.org> on 2016/01/27 19:00:44 UTC
[jira] [Comment Edited] (ATLAS-199) webapp build fails (grunt +
tests)
[ https://issues.apache.org/jira/browse/ATLAS-199?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15119892#comment-15119892 ]
Sanjay Patel edited comment on ATLAS-199 at 1/27/16 6:00 PM:
-------------------------------------------------------------
[~ssomarajapuram@hortonworks.com] [~shwethags] Node modules and bower components are not downloaded every time, they will be downloaded when we will run *mvn* command with *clean* [mvn clean install] argument only. Previously we did kept node_modules and bower files out of the target directory but as those are moved in target directory as per implementation of ATLAS-159.
Also, we are creating dist folder in target directory and then copy only dist directory content for making a war file.
Yes grunt is build tool for JS but right now we are building whole application with *mvn* command only, So downloaded files should be in target and they will be cleaned with *mvn clean* command.
Also we are not moving resources to target directory, we are just copying them for a while and they will be cleaned once *mvn* command run with clean argument
was (Author: sanjayp):
[~ssomarajapuram@hortonworks.com][~shwethags] Node modules and bower components are not downloaded every time, they will be downloaded when we will run *mvn* command with *clean* [mvn clean install] argument only. Previously we did kept node_modules and bower files out of the target directory but as those are moved in target directory as per implementation of ATLAS-159.
Also, we are creating dist folder in target directory and then copy only dist directory content for making a war file.
Yes grunt is build tool for JS but right now we are building whole application with *mvn* command only, So downloaded files should be in target and they will be cleaned with *mvn clean* command.
Also we are not moving resources to target directory, we are just copying them for a while and they will be cleaned once *mvn* command run with clean argument
> webapp build fails (grunt + tests)
> ----------------------------------
>
> Key: ATLAS-199
> URL: https://issues.apache.org/jira/browse/ATLAS-199
> Project: Atlas
> Issue Type: Bug
> Affects Versions: 0.6-incubating
> Reporter: Erik Bergenholtz
> Assignee: Sanjay Patel
> Priority: Critical
> Labels: ATLAS-UI-BUGS
> Fix For: trunk
>
> Attachments: ATLAS-199-v0.patch, ATLAS-199-v1.patch
>
>
> When building Atlas webapp, I see the following issues:
> mvn clean install:
> {code}
> [INFO] Running 'grunt bower --no-color' in /Users/ebergenholtz/git3/incubator-atlas/dashboard
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 34.282 s
> [INFO] Finished at: 2015-09-30T13:55:30-05:00
> [INFO] Final Memory: 35M/420M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:0.0.23:grunt (install bower) on project atlas-webapp: Failed to run task: 'grunt bower --no-color' failed. java.io.IOException: Cannot run program "/Users/ebergenholtz/git3/incubator-atlas/dashboard/node/node" (in directory "/Users/ebergenholtz/git3/incubator-atlas/dashboard"): error=2, No such file or directory -> [Help 1]
> {code}
> Also, if I bypass the grunt task some of the tests fail.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)