[
http://jira.amdatu.org/jira/browse/AMDATU-122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=10165#comment-10165
]
Koos Gadellaa edited comment on AMDATU-122 at 10/26/10 12:27 PM:
-----------------------------------------------------------------
What I haven't seen is a way to guarantee such an occurance doesn't happen
again.
Of course, now that we're mixing 1.5 and 1.6 (for cassandra) this means that we
can't just let it all compile under a 1.5 SDK (as then cassandra won't work).
If anybody has some thought on how to cover this eventuality it would be
appreciated
was (Author: koosg):
What I haven't seen is a way to guarantee this doesn't happen again.
Does bamboo use a java 1.5 SDK to compile?
If so, then this issue should have been spotted earlier.
If not, then I think bamboo should...
> Maven has jre target 1.5 but the code isn't 1.5 compliant
> ---------------------------------------------------------
>
> Key: AMDATU-122
> URL: http://jira.amdatu.org/jira/browse/AMDATU-122
> Project: Amdatu
> Issue Type: Bug
> Components: Maven setup
> Reporter: Koos Gadellaa
> Assignee: Koos Gadellaa
> Priority: Blocker
> Fix For: 0.0.5
>
>
> The maven setup in the main pom has the following:
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-compiler-plugin</artifactId>
> <configuration>
> <source>1.5</source>
> <target>1.5</target>
> </configuration>
> i.e. it requires and targets 1.5
> However, the amdatu code itself also uses @overrides when implementing
> interfaces. This is a 1.6 feature. :-/
> i.e. a (proper) 1.5 compiler will not be able to build this code.
> fix would be either to go to 1.6 (and update the pom), or to remove the
> @overrides annotations from the methods which implement interfaces.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira