You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible to update app name for easier switching?
For example, I work with many Java, maven, tomcat versions and often need to reset versions in my day to day routine. I have installed corretto-lts-jdk and have 3 versions of that. 8, 11, 17. Everytime I have to switch, I have to type the full package name and full version. Is it possible to reduce this to associate an alias specific to an app so that if need to switch to different jdk, I can only type scoop reset java@17???
This would be a handy feature to have if its not supported already.
Thanks
The text was updated successfully, but these errors were encountered:
I understand what you mean, but what about managing different packages with different versions? I think I would need multiple scripts for different packages and versions. For example if I create a script that will accept an app and version as an argument, I would still have to use the app name to reset and if I hardcode an app name to an alias in script, that would mean to have multiple scripts for each app. Java11 was just an example and I have about 50 or so packages.
A workaround can be to either create a script that performs a check on app name and matches to the most similar one for example If I pass in java as an argument to the script and version number, it would check if java is passed then it would simply reset correto-lts-jdk@version. But this would be an lengthy task to create a script for 50+ packages. Automation of that would be really handy which is basically what I'm asking as an enhancement, so adding an alias to a name of package would simply add a check in the script.
First, Scoop is closer to a general package manager. Is there an equivalent solution in the java community? I don't write java and I'd be happy to know that.
Is it possible to update app name for easier switching?
For example, I work with many Java, maven, tomcat versions and often need to reset versions in my day to day routine. I have installed corretto-lts-jdk and have 3 versions of that. 8, 11, 17. Everytime I have to switch, I have to type the full package name and full version. Is it possible to reduce this to associate an alias specific to an app so that if need to switch to different jdk, I can only type scoop reset java@17???
This would be a handy feature to have if its not supported already.
Thanks
The text was updated successfully, but these errors were encountered: