Thanks Chathuri, I've updated to 1.8 and the build works now. I've also subscribed to the dev list, so I won't miss important info in the future ;-)
Regards, Spiro Mihalakopoulos | HPC Scientific Programmer Information Technology [email protected] O. 508-856-3499 Follow us on: Twitter | LinkedIn -----Original Message----- From: Marlon Pierce [mailto:[email protected]] Sent: Thursday, April 02, 2015 10:32 AM To: [email protected] Subject: Re: Airavata trunk compilation error Although we want to encourage people to migrate to 1.8 since Oracle is dropping support for Java 1.7, our 1.8 requirement is really only 1-2 lines of code. Can we not change this to be backward compatible? On 4/2/15 9:42 AM, Chathuri Wimalasena wrote: > Hi Spiro, > > As discussed in the dev list, to build airavata, you need to have java 1.8. > This compilation error is due to that. Please upgrade your java to 1.8 > and try again. > > Thanks, > Chathuri > > On Wed, Apr 1, 2015 at 5:03 PM, Mihalakopoulos, Spiro < > [email protected]> wrote: > >> Hi all, >> >> As I mentioned to Suresh via chat a few minutes ago, >> >> I get the following error (which I've been getting for about the >> last couple of weeks) when doing a >> $ mvn clean install >> >> >> [INFO] ------------------------------------------------------------ >> ------------ >> [INFO] BUILD FAILURE >> [INFO] ------------------------------------------------------------ >> ------------ >> [INFO] Total time: 25.428s >> [INFO] Finished at: Wed Apr 01 16:51:43 EDT 2015 [INFO] Final Memory: >> 34M/409M [INFO] >> ------------------------------------------------------------ >> ------------ >> [ERROR] Failed to execute goal org.apache.maven.plugins: >> maven-compiler-plugin:3.1:compile (default-compile) on project >> airavata-common-utils: Compilation failure: Compilation failure: >> [ERROR] /home/spiros/dev/Airavata/airavata_trunk/modules/ >> commons/utils/src/main/java/org/apache/airavata/common/ >> utils/AiravataZKUtils.java:[214,53] cannot find symbol >> [ERROR] symbol: variable BYTES >> [ERROR] location: class java.lang.Long [ERROR] >> /home/spiros/dev/Airavata/airavata_trunk/modules/ >> commons/utils/src/main/java/org/apache/airavata/common/ >> utils/AiravataZKUtils.java:[220,53] cannot find symbol >> [ERROR] symbol: variable BYTES >> [ERROR] location: class java.lang.Long [ERROR] -> [Help 1] [ERROR] >> [ERROR] To see the full stack trace of the errors, re-run Maven with >> the -e switch. >> [ERROR] Re-run Maven using the -X switch to enable full debug logging. >> [ERROR] >> [ERROR] For more information about the errors and possible solutions, >> please read the following articles: >> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ >> MojoFailureException >> [ERROR] >> [ERROR] After correcting the problems, you can resume the build with >> the command >> [ERROR] mvn <goals> -rf :airavata-common-utils >> spiros-OptiPlex-980 airavata_trunk # >> >> >> Actually, now that I look at it, I was getting a GFAC related error >> the previous days. I don't know if I'm doing something wrong, or if >> the code is broken. >> >> Kind regards, >> Spiros >> >> >> >> *Spiro Mihalakopoulos | HPC Scientific Programmer* Information >> Technology [email protected] >> <https://mail.umassmed.edu/owa/redir.aspx?C=tc-53GJ3fUS10DMJlF_COjPMn >> 0YtLtIIZjAIXkdiH6bIv_RQH7Yz7RRmXigI6xmW1aEggQN1q1c.&URL=mailto%3asmit >> h.john%40umassmed.edu> >> O. 508-856-3499 >> Follow us on: Twitter >> <https://mail.umassmed.edu/owa/redir.aspx?C=tc-53GJ3fUS10DMJlF_COjPMn0YtLtIIZjAIXkdiH6bIv_RQH7Yz7RRmXigI6xmW1aEggQN1q1c.&URL=https%3a%2f%2ftwitter.com%2fUMassMedIT> >> | LinkedIn >> <https://mail.umassmed.edu/owa/redir.aspx?C=tc-53GJ3fUS10DMJlF_COjPMn >> 0YtLtIIZjAIXkdiH6bIv_RQH7Yz7RRmXigI6xmW1aEggQN1q1c.&URL=https%3a%2f%2 >> fwww.linkedin.com%2fgroups%2fUMASS-Medical-School-Information-Technol >> ogy-8141269%3ftrk%3dgroups_members-h-dsc%26goback%3d%252Eanp_8141269_ >> 1405698393991_1> >> >>
