Community
Participate
Working Groups
When you run xtend you must have Google Inject on the class path. I guess I understand the (unfortunate) dependency on the xtend and xtext libraries but I fail to see why Google Guice should be mandatory?
The dependency to google inject is optional and there to advocate the use of it. But you are right that there is no runtime or compile time dependency. Does it cause you any trouble?
Yes, it does. I am not using xtend with PDE, I use bndtools. With bndtools we want to minimize dependencies as much as possible. However, I now get an error when I do not include Google Guice on the classpath.
Ok, I think we should reconsider having it, but I wonder why bnd complains although it's marked optional. Is that an equinox-specific option?
I realized that we actually have a compiler check which checks for google guice. We should get rid of the check and also should remove the dependency.
I removed the compiler check.
Yup, that was the problem. Thanks! Looking forward to work more with xtend!
There is a new library bundle (org.eclipse.xtend2.lib) which doesn't depend on com.google.inject.
See https://bugs.eclipse.org/bugs/show_bug.cgi?id=364123
Closing all bugs that were set to RESOLVED before Neon.0