43 lines
1.8 KiB
Markdown
43 lines
1.8 KiB
Markdown
|
|
# Overview
|
|
The `ch.psi.fda.ui` project holds the GUI part of the FDA application. It consists of 3 Maven projects, a parent project, a project holding the
|
|
application configuration itself (`fda.ui.application`) and a project holding the code (`fda.ui.module`).
|
|
|
|
Startup parameters and configurations are specificed in `fda.ui.application/src/main/resources/fda.conf`.
|
|
Shell startup scripts are located in the `fda.ui.application/src/main/scripts`.
|
|
|
|
|
|
|
|
# Development
|
|
The application is build via maven (use `-DskipTests=true` option to skip tests) . Use the toplevel `pom.xml` file to build the whole application. After the compilation
|
|
and packaging the resulting application zip file will be located in `fda.ui.application/target`.
|
|
|
|
## Changing Version
|
|
|
|
In the ch.psi.fda Eclipse project
|
|
|
|
* Change version in pom.xml (remove -SNAPSHOT)
|
|
* Compile and deploy the new ch.psi.fda jar file (Eclipse) via maven
|
|
* Run goal: `clean deploy`
|
|
* Change version in pom.xml (add -SNAPSHOT)
|
|
|
|
In ch.psi.fda.ui.module (Netbeans) project
|
|
|
|
* Change used ch.psi.fda version in `fda.ui.module` project pom (section dependencies) to the version you compiled and deployed before
|
|
* Change project version in pom.xml of all projects:
|
|
* pom.xml
|
|
* fda.ui.application
|
|
* fda.ui.module
|
|
* Change version in branding file:
|
|
* `./branding/src/main/nbm-branding/modules/org-netbeans-core-windows.jar/org/netbeans/core/windows/view/ui/Bundle.properties`
|
|
* Restart Netbeans (Workaround: due to compiling errors that cannot be otherwise easily resolved)
|
|
* Right click on fda.ui.parent project and select `Clean and Build`
|
|
* Start and test GUI from within Netbeans
|
|
|
|
## Release
|
|
|
|
* Locate `fda.ui.application-<version>.zip` in `fda.ui.application/target`
|
|
* Rename file to `fda-<version>.zip`
|
|
* Upload file into the releases repository of artifactory (http://yoke/artifactory)
|
|
|