<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Max,<div><br></div><div>If you can take a look at&nbsp;<span class="Apple-style-span" style="color: rgb(20, 20, 20); font-family: 'Lucida Grande'; line-height: 14px; "><a href="https://github.com/jbosstools/jbosstools-hibernate/pull/5" title="https://github.com/jbosstools/jbosstools-hibernate/pull/5" style="word-wrap: break-word; text-rendering: optimizelegibility; color: rgb(0, 51, 204); text-decoration: underline; ">https://github.com/jbosstools/jbosstools-hibernate/pull/5</a>&nbsp;and give your comments.&nbsp;</span></div><div><span class="Apple-style-span" style="color: rgb(20, 20, 20); font-family: 'Lucida Grande'; line-height: 14px; "><br></span></div><div><span class="Apple-style-span" style="color: rgb(20, 20, 20); font-family: 'Lucida Grande'; line-height: 14px; ">I basically check when adding a file if there is a jpaFile already present for this file. If this is the case I just return it otherwise, I delegate to the superclass. This fix solves the duplicate listener exception (<a href="https://issues.jboss.org/browse/JBIDE-12784">https://issues.jboss.org/browse/JBIDE-12784</a>).&nbsp;</span></div><div><span class="Apple-style-span" style="color: rgb(20, 20, 20); font-family: 'Lucida Grande'; line-height: 14px; "><br></span></div><div><span class="Apple-style-span" style="color: rgb(20, 20, 20); font-family: 'Lucida Grande'; line-height: 14px; ">Cheers,</span></div><div><span class="Apple-style-span" style="color: rgb(20, 20, 20); font-family: 'Lucida Grande'; line-height: 14px; ">Koen</span></div></body></html>