... | @@ -6,10 +6,9 @@ This page contains information about the build system that is used to build AF3. |
... | @@ -6,10 +6,9 @@ This page contains information about the build system that is used to build AF3. |
|
Legal Advice
|
|
Legal Advice
|
|
------------
|
|
------------
|
|
|
|
|
|
\*Note that you are not allowed to publish your version of the AF3 product without explicit permission of the AF3 development team. You are furthermore disallowed to use or to change or to extend or to overwrite the AutoFOCUS 3 logo
|
|
*Note that you are not allowed to publish your version of the AF3 product without explicit permission of the AF3 development team. You are furthermore disallowed to use or to change or to extend or to overwrite the AutoFOCUS 3 logo and/or the product branding. You may propose your own branding as part of the permission process.*
|
|
and/or the product branding. You may propose your own branding as part of the permission process.\*
|
|
|
|
|
|
|
|
Build in gitlab
|
|
Build in Gitlab
|
|
------------------------------
|
|
------------------------------
|
|
|
|
|
|
The complete configuration to build an AF3 product is contained in the
|
|
The complete configuration to build an AF3 product is contained in the
|
... | @@ -27,6 +26,10 @@ Local Build |
... | @@ -27,6 +26,10 @@ Local Build |
|
-----------
|
|
-----------
|
|
|
|
|
|
##### Install an AF3 developer installation for local building
|
|
##### Install an AF3 developer installation for local building
|
|
|
|
The preferred platform for locally building AF3 is Linux. The build works on Windows, however
|
|
|
|
in the resulting Linux distribution the following changes have to applied:
|
|
|
|
|
|
|
|
```dos2unix autofocus3-phoenix && chmod a+x autofocus3-phoenix autofocus3-phoenix-binary```
|
|
|
|
|
|
Use the oomph script at
|
|
Use the oomph script at
|
|
https://git.fortiss.org/af3/fortiss-std-env/-/raw/master/oomph/af3-releng.setup
|
|
https://git.fortiss.org/af3/fortiss-std-env/-/raw/master/oomph/af3-releng.setup
|
... | @@ -72,7 +75,7 @@ Creating a derivate product |
... | @@ -72,7 +75,7 @@ Creating a derivate product |
|
|
|
|
|
- Edit the git submodule branch pointer of each repository for which
|
|
- Edit the git submodule branch pointer of each repository for which
|
|
you need a different branch than master.
|
|
you need a different branch than master.
|
|
This can be done from eclipse (View: Git repositories) or by
|
|
This can be done from Eclipse (View: Git repositories) or by
|
|
modifying the .gitmodules file in the root of the maven-releng
|
|
modifying the .gitmodules file in the root of the maven-releng
|
|
clone.
|
|
clone.
|
|
- Update the submodule from the GUI, or manually by
|
|
- Update the submodule from the GUI, or manually by
|
... | @@ -84,12 +87,16 @@ Creating a derivate product |
... | @@ -84,12 +87,16 @@ Creating a derivate product |
|
##### Adding plugins / modifying the plugin list
|
|
##### Adding plugins / modifying the plugin list
|
|
|
|
|
|
- Add additional eclipse plugins as git submodules in the bundles
|
|
- Add additional eclipse plugins as git submodules in the bundles
|
|
folder (either within eclipse, or by
|
|
folder (from a repo `repo-name`)
|
|
`git submodule add -b <branch> --name "bundles/<repo-name>" https://git.fortiss.org/af3/<repo-name>.git bundles/<repo-name>`
|
|
- Option 1: In Eclipse's *Git Repositories* view.
|
|
from the command line).
|
|
- Context menu of *Submodules* -> *Add Submodule...*
|
|
|
|
- Submodule path: `bundles/<repo-name`
|
|
|
|
- Paste clone URL on next wizard page
|
|
|
|
- Option 2: On the command line: `git submodule add -b <branch> --name "bundles/<repo-name>" https://git.fortiss.org/af3/<repo-name>.git bundles/<repo-name>`
|
|
- Create a branch of af3-features and update the git submodule of the
|
|
- Create a branch of af3-features and update the git submodule of the
|
|
maven-releng repository to point to this branch.
|
|
maven-releng repository to point to this branch.
|
|
- Add the plugins to the AF3 feature (new branch), or an additional
|
|
- Add the plugins to the feature definition
|
|
feature (for more than 1 or 2 plugins).
|
|
- AF3 feature (new branch): `/org.fortiss.af3.root/features/af3/org.fortiss.af3.phoenix.feature/feature.xml`
|
|
|
|
- Create an additional feature (for more than 1 or 2 plugins).
|
|
- Add new features to a separate update site in “releng/” if needed.
|
|
- Add new features to a separate update site in “releng/” if needed.
|
|
|
|
|