New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix ModelloCli broken after moving from Plexus to JSR330 #435
base: master
Are you sure you want to change the base?
Conversation
bb79a61
to
f708579
Compare
This version is now working for me and from my side, it is ready to get integrated. I don't know which kind of test to write for a command-line tool so that it does not regress any more. Please, advise. |
The latest version actually restores the possibility to instantiate directly the Modello class, since I see now that some Fedora tools in javapackages-bootstrap do it. So this version partially reverts commit 8804652 concerning the two files and adds the configuration including the autowiring and index scanning. Like that, stuff out there that was using Modello() constructor directly, will be able to use it from this commit on again. |
It would be good to have some test for this. Minimum that it can generate simple java files from a model. But for that, one needs basically the whole classpath including the plugins. |
This is running in openSUSE since and generates on command-line the correct Java files. Any chance to have it reviewed? |
This is my attempt at least to make the ModelloCli.java at least start and run. It still throws an exception on simple models. But at least the guice bindings look correct and the thing is at least starting and running.