A template for a development environment for the openflexo framework
We suppose that : java (>= 8), gradle (>=4.10) and git are installed on your machine
- create a directory for your working env
> mkdir work
- cd in that directory
> cd work
- clone the various projects you want to work with
For example, let work on connie and openflexo-core
> git clone [email protected]:openflexo-team/connie.git
> git clone [email protected]:openflexo-team/openflexo-core.git
> git clone [email protected]:openflexo-team/openflexo-dev.git
> git clone https://github.com/openflexo-team/connie.git
> git clone https://github.com/openflexo-team/openflexo-core.git
> git clone https://github.com/openflexo-team/openflexo-dev.git
You may have to change the branch if the default branch does not match your expectations.
> cd connie
> git checkout 1.5
Change to the openflexo-dev
directory and edit the settings.gradle
file to match your expectations. Here, we decomment connie and openflexo-core.
If you need them you can uncomment some proposed tasks in the build.gradle file.
You can run any task of gradle from within the directory openflexo-dev
gradle compile
For eclipse
You must have at least executed one time the task parser if your development environment contains connie or openflexo-core
-
Create a new workspace
-
Import using
existing gradle project
your previously createdopenflexo-dev
directory Eclipse should create automagically all the needed projects. -
develop, test, push and enjoy.