cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Edward Capriolo (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-11807) Add modern arguments to build.xml javac
Date Mon, 16 May 2016 15:18:12 GMT

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

Edward Capriolo commented on CASSANDRA-11807:
---------------------------------------------

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)

Mime
View raw message