Skip to content
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

Issue1973 Add gradle tasks to generate Deb and RPM packages #1974

Merged
merged 17 commits into from Nov 16, 2022

Conversation

lcai006
Copy link
Contributor

@lcai006 lcai006 commented Sep 21, 2022

Issue #1973
Add gradle tasks to generate Deb and RPM packages.
Package includes umple.jar, a bash script to run umple, copyright and README of umple, a manpage zip file of umple.
Related files are in dev-tools/files directory

Thes gradle tasks are using gradle-ospackage-plugin.
Run below after build the project in umple/

./gradlew genPackages

This task creates packages in umple/dist/gradle/distributions directory

…ge updated by help message.

Package includes umple.jar, a bash script to run umple, copyright and README of umple, manpage file of umple.
Copy link
Member

@TimLethbridge TimLethbridge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good start.

Instead of using dev-tools as the directory for the three files, please use the build directory ... the dev-tools directory is for scripts that are used by developers of Umple itself.

And instead of 'files' as the subdirectory, please use a more meaningful name such as rpmfiles for the files used to build rpm.

Also there is already a license for Umple in LICENSE.md. Is there a way this could just be copied directly, rather than being duplicated>? This is am MIT license. I have been putting the names of all the authors there, so it may change over time. Also I have updated the date periodically.

Please fix these (or at least reply), then I will test.

Also in the issue, it would be good if you could tell me how I might set the resulting package up so I can test it using an apt or a yum command

@lcai006
Copy link
Contributor Author

lcai006 commented Sep 22, 2022

Good start.

Instead of using dev-tools as the directory for the three files, please use the build directory ... the dev-tools directory is for scripts that are used by developers of Umple itself.

And instead of 'files' as the subdirectory, please use a more meaningful name such as rpmfiles for the files used to build rpm.

Also there is already a license for Umple in LICENSE.md. Is there a way this could just be copied directly, rather than being duplicated>? This is am MIT license. I have been putting the names of all the authors there, so it may change over time. Also I have updated the date periodically.

Please fix these (or at least reply), then I will test.

Also in the issue, it would be good if you could tell me how I might set the resulting package up so I can test it using an apt or a yum command

Above issues fixed.

To install the packages:
#1973

@TimLethbridge TimLethbridge merged commit 56d7371 into master Nov 16, 2022
@TimLethbridge TimLethbridge deleted the issue1973 branch November 21, 2022 13:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants