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

ASF GitHub Bot commented on ZOOKEEPER-2861:
-------------------------------------------

Github user afine commented on a diff in the pull request:

    https://github.com/apache/zookeeper/pull/323#discussion_r131256912
  
    --- Diff: build.xml ---
    @@ -578,7 +578,7 @@ xmlns:cs="antlib:com.puppycrawl.tools.checkstyle.ant">
                 <fileset dir="${java.src.dir}"/>
                 <fileset dir="${src_generated.dir}" excludes="**/.generated"/>
                 <manifest>
    -                <attribute name="Main-Class" 
value="org.apache.zookeeper.server.quorum.QuorumPeer" />
    +                <attribute name="Main-Class" 
value="org.apache.zookeeper.server.quorum.QuorumPeerMain" />
    --- End diff --
    
    does this change also need to be made on 
https://github.com/apache/zookeeper/pull/323/files#diff-2cccd7bf48b7a9cc113ff564acd802a8R622
 (line 622)?


> Main-Class JAR manifest attribute is incorrect
> ----------------------------------------------
>
>                 Key: ZOOKEEPER-2861
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2861
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: build
>            Reporter: Yaniv Kunda
>            Priority: Minor
>
> ZOOKEEPER-82 (fixed since 3.0.0) had QuorumPeerMain extracted from 
> QuorumPeer, but the Main-Class attribute in the JAR manifest was not changed 
> accordingly.
> Fixing this will enable to start the server using "java -jar" instead of 
> specifying the class name.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to