[
https://issues.jboss.org/browse/JBIDE-9639?page=com.atlassian.jira.plugin...
]
Nick Boldt updated JBIDE-9639:
------------------------------
Description:
{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}
was:
$ mvn3 clean install -DtychoVersion=0.13.0-SNAPSHOT -U
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
etc.
This could be a problem w/ feature-feature or plugin-plugin dependencies not being clearly
stated in the feature.xml or MANIFEST.MF files.
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