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

#12: Implement ToolCommandlet for Android Studio #299

Conversation

jan-vcapgemini
Copy link
Contributor

@jan-vcapgemini jan-vcapgemini commented Apr 17, 2024

Fixes: #12

Implements:

  • added Android Studio IdeToolCommandlet with first runIde implementation for Windows and Mac and Linux.
  • added documentation to nls files

added Android Studio IdeToolCommandlet with first runIde implementation for Windows and Mac
added symlink creation
@jan-vcapgemini jan-vcapgemini self-assigned this Apr 17, 2024
@jan-vcapgemini jan-vcapgemini added the android-studio Android Studio IDE from Jet-Brains label Apr 17, 2024
@jan-vcapgemini jan-vcapgemini added this to the release:2024.04.001 milestone Apr 17, 2024
@jan-vcapgemini jan-vcapgemini marked this pull request as draft April 17, 2024 15:03
@coveralls
Copy link
Collaborator

coveralls commented Apr 22, 2024

Pull Request Test Coverage Report for Build 9893436712

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 3 unchanged lines in 1 file lost coverage.
  • Overall coverage increased (+0.05%) to 61.812%

Files with Coverage Reduction New Missed Lines %
com/devonfw/tools/ide/commandlet/CommandletManagerImpl.java 3 90.22%
Totals Coverage Status
Change from base Build 9890974755: 0.05%
Covered Lines: 5298
Relevant Lines: 8254

💛 - Coveralls

jan-vcapgemini and others added 4 commits April 22, 2024 18:19
added parameterized installation test
added testAndroidStudioRun test
removed postInstall
added simulated studio64.exe
removed unnecessary JDK installation (already included in SDK)
removed unnecessary readme files and folders
added javadocs
added studio64.exe to .gitattributes to be handled as text file
@jan-vcapgemini jan-vcapgemini marked this pull request as ready for review April 23, 2024 09:04
added test resources for MacOS run test
added old bash script creation (WIP probably not needed at all)
changed FileCopyMode from default to overwrite tree
replaced faulty tool path with open command for MacOS
removed postInstall method
# Conflicts:
#	cli/src/main/java/com/devonfw/tools/ide/commandlet/CommandletManagerImpl.java
Copy link
Contributor

@mvomiero mvomiero left a comment

Choose a reason for hiding this comment

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

Nice implementation for this commandlet! LGTM 👍

Copy link
Contributor

@mvomiero mvomiero left a comment

Choose a reason for hiding this comment

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

🙌

hohwille and others added 15 commits May 17, 2024 18:34
# Conflicts:
#	cli/src/main/resources/nls/Ide.properties
#	cli/src/main/resources/nls/Ide_de.properties
# Conflicts:
#	cli/src/main/resources/nls/Help.properties
#	cli/src/main/resources/nls/Help_de.properties
# Conflicts:
#	.gitattributes
#	cli/src/main/java/com/devonfw/tools/ide/io/FileAccessImpl.java
added idea64.exe to gitattributes
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 thanks for implementing this PR and testing all the combinations. 👍
Just like the IntelliJ PR we have some things that need to be reworked (MacOS workaround still buggy and undesired workaround code in this commandlet, OS specific switches for binary name, etc.) but we will address all of it in #339 so we can merge this now.

.gitattributes Outdated Show resolved Hide resolved
@hohwille hohwille merged commit 07e8cb2 into devonfw:main Jul 12, 2024
4 checks passed
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
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

Implement ToolCommandlet for Android Studio
5 participants