Closed arnor2000 closed 11 years ago
I haven't really released or announced SuperEventBus yet, but thanks for taking an early look! Are you using Maven? Things seem to work fine for me using Maven, but if you're not you might have to add this line to your gwt.xml file:
<inherits name="com.ekuefler.supereventbus.SuperEventBus"/>
Could you try this and see if it works? If so I will update the instructions. Thanks!
Yes I'm using Maven and added this dependency:
<dependency>
<groupId>com.ekuefler.supereventbus</groupId>
<artifactId>supereventbus</artifactId>
<version>0.0.1</version>
</dependency>
I tried without scope and with provided scope. And I inherited from it in my gwt.xml:
<inherits name="com.ekuefler.supereventbus.SuperEventBus"/>
I agree it's as if I haven't inherited from the module at all.
This evening I'll try on a project from scratch, maybe it'll help to identify the problem.
I thought about the compilation errors harder and it appears to me 'rebind' package shouldn't be included in GWT sources at first.
I changed SuperEventBus.gwt.xml source line to <source path="" excludes="rebind/*"/>
and it's now working perfectly!
Cheers
I sent a pull request with the correction. I know you could do it yourself but it was a good occasion to try to commit, it's my first time on GitHub :)
@arnor2000 Hey men i love you in the good way, i was looking for a solution by almost 1 week and i resoveld the same problem with
I wanted to try this super EventBus which looks really great but I came across a compilation error at the very beginning.
I simply inherited from com.ekuefler.supereventbus.SuperEventBus and followed the guide to post an event between two classes, nice to use!
The problem is event is never send, obviously because EventRegistrationGenerator and EventRegistrationWriter don't compile. Compiler seems to complain about almost every classes they use.
Did I forget to inherit a module?
I'm using eclipse with GPE, GWT 2.5.1 and GAE 1.8.1.1.