Upgrade Twist
How to upgrade Twist
Add Twist Update Site
- Go to "Preferences -> Install/Update -> Available Software Sites". You can also use "Help menu -> Install New Software -> Available Software window -> Available Software Sites link".
- Click on "Add" button to bring the "Add Site" window, enter URL 'http://twist.thoughtworks.com/update-site' and name 'Twist Update site' and press "OK" button. You will see that this new site is added to your list of Update sites. Ensure 'Twist Update site' is checked amongst 'Available Software Sites'. Close the preferences window.
- If you already had the update site registered, you may to have to "Reload" the "Twist Update site" entry from the "Available Update Sites" window.
- Similarly, if you are using Twist with Groovy, you can add 'Twist Groovy Update Site' to 'http://twist.thoughtworks.com/groovy-update-site' like above. Refer here for more information.
Check for updates
- Click on the help menu and select 'Check for Updates'
- This will open the Updates window with a list of pending updates from the site we just added
- Under 'Uncategorized', select/check twist.
- The install button should now be enabled, click it and follow the instructions to update.
- If you are using Twist as a plugin on Eclipse, then choose 'Twist Feature', under the 'Twist Feature' category and not the 'Uncategorized'
- After the upgrade process, Restart Twist when prompted.
- Clicking Apply Changes Now may cause errors. It is always recommended to choose the Restart Now option when Twist prompts you to restart Twist as part of the upgrade process.
Upgrading to Twist 2.4
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:lang="http://www.springframework.org/schema/lang"
xmlns:context="http://www.springframework.org/schema/context"
xsi:schemaLocation=
"http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
http://www.springframework.org/schema/lang http://www.springframework.org/schema/lang/spring-lang-3.0.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd">
If you have Spring 2x compliant configuration and if you are using autowire="autodetect" for bean definition, you should change autowiring to "constructor" or "byType" for XML bean definitions in case you don't want to change to above schema definition. Autowire by "autodetect" is deprecated in Spring 3. If you want further control on dependency injection, consider using Spring annotations. Please check annotation based configuration for further details.
Upgrading to Twist 2.3
When Twist is installed as a standalone product, do the following:
- Add 'Twist update site' as explained above.
- Go to "Help menu -> Install New Software"
- Select 'Twist update site' from the combo drop down
- Uncheck "Group items by category", click the "Select All" button and click the "Next" button to proceed with installation.
Note, if Twist is installed as a plugin in Eclipse, you don't need to uncheck "Group items by category". Just "Select All" and proceed with installation.
If you are using a version of Twist prior to Twist 2.2 on a Windows 64 bit machine, then you have to download a 64 bit version of the 2.3 installer.
Upgrading to Twist 2.2
- If you are updating to Twist 2.2 from Twist version earlier than 2.1, you also need to add Eclipse 3.7 update site in your list of "Available software sites". Create a new entry for "Eclipse 3.7 update site" pointing to "http://download.eclipse.org/eclipse/updates/3.7" in "Preferences -> Install/Update -> Available Software Sites". Ensure both 'Twist Update site' and 'Eclipse 3.7 update site' are checked amongst 'Available Software Sites'.
- Add 'Twist update site' as explained above.
- Go to "Help menu -> Install New Software"
- Select 'Twist update site' from the combo drop down
- Uncheck "Group items by category", click the "Select All" button and click the "Next" button to proceed with installation.
Note, if Twist is installed as a plugin in Eclipse, you don't need to uncheck "Group items by category". Just "Select All" and proceed with installation.
For versions prior to Twist 2.0, on the MAC OS, you may encounter the following issues
- After the upgrade you may find that the twist folder has both executables, the old Eclipse (20+MB) and Twist (197kb). Delete the old one and use the new one. The old executable also works, but it may not be stable.
- On starting twist, you may get a pop up with an error “An internal error occurred during: "Initializing Java Tooling" – This does not seem to hinder the user from going forward. Just click ok and continue to use Twist
- On executing a scenario, twist throws a “Class not found exception” – language.java.Java. This is a known issue that happens with migration. Please go to the project properties and add the Java language library and things should work fine.
- If you are using Twist on Windows 7, installed in the C: drive, you need to run Twist as the Admin user to do an upgrade.
Post upgrade
Issues with update
It has to be ensured that no proxy is set when Twist is upgraded. If an error is encountered during update, please ensure that the proxy is not set.