[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-8521) Compile failed in org/jboss/tools/cdi/internal/core/refactoring/CDIRenameProcessor.java

Daniel Azarov (JIRA) jira-events at lists.jboss.org
Fri Mar 4 11:36:45 EST 2011


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

Daniel Azarov commented on JBIDE-8521:
--------------------------------------

This issue related with build on hudson which does not take into account dependencies between modules.
In this case CDI depends from JST. CDISearcher class (from CDI module) and RefactorSearcher class (from JST module) where commited in the same time. But hudson's build does not rebuild JDT module before rebuilding CDI module.

> Compile failed in org/jboss/tools/cdi/internal/core/refactoring/CDIRenameProcessor.java
> ---------------------------------------------------------------------------------------
>
>                 Key: JBIDE-8521
>                 URL: https://issues.jboss.org/browse/JBIDE-8521
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: cdi (jsr-299)
>    Affects Versions: 3.2.1
>            Reporter: Nick Boldt
>            Assignee: Alexey Kazakov
>            Priority: Blocker
>             Fix For: 3.2.1
>
>
> ERROR] Failed to execute goal org.sonatype.tycho:maven-osgi-compiler-plugin:0.10.0:compile (default-compile) on project org.jboss.tools.cdi.core: Compilation failure: Compilation failure:
> [ERROR] /mnt/hudson_workspace/workspace/jbosstools-3.2_stable_branch.component--cdi/sources/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/refactoring/CDIRenameProcessor.java (at line 159):[-1,-1]
> [ERROR] class CDISearcher extends RefactorSearcher{
> [ERROR] ^^^^^^^^^^^
> [ERROR] The type CDIRenameProcessor.CDISearcher must implement the inherited abstract method RefactorSearcher.isFileCorrect(IFile)
> [ERROR] 
> [ERROR] /mnt/hudson_workspace/workspace/jbosstools-3.2_stable_branch.component--cdi/sources/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/refactoring/CDIRenameProcessor.java (at line 165):[-1,-1]
> [ERROR] protected void outOfSynch(IProject project) {
> [ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> [ERROR] The method outOfSynch(IProject) of type CDIRenameProcessor.CDISearcher must override a superclass method
> [ERROR] 
> [ERROR] /mnt/hudson_workspace/workspace/jbosstools-3.2_stable_branch.component--cdi/sources/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/refactoring/CDIRenameProcessor.java (at line 171):[-1,-1]
> [ERROR] if(isFileReadOnly(file)){
> [ERROR] ^^^^^^^^^^^^^^
> [ERROR] The method isFileReadOnly(IFile) is undefined for the type CDIRenameProcessor.CDISearcher
> [ERROR] -> [Help 1]
> [INFO] org.jboss.tools.cdi.core .......................... FAILURE [1:02.500s]
> [INFO] org.jboss.tools.cdi.ui ............................ FAILURE [5.444s]
> [INFO] org.jboss.tools.cdi.text.ext ...................... FAILURE [4.293s]
> [INFO] org.jboss.tools.cdi.feature ....................... FAILURE [6.257s]
> [INFO] org.jboss.tools.cdi.core.test ..................... FAILURE [5.480s]
> [INFO] org.jboss.tools.cdi.text.ext.test ................. FAILURE [4.945s]
> [INFO] org.jboss.tools.cdi.ui.test ....................... FAILURE [5.028s]
> [INFO] cdi.site .......................................... FAILURE [2.736s]
> [INFO] BUILD FAILURE
> FAILURES FOUND: 9
> http://hudson.qa.jboss.com/hudson/job/jbosstools-3.2_stable_branch.component--cdi/lastCompletedBuild/console

--
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