{"id":23158755,"url":"https://github.com/greendelta/sophena","last_synced_at":"2025-05-09T02:01:14.140Z","repository":{"id":15522765,"uuid":"76647106","full_name":"GreenDelta/Sophena","owner":"GreenDelta","description":"Sophena is a quick planning tool for local heating networks","archived":false,"fork":false,"pushed_at":"2025-05-08T12:21:02.000Z","size":5958,"stargazers_count":4,"open_issues_count":26,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-08T13:29:23.674Z","etag":null,"topics":["eclipse-rcp","heating-networks","java"],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GreenDelta.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2016-12-16T11:03:01.000Z","updated_at":"2025-05-08T12:21:26.000Z","dependencies_parsed_at":"2022-09-01T10:11:36.049Z","dependency_job_id":"3162a688-1ed8-40ec-8e14-f137cec03bf1","html_url":"https://github.com/GreenDelta/Sophena","commit_stats":{"total_commits":1051,"total_committers":4,"mean_commits":262.75,"dds":"0.022835394862036118","last_synced_commit":"38a494cd307420cbe2b4ff010f80ae3b485991a7"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GreenDelta%2FSophena","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GreenDelta%2FSophena/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GreenDelta%2FSophena/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GreenDelta%2FSophena/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GreenDelta","download_url":"https://codeload.github.com/GreenDelta/Sophena/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253176434,"owners_count":21866142,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["eclipse-rcp","heating-networks","java"],"created_at":"2024-12-17T22:27:24.259Z","updated_at":"2025-05-09T02:01:13.368Z","avatar_url":"https://github.com/GreenDelta.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sophena\n\nSophena is a quick planning tool for local heating networks. See the \n[C.A.R.M.E.N. e.V. website](https://www.carmen-ev.de/service/sophena/)\nfor further information.\n\n![screenshot of Sophena](sophena.png \"screenshot of Sophena\")\n\n## Building from source\n\nSophena is an [Eclipse RCP application](https://wiki.eclipse.org/Rich_Client_Platform)\nusing the Eclipse 3.x API. In order to build it from source you need to have the\nfollowing tools installed:\n\n* a Java Runtime or [JDK \u003e= 17](https://adoptium.net)\n* [Apache Maven](https://maven.apache.org/)\n* the [Eclipse package for RCP \u0026 RAP developers](http://www.eclipse.org/downloads/eclipse-packages/).\n* ([Go](https://golang.org/) for building the data packager)\n\nThen, checkout the source code:\n\n```bash\ncd \u003cyour project folder\u003e\ngit clone https://github.com/GreenDelta/Sophena.git\n```\n\nThe `Sophena` folder contains two project:\n\n- [sophena](./sophena) which is the Eclipse RCP application,\n\n- [sophdat](./sophdat) which is a command line tool written in Go for building the data\n  packages for Sophena\n\n### Prepare the Eclipse workspace\n\nStart Eclipse, create a workspace, and import the `sophena` project into it by\nusing the `Import \u003e General \u003e Existing Projects into Workspace` command. In the\nproject, open the `platform.target` file, load the platform and set it as the\ntarget platform of your workspace using the `Set as Target Platform` command.\n\nWe manage our library dependencies with Maven. In Eclipse, you can right click on the `sophena/pom.xml` file and run it as `Maven build` with `package` as goal in the upcoming dialog. But you can also do this from the command line of course:\n\n```bash\ncd sophena\nmvn package\n```\n\nThis will copy the libraries into the `sophena/libs` folder. You may have to\nrefresh the project in Eclipse to update it.\n\n### Building the database template\n\nThe application contains a database template that contains the base data of\nSophena. This template is extracted into the workspace if the database folder\n`\u003cWORKSPACE\u003e/database` does not exist. The template is located in\n`sophena/resources/database.zip` and is currently generated via the\n[BuildDb](./sophena/src/sophena/BuildDb.java) script which simply imports\nthe `./sophdat/gen/base_data.sophena` package into an empty database. Thus, you\nfirst have to run the [sophdat](./sophdat) tool in order to create the database\ntemplate (see the README file in the `sophdat` folder).\n\n### Creating the distribution package\n\nCurrently we just build Windows versions but the target platform already\nsupports multi-platform builds. To create the distribution package, first export\nthe `sophena` project as `Eclipse product` within Eclipse:\n`Export \u003e Plugin Development \u003e Eclipse product`. Choose the following settings:\n\n* Configuration: `/sophena/sophena.product`\n* Root directory: `Sophena`\n* Destination directory: `.sophena/build/builds` (the builds folder in the sub-project\n  `build`)\n* Uncheck `Generate p2 repository`\n* Check `Export for multiple platforms`\n\nOn the next page select the `win32/x86_64` platform and run the export. If\neverything went well, the export should create a `build/builds/win32.win32.x86_64`\nfolder that contains the compiled product.\n\nFinally, the script `make.bat` in the `build` folder copies a Java runtime into\nthe product folder and creates the distribution package. Therefore, an extracted\nJava runtime needs to be located in the `build/jre/win64` folder and the\n[7zip](https://www.7-zip.org/) executable in the `tools` folder.\n\n## License\n\nUnless stated otherwise, all source code of the Sophena project is licensed \nunder the [Mozilla Public License, v. 2.0](http://mozilla.org/MPL/2.0/). Please \nsee the LICENSE.txt file in the root directory of the source code.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgreendelta%2Fsophena","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgreendelta%2Fsophena","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgreendelta%2Fsophena/lists"}