You are here: Foswiki>Applications Web>LsaMainPage>LsaDevelopmentEnvironment (18 Apr 2023, AndreasSchaller)Edit Attach

General remarks

Because access to devices and database is only possible from the ACC Network the LSA development takes place on the GSI/ACO/INN managed Linux cluster (machines asl750, asl751, ...).

Support for this servers is provided by ACO/INN.
Information on applying for an account on these machines is provided in the IN Web under the topic UserAccount.

Java and Eclipse configuration

A Java 17 installation (OpenJDK 17) is already installed on the ACC Linux cluster. During development keep in mind that the cluster is configured for 64bit (OS, Java, etc.).
Typing "echo $JAVA_HOME" in a console on the cluster should reveal the location of the java installation.

Configuring Eclipse

See Eclipse Configuration

GIT access

GIT access to lsa-packages:

Setting up needed projects in Eclipse

Import projects from GIT

To create a new workspace and import all necessary projects, please execute the following command:
/common/usr/cscoap/bin/mkws <workspacename>

(or mkws-dev for LSA core developers).

Afterwards, start Eclipse select the workspace that was created by the script an import all the projects.

If necessary, select all projects and execute right mouse click -> configure -> convert to maven project.

Temporary: Fixing compile errors

When the popup appears to install certain plugins for Eclipse, please try to do so. If this works fine, please skip to the next section.

If this automatic install fails (in some environments with the current Eclipse version it does), then choose "Resolve all later". If so, certain configuration has to be done manually: if the project lsa-domain-generated-gsi shows an error:
  1. pom.xml shows an error: please do an automatic bugfix with the bug solution proposed by the Eclipse xml editor ("Permanently mark goal as ignored .. in Eclipse build). Please do not checkin this fix.
  2. Select lsa-domain-generated-gsi and all other projects with compile errors that have the error "Project configuration is not up-to-date with pom.xml. Run project configuration update." please do right mouse -> maven -> update project configuration (select the checkbox "force update of snapshots / releases").
  3. This should no longer be necessary with eclipse kepler (but if you have problems you may try it): On lsa-domain-generated-gsi run: right mouse -> run as.. -> maven generate-sources. Afterwards, remove all existing build path source folder entries of lsa-domain-generated-gsi : Project -> Properties -> Java build path -> tab "source" -> remove all existing entries and add the folder lsa-domain-generated-gsi/target/generated-sources/java instead.
Now the full stack should compile. If not please call the lsa-core team. wink

Getting a running application

LSA applications should run out of the box in 3-tier mode. In particular, no VM arguments have to be set. The required arguments are defined in lsa-client-gsi in the file lsa.properties and will be automatically loaded.

Database

Schema

If you are interested in an overview of the database schema, it is available here: LSA_DB_Schema.png

Database Tools: Oracle SQLDeveloper

Please see the following HowTo page, which describes how to configure the Oracle SQLDeveloper.

-- RaphaelMueller - 24 Feb 2010
-- JuttaFitzek - 30 Jul 2012
-- JuttaFitzek - 06 Nov 2013
-- RaphaelMueller - 27 Feb 2014
-- JuttaFitzek - 19 Oct 2016
-- AndreasSchaller - 18 Apr 2023
I Attachment Action Size Date Who Comment
20131106_checkout.pngpng 20131106_checkout.png manage 82 K 06 Nov 2013 - 09:13 JuttaFitzek Screenshot of the checkout process for SVN externals
20131106_package_presentation.pngpng 20131106_package_presentation.png manage 93 K 06 Nov 2013 - 09:53 JuttaFitzek Package presentation in the Eclipse Package Explorer
20131106_working_sets.pngpng 20131106_working_sets.png manage 108 K 06 Nov 2013 - 12:21 JuttaFitzek Eclipse configuration: structuring projects in working sets
20140207_checkout.pngpng 20140207_checkout.png manage 58 K 07 Feb 2014 - 10:45 RaphaelMueller  
20140207_convert_to_maven.pngpng 20140207_convert_to_maven.png manage 96 K 07 Feb 2014 - 10:46 RaphaelMueller  
LSA_DB_Schema.pngpng LSA_DB_Schema.png manage 2 MB 24 Feb 2010 - 09:11 RaphaelMueller LSA Database Schema
SetupSQLDeveloper_01.pngpng SetupSQLDeveloper_01.png manage 17 K 24 Feb 2010 - 09:33 RaphaelMueller Screenshot of SqlDeveloper showing how-to create a database connection.
Topic revision: r46 - 18 Apr 2023, AndreasSchaller
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback