You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lens.apache.org by "Raghavendra Singh (JIRA)" <ji...@apache.org> on 2015/06/18 12:57:00 UTC

[jira] [Commented] (LENS-536) Multiple issues in generate site script

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

Raghavendra Singh commented on LENS-536:
----------------------------------------

Here is the approach followed:-
1. Added -DskipCheck to " mvn clean test " and " mvn install "

2. and 4. On generating site, the entire content of site/publish is regenerated, except versions folder(which contains version info of all previous versions as well)
Hence, all content of site/publish can be deleted except for versions folder
This can be achieved by taking backup of current site/publish folder, deleting all content, and putting back versions folder
before the new generated site is added

> Multiple issues in generate site script
> ---------------------------------------
>
>                 Key: LENS-536
>                 URL: https://issues.apache.org/jira/browse/LENS-536
>             Project: Apache Lens
>          Issue Type: Improvement
>          Components: docs
>            Reporter: Amareshwari Sriramadasu
>            Priority: Critical
>             Fix For: 2.2
>
>
> Here are some of the issues i faced while generating doc for 2.1 release :
> # mvn clean install run more than once, which makes generated-site to take more time. We should add -DskipCheck to skip findbugs check, rat check, checkstyle check and etc.
> # site/publish directly contains current release documentation. When a copy is done from new release doc to site/publish, deleted html files in documentation are not removed from site/publish, as copy will only do it for modified and new files.
> # Copying everything from /tmp/lens-site-stage to svn repo -- did not happen when i ran the script. Had to do it manually
> # When copying docs from  /tmp/lens-site-stage to svn repo, we cannot simply copy everything as versions/ directory in  /tmp/lens-site-stage does not have all versions. I had to skip versions/ directory explicitly and copy other directories, and then copy versions/<releaseversion> to versions/ as separate command.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)