-
-
Notifications
You must be signed in to change notification settings - Fork 311
Remove generated EXE from repository (umlet-standalone) #496
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
Comments
I didn't knew that this maven plugin exists so thanks for the info! I agree that it would be the cleaner approach to generate the file during the build, but on the practical side it's just one more step during the build process which may fail on some OS or java version (after checking the issues page of the plugin there are issues with 64bit linux which requires to install additional libraries and so on) So I tend to avoid complicating the build and introduce potential errors for users which may want to checkout and build umlet on their local machine, because the build process is already quite complicated with the multiple platforms (eclipse plugin, swing, gwt), especially for this case where |
You refers to orphan-oss/launch4j-maven-plugin#4, right? It's possible to add a non-active-by-default profile in the If someone has to generate the EXE file, this profile has to be activate while the Maven build.
On the CI, this profile could be always active. For now I need these libraries too, if I like to generate the EXE via launch4j directly. |
You're right an optional profile would be a solution, but it's still just a simple exe which wraps an icon and executes the jar file which is external from the exe, so I'm not sure if we would gain anything by replacing the static file with a dynamic creation. Perhaps I will take a look at it if I find some time, but I would say it's not a high priority issue. |
That's fine. |
Commit generated binary resources into source code repository isn't best practice.
Did you ever play around with https://github.com/lukaszlenart/launch4j-maven-plugin to generate the EXE file while maven package phase?
Maybe
launch4j_project.xml
should moved intosrc/assembly
, because this file is another descriptor for assemble a distribution.The text was updated successfully, but these errors were encountered: