-
Notifications
You must be signed in to change notification settings - Fork 16
How to upgrade a development environment
In order to prepare a new development environment you should find
- the latest version of Eclipse
- the latest version of Xtext
- any new version of Xpect
As a rule of thumb, we always prefer Eclipse for Java Developers because Eclipse DSL environment has older versions than recreating the environment manually.
- you can refer to the Jenkins nightly build, this is the main page
Eclipse uses p2 repositories which contain bundles of jars, and Wollok uses Tycho as a plugin for using those p2 repositories in a target platform and generate the final product (so you don't have to sync Maven and p2 repositories).
So, if you want to succesfully build a product, you must look for the latest bundles and the right p2 repositories (common failure is that you are looking for a newer version of a component in an old repository, or you try to use two versions of the same component)
- TODO: add an image
You can point to this commit as the first step to collect the files you should review whenever you want to upgrade.
-
org.uqbar.project.wollok.targetplatform/
org.uqbar.project.wollok.targetplatform.target
In this target platform file you locate p2
repositories and bundle jars, specially Xtext, EMF (Eclipse Modeling Framework), MWE/MWE2 (Modeling Workflow Engine), Xpand & Eclipse components (like SWT, GEF), and also JUnit, Xtend, EGit, Xpect... You must take care of locations & versions, based on this recommendations.
To accomplish that you should take a look at Eclipse Bundles Migration Support (here's an example of a previous one). You'll find there FAQs, incompatibilities,a and advises for migrations from latest version to the new one. If you are upgrading from 4.8 to 4.12, you should take a look at 4.9, 4.10, 4.11 & 4.12 release notes.
-
org.uqbar.project.wollok.releng/pom.xml
: upgrade Xtext & Tycho versions for main release engineering (releng) project
These are must-see pages if you plan to release new products:
And also take a look at:
- P2 FAQ
- Babel download page & Babel repository. Babel has the translation for spanish products.
- This video explaining integration among Maven, Tycho, p2 and target platforms