You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Michael Semb Wever (Jira)" <ji...@apache.org> on 2021/04/29 10:06:00 UTC

[jira] [Updated] (CASSANDRA-16179) gen-doc depends on jar

     [ https://issues.apache.org/jira/browse/CASSANDRA-16179?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Semb Wever updated CASSANDRA-16179:
-------------------------------------------
    Resolution: Duplicate
        Status: Resolved  (was: Triage Needed)

In trunk this has been fixed by CASSANDRA-16391.

In harder branches it will get fixed by CASSANDRA-16557

> gen-doc depends on jar
> ----------------------
>
>                 Key: CASSANDRA-16179
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-16179
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Build, Documentation/Website
>            Reporter: Angelo Polo
>            Assignee: Angelo Polo
>            Priority: Normal
>         Attachments: 3.11-gen-doc-depends-on-jar.patch, trunk-gen-doc-depends-on-jar.patch
>
>
> The target 'gen-doc' depends on 'jar' so let's add it the depends attribute. Patches for trunk and 3.11 are attached.
> {noformat}
> # ant gen-doc
> gen-doc:
>      [exec] python convert_yaml_to_rst.py ../conf/cassandra.yaml source/configuration/cassandra_config_file.rst
>      [exec] python gen-nodetool-docs.py
>      [exec] ls: cannot access '../bin/../build/apache-cassandra*.jar': No such file or directory
>      [exec] ERROR: Nodetool failed to run, you likely need to build cassandra using ant jar from the top level directory
>      [exec] Error: Could not find or load main class org.apache.cassandra.tools.NodeTool
>      [exec] Makefile:64: recipe for target 'html' failed
>      [exec] Traceback (most recent call last):
>      [exec]   File "gen-nodetool-docs.py", line 68, in <module>
>      [exec]     create_help_file()
>      [exec]   File "gen-nodetool-docs.py", line 52, in create_help_file
>      [exec]     raise cpe
>      [exec]   File "gen-nodetool-docs.py", line 46, in create_help_file
>      [exec]     subprocess.check_call([nodetool, "help"], stdout=output_file)
>      [exec]   File "/usr/lib/python3.6/subprocess.py", line 311, in check_call
>      [exec]     raise CalledProcessError(retcode, cmd)
>      [exec] subprocess.CalledProcessError: Command '['../bin/nodetool', 'help']' returned non-zero exit status 1.
>      [exec] make: *** [html] Error 1
>      [exec] Result: 2{noformat}
> {{The then redundant 'jar' dependency on the 'artifacts' target could be removed too, though the attached patches don't include this modification.}}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org