Author: kkolinko Date: Mon Nov 24 00:13:26 2014 New Revision: 1641300 URL: http://svn.apache.org/r1641300 Log: Update "ide-eclipse" target to configure Eclipse to use Java 8 compliance settings for tomcat-9.0.x project instead of workspace-wide defaults.
Forward-port of r1627236, r1641299 from Tomcat 7. Added: tomcat/trunk/res/ide-support/eclipse/org.eclipse.jdt.core.prefs.properties (with props) Modified: tomcat/trunk/build.xml Modified: tomcat/trunk/build.xml URL: http://svn.apache.org/viewvc/tomcat/trunk/build.xml?rev=1641300&r1=1641299&r2=1641300&view=diff ============================================================================== --- tomcat/trunk/build.xml (original) +++ tomcat/trunk/build.xml Mon Nov 24 00:13:26 2014 @@ -2972,6 +2972,10 @@ Apache Tomcat ${version} native binaries <copy file="${tomcat.home}/res/ide-support/eclipse/eclipse.project" tofile="${tomcat.home}/.project"/> <copy file="${tomcat.home}/res/ide-support/eclipse/eclipse.classpath" tofile="${tomcat.home}/.classpath"/> + <!-- Copy compiler settings file --> + <mkdir dir="${tomcat.home}/.settings" /> + <copy file="${tomcat.home}/res/ide-support/eclipse/org.eclipse.jdt.core.prefs.properties" tofile="${tomcat.home}/.settings/org.eclipse.jdt.core.prefs"/> + <echo>Eclipse project files created. Read the Building page on the Apache Tomcat documentation site for details on how to configure your Eclipse workplace.</echo> </target> Added: tomcat/trunk/res/ide-support/eclipse/org.eclipse.jdt.core.prefs.properties URL: http://svn.apache.org/viewvc/tomcat/trunk/res/ide-support/eclipse/org.eclipse.jdt.core.prefs.properties?rev=1641300&view=auto ============================================================================== --- tomcat/trunk/res/ide-support/eclipse/org.eclipse.jdt.core.prefs.properties (added) +++ tomcat/trunk/res/ide-support/eclipse/org.eclipse.jdt.core.prefs.properties Mon Nov 24 00:13:26 2014 @@ -0,0 +1,20 @@ +# ----------------------------------------------------------------------------- +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# ----------------------------------------------------------------------------- +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 +org.eclipse.jdt.core.compiler.compliance=1.8 +org.eclipse.jdt.core.compiler.source=1.8 Propchange: tomcat/trunk/res/ide-support/eclipse/org.eclipse.jdt.core.prefs.properties ------------------------------------------------------------------------------ svn:eol-style = native --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org