[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [virgo-dev] Virgo Build source and target are set to 1.5


The source and target version is set incorrectly in build property files all over the place. I have a task this sprint to go through and set it all to 1.6. I was hoping it would be fairly straight forward to do but by the looks of it I'm going to be tidying the code up a little as I go.

Thanks for the pointer,

I believe @Override is indeed an invalid annotation when applied to a method from an interface not a superclass.

On 22/11/2010 21:34, Dmitry Sklyut wrote:

Is there any reason why source/target for virgo-build (common/common.properties) is set to 1.5?


http://wiki.eclipse.org/Virgo/Build#Prerequisites - specifies a minimum of Java 6.

I tried to change source.version to 1.6 but that did not help.  I had @Override annotation from interface and that failed compilation.
Thinking that it was an issue with compiler, I upped the version of org.eclipse.jdt.core.compiler.batch.version from 3.3.0 to 3.6.1 (found here http://ebr.springsource.com/repository/app/bundle/version/detail?name=com.springsource.org.eclipse.jdt.core.compiler.batch&version=3.6.1&searchType=bundlesBySymbolicName&searchQuery=org.eclipse.jdt.core.compiler.batch).

Still did not help.  Thoughts?


Chris Frost
SpringSource, a division of VMware

Virgo Website, Wiki and Forum