[
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
|
Could a version of org.eclipse.jdt.core.compiler.batch be getting in the way?
Regards,
Dmitry
On Tue, Nov 23, 2010 at 6:11 AM, Christopher Frost
<frostc@xxxxxxxxxx> wrote:
Hi,
Yes, you are correct having now gone and checked it, (thanks to
StackOverflow). Hopefully this will be resolved when I sort all the
version properties out, I would guess that some kind of
compatibility flag is getting set on the ant compiler as a result to
the source.version.
Chris.
On 23/11/2010 10:55, Dmitry Sklyut wrote:
Hi Chris,
In Java 6 you can add @Override to a method from Interface. That
is why I failed initially. STS was happy but ant build was not.
Thanks!
Dmitry
On Tue, Nov 23, 2010 at 4:12 AM,
Christopher Frost
<frostc@xxxxxxxxxx>
wrote:
Hi,
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,
Chris.
P.S.
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:
Hi,
Is there any reason why source/target for
virgo-build (common/common.properties) is set to
1.5?
<snip>
source.version=1.5
target.version=${source.version}
</snip>
I tried to change source.version to 1.6 but that
did not help. I had @Override annotation from
interface and that failed compilation.
Still did not help. Thoughts?
Regards,
Dmitry
_______________________________________________
virgo-dev mailing list
virgo-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/virgo-dev
_______________________________________________
virgo-dev mailing list
virgo-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/virgo-dev