Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-core-dev] eclipse CDT problems (fwd)

Here is a forwarded list of comments from one of our developers
internally here who was trying to build a feature.  I'd submit
a patch, but this is more just a heads up on some "build" type
of issues with cdt core components.

Thanks,
 Thomas
-------------------------------------------------------------
Thomas (toe-mah) Fletcher       QNX Software Systems
thomasf@xxxxxxx                 Core OS Technology Developer
(613)-591-0931                  http://www.qnx.com/

---------- Forwarded message ----------
Date: Mon, 26 Aug 2002 11:15:52 -0400
Subject: eclipse CDT problems

My test is to check out a fresh copy of the CDT from eclipse, then use the
Feature editor to build a zip file, then install that file. This should make
a releasable version of the CDT. FYI, attached are the binary and source zip
files I made.

Some points (The first one causes a red X so it should be fixed right away):

- "org.eclipse.cdt.launch" must be version 1.0.0 (to match the feature) it
is currently 0.0.1 which causes a red X in the feature list
- "org.eclipse.cdt.ui.tests" is missing ".cvsignore" containing "bin"
- "org.eclipse.cdt.launch" is not properly using plugin.properties. i.e.
plugin.xml is not using the %???? 
-  "org.eclipse.cdt.core" and "org.eclipse.cdt.ui" should not have a
build.xml in CVS. They are build from the build.properties by the feature
builder.
- debug UI and debug core are missing the Provider, it should be
"Eclipse.org"
- launch has QNX as the provider, it should be Eclipse.org
- to be a little more consistant, could the debug core be renames "CDT
GDB/MI Debugger Core", it sorts better
- to be a little more consistant, could the "org.eclipse.cdt.debug.mi.core"
jar be called cdebugmicore instead of just micore?
- under the code templates, things like "try" is listed as "C", not "C++"
- When I try it make a ".S" file, the log contains:
java.lang.UnsupportedOperationException
	at
org.eclipse.jface.text.rules.RuleBasedPartitionScanner.setRules(RuleBasedPar
titionScanner.java:37)
	at
org.eclipse.cdt.internal.ui.editor.asm.AsmPartitionScanner.<init>(AsmPartiti
onScanner.java:93)
	at
org.eclipse.cdt.internal.ui.editor.asm.AsmTextTools.<init>(AsmTextTools.java
:54)
	at
org.eclipse.cdt.internal.ui.editor.asm.AsmTextTools.<init>(AsmTextTools.java
:62)
	at
org.eclipse.cdt.internal.ui.CPlugin.getAsmTextTools(CPlugin.java:270)
	at
org.eclipse.cdt.internal.ui.editor.asm.AsmTextEditor.initializeEditor(AsmTex
tEditor.java:56)
	at
org.eclipse.cdt.internal.ui.editor.asm.AsmTextEditor.<init>(AsmTextEditor.ja
va:50)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
	at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAcces
sorImpl.java:39)
	at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstruc
torAccessorImpl.java:27)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
	at java.lang.Class.newInstance0(Class.java:296)
	at java.lang.Class.newInstance(Class.java:249)
	at
org.eclipse.core.internal.plugins.PluginDescriptor.createExecutableExtension
(PluginDescriptor.java:138)
	at
org.eclipse.core.internal.plugins.PluginDescriptor.createExecutableExtension
(PluginDescriptor.java:167)
	at
org.eclipse.core.internal.plugins.ConfigurationElement.createExecutableExten
sion(ConfigurationElement.java:102)
	at
org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java
:109)
	at
org.eclipse.ui.internal.EditorManager$3.run(EditorManager.java:607)
	at
org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java
:831)
	at org.eclipse.core.runtime.Platform.run(Platform.java:416)
	at
org.eclipse.ui.internal.EditorManager.createPart(EditorManager.java:605)
	at
org.eclipse.ui.internal.EditorManager.openInternalEditor(EditorManager.java:
594)
	at
org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor(EditorManager
.java:413)
	at
org.eclipse.ui.internal.EditorManager.openEditorFromInput(EditorManager.java
:304)
	at
org.eclipse.ui.internal.EditorManager.openEditor(EditorManager.java:386)
	at
org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:1680)
	at
org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:1575)
	at
org.eclipse.cdt.internal.ui.util.EditorUtility.openInEditor(EditorUtility.ja
va:47)
	at
org.eclipse.cdt.internal.ui.util.EditorUtility.openInEditor(EditorUtility.ja
va:69)
	at
org.eclipse.cdt.internal.ui.cview.CView.handleDoubleClick(CView.java:248)
	at org.eclipse.cdt.internal.ui.cview.CView.access$0(CView.java:231)
	at
org.eclipse.cdt.internal.ui.cview.CView$5.doubleClick(CView.java:401)
	at
org.eclipse.jface.viewers.StructuredViewer.fireDoubleClick(StructuredViewer.
java:306)
	at
org.eclipse.jface.viewers.StructuredViewer.handleDoubleSelect(StructuredView
er.java:478)
	at
org.eclipse.jface.viewers.StructuredViewer$1.widgetDefaultSelected(Structure
dViewer.java:571)
	at
org.eclipse.jface.util.OpenStrategy.fireDefaultSelectionEvent(OpenStrategy.j
ava:180)
	at
org.eclipse.jface.util.OpenStrategy.access$0(OpenStrategy.java:177)
	at
org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:220)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:77)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:827)
	at
org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1529)
	at
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1291)
	at
org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1177)
	at org.eclipse.ui.internal.Workbench.run(Workbench.java:1160)
	at
org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.jav
a:775)
	at org.eclipse.core.boot.BootLoader.run(BootLoader.java:462)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at org.eclipse.core.launcher.Main.basicRun(Main.java:248)
	at org.eclipse.core.launcher.Main.run(Main.java:698)
	at org.eclipse.core.launcher.Main.main(Main.java:534)



Back to the top