How can I smoothly switch versions for Java, Gradle or Maven in local development environment? - versioning

For different applications, I want to switch my java, gradle version of my local computer. How can I smoothly do this version change and back to the previous one.

I got my solution regarding this question. I am using SDKMAN!. The Software Development Kit Manager. SDKMAN! is a tool for managing parallel versions of multiple Software Development Kits on most Unix based systems.

Related

How to do react project from the cloud with cross platform workstations?

I am rather new to several of the technologies involved here but here is the scenario:
I have a Windows PC at home, a PC laptop and an iPad Pro. I have a React project that I am working on and would like to be able to do so from anywhere. I dont have any kind of VPN solution available, and a usb stick is mostly out for the iPad, so I was wanting to use Google Drive (or as a last resort iCloud) to store the project. Also I do not wish to use github for a number of reasons.
Can anyone outline the best way to work on a React project (With NodeJS) in a cloud based storage and further how to run / deploy it from the iPad station? Thank you!
I Think you have to use a git repository (github, gitlab or bitbucket works great), and all your machines should have the tools pre-installed (node, code editor).
If you want to code without any tool, I recommend https://codesandbox.io, it works great with small/medium projects. One of it's downside is that your projects will be public on the internet.

Prerequisites button disabled - MSI installer

I have created an .msi installer. I want to further add prerequisites (such as .Net) but when I go to Setup Project properties, the Prerequisites button is disabled. How do I enable it?
Other details:
I'm using VS 2015, SQL Server 2008 R2, .Net 4.5.2, C#, WinForms, Win
10 Pro x64
My setup project is in the same solution as the main project
Prerequisities in Visual Studio Projects
In Configuration at the top of the dialog, did you try to select either Release or Debug? That should enable the Prerequisites... button.
Unecessary, outdated prerequisites?
One pet-peeve of mine: is it really necessary to include the .NET runtime as a prerequisite when most users have it installed by their deployment team (corporations) or via Windows Update (home and small office users)?
If there are security updates for the runtime, your old, embedded runtime is just a nuisance to be honest. Corporate packagers spend a great deal of time removing runtimes and prerequisites for corporate deployment where all runtime components are packaged separately in the corporate standard format. Perhaps consider making a special corporate "large scale deployment" version of your setup bundle? Just a zip with components will be very appreciated, along with a one page PDF on how to deploy them.
For the .NET framework you could just add a launch condition to abort the installation if the runtime is not found, and tell the user to get the runtime via Windows Update or from their system administrator or deployment team.
Just a thought I wanted to share with you. Prerequisites can really bloat a setup - especially when they are almost never needed like the .NET framework. In the future we will certainly pull prerequisite packages straight from online repositories and not embed anything in our main setups (and probably struggle with new security issues from that approach).
What version of the .NET Framework is included in what version of the OS?
Selectively disable versions of the .NET Framework (.NET versions overwrite each other)
WiX and other deployment technologies
Setup projects are rather limited. If you find yourself needing more features, you might want to check out the WiX toolkit.
Here is a previous answer on WiX and other deployment tools that seems to have been helpful for people: MSI vs nuget packages: which are is better for continuous delivery?

WML and WAP development environment for school purpose

I am studying WML and WAP at semester 5 in BscIT and i had hard time finding the nokia wap toolkit as used in my books.When i finally got a copy from a friend , it never loaded the jvm even though beside java 1.6 that was previouly installed i installed jre 1.4 .Besides i have a dual booting windows7/Ubuntu12.04. i clearly prefer working from Ubuntu. Is there any alternatives. Like IDE, eclipse, netbeans, intellij ? what I've seen so far are Android sdk,java MIDP projects from these IDEs but not some sort of wml project.
Please point me to the right direction. thank you
You could try the Openwave SDK, which has been helpfully archived here. Sadly, just like the Nokia WAP Toolkit it is no longer available or supported by the manufacturer.
Obviously it isn't going to match the examples in your books, but it should give you a simple environment in which to run and test WAP applications. Note this is Windows only, and pre-dates Windows 7; hopefully it will run.
do code in a document file and give .wml extension. After that to run this code just add a add-ons to your firefox. It's great to work with these.
Thanks.

How to make a cloud and all platforms offline apps together?

I know is hard to develop web application and make a individual app versions in each device.
But i just want to know how that works with big companies.I want to know how they write there code
The best example is Evernote and Google Drive.
They make a cloud application and individual apps for each device.
So the questions are..
How do sync the data with the cloud apps ?
Do they use version control ?
Can i get software requirement specification anywhere ?
Platforms and Languages:
iPhone and Mac - Objective C
Android and Other Mobile Apps - Java
Windows 8 - C#
Web Apps - PHP or Python
How do you solve this solution languages differ?
I guess i it's not possible with version control..
How to minimize coding ?
I recommend you use a version control tool.
make a individual app versions in each device.
I assume you mean developing different versions with few differences. The branch feature in a version tool can help you manage these versions easily.
How do sync the data with the cloud apps ?
You can use the web deployment feature to upload the applications/modifications to your web server.
I list some version control tools here for your reference:
Git
SVN
SourceAnywhere (I work for the company)
Team Foundation Server

Install/compile for specific Silverlight build

I updated Silverlight on my dev. machine, but clients still have older Silverlight version and they do not want to update.
Now I need to revert Silverlight 4 back to older version (50401). I tried to uninstall Silverlight and install older version, this required my to install developer tools, too.
No luck, still it requires newer version on clients machines. So I suppose real version is inside developer tools?
The question is, how do I make VS2010 to compile project for specific Silverlight 4 build?
I already stumbled on that kind of problem, and I had to re-install my sdk.
Check out that great article from Tim Heuer:
http://timheuer.com/blog/archive/2010/09/28/keeping-your-silverlight-dev-environment-stable-through-service-releases.aspx?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+timheuer+%28Method+%7E+of+%7E+failed+by+Tim+Heuer%29

Resources