Closed basil-bourque closed 9 years ago
Yes, it doesn't exist in version 1.2.1.
@basil-bourque Sorry for not getting back to your reported issue. I don't have much time to dedicate to this project currently. The issue you reported is due to a refactoring where methods have been moved around. Apparently I have not done a particularly good job in keeping documentation up-to-date (it is difficult with multiple versions where small api changes still occur). I will make a 1.2.2 release soon. Until then you have to use the method located in the message bus interface.
@nikoliazekter I think there is a certain politeness and patience that is lacking in your comment. Pronouncing a project dead is a pretty harsh statement to make. Especially when there have been commits in the recent months. Leave your frustration somewhere else or even better pick up the task of fixing an issue by providing a PR (because this is what OSS is about, aka it's not enterprise class software given away for free).
@bennidi I'm sorry but I didn't see any progress for 2 months so I thought you abandoned it. I'm using mbassador in my current game and it works well however documentation is bad. Also I've tried to fix the issue yesterday but IntelliJ IDEA told me that the version of Gradle used by project is outdated and failed to open it.
@nikoliazekter Perhaps you could contribute to the documentation?
How are you executing Gradle?
@davidsowerby exactly like here https://www.jetbrains.com/idea/help/importing-project-from-gradle-model.html
What is the error message you are getting? In IDEA | Settings | Gradle what do you have selected? What version of Gradle do you have installed?
Screenshots:
I should have chosen "Use customizable gradle wrapper". Now it opens.
Out of interest I tried using the setup you showed here (I use the same version of IDEA) - and got the same error. I think that the Gradle folder you pointed to is just for a plugin, and does not contain a bin
folder.
It seems you have fixed the problem now, but for projects which do not contain a wrapper you could Download and install Gradle and update the 'Gradle home' settings shown above.
Fixed in 1.2.3
Good: The method
BusConfiguration::addPublicationErrorHandler
method is found in the source code on GitHub. Perhaps that is the unreleased 1.2.2 code?Bad: That method is not found by NetBeans 8.0.2 on Java 8 Update 51 when using a dependency of 1.2.1. I have no other problems with MBassador except this one method. Commenting out that one method calls makes the compiler happy.
Example app:
…with this pom.xml…
…reports this compiler error…
Passing null is not the issue. Code-completion of the
addPublicationErrorHandler
method fails, as the compiler cannot identify any such method.