Commit 5b59f5de authored by Zolghadr, Mahan's avatar Zolghadr, Mahan
Browse files

Update README.md

parent 2855f41d
Pipeline #15456 passed with stage
in 2 minutes and 4 seconds
stardat-ddieditor
==============
Template for a simple Vaadin application that only requires a Servlet 3.0 container to run.
Workflow
========
To compile the entire project, run "mvn install".
To run the application, run "mvn jetty:run" and open http://localhost:8080/ .
To develop the theme, simply update the relevant theme files and reload the application.
Pre-compiling a theme eliminates automatic theme updates at runtime - see below for more information.
Debugging client side code
- run "mvn vaadin:run-codeserver" on a separate console while the application is running
- activate Super Dev Mode in the debug window of the application
To produce a deployable production mode WAR:
- change productionMode to true in the servlet class configuration (nested in the UI class)
- run "mvn clean vaadin:compile-theme package"
- See below for more information. Running "mvn clean" removes the pre-compiled theme.
- test with "mvn jetty:run-war
Using a precompiled theme
-------------------------
When developing the application, Vaadin can compile the theme on the fly when needed,
or the theme can be precompiled to speed up page loads.
To precompile the theme run "mvn vaadin:compile-theme". Note, though, that once
the theme has been precompiled, any theme changes will not be visible until the
next theme compilation or running the "mvn clean" target.
When developing the theme, running the application in the "run" mode (rather than
in "debug") in the IDE can speed up consecutive on-the-fly theme compilations
significantly.
Variable Functions via R-Server
========
To enable the functionality to access the study information
- mounting of the correct directory containing the study information:
* sudo mount -t cifs -o user=xxx //svko-dbk02/Inventar$ /mnt/studies
- access to the R Server as Docker on host svko-docker1 has to be started:
* svko-docker1:/opt/svko-docker1/rserve -> docker-compose up
Then the view in qeditor "Import Datensatz Datei" can be used. There you enter a study number e.g. ZA1220 and click on
"Import DTA file". Then the variables names and answers are shown.
In the view "variablen importieren" more functionality is enabled:
- import variables
- frequency tables generation
- weighted frequency tables
stardat-ddieditor
==============
Template for a simple Vaadin application that only requires a Servlet 3.0 container to run.
Workflow
========
To compile the entire project, run "mvn install".
To run the application, run "mvn jetty:run" and open http://localhost:8080/ .
To develop the theme, simply update the relevant theme files and reload the application.
Pre-compiling a theme eliminates automatic theme updates at runtime - see below for more information.
Debugging client side code
- run "mvn vaadin:run-codeserver" on a separate console while the application is running
- activate Super Dev Mode in the debug window of the application
To produce a deployable production mode WAR:
- change productionMode to true in the servlet class configuration (nested in the UI class)
- run "mvn clean vaadin:compile-theme package"
- See below for more information. Running "mvn clean" removes the pre-compiled theme.
- test with "mvn jetty:run-war
Using a precompiled theme
-------------------------
When developing the application, Vaadin can compile the theme on the fly when needed,
or the theme can be precompiled to speed up page loads.
To precompile the theme run "mvn vaadin:compile-theme". Note, though, that once
the theme has been precompiled, any theme changes will not be visible until the
next theme compilation or running the "mvn clean" target.
When developing the theme, running the application in the "run" mode (rather than
in "debug") in the IDE can speed up consecutive on-the-fly theme compilations
significantly.
Variable Functions via R-Server
========
To enable the functionality to access the study information
- mounting of the correct directory containing the study information:
* sudo mount -t cifs -o user=xxx //svko-dbk02/Inventar$ /mnt/studies
- access to the R Server as Docker on host svko-docker1 has to be started:
* svko-docker1:/opt/svko-docker1/rserve -> docker-compose up
Then the view in qeditor "Import Datensatz Datei" can be used. There you enter a study number e.g. ZA1220 and click on
"Import DTA file". Then the variables names and answers are shown.
In the view "variablen importieren" more functionality is enabled:
- import variables
- frequency tables generation
- weighted frequency tables
-------------------------
In case of getting an error similiar to the following:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:testCompile (default-testCompile) on project stardat-ddieditor: Compilation failure: Compilation failure:
[ERROR] /C:/Users/m/git/stardat-ddieditor/src/test/java/org/gesis/stardat/entity/DDIFlatDBLoadAndSerializationTest.java:[123,79] cannot access DDIStore
[ERROR] class file for DDIStore not found
[ERROR] /C:/Users/m/git/stardat-ddieditor/src/test/java/org/gesis/stardat/entity/DDIFlatDBLoadAndSerializationTest.java:[168,63] incompatible types: DDIStore cannot be converted to org.gesis.stardat.ddiflatdb.client.DDIStore
[ERROR] /C:/Users/m/git/stardat-ddieditor/src/test/java/org/gesis/stardat/entity/DDIFlatDBLoadAndSerializationTest.java:[184,63] incompatible types: DDIStore cannot be converted to org.gesis.stardat.ddiflatdb.client.DDIStore
[ERROR] /C:/Users/m/git/stardat-ddieditor/src/test/java/org/gesis/stardat/entity/DDIFlatDBLoadAndSerializationTest.java:[198,86] incompatible types: java.util.List<DDIStore> cannot be converted to java.util.List<org.gesis.stardat.ddiflatdb.client.DDIStore>
[ERROR] /C:/Users/m/git/stardat-ddieditor/src/test/java/DDIElementListLoadCallable.java:[27,63] incompatible types: DDIStore cannot be converted to org.gesis.stardat.ddiflatdb.client.DDIStore
[ERROR] -> [Help 1]
1- Remove the gesis folder under .m2 > repository > org > gesis
2- mvn clean package -DskipTests vaadin:compile
3- mvn update including Snapshots
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment