From a1594a7e2adf827b2ff5efc735aec34401e32c70 Mon Sep 17 00:00:00 2001 From: Simon Gregor Ebner Date: Fri, 25 Jul 2014 14:43:29 +0200 Subject: [PATCH] Updated readme and cleanup pom files --- Readme.md | 41 ++++++++++++++++++++++++++++++++++---- fda.ui.application/pom.xml | 23 --------------------- pom.xml | 6 +----- 3 files changed, 38 insertions(+), 32 deletions(-) diff --git a/Readme.md b/Readme.md index e27eda0..d796f2a 100644 --- a/Readme.md +++ b/Readme.md @@ -1,6 +1,39 @@ -To build the whole application use: -```Bash -mvn -DskipTests=true --also-make --projects application install -``` +# 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 fda.ui.ee (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-.zip` in `fda.ui.application/target` + * Rename file to `fda-.zip` + * Upload file into the releases repository of artifactory (http://yoke/artifactory) diff --git a/fda.ui.application/pom.xml b/fda.ui.application/pom.xml index c816f80..2bf88b8 100644 --- a/fda.ui.application/pom.xml +++ b/fda.ui.application/pom.xml @@ -67,27 +67,4 @@ - - - - deployment - - - - org.codehaus.mojo - nbm-maven-plugin - - - extra - - autoupdate - webstart-app - - - - - - - - diff --git a/pom.xml b/pom.xml index f7144de..3bcc03b 100644 --- a/pom.xml +++ b/pom.xml @@ -9,12 +9,8 @@ ch.psi.fda.ui.parent + - netbeans NetBeans