Management of settings

(return)

Final settings are stored in LSA database.

How to use eclipse for LSA: https://www-acc.gsi.de/wiki/Applications/EclipseConfiguration

First run: mkws-dev-med or mkws-pro-med. At the end of mkws-dev-med script the following instruction appears:

[ INFO ] To start Eclipse (with the default AP preferences) use
[ INFO ]     eclipse-app-2019-03 /home/bbe/msapinski/lnx/LSA/LSA &

[ INFO ] Please execute Eclipse and run the following Steps:
[ INFO ]     1. File -> Import ... -> Maven -> "Existing Maven Projects"
[ INFO ]     2. Browse... -> Select workspace directory -> Ok
[ INFO ]     3. Check all project checkboxes -> Finish
[ INFO ]    (4.)If you still have compile errors:
[ INFO ]        Rightclick Project -> Maven -> Update Project 
[ INFO ]        -> Check "Force Snapshots/Releases" -> Ok
[ INFO ]    (5.)If you have projects that lost the SVN or GIT connection, 
[ INFO ]        remove them from the workspace (not the filesystem!) and
[ INFO ]        import them again.
[ INFO ]    (6.)If you still have problems (especially with dependencies 
[ INFO ]        or pom.xmls) delete the folder ~/.m2/repository/cern 
[ INFO ]        and try again. THIS WILL AFFECT ALL MAVEN BUILDS, ALSO 
[ INFO ]        OTHER (BACKUP) WORKSPACES. 

Follow it.

Next time start eclipse just by "eclipse-app-2019-03", choose the right workspace.

When changes are done, and liquid importer run successfully, then push changes to git. Can be done using git perspective from eclipse. Sometimes there is authentication problem, then go to apropriate directory: cd /home/bbe/msapinski/lnx/LSA.dev/repos/git/lsa-db-data-dev and do git pull and push.

Careful: The OpticImportPerformer class exists in package de.gsi.bel.ap.lsa.dbimport.opticimport.mirko - this should not be used, only the one from package de.gsi.bel.ap.lsa.dbimport.opticimport.standard should be used. Classes look different, but have the same name!

BTW in the main nmethod of the class one has to put by hand his own directory with the files in order to execute it (as java program).


2020-06-17 16:00