[
https://issues.apache.org/jira/browse/TRINIDAD-1276?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12641902#action_12641902
]
Andrew Robinson commented on TRINIDAD-1276:
-------------------------------------------
This change will force people compiling Trinidad on Java6 or Java7 to have a
"jdk5.home" property set. Here is an example settings.xml of how to set this
property:
<settings>
<profiles>
<profile>
<id>java5.home</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<jdk5.home>/usr/lib/jvm/java-1.5.0-sun</jdk5.home>
</properties>
</profile>
</profiles>
</settings>
> Force usage of javac in JDK 1.5 if trying to build Trinidad using Java6 or
> Java7
> --------------------------------------------------------------------------------
>
> Key: TRINIDAD-1276
> URL: https://issues.apache.org/jira/browse/TRINIDAD-1276
> Project: MyFaces Trinidad
> Issue Type: Bug
> Components: Build
> Affects Versions: 1.0.9-core, 1.2.9-core
> Reporter: Andrew Robinson
> Assignee: Andrew Robinson
>
> Right now the maven build will happily compile Java6 or later code if the
> user runs the build using java6 or java7. This creates problems as
> contributors can get code into Trinidad that will not compile on Java5. Using
> source & target are not enough as this will not pick up things like methods
> that are new for example.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.