olca-app

Source code of openLCA

https://github.com/GreenDelta/olca-app

Science Score: 36.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
    2 of 21 committers (9.5%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (14.0%) to scientific vocabulary

Keywords

eclipse-rcp java openlca

Keywords from Contributors

projection interactive serializer cycles packaging charts network-simulation archival shellcodes hacking
Last synced: 6 months ago · JSON representation

Repository

Source code of openLCA

Basic Info
  • Host: GitHub
  • Owner: GreenDelta
  • License: mpl-2.0
  • Language: Java
  • Default Branch: master
  • Homepage: openlca.org
  • Size: 61.9 MB
Statistics
  • Stars: 227
  • Watchers: 16
  • Forks: 56
  • Open Issues: 36
  • Releases: 0
Topics
eclipse-rcp java openlca
Created over 12 years ago · Last pushed 6 months ago
Metadata Files
Readme License

README.md

openLCA

This repository contains the source code of openLCA. openLCA is a Java application that runs on the Eclipse Rich Client Platform (Eclipse RCP). This project depends on the olca-modules project which is a plain Maven project that contains the core functionalities of openLCA (e.g. the model, database access, calculations, data exchange, and database updates).

This repository has the following sub-projects:

  • olca-app: contains the source code of the openLCA RCP application.
  • olca-app-build: contains the build scripts for compiling openLCA and creating the installers for Windows, Linux, and macOS.
  • olca-app-html: contains the source code for the HTML views in openLCA (like the start page or the report views).
  • olca-refdata: contains the current reference data (units, quantities, and flows) that are packaged with openLCA.

See also the README files that are contained in these sub-projects.

Building from source

openLCA is an Eclipse RCP application with parts of the user interface written in HTML5 and JavaScript. To compile it from source you need to have the following tools installed:

When you have these tools installed you can build the application from source via the following steps:

Install the openLCA core modules

The core modules contain the application logic that is independent from the user interface and can be also used in other applications. These modules are plain Maven projects and can be installed via mvn install. See the olca-modules repository for more information.

Get the source code of the application

We recommend to use Git to manage the source code but you can also download the source code as a zip file. Create a development directory (the path should not contain whitespaces):

bash mkdir olca cd olca

and get the source code:

bash git clone https://github.com/GreenDelta/olca-app.git

Your development directory should now look like this:

olca-app .git olca-app olca-app-build olca-app-html olca-refdata ...

Building the HTML pages

To build the HTML pages of the user interface navigate to the olca-app-html folder:

bash cd olca-app/olca-app-html

Then install the Node.js modules via npm (npm is a package manager that comes with your Node.js installation):

npm install

This also installs a local version of webpack which is used to create the distribution package. The build of this package can be invoked via:

bash npm run build

The output is generated in the dist folder of this directory and packaged into a zip file that is copied to the ../olca-app/html folder.

Prepare the Eclipse workspace

Download the current Eclipse package for RCP and RAP developers (to have everything together you can extract it into your development directory). Create a workspace directory in your development directory (e.g. under the eclipse folder to have a clean structure):

eclipse ... workspace olca-app .git olca-app olca-app-build olca-app-html olca-app-refdata ...

After this, open Eclipse and select the created workspace directory. Import the projects into Eclipse via Import > General > Existing Projects into Workspace (select the olca/olca-app directory). You should now see the olca-app, olca-app-build, projects in your Eclipse workspace.

Loading the target platform

The file platform.target in the olca-app project contains the definition of the target platform of the openLCA RCP application. Just open the file with the Target Editor and click on Set as target platform on the top right of the editor.

This will download the resources of the target platform into your local workspace and, thus, may take a while. Unfortunately, setting up and configuring Eclipse can be quite challenging. If you get errors like Unable locate installable unit in target definition, this discussion may help.

Copy the Maven modules

Go back to the command line and navigate to the olca-app/olca-app folder:

bash cd olca-app/olca-app

and run

bash mvn package

This will copy the installed openLCA core modules and dependencies (see above) to the folder olca-app/olca-app/libs.

Test the application

Refresh your Eclipse workspace (select all and press F5). Open the file olca-app/openLCA.product within Eclipse and click on the run icon inside the openLCA.product tab. openLCA should now start.

If you want to build an installable product, see the description in the olca-app-build sub-project or simply use the Eclipse export wizard (Export/Eclipse product).

Build the database templates

The openLCA application contains database templates that are used when the user creates a new database (empty, with units, or with all reference data). There is a Maven project olca-refdata that creates these database templates and copies them to the olca-app/olca-app/db_templates folder from which openLCA loads these templates. To build the templates, navigate to the refdata project and run the build:

bash cd olca-app/olca-refdata mvn package

License

Unless stated otherwise, all source code of the openLCA project is licensed under the Mozilla Public License, v. 2.0. Please see the LICENSE.txt file in the root directory of the source code.

Owner

  • Name: GreenDelta
  • Login: GreenDelta
  • Kind: organization

GitHub Events

Total
  • Create event: 25
  • Commit comment event: 2
  • Issues event: 20
  • Watch event: 36
  • Delete event: 25
  • Issue comment event: 26
  • Push event: 193
  • Pull request event: 31
  • Pull request review event: 3
  • Pull request review comment event: 3
  • Fork event: 10
Last Year
  • Create event: 25
  • Commit comment event: 2
  • Issues event: 20
  • Watch event: 36
  • Delete event: 25
  • Issue comment event: 26
  • Push event: 193
  • Pull request event: 31
  • Pull request review event: 3
  • Pull request review comment event: 3
  • Fork event: 10

Committers

Last synced: 7 months ago

All Time
  • Total Commits: 4,605
  • Total Committers: 21
  • Avg Commits per committer: 219.286
  • Development Distribution Score (DDS): 0.364
Past Year
  • Commits: 260
  • Committers: 7
  • Avg Commits per committer: 37.143
  • Development Distribution Score (DDS): 0.4
Top Committers
Name Email Commits
msrocka m****a@g****m 2,929
Sebastian Greve g****e@g****m 1,123
François Le Rall l****s@g****m 445
dependabot[bot] 4****] 32
Martin Pluta m****a@m****u 29
Nisha Singh n****8@o****n 8
François l****s@g****m 7
MartinPluta m****a@f****e 6
Tomas Navarrete t****R 5
YOUFU KAO 高有孚 1****7 4
Imo Graf g****f@g****m 4
conradspindler c****r@g****e 3
arturszilagyi a****i@g****m 2
Frederik Tilkin f****n@t****e 1
Glenn Lewis g****s@g****m 1
Huimin Chang h****g@m****n 1
Nicolas Dumoulin n****n@i****r 1
jianchuanqi q****n@h****m 1
Francois Le Rall f****s@M****l 1
mubeena m****a@g****m 1
nanli l****v@g****m 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 211
  • Total pull requests: 278
  • Average time to close issues: 11 months
  • Average time to close pull requests: 6 days
  • Total issue authors: 61
  • Total pull request authors: 15
  • Average comments per issue: 1.22
  • Average comments per pull request: 0.15
  • Merged pull requests: 234
  • Bot issues: 0
  • Bot pull requests: 48
Past Year
  • Issues: 20
  • Pull requests: 54
  • Average time to close issues: 9 days
  • Average time to close pull requests: 5 days
  • Issue authors: 14
  • Pull request authors: 6
  • Average comments per issue: 0.65
  • Average comments per pull request: 0.04
  • Merged pull requests: 39
  • Bot issues: 0
  • Bot pull requests: 7
Top Authors
Issue Authors
  • msrocka (75)
  • francoislerall (20)
  • ghost (13)
  • bl-young (9)
  • uslci-admin (5)
  • R2D2-ad (4)
  • tngTUDOR (4)
  • sebastian-greve (4)
  • pweilerERG (4)
  • gthoma (4)
  • cdeces (4)
  • bkuczenski (3)
  • n1c0l492 (3)
  • kelilive (3)
  • bnjmnmorelli (3)
Pull Request Authors
  • francoislerall (204)
  • dependabot[bot] (48)
  • nishahs08 (6)
  • mjmeijer (3)
  • conradspindler (3)
  • tngTUDOR (3)
  • linancn (2)
  • mrft (2)
  • TheTisiboth (1)
  • gmlewis (1)
  • max-grantadesign (1)
  • superkruger (1)
  • mubeenadev (1)
  • NicolasDumoulin (1)
  • arturszilagyi (1)
Top Labels
Issue Labels
bug (50) enhancement (49) collaboration-server (8) question (8) responded (5) fixed in next release (3) duplicate (2) data (2) wontfix (2) dependencies (2) version2 (1)
Pull Request Labels
dependencies (48) javascript (31) java (12) bug (1) in progress (1)

Packages

  • Total packages: 2
  • Total downloads: unknown
  • Total dependent packages: 0
    (may contain duplicates)
  • Total dependent repositories: 0
    (may contain duplicates)
  • Total versions: 26
proxy.golang.org: github.com/greendelta/olca-app
  • Versions: 13
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent packages count: 7.0%
Average: 8.2%
Dependent repos count: 9.3%
Last synced: 6 months ago
proxy.golang.org: github.com/GreenDelta/olca-app
  • Versions: 13
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent packages count: 7.0%
Average: 8.2%
Dependent repos count: 9.3%
Last synced: 6 months ago

Dependencies

olca-app/pom.xml maven
  • ch.qos.logback:logback-classic 1.2.11
  • com.helger:ph-css 6.3.2
  • com.sun.jersey:jersey-client 1.19
  • commons-beanutils:commons-beanutils 1.9.4
  • org.mapdb:mapdb 2.0-beta7
  • org.mariadb.jdbc:mariadb-java-client 2.7.2
  • org.openlca:olca-core 2.0.0
  • org.openlca:olca-ecospold-1 2.0.0
  • org.openlca:olca-formula 2.0.0
  • org.openlca:olca-git 2.0.0
  • org.openlca:olca-ilcd 2.0.0
  • org.openlca:olca-io 2.0.0
  • org.openlca:olca-ipc 2.0.0
  • org.openlca:olca-proto-io 2.0.0
  • org.python:jython-standalone 2.7.2
  • org.slf4j:jcl-over-slf4j 1.7.35
  • org.zeroturnaround:zt-zip 1.15
olca-refdata/pom.xml maven
  • org.apache.commons:commons-compress 1.21
  • org.openlca:olca-core 2.0.0
  • org.openlca:olca-io 2.0.0
  • org.zeroturnaround:zt-zip 1.13
olca-app-html/package-lock.json npm
  • 183 dependencies
olca-app-html/package.json npm
  • @types/codemirror 0.0.77 development
  • @types/react ^16.9.2 development
  • @types/react-dom ^16.9.0 development
  • copy-webpack-plugin ^11.0.0 development
  • ts-loader ^9.4.1 development
  • typescript ^4.3.3 development
  • webpack ^5.75.0 development
  • webpack-cli ^5.0.0 development
  • zip-webpack-plugin ^4.0.1 development
  • chart.js ^3.3.2
  • codemirror ^5.58.2
  • jquery ^3.5.0
  • milligram ^1.3.0
  • normalize.css ^8.0.1
  • react ^16.9.0
  • react-dom ^16.9.0
olca-app-build/credits/package-lock.json npm
  • adm-zip 0.5.10
olca-app-build/credits/package.json npm
  • adm-zip ^0.5.10