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

Andor Molnar commented on ZOOKEEPER-2954:
-----------------------------------------

[~adityap]

Ant task 'compile_jute' doesn't trigger ivy-init.

Run 'ant clean compile-test' or 'ant clean jar' first. Jute compilation will be 
triggered in both.


> ant compile_jute is failing for zookeeper 3.4.11
> ------------------------------------------------
>
>                 Key: ZOOKEEPER-2954
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2954
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: build, jute
>    Affects Versions: 3.4.11
>         Environment: Operating system- Ubuntu 16.04
> Platform- x86_64
>            Reporter: Aditya Pawaskar
>
> when I run Apache Zookeeper 3.4.11 using OpenJDK-8 and clone source code from 
> git.
> At 'ant compile_jute' command I get following error message :
> {noformat}
> Buildfile: /root/zookeeper/build.xml
> init:
> jute:
>     [javac] Compiling 39 source files to /root/zookeeper/build/classes
>     [javac] warning: [options] bootstrap class path not set in conjunction 
> with -source 1.6
>     [javac] /root/zookeeper/src/java/main/org/apache/jute/Record.java:21: 
> error: package org.apache.yetus.audience does not exist
>     [javac] import org.apache.yetus.audience.InterfaceAudience;
>     [javac]                                 ^
>     [javac] /root/zookeeper/src/java/main/org/apache/jute/Record.java:29: 
> error: package InterfaceAudience does not exist
>     [javac] @InterfaceAudience.Public
>     [javac]                   ^
>     [javac] Note: Some input files use unchecked or unsafe operations.
>     [javac] Note: Recompile with -Xlint:unchecked for details.
>     [javac] 2 errors
>     [javac] 1 warning
> BUILD FAILED
> /root/zookeeper/build.xml:315: Compile failed; see the compiler error output 
> for details.
> {noformat}
> According to error, ant is unable to get InterfaceAudience which is part of 
> audience-annotations-0.5.0.jar mentioned in build.xml
> when I search for this jar file, I could not find it in source code.  
> Thanks and Regards,
> Aditya



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

Reply via email to