Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSean Evoy2004-06-24 11:57:06 -0400
committerSean Evoy2004-06-24 11:57:06 -0400
commit0f40577e7899edc8419589f534e74f686389e980 (patch)
treeada20cf2c3696cef25ef65e41d4c203f063795ef /build/org.eclipse.cdt.managedbuilder.core
parent550b35c0c610d6b0672c01e003c9419924dcf21e (diff)
downloadorg.eclipse.cdt-0f40577e7899edc8419589f534e74f686389e980.tar.gz
org.eclipse.cdt-0f40577e7899edc8419589f534e74f686389e980.tar.xz
org.eclipse.cdt-0f40577e7899edc8419589f534e74f686389e980.zip
Partial fix for bug 63479 -- The binaries for Managed make projects are only listed sometimes.
Diffstat (limited to 'build/org.eclipse.cdt.managedbuilder.core')
-rw-r--r--build/org.eclipse.cdt.managedbuilder.core/plugin.xml8
-rw-r--r--build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/core/ManagedBuildManager.java10
-rw-r--r--build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/internal/core/ManagedMakeProject.java52
3 files changed, 65 insertions, 5 deletions
diff --git a/build/org.eclipse.cdt.managedbuilder.core/plugin.xml b/build/org.eclipse.cdt.managedbuilder.core/plugin.xml
index 2f75590e532..1551adf22db 100644
--- a/build/org.eclipse.cdt.managedbuilder.core/plugin.xml
+++ b/build/org.eclipse.cdt.managedbuilder.core/plugin.xml
@@ -73,5 +73,13 @@
class="org.eclipse.cdt.managedbuilder.internal.scannerconfig.ManagedBuildPathEntryContainerInitializer"
id="org.eclipse.cdt.managedbuilder.MANAGED_CONTAINER"/>
</extension>
+ <extension
+ id="managedMake"
+ name="%ManagedMakeProject.name"
+ point="org.eclipse.cdt.core.CProject">
+ <cproject
+ natureID="org.eclipse.cdt.managedbuilder.core.managedBuildNature"
+ class="org.eclipse.cdt.managedbuilder.internal.core.ManagedMakeProject"/>
+ </extension>
</plugin>
diff --git a/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/core/ManagedBuildManager.java b/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/core/ManagedBuildManager.java
index 65701fe3f5f..ddcbac0d4da 100644
--- a/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/core/ManagedBuildManager.java
+++ b/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/core/ManagedBuildManager.java
@@ -1,13 +1,13 @@
-/**********************************************************************
- * Copyright (c) 2003 IBM Corporation and others.
+/*******************************************************************************
+ * Copyright (c) 2003, 2004 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Common Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/cpl-v10.html
*
- * Contributors:
- * IBM - Initial API and implementation
- **********************************************************************/
+ * Contributors:
+ * IBM - Initial API and implementation
+ *******************************************************************************/
package org.eclipse.cdt.managedbuilder.core;
import java.io.ByteArrayInputStream;
diff --git a/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/internal/core/ManagedMakeProject.java b/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/internal/core/ManagedMakeProject.java
new file mode 100644
index 00000000000..bc1d7e2fd15
--- /dev/null
+++ b/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/internal/core/ManagedMakeProject.java
@@ -0,0 +1,52 @@
+/**********************************************************************
+ * Copyright (c) 2004 IBM Corporation and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Common Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/cpl-v10.html
+ *
+ * Contributors:
+ * IBM - Initial API and implementation
+ **********************************************************************/
+
+package org.eclipse.cdt.managedbuilder.internal.core;
+
+import org.eclipse.cdt.core.CCorePlugin;
+import org.eclipse.cdt.core.ICDescriptor;
+import org.eclipse.cdt.core.ICOwner;
+import org.eclipse.core.runtime.CoreException;
+
+/**
+ * @since 2.0
+ */
+public class ManagedMakeProject implements ICOwner {
+
+ /**
+ * Zero-argument constructor to fulfill the contract for
+ * implementation calsses supplied via an extension point
+ */
+ public ManagedMakeProject() {
+ super();
+ }
+
+ /* (non-Javadoc)
+ * @see org.eclipse.cdt.core.ICOwner#configure(org.eclipse.cdt.core.ICDescriptor)
+ */
+ public void configure(ICDescriptor cproject) throws CoreException {
+ cproject.remove(CCorePlugin.BUILD_SCANNER_INFO_UNIQ_ID);
+ cproject.remove(CCorePlugin.BUILDER_MODEL_ID);
+ cproject.remove(CCorePlugin.BINARY_PARSER_UNIQ_ID);
+ }
+
+ /* (non-Javadoc)
+ * @see org.eclipse.cdt.core.ICOwner#update(org.eclipse.cdt.core.ICDescriptor, java.lang.String)
+ */
+ public void update(ICDescriptor cproject, String extensionID)
+ throws CoreException {
+ // TODO Auto-generated method stub
+
+ }
+
+ private void updateBinaryParsers(ICDescriptor cproject) throws CoreException {
+ }
+}

Back to the top