Community
Participate
Working Groups
The automated build at eclipse.org fails with compiler errors after changing the execution environment to Java 1.5 and makeing some changes that use generics. I.e. styleRules = styleRules.clone(); // without cast to StyleRule It seems that the compiler still uses compliance level 1.4 or lower. See here for the build result: https://hudson.eclipse.org/hudson/job/rap-runtime/51
Added the following the build.properties file of all bundles that were changed to have J2SE-1.5 as the execution environment: javacSource = 1.5 javacTarget = 1.5 jre.compilation.profile = J2SE-1.5 The jre.compilation.profile was not strictly necessary to fix the problem at hand. It was added to be able to configure the build to compile against a JRE that can be defined in the builds build.properties file in the future (if desired). See here for documentation: http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse.pde.doc.user/tasks/pde_compilation_env.htm