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

Raul Castro Fernandez commented on SAMZA-249:
---------------------------------------------

Just removed the line that was trying to add the files to git.
Review Board link: https://reviews.apache.org/r/22254/

> generate-javadocs.sh is broken
> ------------------------------
>
>                 Key: SAMZA-249
>                 URL: https://issues.apache.org/jira/browse/SAMZA-249
>             Project: Samza
>          Issue Type: Bug
>          Components: docs
>    Affects Versions: 0.6.0
>            Reporter: Jakob Homan
>            Assignee: Raul Castro Fernandez
>              Labels: newbie
>         Attachments: samza-249.patch
>
>
> generate-docs tries to add the generated docs to git (I'm not sure why), but 
> this path has been excluded by the .gitignore file:
> {noformat}jhoman-mn1:samza jhoman$ docs/_tools/generate-javadocs.sh 0.7.0
> +++ dirname docs/_tools/generate-javadocs.sh
> ++ cd docs/_tools
> ++ pwd
> + DIR=/Users/jhoman/repos/samza/docs/_tools
> + BASE_DIR=/Users/jhoman/repos/samza/docs/_tools/../..
> + VERSION=0.7.0
> + 
> JAVADOC_DIR=/Users/jhoman/repos/samza/docs/_tools/../../docs/learn/documentation/0.7.0/api/javadocs
> + test -z 0.7.0
> + cd /Users/jhoman/repos/samza/docs/_tools/../..
> + ./gradlew javadoc
> The TaskContainer.add() method has been deprecated and is scheduled to be 
> removed in Gradle 2.0. Please use the create() method instead.
> :samza-api:compileJava UP-TO-DATE
> :samza-api:processResources UP-TO-DATE
> ...
> :samza-yarn_2.10:javadoc UP-TO-DATE
> BUILD SUCCESSFUL
> Total time: 7.683 secs
> + rm -rf 
> /Users/jhoman/repos/samza/docs/_tools/../../docs/learn/documentation/0.7.0/api/javadocs
> + mkdir -p 
> /Users/jhoman/repos/samza/docs/_tools/../../docs/learn/documentation/0.7.0/api/javadocs
> + cp -r 
> /Users/jhoman/repos/samza/docs/_tools/../../samza-api/build/docs/javadoc/allclasses-frame.html
>  
> /Users/jhoman/repos/samza/docs/_tools/../../samza-api/build/docs/javadoc/allclasses-noframe.html
>  
> /Users/jhoman/repos/samza/docs/_tools/../../samza-api/build/docs/javadoc/constant-values.html
>  
> /Users/jhoman/repos/samza/docs/_tools/../../samza-api/build/docs/javadoc/deprecated-list.html
>  
> /Users/jhoman/repos/samza/docs/_tools/../../samza-api/build/docs/javadoc/help-doc.html
>  
> /Users/jhoman/repos/samza/docs/_tools/../../samza-api/build/docs/javadoc/index-all.html
>  
> /Users/jhoman/repos/samza/docs/_tools/../../samza-api/build/docs/javadoc/index.html
>  /Users/jhoman/repos/samza/docs/_tools/../../samza-api/build/docs/javadoc/org 
> /Users/jhoman/repos/samza/docs/_tools/../../samza-api/build/docs/javadoc/overview-frame.html
>  
> /Users/jhoman/repos/samza/docs/_tools/../../samza-api/build/docs/javadoc/overview-summary.html
>  
> /Users/jhoman/repos/samza/docs/_tools/../../samza-api/build/docs/javadoc/overview-tree.html
>  
> /Users/jhoman/repos/samza/docs/_tools/../../samza-api/build/docs/javadoc/package-list
>  
> /Users/jhoman/repos/samza/docs/_tools/../../samza-api/build/docs/javadoc/resources
>  
> /Users/jhoman/repos/samza/docs/_tools/../../samza-api/build/docs/javadoc/serialized-form.html
>  
> /Users/jhoman/repos/samza/docs/_tools/../../samza-api/build/docs/javadoc/stylesheet.css
>  
> /Users/jhoman/repos/samza/docs/_tools/../../docs/learn/documentation/0.7.0/api/javadocs
> + git add 
> /Users/jhoman/repos/samza/docs/_tools/../../docs/learn/documentation/0.7.0/api/javadocs
> The following paths are ignored by one of your .gitignore files:
> docs/learn/documentation/0.7.0/api/javadocs
> Use -f if you really want to add them.
> fatal: no files added
> + cd -
> /Users/jhoman/repos/samza{noformat}
> Not clear on why we're adding these generated docs to git.  We probably 
> shouldn't be, even if it were working.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to