aboutsummaryrefslogtreecommitdiffstats
path: root/eclipse
diff options
context:
space:
mode:
authorXavier Ducrohet <xav@android.com>2010-09-02 17:08:25 -0700
committerAndroid Code Review <code-review@android.com>2010-09-02 17:08:25 -0700
commitfa3320d096e5f0bfecca5d93a37360684701e826 (patch)
tree5987a13fd4e92e6ad44a1885ce869c50965aaeae /eclipse
parent06253b5736c6fcf34d810df1688b314c336e53ff (diff)
parent5af43ecb4e1621cb55cdda4074c11cd9009ae2b2 (diff)
downloadsdk-fa3320d096e5f0bfecca5d93a37360684701e826.zip
sdk-fa3320d096e5f0bfecca5d93a37360684701e826.tar.gz
sdk-fa3320d096e5f0bfecca5d93a37360684701e826.tar.bz2
Merge "Support for debug build in Ant."
Diffstat (limited to 'eclipse')
-rw-r--r--eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/AndroidClasspathContainerInitializer.java11
1 files changed, 0 insertions, 11 deletions
diff --git a/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/AndroidClasspathContainerInitializer.java b/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/AndroidClasspathContainerInitializer.java
index 9c5fd1e..402e24a 100644
--- a/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/AndroidClasspathContainerInitializer.java
+++ b/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/AndroidClasspathContainerInitializer.java
@@ -22,7 +22,6 @@ import com.android.ide.eclipse.adt.internal.sdk.LoadStatus;
import com.android.ide.eclipse.adt.internal.sdk.ProjectState;
import com.android.ide.eclipse.adt.internal.sdk.Sdk;
import com.android.sdklib.IAndroidTarget;
-import com.android.sdklib.SdkConstants;
import com.android.sdklib.IAndroidTarget.IOptionalLibrary;
import org.eclipse.core.resources.IMarker;
@@ -179,16 +178,6 @@ public class AndroidClasspathContainerInitializer extends ClasspathContainerInit
// first make sure the target has loaded its data
Sdk.getCurrent().checkAndLoadTargetData(target, null /*project*/);
- // now do a quick check to make sure the project's target is compatible
- // with library (if applicable).
- if (state.hasLibraries() &&
- target.getProperty(
- SdkConstants.PROP_SDK_SUPPORT_LIBRARY, false) == false) {
- AdtPlugin.printErrorToConsole(iProject, String.format(
- "Target '%1$s' does not support building project with libraries.",
- target.getFullName()));
- }
-
String targetName = target.getClasspathName();
return new AndroidClasspathContainer(