... | ... | @@ -6,10 +6,9 @@ This page contains information about the build system that is used to build AF3. |
|
|
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
|
|
|
and/or the product branding. You may propose your own branding as part of the permission process.\*
|
|
|
*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.*
|
|
|
|
|
|
Build in gitlab
|
|
|
Build in Gitlab
|
|
|
------------------------------
|
|
|
|
|
|
The complete configuration to build an AF3 product is contained in the
|
... | ... | @@ -27,6 +26,10 @@ Local Build |
|
|
-----------
|
|
|
|
|
|
##### 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
|
|
|
https://git.fortiss.org/af3/fortiss-std-env/-/raw/master/oomph/af3-releng.setup
|
... | ... | @@ -72,7 +75,7 @@ Creating a derivate product |
|
|
|
|
|
- Edit the git submodule branch pointer of each repository for which
|
|
|
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
|
|
|
clone.
|
|
|
- Update the submodule from the GUI, or manually by
|
... | ... | @@ -84,12 +87,16 @@ Creating a derivate product |
|
|
##### Adding plugins / modifying the plugin list
|
|
|
|
|
|
- Add additional eclipse plugins as git submodules in the bundles
|
|
|
folder (either within eclipse, or by
|
|
|
`git submodule add -b <branch> --name "bundles/<repo-name>" https://git.fortiss.org/af3/<repo-name>.git bundles/<repo-name>`
|
|
|
from the command line).
|
|
|
folder (from a repo `repo-name`)
|
|
|
- Option 1: In Eclipse's *Git Repositories* view.
|
|
|
- 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
|
|
|
maven-releng repository to point to this branch.
|
|
|
- Add the plugins to the AF3 feature (new branch), or an additional
|
|
|
feature (for more than 1 or 2 plugins).
|
|
|
- Add the plugins to the feature definition
|
|
|
- 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.
|
|
|
|