-
Notifications
You must be signed in to change notification settings - Fork 77
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
m-Better packaging for mbeddr platform #2042
Comments
I would love to make this happen but it's quite a lot of effort to do this. The major problem I don't have viable solution for so far is, that when publish each idea plugin of the platform as a individual maven artifact we have export the dependencies of these plugins from MPS to gradle/maven so that we can make them part of the POM. That way clients that depend on a specific plugin could download that plugin plus all of it's (transitive) dependencies. I have not yet found a way to do this in an automated way. Ideally we would have generator that would generated the required gradle scripts automatically during the generation of the ANT scripts from the build models. Creating these publication manually and mirroring the dependencies by hand isn't really possible given the large amount of individual plugins that currently ship in the platform. Ideally we would have generic solution in the mps-gradle-plugin for the gradle part and some extension to the build language that allows us to export this information from MPS build scripts. I will take this idea into our next MPS hackathon week but I can't promise any results. |
I agree - I can see that it'd be a monumental effort to build/maintain all of the publishing for that. We've been experimenting with ways to configure MPS with gradle - i.e. use Gradle to pull in dependencies and then include them in MPS in various ways. Currently we auto-generate Solutions and then auto-add entries for them in the Perhaps an approach like this would be helpful, as dependencies declared in a Gradle build could be automatically included in a POM generated by that build. I believe there are plugins that already do this.
That's related to another thing I'd also love to see, which is a gradle version of the MPS build scripts. Those ANT files are scary. |
We have a number of projects depending on the mbeddr platform using various ranges of the functionality. In several of those projects we only depend on a very small set of the available tooling but still have to include the entire platform in our project. All of the tools that we don't use still are loaded during build and sometimes have side-effects that impact our project (the mbeddr codereview tool has quite a notorious past of auto-generating models for its own configuration).
It would be very nice if each tool were published independently. Is this something that could be done?
The text was updated successfully, but these errors were encountered: