Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jubula-dev] Compile errors

Hi all,
 
When I compiled Jubula, I encontered a problem.
I used the following command to compile under  C:\indigo_rc3\org.eclipse.jubula.releng,
 
mvn package -Dtycho.targetPlatform=C:\eclipse-jee-indigo-win32-x86_64\eclipse -Dosgi.os=win32 -Dosgi.ws=win32 -Dosgi.arch=x86_64
 
 
But it reported errors:
 
 
[INFO] Finished at: Thu Oct 20 15:07:22 CST 2011
[INFO] Final Memory: 79M/190M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.sonatype.tycho:maven-osgi-compiler-plugin:0.1
0.0:compile (default-compile) on project org.eclipse.jubula.toolkit.common: Comp
ilation failure: Compilation failure:
[ERROR] C:\sonia.luo\indigo_rc3\indigo_rc3\org.eclipse.jubula.toolkit.common\src
\org\eclipse\jubula\toolkit\common\utils\ToolkitUtils.java (at line 32):[-1,-1]
[ERROR] import org.eclipse.swt.widgets.Composite;
[ERROR] ^^^^^^^^^^^^^^^
[ERROR] The import org.eclipse.swt cannot be resolved
[ERROR]
[ERROR] C:\sonia.luo\indigo_rc3\indigo_rc3\org.eclipse.jubula.toolkit.common\src
\org\eclipse\jubula\toolkit\common\utils\ToolkitUtils.java (at line 180):[-1,-1]
[ERROR] public static Composite createAutConfigComponent(String className,
[ERROR] ^^^^^^^^^
[ERROR] Composite cannot be resolved to a type
[ERROR]
[ERROR] C:\sonia.luo\indigo_rc3\indigo_rc3\org.eclipse.jubula.toolkit.common\src
....
 
I have installed the swt plugin to my Eclipse.
Who know the reason or how to solve it??
Thank you very much
 
Sincerely
Sonia

Back to the top