[
https://issues.apache.org/jira/browse/CASSANDRA-11807?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15284712#comment-15284712
]
Edward Capriolo edited comment on CASSANDRA-11807 at 5/16/16 3:18 PM:
----------------------------------------------------------------------
I did confirm that you will not seeing this issue with apache-ant-1.9.7 (latest
download on the site.)
With this setting you can build on an ant as old as:
{noformat}
[edward@jackintosh cassandra]$ ant -version
Apache Ant(TM) version 1.8.3 compiled on February 29 2012
{noformat}
and possibly older.
I would suggest including this option because I can not think of a case where
it does harm, and based on your distro/packaging you may have an older version
on the path. Your mileage may vary.
was (Author: appodictic):
I did confirm that you will not seeing this issue with apache-ant-1.9.7 latest
to download on the site.
With this setting you can build on an ant as old as:
{noformat}
[edward@jackintosh cassandra]$ ant -version
Apache Ant(TM) version 1.8.3 compiled on February 29 2012
{noformat}
and possibly older.
I would suggest including this option because I can not think of a case where
it does harm, and based on your distro/packaging you may have an older version
on the path. Your mileage may vary.
> Add modern arguments to build.xml javac
> ---------------------------------------
>
> Key: CASSANDRA-11807
> URL: https://issues.apache.org/jira/browse/CASSANDRA-11807
> Project: Cassandra
> Issue Type: Improvement
> Reporter: Edward Capriolo
> Assignee: Edward Capriolo
> Priority: Minor
> Fix For: 3.8
>
>
> My out-of-the-box experience with Cassandra trunk is:
> {noformat}
> /home/edward/Documents/java/cassandra/build.xml:805: Class not found: javac1.8
> {noformat}
> Due to the nature of ant It can be related to some obscure thing that
> probably only affects .0003 of users. In any case documentation on the
> interweb suggests:
>
> http://stackoverflow.com/questions/20702626/javac1-8-class-not-found
> {noformat}
> compiler="modern"
> {noformat}
> It seems to be reasonable that since trunk will only build on ultra-modern
> jvms compiler="modern" is an acceptable option. With this the build works
> (for me)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)