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:
parent
fd490173d1
commit
1054b43f5b
3 changed files with 15 additions and 21 deletions
|
@ -1,7 +1,7 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<classpath>
|
<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="con" path="org.eclipse.pde.core.requiredPlugins"/>
|
||||||
<classpathentry kind="src" path="src"/>
|
<classpathentry kind="src" path="src"/>
|
||||||
<classpathentry kind="output" path="bin"/>
|
<classpathentry kind="output" path="bin"/>
|
||||||
</classpath>
|
</classpath>
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
#Sun Mar 22 23:47:05 PDT 2009
|
#Wed May 06 10:39:04 EDT 2009
|
||||||
eclipse.preferences.version=1
|
eclipse.preferences.version=1
|
||||||
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
|
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
|
||||||
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
|
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
|
||||||
org.eclipse.jdt.core.compiler.compliance=1.6
|
org.eclipse.jdt.core.compiler.compliance=1.5
|
||||||
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
|
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
|
||||||
org.eclipse.jdt.core.compiler.problem.enumIdentifier=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
|
||||||
|
|
|
@ -13,7 +13,6 @@ import org.eclipse.core.runtime.Platform;
|
||||||
public class CrossEnvironmentVariableSupplier implements
|
public class CrossEnvironmentVariableSupplier implements
|
||||||
IConfigurationEnvironmentVariableSupplier {
|
IConfigurationEnvironmentVariableSupplier {
|
||||||
|
|
||||||
@Override
|
|
||||||
public IBuildEnvironmentVariable getVariable(String variableName,
|
public IBuildEnvironmentVariable getVariable(String variableName,
|
||||||
IConfiguration configuration, IEnvironmentVariableProvider provider) {
|
IConfiguration configuration, IEnvironmentVariableProvider provider) {
|
||||||
if (PathEnvironmentVariable.isVar(variableName))
|
if (PathEnvironmentVariable.isVar(variableName))
|
||||||
|
@ -22,7 +21,6 @@ public class CrossEnvironmentVariableSupplier implements
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public IBuildEnvironmentVariable[] getVariables(
|
public IBuildEnvironmentVariable[] getVariables(
|
||||||
IConfiguration configuration, IEnvironmentVariableProvider provider) {
|
IConfiguration configuration, IEnvironmentVariableProvider provider) {
|
||||||
IBuildEnvironmentVariable path = PathEnvironmentVariable.create(configuration);
|
IBuildEnvironmentVariable path = PathEnvironmentVariable.create(configuration);
|
||||||
|
@ -53,22 +51,18 @@ public class CrossEnvironmentVariableSupplier implements
|
||||||
: name.equals(PathEnvironmentVariable.name);
|
: name.equals(PathEnvironmentVariable.name);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getDelimiter() {
|
public String getDelimiter() {
|
||||||
return Platform.getOS().equals(Platform.OS_WIN32) ? ";" : ":";
|
return Platform.getOS().equals(Platform.OS_WIN32) ? ";" : ":";
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getName() {
|
public String getName() {
|
||||||
return name;
|
return name;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public int getOperation() {
|
public int getOperation() {
|
||||||
return IBuildEnvironmentVariable.ENVVAR_PREPEND;
|
return IBuildEnvironmentVariable.ENVVAR_PREPEND;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getValue() {
|
public String getValue() {
|
||||||
return path.getAbsolutePath();
|
return path.getAbsolutePath();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue