[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-9409) compile failed for org.jboss.tools.jsf

Alexey Kazakov (JIRA) jira-events at lists.jboss.org
Wed Jul 27 19:17:23 EDT 2011


    [ https://issues.jboss.org/browse/JBIDE-9409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12617161#comment-12617161 ] 

Alexey Kazakov commented on JBIDE-9409:
---------------------------------------

org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/ComponentUtil.java uses VPE component API. So jsf component should compile against the latest VPE component.

> compile failed for org.jboss.tools.jsf
> --------------------------------------
>
>                 Key: JBIDE-9409
>                 URL: https://issues.jboss.org/browse/JBIDE-9409
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: Build/Releng
>    Affects Versions: 3.3.0.M3
>            Reporter: Nick Boldt
>            Assignee: Alexey Kazakov
>            Priority: Blocker
>             Fix For: 3.3.0.M3
>
>
> http://hudson.qa.jboss.com/hudson/job/jbosstools-3.3_trunk.component--jsf/340/console
> [INFO] org.jboss.tools.jsf ............................... FAILURE [16.349s]
> [ERROR] Failed to execute goal org.sonatype.tycho:maven-osgi-compiler-plugin:0.10.0:compile (default-compile) on project org.jboss.tools.jsf: Compilation failure: Compilation failure:
> [ERROR] /mnt/hudson_workspace/workspace/jbosstools-3.3_trunk.component--jsf/sources/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/model/JSFMessageELCompletionEngine.java (at line 508):[-1,-1]
> [ERROR] segment.addObject(p);
> [ERROR] ^^^^^^^^^
> [ERROR] The method addObject(XModelObject) is undefined for the type MessagePropertyELSegmentImpl
> [ERROR] 
> [ERROR] /mnt/hudson_workspace/workspace/jbosstools-3.3_trunk.component--jsf/sources/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/model/JSFMessageELCompletionEngine.java (at line 546):[-1,-1]
> [ERROR] segment.addObject(property);
> [ERROR] ^^^^^^^^^
> [ERROR] The method addObject(XModelObject) is undefined for the type MessagePropertyELSegmentImpl
> [ERROR] 
> [ERROR] /mnt/hudson_workspace/workspace/jbosstools-3.3_trunk.component--jsf/sources/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/model/JSF2CCAttrsELCompletionEngine.java (at line 44):[-1,-1]
> [ERROR] import org.jboss.tools.common.el.core.resolver.IOpenableReference;
> [ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> [ERROR] The import org.jboss.tools.common.el.core.resolver.IOpenableReference cannot be resolved
> [ERROR] 
> [ERROR] /mnt/hudson_workspace/workspace/jbosstools-3.3_trunk.component--jsf/sources/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/model/JSF2CCAttrsELCompletionEngine.java (at line 674):[-1,-1]
> [ERROR] public IOpenableReference[] getOpenable() {
> [ERROR] ^^^^^^^^^^^^^^^^^^
> [ERROR] IOpenableReference cannot be resolved to a type
> [ERROR] 
> [ERROR] /mnt/hudson_workspace/workspace/jbosstools-3.3_trunk.component--jsf/sources/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/model/JSF2CCAttrsELCompletionEngine.java (at line 677):[-1,-1]
> [ERROR] IOpenableReference openable = new IOpenableReference() {
> [ERROR] ^^^^^^^^^^^^^^^^^^
> [ERROR] IOpenableReference cannot be resolved to a type
> [ERROR] 
> [ERROR] /mnt/hudson_workspace/workspace/jbosstools-3.3_trunk.component--jsf/sources/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/model/JSF2CCAttrsELCompletionEngine.java (at line 677):[-1,-1]
> [ERROR] IOpenableReference openable = new IOpenableReference() {
> [ERROR] ^^^^^^^^^^^^^^^^^^
> [ERROR] IOpenableReference cannot be resolved to a type
> [ERROR] 
> [ERROR] /mnt/hudson_workspace/workspace/jbosstools-3.3_trunk.component--jsf/sources/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/model/JSF2CCAttrsELCompletionEngine.java (at line 679):[-1,-1]
> [ERROR] public boolean open() {
> [ERROR] ^^^^^^
> [ERROR] The method open() of type new IOpenableReference(){} must override or implement a supertype method
> [ERROR] 
> [ERROR] /mnt/hudson_workspace/workspace/jbosstools-3.3_trunk.component--jsf/sources/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/model/JSF2CCAttrsELCompletionEngine.java (at line 684):[-1,-1]
> [ERROR] public String getLabel() {
> [ERROR] ^^^^^^^^^^
> [ERROR] The method getLabel() of type new IOpenableReference(){} must override or implement a supertype method
> [ERROR] 
> [ERROR] /mnt/hudson_workspace/workspace/jbosstools-3.3_trunk.component--jsf/sources/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/model/JSF2CCAttrsELCompletionEngine.java (at line 688):[-1,-1]
> [ERROR] public Image getImage() {
> [ERROR] ^^^^^^^^^^
> [ERROR] The method getImage() of type new IOpenableReference(){} must override or implement a supertype method
> [ERROR] 
> [ERROR] /mnt/hudson_workspace/workspace/jbosstools-3.3_trunk.component--jsf/sources/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/model/JSF2CCAttrsELCompletionEngine.java (at line 692):[-1,-1]
> [ERROR] return new IOpenableReference[]{openable};
> [ERROR] ^^^^^^^^^^^^^^^^^^
> [ERROR] IOpenableReference cannot be resolved to a type
> [ERROR] 
> [ERROR] /mnt/hudson_workspace/workspace/jbosstools-3.3_trunk.component--jsf/sources/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/model/JSF2CCAttrsELCompletionEngine.java (at line 694):[-1,-1]
> [ERROR] return new IOpenableReference[0];
> [ERROR] ^^^^^^^^^^^^^^^^^^
> [ERROR] IOpenableReference 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 org.jboss.tools.jsf: 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] Re-run Maven using the -X switch to enable full debug logging.
> [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 :org.jboss.tools.jsf

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list