Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tycho-dev] [Tycho] Indirect references unresolved.

Hi,

I am new to Maven and Tycho. I am trying to use Tycho to build some plugins and features. In one of the plugins there is a dependency to "de.itemis.gmf.runtime.extensions". When I try to build with Tycho, I get following errors:

DEBUG] clear OSGi proxy settings
[ERROR] Failed to execute goal org.sonatype.tycho:maven-osgi-compiler-plugin:0.10.0:compile (default-compile) on project 

de.itemis.gmf.runtime.extensions: Compilation failure: Compilation failure:
[ERROR] C:\Users\Sandeep\EWorkspaces\SHK1\de.itemis.gmf.runtime.extensions\src\de\itemis\gmf\runtime\combolabel

\ComboBoxDirectEditManager.java (at line 1):[-1,-1]
[ERROR] package de.itemis.gmf.runtime.combolabel;
[ERROR] ^
[ERROR] The type org.eclipse.swt.custom.CCombo cannot be resolved. It is indirectly referenced from required .class files
[ERROR] 


As I understand the Error is at the import statement for "org.eclipse.swt.custom.CCombo". This is present as part of the plugin "org.eclipse.swt" and I give the same installation as target-platform also. 

Can someone  please explain why Tycho is not able to resolve this dependency or am I missing something.
Please find the attachment for complete error log.

Regards,
Sandeep
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 56.975s
[INFO] Finished at: Sun Mar 13 17:14:49 CET 2011
[INFO] Final Memory: 115M/435M
[INFO] ------------------------------------------------------------------------
[DEBUG] clear OSGi proxy settings
[ERROR] Failed to execute goal org.sonatype.tycho:maven-osgi-compiler-plugin:0.10.0:compile (default-compile) on project de.itemis.gmf.runtime.extensions: Compilation failure: Compilation failure:
[ERROR] C:\Users\Sandeep\EWorkspaces\SHK1\de.itemis.gmf.runtime.extensions\src\de\itemis\gmf\runtime\combolabel\ComboBoxDirectEditManager.java (at line 1):[-1,-1]
[ERROR] package de.itemis.gmf.runtime.combolabel;
[ERROR] ^
[ERROR] The type org.eclipse.swt.custom.CCombo cannot be resolved. It is indirectly referenced from required .class files
[ERROR] 
[ERROR] C:\Users\Sandeep\EWorkspaces\SHK1\de.itemis.gmf.runtime.extensions\src\de\itemis\gmf\runtime\combolabel\ComboBoxDirectEditManager.java (at line 1):[-1,-1]
[ERROR] package de.itemis.gmf.runtime.combolabel;
[ERROR] ^
[ERROR] The type org.eclipse.swt.graphics.Font cannot be resolved. It is indirectly referenced from required .class files
[ERROR] 
[ERROR] C:\Users\Sandeep\EWorkspaces\SHK1\de.itemis.gmf.runtime.extensions\src\de\itemis\gmf\runtime\combolabel\ComboBoxDirectEditManager.java (at line 1):[-1,-1]
[ERROR] package de.itemis.gmf.runtime.combolabel;
[ERROR] ^
[ERROR] The type org.eclipse.swt.graphics.FontData cannot be resolved. It is indirectly referenced from required .class files
[ERROR] 
[ERROR] C:\Users\Sandeep\EWorkspaces\SHK1\de.itemis.gmf.runtime.extensions\src\de\itemis\gmf\runtime\combolabel\ComboBoxDirectEditManager.java (at line 1):[-1,-1]
[ERROR] package de.itemis.gmf.runtime.combolabel;
[ERROR] ^
[ERROR] The type org.eclipse.swt.graphics.Image cannot be resolved. It is indirectly referenced from required .class files
[ERROR] 
[ERROR] C:\Users\Sandeep\EWorkspaces\SHK1\de.itemis.gmf.runtime.extensions\src\de\itemis\gmf\runtime\combolabel\ComboBoxDirectEditManager.java (at line 1):[-1,-1]
[ERROR] package de.itemis.gmf.runtime.combolabel;
[ERROR] ^
[ERROR] The type org.eclipse.swt.widgets.Composite cannot be resolved. It is indirectly referenced from required .class files
[ERROR] 
[ERROR] C:\Users\Sandeep\EWorkspaces\SHK1\de.itemis.gmf.runtime.extensions\src\de\itemis\gmf\runtime\combolabel\ComboBoxDirectEditManager.java (at line 1):[-1,-1]
[ERROR] package de.itemis.gmf.runtime.combolabel;
[ERROR] ^
[ERROR] The type org.eclipse.swt.widgets.Control cannot be resolved. It is indirectly referenced from required .class files
[ERROR] 
[ERROR] C:\Users\Sandeep\EWorkspaces\SHK1\de.itemis.gmf.runtime.extensions\src\de\itemis\gmf\runtime\combolabel\ComboBoxDirectEditManager.java (at line 1):[-1,-1]
[ERROR] package de.itemis.gmf.runtime.combolabel;
[ERROR] ^
[ERROR] The type org.eclipse.swt.widgets.Display cannot be resolved. It is indirectly referenced from required .class files
[ERROR] 
[ERROR] C:\Users\Sandeep\EWorkspaces\SHK1\de.itemis.gmf.runtime.extensions\src\de\itemis\gmf\runtime\combolabel\ComboBoxDirectEditManager.java (at line 1):[-1,-1]
[ERROR] package de.itemis.gmf.runtime.combolabel;
[ERROR] ^
[ERROR] The type org.eclipse.swt.widgets.Scrollable cannot be resolved. It is indirectly referenced from required .class files
[ERROR] 
[ERROR] C:\Users\Sandeep\EWorkspaces\SHK1\de.itemis.gmf.runtime.extensions\src\de\itemis\gmf\runtime\combolabel\ComboBoxDirectEditManager.java (at line 1):[-1,-1]
[ERROR] package de.itemis.gmf.runtime.combolabel;
[ERROR] ^
[ERROR] The type org.eclipse.swt.graphics.Point cannot be resolved. It is indirectly referenced from required .class files
[ERROR] 
[ERROR] C:\Users\Sandeep\EWorkspaces\SHK1\de.itemis.gmf.runtime.extensions\src\de\itemis\gmf\runtime\combolabel\ComboBoxDirectEditManager.java (at line 1):[-1,-1]
[ERROR] package de.itemis.gmf.runtime.combolabel;
[ERROR] ^
[ERROR] The type org.eclipse.swt.graphics.FontMetrics cannot be resolved. It is indirectly referenced from required .class files
[ERROR] 
[ERROR] C:\Users\Sandeep\EWorkspaces\SHK1\de.itemis.gmf.runtime.extensions\src\de\itemis\gmf\runtime\combolabel\ComboBoxDirectEditManager.java (at line 1):[-1,-1]
[ERROR] package de.itemis.gmf.runtime.combolabel;
[ERROR] ^
[ERROR] The type org.eclipse.swt.graphics.Rectangle cannot be resolved. It is indirectly referenced from required .class files
[ERROR] 
[ERROR] C:\Users\Sandeep\EWorkspaces\SHK1\de.itemis.gmf.runtime.extensions\src\de\itemis\gmf\runtime\combolabel\ComboBoxDirectEditManager.java (at line 35):[-1,-1]
[ERROR] import org.eclipse.swt.SWT;
[ERROR] ^^^^^^^^^^^^^^^^^^^
[ERROR] The import org.eclipse.swt.SWT cannot be resolved
[ERROR] 
[ERROR] C:\Users\Sandeep\EWorkspaces\SHK1\de.itemis.gmf.runtime.extensions\src\de\itemis\gmf\runtime\combolabel\ComboBoxDirectEditManager.java (at line 36):[-1,-1]
[ERROR] import org.eclipse.swt.custom.CCombo;
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] The import org.eclipse.swt.custom.CCombo cannot be resolved
[ERROR] 
[ERROR] C:\Users\Sandeep\EWorkspaces\SHK1\de.itemis.gmf.runtime.extensions\src\de\itemis\gmf\runtime\combolabel\ComboBoxDirectEditManager.java (at line 37):[-1,-1]
[ERROR] import org.eclipse.swt.events.SelectionAdapter;
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] The import org.eclipse.swt.events.SelectionAdapter cannot be resolved
[ERROR] 
[ERROR] C:\Users\Sandeep\EWorkspaces\SHK1\de.itemis.gmf.runtime.extensions\src\de\itemis\gmf\runtime\combolabel\ComboBoxDirectEditManager.java (at line 38):[-1,-1]
[ERROR] import org.eclipse.swt.events.SelectionEvent;
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] The import org.eclipse.swt.events.SelectionEvent cannot be resolved
[ERROR] 
[ERROR] C:\Users\Sandeep\EWorkspaces\SHK1\de.itemis.gmf.runtime.extensions\src\de\itemis\gmf\runtime\combolabel\ComboBoxDirectEditManager.java (at line 39):[-1,-1]
[ERROR] import org.eclipse.swt.graphics.Font;
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] The import org.eclipse.swt.graphics.Font cannot be resolved
[ERROR] 
[ERROR] C:\Users\Sandeep\EWorkspaces\SHK1\de.itemis.gmf.runtime.extensions\src\de\itemis\gmf\runtime\combolabel\ComboBoxDirectEditManager.java (at line 40):[-1,-1]
[ERROR] import org.eclipse.swt.graphics.FontData;
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] The import org.eclipse.swt.graphics.FontData cannot be resolved
[ERROR] 
[ERROR] C:\Users\Sandeep\EWorkspaces\SHK1\de.itemis.gmf.runtime.extensions\src\de\itemis\gmf\runtime\combolabel\ComboBoxDirectEditManager.java (at line 41):[-1,-1]
[ERROR] import org.eclipse.swt.graphics.Image;
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] The import org.eclipse.swt.graphics.Image cannot be resolved
[ERROR] 
[ERROR] C:\Users\Sandeep\EWorkspaces\SHK1\de.itemis.gmf.runtime.extensions\src\de\itemis\gmf\runtime\combolabel\ComboBoxDirectEditManager.java (at line 42):[-1,-1]
[ERROR] import org.eclipse.swt.widgets.Composite;
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] The import org.eclipse.swt.widgets.Composite cannot be resolved
[ERROR] 
[ERROR] C:\Users\Sandeep\EWorkspaces\SHK1\de.itemis.gmf.runtime.extensions\src\de\itemis\gmf\runtime\combolabel\ComboBoxDirectEditManager.java (at line 43):[-1,-1]
[ERROR] import org.eclipse.swt.widgets.Control;
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] The import org.eclipse.swt.widgets.Control cannot be resolved
[ERROR] 
[ERROR] C:\Users\Sandeep\EWorkspaces\SHK1\de.itemis.gmf.runtime.extensions\src\de\itemis\gmf\runtime\combolabel\ComboBoxDirectEditManager.java (at line 44):[-1,-1]
[ERROR] import org.eclipse.swt.widgets.Display;
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] The import org.eclipse.swt.widgets.Display cannot be resolved
[ERROR] 
[ERROR] C:\Users\Sandeep\EWorkspaces\SHK1\de.itemis.gmf.runtime.extensions\src\de\itemis\gmf\runtime\combolabel\ComboBoxDirectEditManager.java (at line 45):[-1,-1]
[ERROR] import org.eclipse.swt.widgets.Scrollable;
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] The import org.eclipse.swt.widgets.Scrollable cannot be resolved
[ERROR] 
[ERROR] C:\Users\Sandeep\EWorkspaces\SHK1\de.itemis.gmf.runtime.extensions\src\de\itemis\gmf\runtime\combolabel\ComboBoxDirectEditManager.java (at line 64):[-1,-1]
[ERROR] private Font zoomLevelFont;
[ERROR] ^^^^
[ERROR] Font cannot be resolved to a type
[ERROR] 
[ERROR] C:\Users\Sandeep\EWorkspaces\SHK1\de.itemis.gmf.runtime.extensions\src\de\itemis\gmf\runtime\combolabel\ComboBoxDirectEditManager.java (at line 84):[-1,-1]
[ERROR] Scrollable control = (Scrollable) celleditor.getControl();
[ERROR] ^^^^^^^^^^
[ERROR] Scrollable cannot be resolved to a type
[ERROR] 
[ERROR] C:\Users\Sandeep\EWorkspaces\SHK1\de.itemis.gmf.runtime.extensions\src\de\itemis\gmf\runtime\combolabel\ComboBoxDirectEditManager.java (at line 84):[-1,-1]
[ERROR] Scrollable control = (Scrollable) celleditor.getControl();
[ERROR] ^^^^^^^^^^
[ERROR] Scrollable cannot be resolved to a type
[ERROR] 
[ERROR] C:\Users\Sandeep\EWorkspaces\SHK1\de.itemis.gmf.runtime.extensions\src\de\itemis\gmf\runtime\combolabel\ComboBoxDirectEditManager.java (at line 84):[-1,-1]
[ERROR] Scrollable control = (Scrollable) celleditor.getControl();
[ERROR] ^^^^^^^^^^
[ERROR] The method getControl() from the type CellEditor refers to the missing type Control
[ERROR] 
[ERROR] C:\Users\Sandeep\EWorkspaces\SHK1\de.itemis.gmf.runtime.extensions\src\de\itemis\gmf\runtime\combolabel\ComboBoxDirectEditManager.java (at line 91):[-1,-1]
[ERROR] SWT.DEFAULT, SWT.DEFAULT)));
[ERROR] ^^^
[ERROR] SWT cannot be resolved to a variable
[ERROR] 
[ERROR] C:\Users\Sandeep\EWorkspaces\SHK1\de.itemis.gmf.runtime.extensions\src\de\itemis\gmf\runtime\combolabel\ComboBoxDirectEditManager.java (at line 91):[-1,-1]
[ERROR] SWT.DEFAULT, SWT.DEFAULT)));
[ERROR] ^^^
[ERROR] SWT cannot be resolved to a variable
[ERROR] 
[ERROR] C:\Users\Sandeep\EWorkspaces\SHK1\de.itemis.gmf.runtime.extensions\src\de\itemis\gmf\runtime\combolabel\ComboBoxDirectEditManager.java (at line 126):[-1,-1]
[ERROR] SWT.DEFAULT, SWT.DEFAULT)));
[ERROR] ^^^
[ERROR] SWT cannot be resolved to a variable
[ERROR] 
[ERROR] C:\Users\Sandeep\EWorkspaces\SHK1\de.itemis.gmf.runtime.extensions\src\de\itemis\gmf\runtime\combolabel\ComboBoxDirectEditManager.java (at line 126):[-1,-1]
[ERROR] SWT.DEFAULT, SWT.DEFAULT)));
[ERROR] ^^^
[ERROR] SWT cannot be resolved to a variable
[ERROR] 
[ERROR] C:\Users\Sandeep\EWorkspaces\SHK1\de.itemis.gmf.runtime.extensions\src\de\itemis\gmf\runtime\combolabel\ComboBoxDirectEditManager.java (at line 136):[-1,-1]
[ERROR] SWT.DEFAULT, SWT.DEFAULT)).expand(avr * 2, 0));
[ERROR] ^^^
[ERROR] SWT cannot be resolved to a variable
[ERROR] 
[ERROR] C:\Users\Sandeep\EWorkspaces\SHK1\de.itemis.gmf.runtime.extensions\src\de\itemis\gmf\runtime\combolabel\ComboBoxDirectEditManager.java (at line 136):[-1,-1]
[ERROR] SWT.DEFAULT, SWT.DEFAULT)).expand(avr * 2, 0));
[ERROR] ^^^
[ERROR] SWT cannot be resolved to a variable
[ERROR] 
[ERROR] C:\Users\Sandeep\EWorkspaces\SHK1\de.itemis.gmf.runtime.extensions\src\de\itemis\gmf\runtime\combolabel\ComboBoxDirectEditManager.java (at line 139):[-1,-1]
[ERROR] org.eclipse.swt.graphics.Rectangle newRect = control
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] org.eclipse.swt.graphics.Rectangle cannot be resolved to a type
[ERROR] 
[ERROR] C:\Users\Sandeep\EWorkspaces\SHK1\de.itemis.gmf.runtime.extensions\src\de\itemis\gmf\runtime\combolabel\ComboBoxDirectEditManager.java (at line 153):[-1,-1]
[ERROR] Control control = celleditor.getControl();
[ERROR] ^^^^^^^
[ERROR] Control cannot be resolved to a type
[ERROR] 
[ERROR] C:\Users\Sandeep\EWorkspaces\SHK1\de.itemis.gmf.runtime.extensions\src\de\itemis\gmf\runtime\combolabel\ComboBoxDirectEditManager.java (at line 153):[-1,-1]
[ERROR] Control control = celleditor.getControl();
[ERROR] ^^^^^^^^^^
[ERROR] The method getControl() from the type CellEditor refers to the missing type Control
[ERROR] 
[ERROR] C:\Users\Sandeep\EWorkspaces\SHK1\de.itemis.gmf.runtime.extensions\src\de\itemis\gmf\runtime\combolabel\ComboBoxDirectEditManager.java (at line 165):[-1,-1]
[ERROR] protected CellEditor createCellEditorOn(Composite composite) {
[ERROR] ^^^^^^^^^
[ERROR] Composite cannot be resolved to a type
[ERROR] 
[ERROR] C:\Users\Sandeep\EWorkspaces\SHK1\de.itemis.gmf.runtime.extensions\src\de\itemis\gmf\runtime\combolabel\ComboBoxDirectEditManager.java (at line 170):[-1,-1]
[ERROR] composite, choices, getLabelProvider(), SWT.SIMPLE);
[ERROR] ^^^
[ERROR] SWT cannot be resolved to a variable
[ERROR] 
[ERROR] C:\Users\Sandeep\EWorkspaces\SHK1\de.itemis.gmf.runtime.extensions\src\de\itemis\gmf\runtime\combolabel\ComboBoxDirectEditManager.java (at line 176):[-1,-1]
[ERROR] public Image getImage(Object element) {
[ERROR] ^^^^^
[ERROR] Image cannot be resolved to a type
[ERROR] 
[ERROR] C:\Users\Sandeep\EWorkspaces\SHK1\de.itemis.gmf.runtime.extensions\src\de\itemis\gmf\runtime\combolabel\ComboBoxDirectEditManager.java (at line 180):[-1,-1]
[ERROR] return (Image) itemLabelProvider.getImage(element);
[ERROR] ^^^^^
[ERROR] Image cannot be resolved to a type
[ERROR] 
[ERROR] C:\Users\Sandeep\EWorkspaces\SHK1\de.itemis.gmf.runtime.extensions\src\de\itemis\gmf\runtime\combolabel\ComboBoxDirectEditManager.java (at line 214):[-1,-1]
[ERROR] CCombo comboBox = (CCombo) cellEditor.getControl();
[ERROR] ^^^^^^
[ERROR] CCombo cannot be resolved to a type
[ERROR] 
[ERROR] C:\Users\Sandeep\EWorkspaces\SHK1\de.itemis.gmf.runtime.extensions\src\de\itemis\gmf\runtime\combolabel\ComboBoxDirectEditManager.java (at line 214):[-1,-1]
[ERROR] CCombo comboBox = (CCombo) cellEditor.getControl();
[ERROR] ^^^^^^
[ERROR] CCombo cannot be resolved to a type
[ERROR] 
[ERROR] C:\Users\Sandeep\EWorkspaces\SHK1\de.itemis.gmf.runtime.extensions\src\de\itemis\gmf\runtime\combolabel\ComboBoxDirectEditManager.java (at line 214):[-1,-1]
[ERROR] CCombo comboBox = (CCombo) cellEditor.getControl();
[ERROR] ^^^^^^^^^^
[ERROR] The method getControl() from the type CellEditor refers to the missing type Control
[ERROR] 
[ERROR] C:\Users\Sandeep\EWorkspaces\SHK1\de.itemis.gmf.runtime.extensions\src\de\itemis\gmf\runtime\combolabel\ComboBoxDirectEditManager.java (at line 216):[-1,-1]
[ERROR] comboBox.setFont(getScaledFont(label));
[ERROR] ^^^^^^^^^^^^^
[ERROR] The method getScaledFont(IFigure) from the type ComboBoxDirectEditManager refers to the missing type Font
[ERROR] 
[ERROR] C:\Users\Sandeep\EWorkspaces\SHK1\de.itemis.gmf.runtime.extensions\src\de\itemis\gmf\runtime\combolabel\ComboBoxDirectEditManager.java (at line 219):[-1,-1]
[ERROR] cellEditor.getControl().pack();
[ERROR] ^^^^^^^^^^
[ERROR] The method getControl() from the type CellEditor refers to the missing type Control
[ERROR] 
[ERROR] C:\Users\Sandeep\EWorkspaces\SHK1\de.itemis.gmf.runtime.extensions\src\de\itemis\gmf\runtime\combolabel\ComboBoxDirectEditManager.java (at line 220):[-1,-1]
[ERROR] comboBox.addSelectionListener(new SelectionAdapter() {
[ERROR] ^^^^^^^^^^^^^^^^
[ERROR] SelectionAdapter cannot be resolved to a type
[ERROR] 
[ERROR] C:\Users\Sandeep\EWorkspaces\SHK1\de.itemis.gmf.runtime.extensions\src\de\itemis\gmf\runtime\combolabel\ComboBoxDirectEditManager.java (at line 222):[-1,-1]
[ERROR] public void widgetSelected(SelectionEvent e) {
[ERROR] ^^^^^^^^^^^^^^
[ERROR] SelectionEvent cannot be resolved to a type
[ERROR] 
[ERROR] C:\Users\Sandeep\EWorkspaces\SHK1\de.itemis.gmf.runtime.extensions\src\de\itemis\gmf\runtime\combolabel\ComboBoxDirectEditManager.java (at line 236):[-1,-1]
[ERROR] protected Font getScaledFont(IFigure label) {
[ERROR] ^^^^
[ERROR] Font cannot be resolved to a type
[ERROR] 
[ERROR] C:\Users\Sandeep\EWorkspaces\SHK1\de.itemis.gmf.runtime.extensions\src\de\itemis\gmf\runtime\combolabel\ComboBoxDirectEditManager.java (at line 237):[-1,-1]
[ERROR] Font scaledFont = label.getFont();
[ERROR] ^^^^
[ERROR] Font cannot be resolved to a type
[ERROR] 
[ERROR] C:\Users\Sandeep\EWorkspaces\SHK1\de.itemis.gmf.runtime.extensions\src\de\itemis\gmf\runtime\combolabel\ComboBoxDirectEditManager.java (at line 237):[-1,-1]
[ERROR] Font scaledFont = label.getFont();
[ERROR] ^^^^^^^
[ERROR] The method getFont() from the type IFigure refers to the missing type Font
[ERROR] 
[ERROR] C:\Users\Sandeep\EWorkspaces\SHK1\de.itemis.gmf.runtime.extensions\src\de\itemis\gmf\runtime\combolabel\ComboBoxDirectEditManager.java (at line 238):[-1,-1]
[ERROR] FontData data = scaledFont.getFontData()[0];
[ERROR] ^^^^^^^^
[ERROR] FontData cannot be resolved to a type
[ERROR] 
[ERROR] C:\Users\Sandeep\EWorkspaces\SHK1\de.itemis.gmf.runtime.extensions\src\de\itemis\gmf\runtime\combolabel\ComboBoxDirectEditManager.java (at line 249):[-1,-1]
[ERROR] return getResourceManager().createFont(fontDescriptor);
[ERROR] ^^^^^^^^^^
[ERROR] The method createFont(FontDescriptor) from the type ResourceManager refers to the missing type Font
[ERROR] 
[ERROR] C:\Users\Sandeep\EWorkspaces\SHK1\de.itemis.gmf.runtime.extensions\src\de\itemis\gmf\runtime\combolabel\ComboBoxDirectEditManager.java (at line 253):[-1,-1]
[ERROR] return JFaceResources.getDefaultFont();
[ERROR] ^^^^^^^^^^^^^^
[ERROR] The method getDefaultFont() from the type JFaceResources refers to the missing type Font
[ERROR] 
[ERROR] C:\Users\Sandeep\EWorkspaces\SHK1\de.itemis.gmf.runtime.extensions\src\de\itemis\gmf\runtime\combolabel\ComboBoxDirectEditManager.java (at line 273):[-1,-1]
[ERROR] Display.getCurrent().asyncExec(new Runnable() {
[ERROR] ^^^^^^^
[ERROR] Display cannot be resolved
[ERROR] 
[ERROR] C:\Users\Sandeep\EWorkspaces\SHK1\de.itemis.gmf.runtime.extensions\src\de\itemis\gmf\runtime\combolabel\ComboBoxDirectEditManager.java (at line 292):[-1,-1]
[ERROR] private Font getZoomLevelFont(Font actualFont, Display display) {
[ERROR] ^^^^
[ERROR] Font cannot be resolved to a type
[ERROR] 
[ERROR] C:\Users\Sandeep\EWorkspaces\SHK1\de.itemis.gmf.runtime.extensions\src\de\itemis\gmf\runtime\combolabel\ComboBoxDirectEditManager.java (at line 292):[-1,-1]
[ERROR] private Font getZoomLevelFont(Font actualFont, Display display) {
[ERROR] ^^^^
[ERROR] Font cannot be resolved to a type
[ERROR] 
[ERROR] C:\Users\Sandeep\EWorkspaces\SHK1\de.itemis.gmf.runtime.extensions\src\de\itemis\gmf\runtime\combolabel\ComboBoxDirectEditManager.java (at line 292):[-1,-1]
[ERROR] private Font getZoomLevelFont(Font actualFont, Display display) {
[ERROR] ^^^^^^^
[ERROR] Display cannot be resolved to a type
[ERROR] 
[ERROR] C:\Users\Sandeep\EWorkspaces\SHK1\de.itemis.gmf.runtime.extensions\src\de\itemis\gmf\runtime\combolabel\ComboBoxDirectEditManager.java (at line 302):[-1,-1]
[ERROR] FontData[] fd = new FontData[actualFont.getFontData().length];
[ERROR] ^^^^^^^^
[ERROR] FontData cannot be resolved to a type
[ERROR] 
[ERROR] C:\Users\Sandeep\EWorkspaces\SHK1\de.itemis.gmf.runtime.extensions\src\de\itemis\gmf\runtime\combolabel\ComboBoxDirectEditManager.java (at line 302):[-1,-1]
[ERROR] FontData[] fd = new FontData[actualFont.getFontData().length];
[ERROR] ^^^^^^^^
[ERROR] FontData cannot be resolved to a type
[ERROR] 
[ERROR] C:\Users\Sandeep\EWorkspaces\SHK1\de.itemis.gmf.runtime.extensions\src\de\itemis\gmf\runtime\combolabel\ComboBoxDirectEditManager.java (at line 303):[-1,-1]
[ERROR] FontData tempFD = null;
[ERROR] ^^^^^^^^
[ERROR] FontData cannot be resolved to a type
[ERROR] 
[ERROR] C:\Users\Sandeep\EWorkspaces\SHK1\de.itemis.gmf.runtime.extensions\src\de\itemis\gmf\runtime\combolabel\ComboBoxDirectEditManager.java (at line 308):[-1,-1]
[ERROR] fd[i] = new FontData(tempFD.getName(),
[ERROR] ^^^^^^^^
[ERROR] FontData cannot be resolved to a type
[ERROR] 
[ERROR] C:\Users\Sandeep\EWorkspaces\SHK1\de.itemis.gmf.runtime.extensions\src\de\itemis\gmf\runtime\combolabel\ComboBoxDirectEditManager.java (at line 316):[-1,-1]
[ERROR] return getResourceManager().createFont(fontDescriptor);
[ERROR] ^^^^^^^^^^
[ERROR] The method createFont(FontDescriptor) from the type ResourceManager refers to the missing type Font
[ERROR] 
[ERROR] C:\Users\Sandeep\EWorkspaces\SHK1\de.itemis.gmf.runtime.extensions\src\de\itemis\gmf\runtime\combolabel\ComboBoxDirectEditManager.java (at line 332):[-1,-1]
[ERROR] Control control = getCellEditor().getControl();
[ERROR] ^^^^^^^
[ERROR] Control cannot be resolved to a type
[ERROR] 
[ERROR] C:\Users\Sandeep\EWorkspaces\SHK1\de.itemis.gmf.runtime.extensions\src\de\itemis\gmf\runtime\combolabel\ComboBoxDirectEditManager.java (at line 332):[-1,-1]
[ERROR] Control control = getCellEditor().getControl();
[ERROR] ^^^^^^^^^^
[ERROR] The method getControl() from the type CellEditor refers to the missing type Control
[ERROR] 
[ERROR] C:\Users\Sandeep\EWorkspaces\SHK1\de.itemis.gmf.runtime.extensions\src\de\itemis\gmf\runtime\combolabel\ComboBoxDirectEditManager.java (at line 333):[-1,-1]
[ERROR] this.zoomLevelFont = getZoomLevelFont(fig.getFont(), control
[ERROR] ^^^^^^^^^^^^^^^^^^
[ERROR] Font cannot be resolved to a type
[ERROR] 
[ERROR] C:\Users\Sandeep\EWorkspaces\SHK1\de.itemis.gmf.runtime.extensions\src\de\itemis\gmf\runtime\combolabel\ComboBoxDirectEditManager.java (at line 333):[-1,-1]
[ERROR] this.zoomLevelFont = getZoomLevelFont(fig.getFont(), control
[ERROR] ^^^^^^^
[ERROR] The method getFont() from the type IFigure refers to the missing type Font
[ERROR] 
[ERROR] C:\Users\Sandeep\EWorkspaces\SHK1\de.itemis.gmf.runtime.extensions\src\de\itemis\gmf\runtime\combolabel\ComboBoxDirectEditManager.java (at line 335):[-1,-1]
[ERROR] control.setFont(this.zoomLevelFont);
[ERROR] ^^^^^^^^^^^^^^^^^^
[ERROR] Font cannot be resolved to a type
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.sonatype.tycho:maven-osgi-compiler-plugin:0.10.0:compile (default-compile) on project de.itemis.gmf.runtime.extensions: Compilation failure
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
	at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
	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:597)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: org.codehaus.tycho.osgicompiler.copied.CompilationFailureException: Compilation failure
	at org.codehaus.tycho.osgicompiler.copied.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:404)
	at org.codehaus.tycho.osgicompiler.AbstractOsgiCompilerMojo.execute(AbstractOsgiCompilerMojo.java:157)
	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
	... 19 more
[ERROR] 
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :de.itemis.gmf.runtime.extensions

Back to the top