-
Notifications
You must be signed in to change notification settings - Fork 0
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
Refine Gradle "quick build" #20
Comments
Reposting responses to initial feedback from Kevin here:
I've got some plugin changes that I haven't pushed yet. That flag allows the user to override the I'll provide more details when I push, but the way the plugin was before, the user had no choice but to use the
Almost certainly. I was going for a PoC with this build.
I don't think it can, what do you mean?
That was the only way I could figure out how to get it working. Not sure how to do it the "normal" way
Goes back to the
Just more convenient to edit/view multiple build files at once. Having seven |
Would this be the use of the
Please mention this somewhere, I can get behind that idea; I just don't want it ever being considered final.
Attach the dependencies in the build scripts themselves, not this one.
Rewrite the ivy file using: https://docs.gradle.org/current/userguide/artifact_dependencies_tutorial.html
You're making it strange for others due to your use case. For others, they will not often (if ever) have multiple build scripts open. Switch back to the |
No. My original intent for the root project was for it to basically just contain the
Ok 👍
The subprojects aren't aware of the
How about I add this as a TODO before this ticket is closed? While the build is still rough and we're making changes it's a handy feature.
I'm going to add this as another TODO for this issue. I don't have time to do it right now, still going to try to add some plugin tests before I stop development tonight/early tomorrow. I'll be around after the semester to help polish up this build and the plugin. There's still work to be done, but I think what we've got here and in the plugin is a very nice foundation. |
Okay, I trust your judgement.
Can you open an issue on the Umple project after the build is brought in? Seems like a simple low-hanging-fruit for someone else.
Works for me.
I'd be happy if that's the case. 👍 |
We've now got a rough quick build working (by quick build I mean a replacement for
ant -Dmyenv=local -f build.umple.xml codegen umpleParser rtcpp umpleSelf compile packageJars
). We now need to refine the build and fix a few critical issues.First, we're still getting intermittent build failures due to the way Umple is generating Java from the Umple source. As documented in Intermittent Umple compilation error breaking Gradle quick build #17, this is probably because the Gradle build invokes the Umple jar programmatically rather than from the command line. Intermittent Umple compilation error breaking Gradle quick build #17 needs to be closed before this issue is.
Second, the build in general needs a cleanup. There's some duplicate code that could be refactored, and the build could use some more comprehensive comments to help new people get up to speed.
Remove the custom build file naming in
settings.gradle
. We want each build file to be namedbuild.gradle
.Rewrite the portion of the build that deals with ivy dependencies to be more "Gradle-like". See this tutorial: Rewrite the ivy file using: https://docs.gradle.org/current/userguide/artifact_dependencies_tutorial.html
Refactor the
UmpleToTL
build files to reduce duplicate code. Right now they're almost identical.cruise.umple
project from theUmpleToTL
projects, those projects should be compiled independently rather than as a unit.The text was updated successfully, but these errors were encountered: