You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Trevor McKay (JIRA)" <ji...@apache.org> on 2014/01/06 18:16:07 UTC

[jira] [Commented] (AMBARI-3567) Make provisions for ambari-web/public content to be read from a static location

    [ https://issues.apache.org/jira/browse/AMBARI-3567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13863119#comment-13863119 ] 

Trevor McKay commented on AMBARI-3567:
--------------------------------------

So to skip the web build and pull content from some path, it would look like this:

mvn -P static-web -X -B -e clean install rpm:rpm -Dambari-web-dir=/my/content/path

ambari-web-dir defaults to ambari-web/public

> Make provisions for ambari-web/public content to be read from a static location
> -------------------------------------------------------------------------------
>
>                 Key: AMBARI-3567
>                 URL: https://issues.apache.org/jira/browse/AMBARI-3567
>             Project: Ambari
>          Issue Type: Improvement
>          Components: build
>    Affects Versions: 1.4.1
>         Environment: Fedora 19
>            Reporter: Trevor McKay
>            Assignee: Trevor McKay
>             Fix For: 1.4.3
>
>         Attachments: static-web.patch
>
>
> Nodejs dependencies add to the number of things that have to be packaged in order to include Ambari in Fedora (and potentially other distributions).
> If the content in ambari-web/public can be added to the Ambari source tree and read from that location by ambari-server at build time, then nodejs will not be a required dependency on Fedora.  Static web content can be generated as needed and updated in the Ambari source tree.
> To this end, the current maven build system should support an option to skip the ambari-web module at build time.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)