[jbosstools-issues] [JBoss JIRA] Resolved: (JBIDE-9639) using Tycho 0.13.0-SNAPSHOT, cannot resolve hibernate when building birt

Snjezana Peco (JIRA) jira-events at lists.jboss.org
Sun Sep 4 08:33:26 EDT 2011


     [ https://issues.jboss.org/browse/JBIDE-9639?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Snjezana Peco resolved JBIDE-9639.
----------------------------------

    Resolution: Done


This is a problem with optional requirements introduced by Tycho 0.13.0
Building the JBoss BIRT Integration feature works correctly when using Tycho 0.12.0.
This problem is fixed using the workaround described in https://bugs.eclipse.org/bugs/show_bug.cgi?id=351842

> using Tycho 0.13.0-SNAPSHOT, cannot resolve hibernate when building birt
> ------------------------------------------------------------------------
>
>                 Key: JBIDE-9639
>                 URL: https://issues.jboss.org/browse/JBIDE-9639
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: birt
>    Affects Versions: 3.3.0.M4
>            Reporter: Nick Boldt
>            Assignee: Snjezana Peco
>             Fix For: 3.3.0.M4
>
>
> {code}
> $ cd ~/trunk/birt; mvn3 clean install -DtychoVersion=0.13.0-SNAPSHOT -U
> [ERROR] Failed to execute goal org.eclipse.tycho:tycho-compiler-plugin:0.13.0-SNAPSHOT:compile (default-compile) on project org.jboss.tools.birt.oda: Compilation failure: Compilation failure:
> [ERROR] /home/nboldt/eclipse/workspace-jboss/jbosstools_trunk/birt/plugins/org.jboss.tools.birt.oda/src/org/jboss/tools/birt/oda/impl/AbstractOdaFactory.java (at line 10):[-1,-1]
> [ERROR] import org.hibernate.HibernateException;
> [ERROR] ^^^^^^^^^^^^^
> [ERROR] The import org.hibernate cannot be resolved
>   ...
> [ERROR] /home/nboldt/eclipse/workspace-jboss/jbosstools_trunk/birt/plugins/org.jboss.tools.birt.oda/src/org/jboss/tools/birt/oda/impl/Parameter.java (at line 32):[-1,-1]
> [ERROR] hibernateTypes.put(TimestampType, Hibernate.TIMESTAMP);
> [ERROR] ^^^^^^^^^
> [ERROR] Hibernate cannot be resolved to a variable
> [ERROR] 
> [ERROR] /home/nboldt/eclipse/workspace-jboss/jbosstools_trunk/birt/plugins/org.jboss.tools.birt.oda/src/org/jboss/tools/birt/oda/impl/Parameter.java (at line 33):[-1,-1]
> [ERROR] hibernateTypes.put(BooleanType, Hibernate.BOOLEAN);
> [ERROR] ^^^^^^^^^^^^^^
> [ERROR] Type cannot be resolved to a type
> [ERROR] 
> [ERROR] /home/nboldt/eclipse/workspace-jboss/jbosstools_trunk/birt/plugins/org.jboss.tools.birt.oda/src/org/jboss/tools/birt/oda/impl/Parameter.java (at line 33):[-1,-1]
> [ERROR] hibernateTypes.put(BooleanType, Hibernate.BOOLEAN);
> [ERROR] ^^^^^^^^^
> [ERROR] Hibernate cannot be resolved to a variable
> [ERROR] 
> [ERROR] /home/nboldt/eclipse/workspace-jboss/jbosstools_trunk/birt/plugins/org.jboss.tools.birt.oda/src/org/jboss/tools/birt/oda/impl/Parameter.java (at line 90):[-1,-1]
> [ERROR] public Type getHibernateType() {
> [ERROR] ^^^^
> [ERROR] Type cannot be resolved to a type
> [ERROR] 
> [ERROR] /home/nboldt/eclipse/workspace-jboss/jbosstools_trunk/birt/plugins/org.jboss.tools.birt.oda/src/org/jboss/tools/birt/oda/impl/Parameter.java (at line 91):[-1,-1]
> [ERROR] return hibernateTypes.get(type);
> [ERROR] ^^^^^^^^^^^^^^
> [ERROR] Type cannot be resolved to a type
> {code}
> This could be a problem w/ feature-feature or plugin-plugin dependencies not being clearly stated in the feature.xml or MANIFEST.MF files.
> Or it could be because org.hibernate.eclipse is set as optional in trunk/birt/plugins/org.jboss.tools.birt.oda/META-INF/MANIFEST.MF:
> {code}
>  org.hibernate.eclipse;resolution:=optional
> {code}

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