Grails upgrade from 2.4 to 4.0 - grails

We have a web application running on Grails 2.4 and wish to upgrade to 4.0 so that we will get upgraded to latest spring dependencies . What is the best way to upgrade and below are our questions
Upgrade to 3.0 and then upgrade to 4.0
Directly upgrade to 4.0.
Any step by step document as official documentation is not proper.

Upgrade to 3.0 and then upgrade to 4.0
For most applications there would not be a good reason to upgrade to 3.0 as an intermediary step. It will take the same amount of effort to go from 2 to 4 as it would take to go from 2 to 3.
Directly upgrade to 4.0.
That is what I would do.
Any step by step document as official documentation is not proper.
The user guide is open source and contributions are welcome. After you have completed your upgrade if you would like to share it back, please consider submitting pull requests to https://github.com/grails/grails-doc.

Related

Upgrading neo4j minor version

I have recently upgraded Neo4j from version 3.5 to version 4. The question is, in order to update Neo4j to the latest maintenance release, is it necessary to do all steps outlined in this link https://neo4j.com/docs/operations-manual/current/upgrade/, or it will be correct and sufficient to download the latest version and copy the data directory to the new Neo4j installation ?
The steps documented in the link has been done when moved from 3.5 to 4.0.3. I am going to update it from version 4.0.3 to version 4.0.4.
There is also a nice video from David Allen about the upgrade process
https://www.youtube.com/watch?v=GcaJ-aVLzr4

Ruby 1.9.3 or latest stable build (2.3.x)?

I'm about to install ruby for an application I am developing is there a particular reason I should do the latest stable build or is 1.9.3 going to be fine for my application? (it's a simple Rails app that will call a mongoDB with some queries visualize data, download it do some analysis) What are the primary advantages to using 1.9.3 over the latest build?
Simply for safety reasons, support and updates I would decide to use the newest stable release for a new project. That's my opinion and suggestion.

How to update a phone gap-app (iOS)

I have a working app, which I created a year ago - because its always difficult to update the app I waited for almost a year (bad idea)
Now that a lot has changed over the last few months I don't know where to start. And the Cordova-Website isn't very precise about that as well
I have xcode 5.1.1 and I guess Cordova 2.9 (I don't know exactly, so maybe you could tell me, how I get Info about my version)
Do I have to update my project from 2.9 to 3.0 to 3.1.0 to ...3.4.0
or is there a way to update it from 2.9.0 to 3.4.0 in one step?
After upgrading to 3.0 it's easy to upgrade to 3.4 using the cli. Simply use the command:
"cordova platform update ios".
See here for getting to 3.0: http://cordova.apache.org/docs/en/3.4.0/guide_platforms_ios_upgrading.md.html#Upgrading%20iOS
You could also simply create a new project with 3.4 and copy your relevant files from /www/ into it.

How to upgrade Cordova 1.5.0 to Cordova 3.5.0 in an exsit project which was created 2 years ago?

It's a project that was made two years ago and now I'm working with it. The question is that the version of the Cordova now 3.5.0 but this project was in 1.5.0. Can I run it in X-code 5.1 now? How can I upgrade it. Plz, I need help, for I'm a totally novice with iOS programs.
Next paragraph code error with that 'Cordova/CDVViewController.h' file not found
#ifdef CORDOVA_FRAMEWORK
#import <Cordova/CDVViewController.h>
#else
#import "CDVViewController.h"
#endif
AFAIK there is no easy way to upgrade from old versions of Cordova. You can try follow this guide: http://docs.phonegap.com/en/3.5.0/guide_platforms_ios_upgrade.md.html#Upgrading%20iOS but you will have to upgrade step by step (i.e. from 1.5.0 to 1.6.0 to 1.7.0 ...). But even when you do that, if you use some old plugins or API calls in your code you will have to rewrite them according to the new version's API.
I had a project using Cordova version 2.1 and I needed to upgrade it to 3.1 and in the end I was better off creating new project in 3.1 and then update plugins or completely rewrite them.
So to sum up, it all depends on complexity of your projects (how many platforms you support, if you communicate with native code, use plugins..). You can try following the update guide or just create a new project in 3.5. If your project is trivial, I suggest creating new 3.5 application and then copy old html, css, js... files to appropriate places in the new project according to 3.5's documentation.

Upgrading Cordova 1.9 to 2.0 version

I need to upgrade my application which is using Cordova 1.8 version to Cordova 2.0 version. I followed the steps mentioned in the http://cordova.apache.org/docs/en/2.8.0/guide_upgrading_ios_index.md.html. My application's running for 1.9 but when am trying to upgrade it to 2.0 version am not able to find 'Preprocessor Macro' in build setting.
Also I am not able to find 'CordovaLib' folder, but in the 10th step they have mentioned related to PreprocessorMacro which am not able to find.
As you main motivation seems to be up to date with the last version of Cordova, I would recommend to create a new clean project with Cordova 2.8 and import your html files in the www folder.
Upgrading version by version is painful and you will not get any benefits from it. However, you might not get any performance improvement but you will get a better support from the community.

Resources