1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 06:32:10 +02:00

Fixed up project settings for java 1.5.

This commit is contained in:
Doug Schaefer 2009-05-06 14:41:48 +00:00
parent fd490173d1
commit 1054b43f5b
3 changed files with 15 additions and 21 deletions

View file

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="src" path="src"/>
<classpathentry kind="output" path="bin"/>

View file

@ -1,8 +1,8 @@
#Sun Mar 22 23:47:05 PDT 2009
#Wed May 06 10:39:04 EDT 2009
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
org.eclipse.jdt.core.compiler.compliance=1.6
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
org.eclipse.jdt.core.compiler.compliance=1.5
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.source=1.6
org.eclipse.jdt.core.compiler.source=1.5

View file

@ -13,7 +13,6 @@ import org.eclipse.core.runtime.Platform;
public class CrossEnvironmentVariableSupplier implements
IConfigurationEnvironmentVariableSupplier {
@Override
public IBuildEnvironmentVariable getVariable(String variableName,
IConfiguration configuration, IEnvironmentVariableProvider provider) {
if (PathEnvironmentVariable.isVar(variableName))
@ -22,7 +21,6 @@ public class CrossEnvironmentVariableSupplier implements
return null;
}
@Override
public IBuildEnvironmentVariable[] getVariables(
IConfiguration configuration, IEnvironmentVariableProvider provider) {
IBuildEnvironmentVariable path = PathEnvironmentVariable.create(configuration);
@ -53,22 +51,18 @@ public class CrossEnvironmentVariableSupplier implements
: name.equals(PathEnvironmentVariable.name);
}
@Override
public String getDelimiter() {
return Platform.getOS().equals(Platform.OS_WIN32) ? ";" : ":";
}
@Override
public String getName() {
return name;
}
@Override
public int getOperation() {
return IBuildEnvironmentVariable.ENVVAR_PREPEND;
}
@Override
public String getValue() {
return path.getAbsolutePath();
}