[hibernate-issues] [Hibernate-JIRA] Commented: (EJB-270) Support eclipse bundleresource protocol
Claude M (JIRA)
noreply at atlassian.com
Fri Mar 7 09:35:33 EST 2008
[ http://opensource.atlassian.com/projects/hibernate/browse/EJB-270?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_29731 ]
Claude M commented on EJB-270:
------------------------------
The added eclipse project must be lauched as a RCP application. And in case you are not an eclipse user... to do that,
* import the project in eclipse
* Open META-INF/MANIFEST.MF
* On the Overview tab, click "Launch an Eclipse application in Debug mode"
During startup, you should get this error:
Caused by: java.lang.RuntimeException: error trying to scan <jar-file>: bundleresource://26/
at org.hibernate.ejb.Ejb3Configuration.scanForClasses(Ejb3Configuration.java:635)
at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:350)
at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:126)
at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:227)
at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:281)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1333)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1299)
... 88 more
Caused by: java.lang.RuntimeException: Archive browser cannot handle protocol: bundleresource://26/
at org.jboss.util.file.ArchiveBrowser.getBrowser(ArchiveBrowser.java:93)
at org.hibernate.ejb.Ejb3Configuration.scanForClasses(Ejb3Configuration.java:626)
> Support eclipse bundleresource protocol
> ---------------------------------------
>
> Key: EJB-270
> URL: http://opensource.atlassian.com/projects/hibernate/browse/EJB-270
> Project: Hibernate Entity Manager
> Issue Type: New Feature
> Components: EntityManager
> Reporter: Emmanuel Bernard
> Assignee: Emmanuel Bernard
> Attachments: bug.bundleresource.zip
>
>
> As soon as someone provides me a simple eclipse project reproducing EJB-242, I am going a have a look at this bug to properly support bundleresource.
> I would appreciate the users to put pressure on Eclispe to fix their bug, their URL should be readable as stream and not raise NPEs
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list