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

#505: create startup script command #540

Merged
merged 24 commits into from
Sep 12, 2024

Conversation

jan-vcapgemini
Copy link
Contributor

@jan-vcapgemini jan-vcapgemini commented Aug 15, 2024

Fixes: #440, #366, #505

Implements:

  • added startup script command for intellij and android-studio for Windows, Linux and MacOS
  • removed getBinaryName

There is one issue left. On Mac starting android-studio does not work because studio does not have execute permissions.

added startup script command for Windows, Linux and MacOS (MacOS is not working yet)
removed getBinaryName
added WIP setMacOsFilePermissions
jan-vcapgemini and others added 6 commits August 27, 2024 13:03
@hohwille hohwille linked an issue Sep 3, 2024 that may be closed by this pull request
@hohwille hohwille added this to the release:2024.09.002 milestone Sep 5, 2024
jan-vcapgemini and others added 13 commits September 5, 2024 13:46
removed thrown exception from makeExecutable
replaced createStartupScript in postInstall with postExtract
simplified startup bash script
fixed bug in extract method
refactored create start script code into createStartScript method
added createStartScript to android-studio
added execute permissions to android-studio test files
removed getBinaryName from android-studio
added postExtract to android-studio
added escaped double quotes to dirname param
@jan-vcapgemini jan-vcapgemini marked this pull request as ready for review September 10, 2024 15:39
# Conflicts:
#	cli/src/main/java/com/devonfw/tools/ide/tool/androidstudio/AndroidStudio.java
#	cli/src/main/java/com/devonfw/tools/ide/tool/intellij/Intellij.java
@jan-vcapgemini jan-vcapgemini linked an issue Sep 11, 2024 that may be closed by this pull request
5 tasks
@coveralls
Copy link
Collaborator

coveralls commented Sep 11, 2024

Pull Request Test Coverage Report for Build 10826537383

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 39 unchanged lines in 3 files lost coverage.
  • Overall coverage increased (+0.2%) to 65.796%

Files with Coverage Reduction New Missed Lines %
com/devonfw/tools/ide/url/model/file/UrlDependencyFile.java 1 70.0%
com/devonfw/tools/ide/tool/ide/IdeaBasedIdeToolCommandlet.java 3 73.91%
com/devonfw/tools/ide/io/FileAccessImpl.java 35 62.1%
Totals Coverage Status
Change from base Build 10825449828: 0.2%
Covered Lines: 5973
Relevant Lines: 8749

💛 - Coveralls

Copy link
Member

@hohwille hohwille left a comment

Choose a reason for hiding this comment

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

@jan-vcapgemini nicely completed. Great PR and finally solved various problems and previous workarounds. 👍

@hohwille hohwille merged commit 0f63732 into devonfw:main Sep 12, 2024
4 checks passed
@hohwille hohwille added reviewed Marks PRs that have been presented in the sprint-review meeting or that do not need to be presented. intellij IntelliJ IDE from Jet-Brains android-studio Android Studio IDE from Jet-Brains labels Sep 24, 2024
@jan-vcapgemini jan-vcapgemini deleted the feature/505-idea-startup-command branch November 4, 2024 11:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
android-studio Android Studio IDE from Jet-Brains intellij IntelliJ IDE from Jet-Brains reviewed Marks PRs that have been presented in the sprint-review meeting or that do not need to be presented.
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

Refactor Jetbrains IDEs Generalize intellij OS startup command for all OS's
3 participants