Aditya Pawaskar created ZOOKEEPER-2954:
------------------------------------------
Summary: 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)